/* ═══════════ per-channel scenes — Call, Site, Email, Cost ═══════════ */

/* ────────────────────────────── CALL ────────────────────────────── */
/* The headline yields in place: it collapses its own height while fading, so
   the orb glides up on the same easing instead of jumping when the block
   leaves the layout. */
.chan-call .intro{margin-bottom:8px;max-height:360px;
  transition:opacity .55s var(--e),transform .55s var(--e),
             max-height .8s var(--e),margin .8s var(--e)}
body.oncall .chan-call .intro,body.ended .chan-call .intro{
  opacity:0;transform:translateY(-16px) scale(.985);pointer-events:none;
  max-height:0;margin:0;overflow:hidden}

.orbzone{position:relative;width:170px;height:170px;margin-top:34px;cursor:pointer;flex:none;
  transition:transform .6s var(--e)}
body.oncall .orbzone{transform:scale(.82) translateY(-6px)}
body.ended .orbzone{transform:scale(.62) translateY(-18px)}
.halo{position:absolute;inset:-70px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(94,123,226,.14),transparent 62%)}
.orbcv{position:absolute;inset:-65px;width:300px;height:300px;transition:transform .5s var(--e)}
.orbzone:hover .orbcv{transform:scale(1.03)}

.tap{margin-top:26px;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--faint);
  transition:opacity .5s var(--e)}
body.oncall .tap,body.ended .tap{opacity:0}
.status{margin-top:12px;min-height:18px;font-size:11px;letter-spacing:.08em;color:var(--mut)}
.status.warn{color:var(--declined)}

/* live captions — one utterance at a time, keynote style. The container has a
   hard height and long utterances clamp to four lines: a rambling answer must
   never spill over the chips below. */
.captions{position:relative;margin-top:24px;width:min(680px,92vw);height:148px;flex:none}
.cap{position:absolute;left:0;right:0;top:0;font-size:clamp(15px,1.7vw,19px);line-height:1.5;
  color:var(--ink);font-weight:400;opacity:0;transform:translateY(8px);
  transition:opacity .6s var(--e),transform .6s var(--e)}
.cap .txt{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
/* short windows get less air between orb and chips — three lines, not four */
@media (max-height:840px){
  .captions{height:112px;margin-top:16px}
  .cap .txt{-webkit-line-clamp:3}
  /* the tap hint is already invisible on-call; give its slot back so the
     captions sit clear of the chips */
  .tap{transition:opacity .55s var(--e),max-height .55s var(--e),margin .55s var(--e)}
  body.oncall .tap,body.ended .tap{max-height:0;margin:0;overflow:hidden}
}
.cap.on{opacity:1;transform:none}
.cap.off{opacity:0;transform:translateY(-10px)}
.cap .who{display:block;font-size:10px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--faint);margin-bottom:10px;font-family:'Geist Mono',monospace}
.cap.agent{color:var(--navy-deep)}
.cap.agent .who{color:var(--glow)}

/* the record reveal — pops out when the call ends: blur-to-sharp with a
   slight overshoot and settle, then the values type themselves in */
.chan-call .revealcard{
  position:absolute;left:50%;top:50%;
  transform:translate(-50%,-42%) scale(.94);opacity:0;filter:blur(8px);
  pointer-events:none;z-index:10}
body.ended .chan-call .revealcard{
  animation:recpop .85s var(--e) forwards;pointer-events:auto}
@keyframes recpop{
  0%{opacity:0;transform:translate(-50%,-40%) scale(.92);filter:blur(8px)}
  60%{opacity:1;filter:blur(0)}
  78%{transform:translate(-50%,-50%) scale(1.012)}
  100%{opacity:1;transform:translate(-50%,-50%) scale(1);filter:blur(0)}
}

/* Entrance — the same staged materialize the Email scene gets: headline rises,
   the orb condenses blur-to-sharp, then the hint and the glass bar. `backwards`
   fill only, and gated off the call states, so re-entering the tab mid-call
   never replays the show or fights the oncall/ended transforms. */
