/* AI receptionist page (/ai-receptionist). DRAFT 2026-11-25, founder review before anything goes live.
   Builds on tokens.css and the shared shell in services.css. Every class here starts with rx- so
   nothing can collide with the shared files (services.css already owns .call, .wave, .chip, .plate).
   tokens.css bans box-shadow outright, so every glow on this page is a radial gradient.
   One accent: the azure from tokens. No green "answer" button, no red "decline". */

.rx{--rx-label:#8A9096; --rx-ink-rgb:242,243,241}
.rx .label{color:var(--rx-label)}           /* --faint is about 3:1 on this ground; labels are text */
.rx main{overflow:clip}

/* ── shared type on this page ── */
.rx-h2{font-size:clamp(36px,4.8vw,64px); line-height:1.04; letter-spacing:-.035em; font-weight:300; margin:var(--s4) 0 0; max-width:18ch}
.rx-h2 em{font-style:normal; font-weight:400; color:var(--accent)}
.rx-lede{font-size:var(--fs-lede); line-height:var(--lh-body); color:var(--dim); max-width:54ch; margin-top:var(--s5)}
.rx-actions{display:flex; flex-wrap:wrap; gap:var(--s4); margin-top:var(--s6)}
.rx-tag{font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; font-weight:600; color:var(--rx-label);
  border:1px solid var(--line-strong); border-radius:var(--r-pill); padding:4px 8px; white-space:nowrap}

/* Below the first screen, sections skip layout and paint until they come near the viewport, so a
   phone can paint the hero without first laying out the whole page. contain-intrinsic-size keeps the
   scrollbar honest until then, and "auto" remembers each section's real height once seen. */
.rx-hear,.rx-day,.rx-never,.rx-number,.rx-price,.rx-faq,.rx-close{content-visibility:auto; contain-intrinsic-size:auto 1100px}
.rx-number,.rx-close{contain-intrinsic-size:auto 600px}

/* ═══ HERO ═══ */
.rx-hero{position:relative; isolation:isolate; min-height:min(100svh,900px); display:flex; align-items:center; padding:128px 0 72px}
.rx-hero::before{content:''; position:absolute; inset:-10% -20% 0 0; z-index:-2; pointer-events:none;
  background:radial-gradient(34% 46% at 76% 48%, rgba(var(--orb-glow),.26), transparent 70%),
             radial-gradient(28% 30% at 12% 86%, rgba(var(--orb-glow),.08), transparent 70%)}
.rx-hero-inner{display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:clamp(40px,6vw,96px); align-items:center}
.rx-h1{font-size:clamp(50px,7.4vw,108px); line-height:.96; letter-spacing:-.045em; font-weight:300; margin-top:var(--s5); max-width:11ch}
.rx-h1 em{display:block; font-style:normal; font-weight:500}
.rx-sub{margin-top:var(--s6); font-size:clamp(19px,1.7vw,23px); line-height:1.3; color:var(--ink); font-weight:500; letter-spacing:-.01em}
.rx-hero .rx-lede{margin-top:var(--s3); max-width:50ch}

/* the ringing phone: the shared 3D phone (phone3d.css), with the 9:47 pm incoming call on its screen.
   The whole phone is a link: it jumps to the player and, with JavaScript, starts the first call.
   Sizes inside the screen are in real millimetres (--mm, from phone3d.css), so the screen reads the
   same at every phone size. Nothing here touches .p3d-body (phone3d.css: that would flatten it). */
.rx-ring{justify-self:center; display:block; color:var(--ink); text-decoration:none; border-radius:24px;
  --p3d-w:clamp(290px, 24vw, 340px); --p3d-ry:-22deg;
  /* room for the phone's ground glow (12% past each side), which the wrapper's paint containment would clip */
  padding:0 calc(var(--p3d-w) * .14) calc(var(--p3d-w) * .2)}
.rx-ring:focus-visible{outline:2px solid var(--accent); outline-offset:10px}
/* The 3D phone is the heaviest thing on the first screen to draw (measured: about 1.3 s of the slowed
   phone's first paint). content-visibility on this wrapper (allowed by phone3d.css; never on .p3d-body)
   lets the headline paint first. The intrinsic size is the phone's own box (content box: the padding sits outside it), so nothing moves when it draws. */
.rx-ring{content-visibility:auto; contain-intrinsic-size:auto var(--p3d-w) auto calc(var(--p3d-w) * 2.0643)}
.rx-ui{position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:calc(var(--p3d-safe-top) + var(--mm) * 7) calc(var(--mm) * 4.5) calc(var(--mm) * 8);
  background:radial-gradient(110% 55% at 50% 0%, rgba(var(--orb-glow),.34), transparent 70%),
             radial-gradient(80% 40% at 50% 100%, rgba(var(--orb-glow),.16), transparent 70%), #07080B}
.rx-ring-clock{font-size:calc(var(--mm) * 19); font-weight:200; letter-spacing:-.05em; line-height:1; font-variant-numeric:tabular-nums}
.rx-ring-day{margin-top:calc(var(--mm) * 2); font-size:calc(var(--mm) * 3); color:var(--dim)}
.rx-ring-card{margin-top:calc(var(--mm) * 9); width:100%; display:flex; flex-direction:column; gap:calc(var(--mm) * 1);
  padding:calc(var(--mm) * 4) calc(var(--mm) * 3); border-radius:calc(var(--mm) * 5); background:rgba(255,255,255,.06); border:1px solid var(--glass-edge)}
.rx-ring-kind{font-size:calc(var(--mm) * 2.4); letter-spacing:.18em; text-transform:uppercase; color:var(--rx-label); font-weight:600}
.rx-ring-biz{font-size:calc(var(--mm) * 5); font-weight:500; letter-spacing:-.02em; line-height:1.15}
.rx-ring-note{font-size:calc(var(--mm) * 2.6); color:var(--dim)}
.rx-ring-btn{position:relative; margin-top:auto; width:calc(var(--mm) * 15); height:calc(var(--mm) * 15); border-radius:50%; display:grid; place-items:center;
  background:var(--accent); color:var(--on-accent)}
.rx-ring-btn svg{position:relative; z-index:1; width:calc(var(--mm) * 6); height:calc(var(--mm) * 6)}
.rx-ring-btn i{position:absolute; inset:0; border-radius:50%; border:1px solid rgba(var(--orb-glow),.8); animation:rx-ripple 2.4s var(--ease-out) infinite}
.rx-ring-btn i:nth-child(2){animation-delay:1.2s}
.rx-ring-cta{margin-top:calc(var(--mm) * 3); font-size:calc(var(--mm) * 3.3); font-weight:500}
@keyframes rx-ripple{from{transform:scale(1); opacity:.9}to{transform:scale(2.1); opacity:0}}

/* ── the sky: a real time-lapse of a city going from sunset to night (ai-receptionist-sky.js).
   The first paint is frame 00 as a plain image (<picture>), the same file the canvas draws first, so
   nothing jumps when the canvas fades in. The 60 frames load after the page and the script blends
   them with the scroll. A soft scrim keeps the words readable on the brightest frame, and the bottom
   of the sky fades into the page. Reduced motion: the <picture> shows a dusk frame and nothing else
   loads. ── */
.rx-sky{position:absolute; inset:0; z-index:-3; overflow:hidden; pointer-events:none; background:var(--bg)}
.rx-sky-frame{position:absolute; inset:0}
.rx-sky-still,.rx-sky-still img,.rx-sky-canvas{position:absolute; inset:0; width:100%; height:100%; display:block;
  object-fit:cover; object-position:50% 56%}
.rx-sky-canvas{opacity:0; transition:opacity .9s var(--ease-out)}
.rx-sky.is-live .rx-sky-canvas{opacity:1}
.rx-sky-scrim{position:absolute; inset:0;
  background:linear-gradient(0deg, var(--bg) 0%, rgba(8,9,11,.55) 9%, rgba(8,9,11,0) 24%),
             linear-gradient(180deg, rgba(6,7,10,.6) 0%, rgba(6,7,10,0) 22%),
             linear-gradient(90deg, rgba(6,7,10,.8) 0%, rgba(6,7,10,.68) 30%, rgba(6,7,10,.4) 44%, rgba(6,7,10,.1) 58%, rgba(6,7,10,0) 70%)}
/* Tablets (one column, 641 to 900px): the same idea as phones below, with the wide frames. The sky is
   a 760px band, the horizon just under the buttons and the sun to the right of the words. */
@media (min-width:641px) and (max-width:900px){
  .rx-sky-frame{bottom:auto; height:760px}
  .rx-sky-frame::after{content:''; position:absolute; left:0; right:0; bottom:0; height:34%;
    background:linear-gradient(0deg, var(--bg) 0%, rgba(8,9,11,.75) 45%, rgba(8,9,11,0) 100%)}
  .rx-sky-still,.rx-sky-still img,.rx-sky-canvas{object-position:24% 50%}
  .rx-sky-scrim{background:linear-gradient(180deg, rgba(6,7,10,.6) 0, rgba(6,7,10,.25) 220px, rgba(6,7,10,0) 320px),
    linear-gradient(90deg, rgba(6,7,10,.78) 0%, rgba(6,7,10,.66) 50%, rgba(6,7,10,.3) 70%, rgba(6,7,10,0) 84%)}
}
/* Phones: the opening is a tall column, so the film is not stretched over all of it (it would go soft
   and the sun would hide behind the ringing phone). It fills the top 600px, cropped so the horizon
   sits just under the headline: the sun goes down beside "9:47 pm." and the town lights up behind the
   buttons, above the phone. Then it fades into the page, so the phone and the paragraph under it sit
   on the dark ground. */
@media (max-width:640px){
  .rx-sky-frame{bottom:auto; height:600px}
  .rx-sky-frame::after{content:''; position:absolute; left:0; right:0; bottom:0; height:34%;
    background:linear-gradient(0deg, var(--bg) 0%, rgba(8,9,11,.75) 45%, rgba(8,9,11,0) 100%)}
  .rx-sky-still,.rx-sky-still img,.rx-sky-canvas{object-position:85% 100%}
  .rx-sky-scrim{background:linear-gradient(180deg, rgba(6,7,10,.8) 0, rgba(6,7,10,.72) 130px, rgba(6,7,10,.6) 200px, rgba(6,7,10,.42) 320px, rgba(6,7,10,.18) 400px, rgba(6,7,10,0) 460px),
    linear-gradient(90deg, rgba(6,7,10,.66) 0%, rgba(6,7,10,.55) 50%, rgba(6,7,10,.2) 74%, rgba(6,7,10,0) 86%)}
}
@media (prefers-reduced-motion: reduce){ .rx-sky-canvas{display:none} }
/* The sunset plays before the page moves on (founder, 2026-12-04). Once ai-receptionist-sky.js is
   running (html.rx-hold) the opening sticks to the top of the window, and the room after it is the
   scroll that sets the sun. Without the script, or with reduced motion, none of this applies. */
html.rx-hold .rx-pin::after{content:''; display:block; height:90vh}
html.rx-hold .rx-hero{position:sticky; top:0; min-height:100vh}
@media (max-width:900px){ html.rx-hold .rx-pin::after{height:75vh} }
@media (prefers-reduced-motion: reduce){ html.rx-hold .rx-pin::after{display:none} html.rx-hold .rx-hero{position:relative} }

@media (max-width:900px){
  .rx-hero{min-height:auto; padding:112px 0 40px}
  .rx-hero-inner{grid-template-columns:1fr; gap:var(--s7)}
  /* a smaller real phone, centred under the buttons (phone3d.css: at most 100vw - 96px on a 390 screen) */
  .rx-ring{--p3d-w:min(270px, calc(100vw - 104px)); --p3d-ry:-18deg}
}
/* Phones: the first screen shows the headline, the button AND most of the ringing phone with its call
   card. The longer paragraph moves under the phone (same words, same order for a screen reader:
   only the visual order changes, and it stays in the heading's section). */
@media (max-width:640px){
  .rx-hero{padding:92px 0 32px}
  .rx-hero-inner{gap:0}
  .rx-hero-copy{display:contents}
  .rx-hero-copy > .label{order:1}
  .rx-h1{order:2; margin-top:var(--s4)}
  .rx-sub{order:3; margin-top:var(--s5)}
  .rx-hero .rx-actions{order:4; margin-top:var(--s5)}
  .rx-ring{order:5; margin-top:var(--s6)}
  .rx-hero .rx-lede{order:6; margin-top:var(--s2)}
}

/* ═══ THE PLAYER ═══ */
.rx-hear{position:relative; padding-block:clamp(88px,10vw,144px); isolation:isolate}
.rx-hear::before{content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(40% 40% at 20% 60%, rgba(var(--orb-glow),.10), transparent 70%)}
.rx-hear-head .rx-h2{max-width:none}
.rx-player{margin-top:var(--s8); display:grid; gap:var(--s5); scroll-margin-top:84px}

/* without JavaScript: every call is listed, with the browser's own audio controls */
.rx-calls{display:grid; gap:var(--s7)}
.rx-call-h{font-size:24px; font-weight:500; letter-spacing:-.02em}
.rx-call-h span{display:block; font-size:14px; font-weight:400; color:var(--dim); letter-spacing:0; margin-top:4px}
.rx-audio{width:100%; max-width:480px; margin-top:var(--s4)}
.rx-tx{margin-top:var(--s5); border:1px solid var(--line); border-radius:var(--r-card); background:var(--bg-2); padding:var(--s5)}
.rx-tx:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.rx-tx-h{font-size:11px; letter-spacing:.2em; text-transform:uppercase; font-weight:600; color:var(--rx-label); margin-bottom:var(--s4)}
.rx-lines{list-style:none; display:grid; gap:var(--s3)}
.rx-line{display:flex; flex-direction:column; gap:6px; max-width:86%; padding:12px 16px; border-radius:16px; background:var(--bg-3); border:1px solid var(--line); justify-self:start}
.rx-line[data-who="assistant"]{justify-self:end; background:var(--accent-dim); border-color:rgba(var(--orb-glow),.32)}
.rx-who{font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; font-weight:600; color:var(--rx-label)}
.rx-line[data-who="assistant"] .rx-who{color:#A9C2F0}
.rx-line p{font-size:16px; line-height:1.5}
.rx-w{transition:opacity .18s linear}
.rx-sum{margin-top:var(--s5); padding:18px 20px; border-radius:16px; border:1px solid rgba(var(--orb-glow),.45);
  background:radial-gradient(120% 120% at 0% 0%, rgba(var(--orb-glow),.18), transparent 60%), var(--bg-3)}
.rx-sum-top{display:flex; justify-content:space-between; align-items:center; gap:var(--s3); font-size:12px; color:var(--dim)}
.rx-sum-head{margin-top:var(--s3); font-size:18px; font-weight:600}
.rx-sum-text{margin-top:4px; color:var(--dim); font-size:15px; line-height:1.5}
.rx-sum-att{display:flex; flex-wrap:wrap; gap:8px; margin-top:var(--s4)}
.rx-sum-att span{font-size:12px; padding:6px 10px; border-radius:var(--r-pill); border:1px solid var(--line-strong); color:var(--ink)}
.rx-out{margin-top:var(--s4); display:flex; flex-wrap:wrap; align-items:center; gap:var(--s3)}
.rx-out p{font-size:13px; color:var(--dim)}
.rx-chips{list-style:none; display:flex; flex-wrap:wrap; gap:8px}
.rx-chips li{display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:500; padding:8px 12px 8px 9px; border-radius:var(--r-pill);
  border:1px solid rgba(var(--orb-glow),.55); color:var(--ink)}
.rx-chips li::before{content:''; flex:none; width:16px; height:16px; border-radius:50%; background:var(--accent) center/10px no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* the honesty label: always on show, right beside the player */
.rx-label{scroll-margin-top:84px; display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border-radius:12px; background:var(--bg-2); border:1px solid var(--line-strong);
  font-size:14px; line-height:1.5; color:var(--dim)}
.rx-label-mark{flex:none; width:20px; height:20px; border-radius:50%; border:1px solid var(--accent); color:var(--accent); display:grid; place-items:center;
  font-size:12px; font-weight:600; font-style:italic; font-family:Georgia,serif; margin-top:1px}

/* ── with JavaScript: one call at a time, played on a call screen ── */
.rx-player.is-on{grid-template-columns:minmax(0,420px) minmax(0,1fr); grid-template-areas:"pick pick" "stage calls"; gap:var(--s5) var(--s6)}
.rx-player.is-on .rx-pick{grid-area:pick}
.rx-player.is-on .rx-stage{grid-area:stage; display:grid; gap:var(--s3); align-content:start}
.rx-player.is-on .rx-calls{grid-area:calls; position:relative; display:block; min-height:420px}
.rx-player.is-on .rx-call{position:absolute; inset:0}
.rx-player.is-on .rx-call[hidden]{display:none}
.rx-player.is-on .rx-call-h{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.rx-player.is-on .rx-audio,.rx-player.is-on .rx-out{display:none}
.rx-player.is-on .rx-tx{position:relative; margin:0; height:100%; overflow-y:auto; overscroll-behavior:auto; scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent;
  border-radius:28px; padding:var(--s5) var(--s5) var(--s6); background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.01)); border-color:var(--glass-edge)}
.rx-player.is-on .rx-sum{display:none}
.rx-player.is-on .rx-call.is-done .rx-sum{display:block; animation:rx-in .6s var(--ease-out) both}

/* live: lines still to come are not there yet; each one rises in as it is spoken */
.rx-call.is-live .rx-line[data-state="future"]{display:none}
.rx-call.is-live .rx-line{animation:rx-in .45s var(--ease-out) both}
.rx-call.is-live .rx-line[data-state="now"]{border-color:rgba(var(--orb-glow),.7)}
.rx-call.is-live .rx-line[data-who="caller"][data-state="now"]{border-color:rgba(var(--rx-ink-rgb),.32)}
.rx-w.is-off{opacity:0}
/* while a call plays, a little room under the newest line lets the box scroll to the top of a whole
   bubble, so it never opens on half of one */
.rx-call.is-live:not(.is-done) .rx-lines{padding-bottom:200px}
@keyframes rx-in{from{opacity:0; transform:translateY(10px)}to{opacity:1; transform:none}}

/* picker */
.rx-pick{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--s3)}
.rx-pick[hidden]{display:none}
.rx-pick-btn{appearance:none; font:inherit; color:var(--ink); text-align:left; cursor:pointer; display:flex; flex-direction:column; gap:6px;
  padding:16px 18px; border-radius:var(--r-card); background:var(--bg-2); border:1px solid var(--line);
  transition:border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease-out)}
.rx-pick-btn:hover{border-color:var(--line-strong); transform:translateY(-2px)}
.rx-pick-btn:focus-visible{outline:2px solid var(--accent); outline-offset:3px}
.rx-pick-btn[aria-pressed="true"]{border-color:rgba(var(--orb-glow),.7); background:radial-gradient(120% 140% at 0% 0%, rgba(var(--orb-glow),.22), transparent 60%), var(--bg-2)}
.rx-pick-dir{display:flex; align-items:center; gap:6px; font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; font-weight:600; color:var(--rx-label)}
.rx-pick-dir::before{content:''; width:10px; height:10px; flex:none; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M8.5 1.5L1.5 8.5M1.5 3.5v5h5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M8.5 1.5L1.5 8.5M1.5 3.5v5h5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.rx-pick-dir[data-dir="outbound"]{color:#A9C2F0}
.rx-pick-dir[data-dir="outbound"]::before{transform:rotate(180deg)}
.rx-pick-title{font-size:18px; font-weight:500; letter-spacing:-.015em; line-height:1.2}
.rx-pick-meta{font-size:13px; color:var(--dim)}

/* the call screen */
.rx-screen{position:relative; display:flex; flex-direction:column; gap:18px; padding:24px; border-radius:28px; border:1px solid var(--glass-edge); overflow:hidden;
  background:radial-gradient(120% 60% at 50% 0%, rgba(var(--orb-glow),.18), transparent 65%), linear-gradient(180deg,#121419,#0B0C0F)}
.rx-screen[hidden]{display:none}
.rx-screen::before{content:''; position:absolute; inset:0 0 auto; height:1px; background:linear-gradient(90deg,transparent,var(--glass-bevel) 22%,var(--glass-bevel) 78%,transparent)}
.rx-screen-top{display:flex; justify-content:space-between; align-items:center; gap:var(--s3)}
.rx-screen-dir{display:inline-flex; align-items:center; gap:8px; font-size:12px; letter-spacing:.14em; text-transform:uppercase; font-weight:600; color:var(--dim)}
.rx-screen-dir i{position:relative; width:8px; height:8px; border-radius:50%; background:var(--rx-label)}
.rx-screen.is-playing .rx-screen-dir i{background:var(--accent)}
.rx-screen.is-playing .rx-screen-dir i::after{content:''; position:absolute; inset:-4px; border-radius:50%; border:1px solid var(--accent); animation:rx-ripple 1.6s var(--ease-out) infinite}
.rx-screen-dir[data-dir="outbound"] b::after{content:''}
.rx-screen-time{font-size:13px; color:var(--dim); font-variant-numeric:tabular-nums}
.rx-screen-biz{font-size:clamp(26px,2.4vw,32px); font-weight:300; letter-spacing:-.03em; line-height:1.1}
.rx-voices{display:flex; gap:8px}
.rx-voice{position:relative; font-size:12px; padding:7px 12px; border-radius:var(--r-pill); border:1px solid var(--line); color:var(--rx-label);
  transition:color var(--t-fast), border-color var(--t-fast), background var(--t-fast)}
.rx-voice.is-on{color:var(--ink); border-color:rgba(var(--orb-glow),calc(.45 + var(--lv,0) * .55)); background:rgba(var(--orb-glow),calc(.08 + var(--lv,0) * .22))}
.rx-voice[data-who="caller"].is-on{border-color:rgba(var(--rx-ink-rgb),calc(.25 + var(--lv,0) * .5)); background:rgba(var(--rx-ink-rgb),calc(.04 + var(--lv,0) * .12))}
.rx-wave{width:100%; height:120px}
.rx-controls{display:flex; align-items:center; gap:var(--s4)}
.rx-play{appearance:none; border:0; cursor:pointer; flex:none; width:64px; height:64px; border-radius:50%; display:grid; place-items:center;
  background:var(--accent); color:var(--on-accent); transition:transform var(--t-fast) var(--ease-out)}
.rx-play:hover{transform:scale(1.04)}
.rx-play:focus-visible{outline:2px solid var(--ink); outline-offset:4px}
.rx-play .rx-i-play{margin-left:3px}
.rx-play .rx-i-pause,.rx-screen.is-playing .rx-play .rx-i-play{display:none}
.rx-screen.is-playing .rx-play .rx-i-pause{display:block}
.rx-scrub{position:relative; flex:1; height:44px; min-width:0}
.rx-over{position:absolute; inset:0; width:100%; height:100%}
.rx-seek{position:absolute; inset:0; width:100%; height:100%; margin:0; appearance:none; -webkit-appearance:none; background:transparent; cursor:pointer}
.rx-seek:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:6px}
.rx-seek::-webkit-slider-runnable-track{height:44px; background:transparent}
.rx-seek::-moz-range-track{height:44px; background:transparent}
.rx-seek::-webkit-slider-thumb{-webkit-appearance:none; width:3px; height:44px; border-radius:2px; background:var(--ink)}
.rx-seek::-moz-range-thumb{width:3px; height:44px; border:0; border-radius:2px; background:var(--ink)}
.rx-did{display:flex; flex-direction:column; gap:10px; padding-top:16px; border-top:1px solid var(--line)}
.rx-did > p{font-size:11px; letter-spacing:.2em; text-transform:uppercase; font-weight:600; color:var(--rx-label)}
.rx-did .rx-chips li{border-style:dashed; border-color:var(--line-strong); color:var(--rx-label);
  transition:color .35s var(--ease-out), border-color .35s var(--ease-out); transition-delay:calc(var(--i,0) * 260ms)}
.rx-did .rx-chips li::before{background-color:transparent; background-image:none; border:1px dashed var(--line-strong);
  transition:background-color .35s var(--ease-out); transition-delay:inherit}
.rx-did .rx-chips li.is-done{border-style:solid; border-color:rgba(var(--orb-glow),.6); color:var(--ink)}
.rx-did .rx-chips li.is-done::before{border:0; background-color:var(--accent);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  animation:rx-tick .5s var(--ease-out) both; animation-delay:calc(var(--i,0) * 260ms)}
@keyframes rx-tick{0%{transform:scale(.4)}70%{transform:scale(1.15)}100%{transform:scale(1)}}

@media (max-width:900px){
  .rx-player.is-on{grid-template-columns:minmax(0,1fr); grid-template-areas:"pick" "stage" "calls"}
  .rx-player.is-on .rx-calls{min-height:0; height:clamp(320px,50svh,480px)}
}
@media (max-width:640px){
  .rx-pick{gap:8px}
  .rx-pick-btn{padding:12px; gap:4px; border-radius:12px}
  .rx-pick-dir{font-size:9.5px; letter-spacing:.1em}
  .rx-pick-title{font-size:14px}
  .rx-pick-meta{font-size:12px}
  .rx-pick-biz{display:none}
  /* compact call screen, so the label, the screen and the transcript all fit one phone screen */
  .rx-screen{padding:16px 16px 14px; gap:12px; border-radius:22px; scroll-margin-top:80px}
  .rx-voices{display:none}
  .rx-screen-biz{font-size:22px}
  .rx-wave{height:60px}
  .rx-play{width:52px; height:52px}
  .rx-scrub{height:40px}
  .rx-did{padding-top:12px; gap:8px; flex-direction:row; flex-wrap:wrap; align-items:center}
  .rx-did > p{font-size:10px; letter-spacing:.16em}
  .rx-chips{gap:6px}
  .rx-chips li{font-size:12px; padding:5px 9px 5px 6px; gap:6px}
  .rx-chips li::before{width:14px; height:14px; background-size:8px}
  .rx-label{font-size:12.5px; line-height:1.45; padding:10px 12px; gap:10px}
  .rx-label-mark{width:18px; height:18px; font-size:11px}
  .rx-player.is-on .rx-calls{height:clamp(280px,42svh,400px)}
  .rx-line{max-width:92%}
  .rx-line p{font-size:15px}
  .rx-player.is-on .rx-tx{border-radius:22px; padding:var(--s4)}
}

/* ═══ BOTH DIRECTIONS: an example day ═══ */
.rx-day{padding-block:clamp(80px,9vw,128px)}
.rx-day-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(40px,6vw,96px); align-items:start}
.rx-day-copy .rx-h2{max-width:14ch}
.rx-day-copy > p:not(.label){margin-top:var(--s5); color:var(--dim); font-size:17px; line-height:1.65; max-width:54ch}
.rx-day-copy > p:last-child{color:var(--ink)}
.rx-log{position:sticky; top:96px; border:1px solid var(--glass-edge); border-radius:24px; padding:var(--s5) var(--s5) var(--s4);
  background:radial-gradient(90% 50% at 100% 100%, rgba(var(--orb-glow),.14), transparent 70%), linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01))}
.rx-log figcaption{display:flex; justify-content:space-between; align-items:center; gap:var(--s3); font-size:13px; color:var(--dim); padding:0 var(--s2) var(--s4); border-bottom:1px solid var(--line)}
.rx-log ol{list-style:none}
.rx-log li{display:grid; grid-template-columns:76px 56px minmax(0,1fr); gap:var(--s3); align-items:baseline; padding:14px var(--s2); border-bottom:1px solid var(--line)}
.rx-log time{font-size:14px; color:var(--dim); font-variant-numeric:tabular-nums}
.rx-dir{justify-self:start; display:inline-flex; align-items:center; gap:5px; font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:600;
  padding:4px 8px; border-radius:var(--r-pill); border:1px solid var(--line-strong); color:var(--dim)}
.rx-log li[data-dir="out"] .rx-dir{border-color:rgba(var(--orb-glow),.6); color:#A9C2F0}
.rx-log li p b{display:block; font-size:15.5px; font-weight:500; line-height:1.35}
.rx-log li p span{display:block; font-size:14px; color:var(--dim); margin-top:2px}
.rx-log li.rx-log-late{border-bottom:0; margin-top:6px; border-radius:14px; background:radial-gradient(80% 140% at 0% 50%, rgba(var(--orb-glow),.20), transparent 70%); }
.rx-log li.rx-log-late time{color:var(--ink)}
.rx-log-foot{margin-top:var(--s3); padding:var(--s3) var(--s2) 0; border-top:1px solid var(--line); font-size:14px; color:var(--dim)}
@media (max-width:900px){
  .rx-day-grid{grid-template-columns:1fr}
  .rx-log{position:relative; top:auto}
}
@media (max-width:480px){
  .rx-log{padding:var(--s4) var(--s3) var(--s3)}
  .rx-log li{grid-template-columns:64px minmax(0,1fr); grid-template-areas:"t d" "p p"; gap:6px var(--s3)}
  .rx-log time{grid-area:t}
  .rx-dir{grid-area:d}
  .rx-log li p{grid-area:p}
}

/* ═══ IT NEVER ═══ */
.rx-never{padding-block:clamp(80px,9vw,128px); border-top:1px solid var(--line)}
.rx-never-grid{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(32px,6vw,96px); align-items:start}
.rx-never-side{position:sticky; top:110px}
.rx-never-h{font-size:clamp(72px,11vw,168px); line-height:.9; letter-spacing:-.055em; font-weight:300; margin-top:var(--s5)}
.rx-never-item{padding:var(--s6) 0; border-top:1px solid var(--line)}
.rx-never-item:first-child{border-top:0; padding-top:var(--s4)}
.rx-never-item h3{font-size:clamp(30px,3.8vw,54px); line-height:1.04; letter-spacing:-.035em; font-weight:300}
.rx-never-item p{margin-top:var(--s3); color:var(--dim); font-size:16px; line-height:1.6; max-width:46ch}
@media (max-width:900px){
  .rx-never-grid{grid-template-columns:1fr}
  .rx-never-side{position:relative; top:auto}
}

/* ═══ YOUR NUMBER ═══ */
.rx-number{padding-block:clamp(40px,5vw,72px)}
.rx-number-plate{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(32px,5vw,80px); align-items:end;
  padding:clamp(28px,5vw,64px); border-radius:28px; border:1px solid var(--glass-edge);
  background:radial-gradient(60% 90% at 0% 100%, rgba(var(--orb-glow),.18), transparent 70%), var(--bg-2)}
.rx-number-copy p{color:var(--dim); font-size:17px; line-height:1.6}
.rx-number-copy p + p{margin-top:var(--s4)}
.rx-modes{display:flex; flex-wrap:wrap; gap:8px}
.rx-modes span{font-size:14px; color:var(--ink); padding:9px 14px; border-radius:var(--r-pill); border:1px solid var(--line-strong)}
@media (max-width:900px){.rx-number-plate{grid-template-columns:1fr}}

/* ═══ PRICING ═══ */
.rx-price{padding-block:clamp(80px,9vw,128px)}
.rx-price-grid{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:var(--s4); margin-top:var(--s7)}
.rx-setup,.rx-plan{border-radius:20px; border:1px solid var(--line); background:var(--bg-2)}
.rx-setup{padding:clamp(24px,3vw,40px); display:flex; flex-direction:column; gap:var(--s3)}
.rx-setup > p:not(.rx-amt):not(.rx-price-name):not(.rx-fine){color:var(--dim); font-size:15.5px; line-height:1.6}
.rx-price-name{font-size:12px; letter-spacing:.2em; text-transform:uppercase; font-weight:600; color:var(--rx-label)}
.rx-amt{display:flex; align-items:baseline; gap:10px; font-size:clamp(46px,5vw,72px); font-weight:300; letter-spacing:-.045em; line-height:1; font-variant-numeric:tabular-nums}
.rx-amt small{font-size:15px; letter-spacing:0; color:var(--dim); font-weight:400}
.rx-setup .rx-amt{margin-bottom:var(--s3)}
.rx-fine{color:var(--dim); font-size:14px; line-height:1.6}
.rx-setup .rx-fine{margin-top:auto; padding-top:var(--s4); border-top:1px solid var(--line)}
.rx-plans{display:grid; gap:var(--s4); align-content:start}
.rx-plan{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:var(--s5); align-items:center; padding:clamp(22px,3vw,36px)}
.rx-plan p:not(.rx-price-name):not(.rx-amt){margin-top:var(--s2); color:var(--dim); font-size:15.5px; line-height:1.55; max-width:40ch}
.rx-plan-hi{border-color:rgba(var(--orb-glow),.55); background:radial-gradient(100% 140% at 100% 0%, rgba(var(--orb-glow),.18), transparent 60%), var(--bg-2)}
.rx-plans > .rx-fine{padding:var(--s2) var(--s2) 0}
.rx-bundle{margin-top:var(--s5); font-size:16px; line-height:1.6; color:var(--ink); max-width:70ch}
@media (max-width:900px){.rx-price-grid{grid-template-columns:1fr}}
@media (max-width:560px){.rx-plan{grid-template-columns:1fr; gap:var(--s3)}}

/* ═══ QUESTIONS ═══ */
.rx-faq{padding-block:clamp(72px,8vw,120px); border-top:1px solid var(--line)}
.rx-faq-grid{display:grid; grid-template-columns:minmax(0,4fr) minmax(0,8fr); gap:clamp(32px,6vw,96px); align-items:start}
.rx-faq .svc-faq{margin-top:0}
.rx-faq .svc-faq summary{font-weight:500; font-size:17.5px; line-height:1.4}
@media (max-width:900px){.rx-faq-grid{grid-template-columns:1fr}}

/* ═══ CLOSE ═══ */
.rx-close{position:relative; isolation:isolate; padding-block:clamp(96px,12vw,176px)}
.rx-close::before{content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(40% 60% at 30% 60%, rgba(var(--orb-glow),.16), transparent 70%)}
.rx-close-h{font-size:clamp(42px,6.4vw,96px); line-height:.98; letter-spacing:-.045em; font-weight:300; max-width:16ch}
.rx-close-h em{display:block; font-style:normal; color:var(--accent)}

/* ═══ scroll you can see: rows and rules light up as they come into view (CSS only) ═══ */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    .rx-log li{animation:rx-row linear both; animation-timeline:view(); animation-range:entry 10% cover 30%}
    .rx-never-item h3{animation:rx-lit linear both; animation-timeline:view(); animation-range:entry 20% cover 45%}
  }
}
@keyframes rx-row{from{opacity:.12; transform:translateX(18px)}to{opacity:1; transform:none}}
@keyframes rx-lit{from{color:#3A3E44}to{color:var(--ink)}}

@media (prefers-reduced-motion: reduce){
  .rx-ring-btn i,.rx-screen.is-playing .rx-screen-dir i::after{animation:none; opacity:0}
  .rx-pick-btn:hover,.rx-play:hover{transform:none; transition:none}
  .rx-call.is-live .rx-line,.rx-player.is-on .rx-call.is-done .rx-sum,.rx-did .rx-chips li.is-done::before{animation:none}
  .rx-w,.rx-did .rx-chips li,.rx-did .rx-chips li::before{transition:none}
}