body:not(.oncall):not(.ended):not(.dialing) .chan-call .intro{animation:mailrise .8s var(--e) .05s backwards}
body:not(.oncall):not(.ended):not(.dialing) .orbzone{animation:orbin 1s var(--e) .18s backwards}
body:not(.oncall):not(.ended):not(.dialing) .chan-call .tap{animation:mailrise .7s var(--e) .55s backwards}
body:not(.oncall):not(.ended):not(.dialing) .chan-call .glass{animation:glassin .8s var(--e) .5s backwards}
@keyframes orbin{
  from{opacity:0;transform:scale(.86) translateY(16px);filter:blur(10px)}}
@keyframes glassin{from{opacity:0;transform:translate(-50%,14px)}}

/* ────────────────────────────── SITE ────────────────────────────── */
.chan-site{min-height:100vh;display:flex;flex-direction:column;padding-top:84px}
.sitehead{flex:none;text-align:center;padding:8px 40px 22px;
  opacity:0;transform:translateY(10px);animation:in .8s var(--e) .1s forwards}
@keyframes in{to{opacity:1;transform:none}}
.sitehead h2{margin-top:12px;font-size:clamp(26px,2.8vw,36px);font-weight:600;letter-spacing:-.03em}
.sitehead h2 em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;
  color:var(--glow)}
.sitehead .sub{margin-top:8px;font-size:14px}
.framewrap{flex:1;min-height:0;display:flex;justify-content:center;
  padding:0 clamp(20px,4vw,56px) 20px;position:relative;
  opacity:0;transform:translateY(16px);animation:in .9s var(--e) .28s forwards}
.browser{width:min(1180px,100%);display:flex;flex-direction:column;background:#fff;
  border:1px solid var(--hair);border-radius:16px;overflow:hidden;
  box-shadow:0 2px 6px rgba(18,25,60,.04),0 34px 80px -28px rgba(18,25,60,.3)}
.bbar{display:flex;align-items:center;gap:8px;padding:11px 16px;border-bottom:1px solid var(--hair);
  background:#FBFBFD;flex:none}
.bbar i{width:10px;height:10px;border-radius:50%;background:#E9EBF3}
.url{margin-left:12px;flex:1;max-width:420px;display:flex;align-items:center;gap:8px;
  background:#fff;border:1px solid var(--hair);border-radius:8px;padding:6px 12px;
  font-size:12px;color:var(--mut)}
.url svg{width:11px;height:11px;stroke:#98A1B2;stroke-width:2;fill:none;stroke-linecap:round}
.bnote{margin-left:auto;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}
.viewport{flex:1;min-height:420px;position:relative}
.viewport iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* badge straddles the frame's bottom-left edge — the widget owns bottom-right */
.cue{position:absolute;left:clamp(30px,5vw,80px);bottom:6px;z-index:5;
  display:flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.78);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(18,25,60,.1);border-radius:100px;padding:10px 18px;
  font-size:12px;color:var(--mut);box-shadow:0 14px 34px -12px rgba(18,25,60,.25);
  animation:cuefloat 3.4s ease-in-out infinite;pointer-events:none}
.cue b{color:var(--navy);font-weight:500}
.cue .arr{font-size:15px;color:var(--navy);animation:arrnudge 1.7s ease-in-out infinite}
@keyframes cuefloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes arrnudge{0%,100%{transform:translate(0,0)}50%{transform:translate(4px,0)}}
.sitefoot{flex:none;text-align:center;padding:0 40px 18px;font-size:11px;color:var(--faint);
  letter-spacing:.05em}
.sitefoot em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;color:var(--mut)}

/* ────────────────────────────── EMAIL ────────────────────────────── */
/* Entrance — the same staged materialize as the other scenes: headline, then
   the Gmail strip, then the compose window rising blur-to-sharp, then the
   note. `backwards` fill only, and gated off the watching states, so these
   never fight the lift-away transitions once Send is clicked. */
.chan-email .intro{animation:mailrise .8s var(--e) .05s backwards}
body:not(.m-watching):not(.m-done) .gm-brand{animation:mailrise .7s var(--e) .25s backwards}
body:not(.m-watching):not(.m-done) .mailcard{animation:mailin .9s var(--e) .32s backwards}
body:not(.m-watching):not(.m-done) .gm-refnote{animation:mailrise .7s var(--e) .6s backwards}
@keyframes mailrise{from{opacity:0;transform:translateY(14px)}}
@keyframes mailin{
  from{opacity:0;transform:translateY(28px) scale(.965);filter:blur(7px)}}
.chan-email .intro{transition:opacity .8s var(--e),transform .8s var(--e)}
body.m-watching .chan-email .intro,body.m-done .chan-email .intro{
  opacity:0;transform:translateY(-26px) scale(.98);pointer-events:none;position:absolute;top:16vh}

/* The compose card is a faithful Gmail compose window — Sir's order 2026-07-30.
   Roboto/Google-Sans stack and Google palette are DELIBERATE here (realism
   overrides the workspace font ban for this one component). Toolbar buttons
   are set dressing; only Send is wired. */
.gmailwin,.gm-brand,.gm-refnote{
  font-family:'Google Sans',Roboto,'Helvetica Neue',Arial,sans-serif}

.gm-brand{margin-top:10px;width:min(620px,92vw);display:flex;align-items:center;gap:9px;
  flex:none;transition:opacity .8s var(--e),transform .8s var(--e)}
.gm-logo{width:26px;height:auto;flex:none;display:block}
.gm-wordmark{font-size:17px;color:#5f6368;letter-spacing:-.01em}
.gm-draftlab{margin-left:auto;font-size:12px;color:#5f6368}

.mailcard{margin-top:10px;width:min(620px,92vw);text-align:left;
  background:#fff;border-radius:16px;overflow:hidden;flex:none;
  box-shadow:0 8px 10px 1px rgba(0,0,0,.09),0 3px 14px 2px rgba(0,0,0,.06),
             0 40px 90px -30px rgba(18,25,60,.25);
  transition:opacity .8s var(--e),transform .8s var(--e),filter .8s var(--e)}
body.m-watching .mailcard,body.m-done .mailcard,
body.m-watching .gm-brand,body.m-done .gm-brand,
body.m-watching .gm-refnote,body.m-done .gm-refnote{
  opacity:0;transform:translateY(-40px) scale(.96);filter:blur(4px);pointer-events:none;
  position:absolute}

.gm-titlebar{display:flex;align-items:center;justify-content:space-between;
  background:#F2F6FC;padding:10px 12px 10px 16px}
.gm-title{font-size:14px;font-weight:500;color:#041E49}
.gm-winbtns{display:inline-flex;align-items:center;gap:14px}
.gm-winbtns svg{width:15px;height:15px;fill:#444746;opacity:.9;cursor:default}

.gm-row{display:flex;align-items:center;gap:8px;margin:0 16px;min-height:40px;
  border-bottom:1px solid #EEEEEE}
.gm-lab{font-size:13.5px;color:#5f6368;flex:none}
.gm-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;
  border:1px solid #DADCE0;border-radius:100px;padding:2px 10px 2px 3px}
.gm-ava{width:20px;height:20px;border-radius:50%;background:#0B57D0;color:#fff;
  font-size:11px;font-weight:500;font-style:normal;display:inline-flex;
  align-items:center;justify-content:center;flex:none}
.gm-chip b{font-size:13px;font-weight:400;color:#1f1f1f;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.gm-ccbcc{margin-left:auto;font-size:13px;color:#444746;flex:none;cursor:default}
.gm-subj{width:100%;border:0;background:none;outline:none;
  font:inherit;font-size:14px;font-weight:500;color:#1f1f1f}
.gm-body{display:block;width:calc(100% - 32px);margin:10px 16px 4px;border:0;resize:vertical;
  background:none;outline:none;font:inherit;font-size:14px;line-height:1.6;
  color:#1f1f1f;min-height:200px;height:284px}
@media (max-height:840px){.gm-body{height:220px}}

.gm-foot{display:flex;align-items:center;gap:6px;padding:10px 14px 14px 16px}
.gm-sendwrap{display:inline-flex;flex:none;border-radius:100px;overflow:hidden;
  background:#0B57D0;box-shadow:0 6px 16px -6px rgba(11,87,208,.5)}
.gm-send{display:inline-flex;align-items:center;color:#fff;font-size:14px;font-weight:500;
  padding:8px 18px 8px 22px;cursor:pointer;transition:background-color .2s}
.gm-send:hover{background:#0842A0}
.gm-send.off{opacity:.4;pointer-events:none}
.gm-sendcaret{display:inline-flex;align-items:center;padding:0 8px 0 6px;
  border-left:1px solid rgba(255,255,255,.35);cursor:default}
.gm-sendcaret svg{width:18px;height:18px;fill:#fff}
.gm-tools{display:inline-flex;align-items:center;gap:2px;margin-left:8px;flex-wrap:wrap}
.gm-tools svg{width:20px;height:20px;padding:5px;fill:#444746;border-radius:50%;cursor:default}
.gm-tools svg:hover{background:rgba(68,71,70,.08)}
.gm-trash{margin-left:auto;display:inline-flex;flex:none}
.gm-trash svg{width:20px;height:20px;padding:5px;fill:#444746;border-radius:50%;cursor:default}
.gm-trash svg:hover{background:rgba(68,71,70,.08)}

.gm-refnote{margin-top:8px;width:min(620px,92vw);font-size:11.5px;color:var(--faint);
  text-align:center;flex:none;transition:opacity .8s var(--e),transform .8s var(--e)}

/* pipeline */
.pipe{display:flex;align-items:center;gap:0;margin-top:8px;
  opacity:0;pointer-events:none;transition:opacity .7s var(--e);flex:none;
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
body.m-watching .pipe{opacity:1}
body.m-replied .pipe,body.m-done .pipe{opacity:0}
.pstep{display:flex;flex-direction:column;align-items:center;gap:12px;width:118px}
.pdot{width:9px;height:9px;border-radius:50%;background:#E4E7F1;
  transition:background .4s,box-shadow .4s}
.pstep.on .pdot,.pstep.done .pdot{background:var(--navy);box-shadow:0 0 0 5px rgba(37,64,168,.12)}
.plab{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--faint);transition:color .4s}
.pstep.on .plab,.pstep.done .plab{color:var(--ink)}
.pline{width:60px;height:1px;background:#E4E7F1;margin-bottom:24px;position:relative;overflow:hidden}
.pline i{position:absolute;inset:0;background:var(--navy);transform:scaleX(0);
  transform-origin:left center;transition:transform .55s var(--e)}
.pline.on i{transform:scaleX(1)}
.pipenote{position:absolute;left:50%;top:calc(50% + 62px);transform:translateX(-50%);
  font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);
  opacity:0;transition:opacity .5s;white-space:nowrap}
body.m-watching .pipenote{opacity:1}
body.m-replied .pipenote,body.m-done .pipenote{opacity:0}

/* reply + record — the reply is a Gmail reading pane (same realism rule as
   the compose window), the record is the EXACT call-section paper card.
   Both share one width and mirrored offsets so the finale sits symmetric. */
.replycard{position:absolute;left:50%;top:50%;width:min(520px,44vw);text-align:left;
  transform:translate(-50%,-46%) scale(.96);opacity:0;filter:blur(6px);
  transition:opacity .9s var(--e),transform .9s var(--e),filter .9s var(--e);
  background:#fff;border-radius:16px;
  box-shadow:0 8px 10px 1px rgba(0,0,0,.09),0 3px 14px 2px rgba(0,0,0,.06),
             0 40px 90px -30px rgba(18,25,60,.25);
  padding:22px 26px 18px;pointer-events:none;z-index:8;
  font-family:'Google Sans',Roboto,'Helvetica Neue',Arial,sans-serif}
body.m-replied .replycard{opacity:1;transform:translate(-50%,-50%) scale(1);filter:blur(0);
  pointer-events:auto}
body.m-done .replycard{opacity:1;pointer-events:auto;
  transform:translate(-50%,-50%) translateX(-54%) scale(1)}

.gr-top{display:flex;align-items:center;gap:12px}
.gm-logo.sm{width:22px;height:auto;flex:none}
.gr-subj{flex:1;font-size:16.5px;font-weight:500;color:#1f1f1f;letter-spacing:-.01em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr-when{font-size:11px;color:#5f6368;flex:none}
.gr-sender{display:flex;align-items:flex-start;gap:12px;margin-top:16px}
.gr-ava{width:38px;height:38px;border-radius:50%;background:#188038;color:#fff;
  font-size:16px;font-weight:500;font-style:normal;display:inline-flex;
  align-items:center;justify-content:center;flex:none}
.gr-names{display:flex;flex-direction:column;gap:1px;min-width:0}
.gr-line1{display:flex;align-items:baseline;gap:7px;min-width:0}
.gr-line1 b{font-size:14px;font-weight:600;color:#1f1f1f;flex:none}
.gr-addr{font-size:12px;color:#5f6368;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr-tome{display:inline-flex;align-items:center;gap:2px;font-size:12px;color:#5f6368}
.gr-tome svg{width:14px;height:14px;fill:#5f6368}
.gr-icons{margin-left:auto;display:inline-flex;align-items:center;gap:12px;flex:none;padding-top:4px}
.gr-icons svg{width:18px;height:18px;fill:#444746;cursor:default}
.gr-body{margin-top:16px;font-size:14px;line-height:1.65;color:#1f1f1f;white-space:pre-line;
  max-height:42vh;overflow-y:auto}
.gr-actions{display:flex;gap:10px;margin-top:18px}
.gr-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid #747775;
  border-radius:100px;padding:7px 18px;font-size:13.5px;font-weight:500;color:#444746;
  cursor:default}
.gr-btn svg{width:16px;height:16px;fill:#444746}
.gr-note{margin-top:16px;padding-top:12px;border-top:1px solid #EEEEEE;
  font-size:10px;color:#9aa0a6;letter-spacing:.08em;text-transform:uppercase}

.chan-email .revealcard{position:absolute;left:50%;top:50%;z-index:9;
  width:min(520px,44vw);
  transform:translate(-50%,-46%) scale(.96);opacity:0;filter:blur(6px);
  transition:opacity .9s var(--e),transform .9s var(--e),filter .9s var(--e);pointer-events:none}
body.m-done .chan-email .revealcard{opacity:1;filter:blur(0);pointer-events:auto;
  transform:translate(-50%,-50%) translateX(54%) scale(1)}

/* ────────────────────────────── COST ────────────────────────────── */
.stagew.cost{gap:0}
.costhead{opacity:0;transform:translateY(12px);animation:in .9s var(--e) .15s forwards}
.costhead h1{font-size:clamp(36px,4.6vw,58px)}
.beats{margin-top:clamp(26px,4.5vh,50px);display:flex;align-items:baseline;
  gap:clamp(30px,5vw,76px);opacity:0;transform:translateY(14px);
  animation:in 1s var(--e) .4s forwards}
.beat{display:flex;flex-direction:column;gap:10px;text-align:center}
.beat .lab{font-size:9.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--faint)}
.beat .n{font-weight:300;letter-spacing:-.02em;color:var(--ink);
  font-variant-numeric:tabular-nums;font-size:clamp(24px,2.6vw,34px);line-height:1}
.beat.main .n{font-size:clamp(56px,8vw,112px);color:var(--navy);letter-spacing:-.035em}
.beat.main .lab{color:#7E8DC4}
.beat .sub2{font-size:10px;color:var(--faint);letter-spacing:.08em}
.controls{margin-top:clamp(28px,5vh,54px);width:min(1080px,94vw);
  display:grid;grid-template-columns:repeat(5,1fr);gap:clamp(18px,2.6vw,40px);text-align:left;
  opacity:0;transform:translateY(14px);animation:in 1s var(--e) .55s forwards}
/* every control reserves two label lines — all tracks share one baseline */
.ctl{display:flex;flex-direction:column;justify-content:flex-end}
.ctl .top{display:flex;justify-content:space-between;align-items:flex-start;
  margin-bottom:12px;gap:8px;min-height:34px}
.ctl .lab{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--faint);line-height:1.5}
.ctl .val{font-size:12.5px;color:var(--ink);font-weight:500;
  font-variant-numeric:tabular-nums;white-space:nowrap}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:22px;
  background:none;cursor:pointer}
input[type=range]::-webkit-slider-runnable-track{height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--navy) var(--fill,50%),#E9EBF3 var(--fill,50%))}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;
  width:16px;height:16px;border-radius:50%;background:#fff;border:1.5px solid var(--navy);
  margin-top:-7px;box-shadow:0 3px 10px rgba(37,64,168,.3);transition:transform .2s var(--e)}
input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.15)}
input[type=range]:active::-webkit-slider-thumb{transform:scale(1.28)}
input[type=range]::-moz-range-track{height:2px;border-radius:2px;background:#E9EBF3}
input[type=range]::-moz-range-progress{height:2px;border-radius:2px;background:var(--navy)}
input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#fff;
  border:1.5px solid var(--navy);box-shadow:0 3px 10px rgba(37,64,168,.3)}

/* ── responsive scenes ── */
@media (max-width:900px){
  /* bottom obstruction is now just the glass bar — reclaim the dead band */
  .stagew{padding:80px 22px calc(110px + var(--safe-b))}

  /* CALL — deterministic top-anchored stack so the orb, captions, chips and
     bars never collide on a phone */
  .chan-call .stagew{justify-content:flex-start}
  .orbzone{margin-top:10px}
  .captions{margin-top:12px;height:96px;min-height:0}
  .cap{font-size:15px}
  .cap .txt{-webkit-line-clamp:3}
  /* the desktop recpop keyframes end on translate(-50%,-50%) — in the mobile
     flow that shoves the card half off-canvas, so the pop loses the slide */
  .chan-call .revealcard{position:relative;left:auto;top:auto;margin-top:8px;
    width:min(460px,92vw)}
  body.ended .chan-call .revealcard{animation-name:recpopmob}
  body.ended .chan-call .captions,body.ended .chan-call .status{display:none}
  body.ended .orbzone{height:92px;margin-top:0;transform:scale(.48) translateY(-42px)}
  .pipe{transform:translate(-50%,-50%) scale(.72)}

  /* COST */
  /* stacked beats must CENTER — the desktop row's baseline alignment reads
     as random left-offsets once the stats sit one above another */
  .beats{flex-direction:column;gap:26px;align-items:center;width:100%}
  .controls{grid-template-columns:1fr;gap:18px}
  .ctl .top{min-height:0}

  /* EMAIL — compose shortens so the reference note clears the tab pill;
     the finale cards go full-width and stack */
  .gm-tools{display:none}
  .gm-ccbcc{display:none}
  /* fill whatever height the phone actually has: short phones get a compact
     body, tall ones use the slack instead of leaving a void above the tabs */
  .gm-body{height:calc(100vh - 632px);height:calc(100dvh - 632px);
    min-height:110px;max-height:340px}
  .replycard,.chan-email .revealcard{width:min(520px,92vw)}
  /* the five-step pipeline runs VERTICALLY on phones — five labelled dots
     across 375px was an illegible horizontal squeeze */
  .pipe{flex-direction:column;align-items:flex-start;gap:12px;
    transform:translate(-50%,-56%)}
  .pstep{flex-direction:row;gap:14px;width:auto}
  .plab{letter-spacing:.14em}
  .pline{width:1px;height:20px;margin:0 0 0 4px}
  .pline i{transform:scaleY(0);transform-origin:top}
  .pline.on i{transform:scaleY(1)}
  .pipenote{white-space:normal;max-width:86vw;text-align:center;line-height:1.6;
    top:calc(50% + 150px)}
  body.m-done .replycard{position:relative;inset:auto;opacity:1;filter:none;
    transform:none;margin-top:0}
  body.m-done .chan-email .revealcard{position:relative;inset:auto;transform:none;margin-top:18px}
  .chan-email .stagew{justify-content:flex-start;overflow-y:auto}

  /* SITE — the demo frame (and the widget bubble inside it) ends above the
     fixed tab pill instead of running underneath it */
  .chan-site .framewrap{padding-bottom:calc(130px + var(--safe-b))}
  .viewport{min-height:320px}
  /* the calculator's last slider must scroll clear of the one-pager glass */
  .stagew.cost{padding-bottom:calc(170px + var(--safe-b))}
}
@keyframes recpopmob{
  0%{opacity:0;transform:scale(.94);filter:blur(8px)}
  60%{opacity:1;filter:blur(0)}
  78%{transform:scale(1.012)}
  100%{opacity:1;transform:scale(1);filter:blur(0)}
}
