/* Self-hosted Archivo (variable, 400-900). Google Fonts was render-blocking:
   two extra DNS + TLS hops before a single word could paint, and a hard
   dependency on a third party that some networks block outright. */
@font-face{
  font-family:'Archivo';font-style:normal;font-weight:400 900;font-stretch:100%;
  font-display:swap;src:url(fonts/archivo-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,
    U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Archivo';font-style:normal;font-weight:400 900;font-stretch:100%;
  font-display:swap;src:url(fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,
    U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,
    U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ============================================================
   Just Train — Front Door
   Locked design: room-forward video, smoked glass, wall-paint type,
   brand blue as the only accent.
   ============================================================ */

:root{
  --blue:#587EF7;
  --blue-dim:#2E4488;
  --ink:#07090C;
  --pale:#B7C0D0;
  --mute:#8B95A8;
  --line:rgba(255,255,255,.20);
  --line-soft:rgba(255,255,255,.13);
  --glass:rgba(12,16,24,.62);
  --glass-hi:rgba(255,255,255,.10);
  --ok:#4ED18B;
  --warn:#E8B457;
  --ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  background:var(--ink);color:#fff;
  font-family:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  overscroll-behavior-y:none;
}
button{font-family:inherit}

/* ---------- stage + video (shared by landing AND flow) ----------
   The video is FIXED to the viewport, not the stage, so it fills the
   whole screen on a phone no matter what the browser chrome is doing. */
.stage{position:relative;height:100svh;height:100dvh;min-height:520px;overflow:hidden;isolation:isolate}
#bg{
  position:fixed;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:50% 38%;z-index:0;
  background:var(--ink);
  animation:filmin 1.15s var(--ease) both;
}
@keyframes filmin{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:none}}
.veil{
  position:fixed;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,
    rgba(7,9,12,.52) 0%, rgba(7,9,12,.18) 18%, rgba(7,9,12,.10) 40%,
    rgba(7,9,12,.46) 66%, rgba(7,9,12,.86) 88%, rgba(7,9,12,.96) 100%);
  transition:background .5s var(--ease);
}
.stage::after{
  content:"";position:fixed;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(120% 78% at 50% 44%,transparent 52%,rgba(4,6,9,.44) 100%);
}
/* while the flow is open the room steps back a little so cards read */
body.flow-open .veil{
  background:linear-gradient(180deg,
    rgba(7,9,12,.72) 0%, rgba(7,9,12,.52) 22%, rgba(7,9,12,.50) 48%,
    rgba(7,9,12,.74) 74%, rgba(6,8,11,.92) 100%);
}

/* ---------- top bar ---------- */
.bar{
  /* above the menu overlay (15) so the burger stays reachable and can
     morph to an X — it is the way out of the menu */
  position:fixed;top:0;left:0;right:0;z-index:16;
  padding:max(20px,env(safe-area-inset-top)) 22px 0;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
}
.mark{width:30px;height:auto;display:block;filter:drop-shadow(0 2px 10px rgba(0,0,0,.6))}
.tag{
  font-size:9.5px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;
  border:1px solid rgba(88,126,247,.45);border-radius:100px;padding:6px 13px;
  background:rgba(88,126,247,.15);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#C5D3FA;white-space:nowrap;
}
.barbtn{
  border:1px solid var(--line);border-radius:100px;padding:6px 12px;
  background:rgba(10,13,19,.34);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#fff;font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  cursor:pointer;white-space:nowrap;transition:background .18s var(--ease);
}
.barbtn:hover{background:rgba(10,13,19,.68)}
.barbtn:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* ---------- landing copy ---------- */
/* bottom padding clears Spot, who is fixed in the bottom-right corner —
   without it the primary button runs underneath him */
.wrap{position:absolute;left:0;right:0;bottom:0;z-index:3;
  padding:0 22px calc(88px + env(safe-area-inset-bottom))}
.inner{max-width:620px}
.eyebrow{font-size:10.5px;font-weight:600;letter-spacing:.20em;text-transform:uppercase;color:var(--blue);margin-bottom:14px}
h1{
  font-size:clamp(38px,10.4vw,74px);font-weight:900;line-height:.90;
  letter-spacing:-.028em;text-transform:uppercase;
  text-shadow:0 2px 30px rgba(0,0,0,.55);text-wrap:balance;
}
h1 .dim{color:#8E9AAE}
.sub{margin-top:16px;font-size:15px;line-height:1.5;color:var(--pale);max-width:34ch}
.sub b{color:#fff;font-weight:600}
.cta{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  margin-top:22px;width:100%;max-width:340px;
  background:#fff;color:#0A0D13;border:0;border-radius:10px;
  font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  padding:17px 24px;cursor:pointer;
  transition:transform .18s var(--ease),box-shadow .18s var(--ease);
  box-shadow:0 8px 28px rgba(0,0,0,.34);
}
.cta:hover{transform:translateY(-1px);box-shadow:0 12px 34px rgba(0,0,0,.42)}
.cta:active{transform:translateY(0)}
.cta:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.cta svg{width:14px;height:14px}

/* lanes — the old inert list, now three ways in */
.lanes{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-top:22px;padding-top:16px;border-top:1px solid var(--line-soft);
}
.lane{
  border:1px solid var(--line);border-radius:100px;padding:9px 15px;
  background:rgba(255,255,255,.06);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  color:#E7ECF5;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  cursor:pointer;white-space:nowrap;
  transition:background .18s var(--ease),border-color .18s var(--ease),transform .18s var(--ease);
}
.lane:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.42);transform:translateY(-1px)}
.lane:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.human{
  background:none;border:0;color:var(--mute);font-size:11px;font-weight:500;
  letter-spacing:.06em;text-transform:uppercase;cursor:pointer;
  text-decoration:underline;text-underline-offset:4px;padding:9px 4px;
}
.human:hover{color:#fff}
.human:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:3px}

/* ---------- sound ---------- */
.snd{
  position:absolute;right:22px;z-index:5;
  bottom:calc(max(26px,env(safe-area-inset-bottom)) + 2px);
  width:40px;height:40px;border-radius:50%;
  border:1px solid var(--line);background:rgba(10,13,19,.42);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .18s var(--ease);
}
.snd:hover{background:rgba(10,13,19,.66)}
.snd:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.snd svg{width:16px;height:16px;display:block}
@media(max-width:700px){.snd{display:none}}
body.flow-open .snd{display:none}
/* the takeover takes over: landing chrome steps off the stage entirely */
body.flow-open #landing,
body.flow-open #topbar{display:none}

/* ---------- entrance ---------- */
@media (prefers-reduced-motion:no-preference){
  .rise{opacity:0;transform:translateY(14px);animation:rise .85s var(--ease) forwards}
  @keyframes rise{to{opacity:1;transform:none}}
  .d1{animation-delay:.22s}.d2{animation-delay:.34s}.d3{animation-delay:.46s}
  .d4{animation-delay:.58s}.d5{animation-delay:.70s}
}

/* ============================================================
   FLOW — the front desk takeover
   ============================================================ */
#flow{position:absolute;inset:0;z-index:5;display:none}
#flow.open{display:flex;flex-direction:column}

.fhead{
  position:absolute;top:0;left:0;right:0;z-index:3;
  padding:max(20px,env(safe-area-inset-top)) 22px 0;
}
.frow{display:flex;align-items:center;gap:12px}
.back{
  width:34px;height:34px;border-radius:50%;flex:none;
  border:1px solid var(--line);background:rgba(10,13,19,.42);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .18s var(--ease);
}
.back:hover{background:rgba(10,13,19,.7)}
.back:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.back svg{width:15px;height:15px}
.prog{flex:1;height:2px;border-radius:2px;background:rgba(255,255,255,.24);overflow:hidden}
.prog i{display:block;height:100%;background:var(--blue);width:0;transition:width .45s var(--ease)}
.step{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);white-space:nowrap;font-variant-numeric:tabular-nums}

/* the card */
.card{
  position:absolute;left:12px;right:12px;bottom:12px;z-index:2;
  max-height:calc(100svh - 96px);
  border-radius:18px;padding:20px 18px 18px;
  background:var(--glass);border:1px solid rgba(255,255,255,.17);
  -webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 10px 40px rgba(0,0,0,.42);
  display:flex;flex-direction:column;overflow:hidden;
}
@media (prefers-reduced-motion:no-preference){
  .card{animation:cardin .42s var(--ease) both}
  @keyframes cardin{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
}
.cbody{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
@media(min-width:820px){
  .card{left:auto;right:44px;bottom:44px;width:430px;max-height:calc(100svh - 150px)}
  .fhead{padding-left:44px;padding-right:44px;padding-top:32px}
}

.q{font-size:clamp(21px,5.2vw,26px);font-weight:900;line-height:1.04;letter-spacing:-.02em;text-transform:uppercase;text-wrap:balance}
.qs{margin-top:9px;font-size:13px;line-height:1.5;color:var(--pale)}
.qs b{color:#fff;font-weight:600}

/* choice chips */
.chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.chip{
  border:1px solid var(--line);border-radius:100px;padding:9px 13px;
  background:rgba(255,255,255,.07);color:#E9EEF7;
  font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;
  transition:background .16s var(--ease),border-color .16s var(--ease),color .16s var(--ease);
}
.chip:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.4)}
.chip[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.chip:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* stacked options (experience, lanes) */
.opts{display:flex;flex-direction:column;gap:7px;margin-top:16px}
.opt{
  display:flex;align-items:center;gap:12px;width:100%;text-align:left;
  border:1px solid var(--line);border-radius:12px;padding:13px 14px;
  background:rgba(255,255,255,.06);color:#fff;cursor:pointer;
  transition:background .16s var(--ease),border-color .16s var(--ease);
}
.opt:hover{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.38)}
.opt:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.opt[aria-pressed="true"]{border-color:var(--blue);background:rgba(88,126,247,.18)}
/* these are spans inside buttons — they must be block or they run together */
.opt-t,.opt-d,.slot-day,.slot-time,.slot-name,.slot-meta,.booked-w,.booked-n,.booked-m,
.callrow .t,.callrow .d{display:block}
.opt > span:not(.opt-i){min-width:0;flex:1}
.opt-t{font-size:13.5px;font-weight:600;line-height:1.25}
.opt-d{font-size:11.5px;line-height:1.4;color:var(--mute);margin-top:3px}
.opt-i{
  width:30px;height:30px;border-radius:9px;flex:none;display:grid;place-items:center;
  background:rgba(88,126,247,.18);border:1px solid rgba(88,126,247,.4);color:#A9BEFB;
  font-size:12px;font-weight:800;
}

/* class slots */
.slot{
  display:flex;align-items:center;gap:12px;width:100%;text-align:left;
  border:1px solid var(--line);border-radius:12px;padding:12px 13px;
  background:rgba(255,255,255,.06);color:#fff;cursor:pointer;
  transition:background .16s var(--ease),border-color .16s var(--ease);
}
.slot:hover:not(:disabled){background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.38)}
.slot:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.slot:disabled{opacity:.4;cursor:not-allowed}
.slot.pick{border-color:var(--blue);background:rgba(88,126,247,.16)}
.slot-when{flex:none;width:60px}
.slot-day{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}
.slot-time{font-size:13px;font-weight:700;margin-top:2px;font-variant-numeric:tabular-nums}
.slot-main{flex:1;min-width:0}
.slot-name{font-size:13px;font-weight:600;line-height:1.25}
.slot-meta{font-size:11px;color:var(--mute);margin-top:3px}
.spots{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;flex:none;color:var(--ok)}
.spots.low{color:var(--warn)}
.spots.none{color:#E08B80}
.rec-flag{
  display:inline-flex;align-items:center;gap:5px;margin-bottom:8px;
  font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);
}

/* ============================================================
   SPOT — a presence, not a logo.
   Big products signal "something intelligent is awake here" with three
   cues: a slow breath, an orbit that never quite stops, and a core that
   reacts. None of them shout. All three run at once, quietly.
   ============================================================ */
.spot{
  position:fixed;z-index:20;
  right:20px;bottom:calc(20px + env(safe-area-inset-bottom));
  width:58px;height:58px;padding:0;border:0;background:none;cursor:pointer;
  display:grid;place-items:center;
}
.spot:focus-visible{outline:2px solid var(--blue);outline-offset:6px;border-radius:50%}

/* 1. the breath — a soft field that swells and settles */
.spot .halo{
  position:absolute;inset:-14px;border-radius:50%;
  background:radial-gradient(circle,rgba(88,126,247,.55) 0%,rgba(88,126,247,.16) 45%,transparent 70%);
  filter:blur(6px);
}
/* 2. the orbit — a gradient ring, always turning */
.spot .orbit{
  position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(from 0deg,transparent 0deg,var(--blue) 70deg,#9DB4FF 140deg,transparent 200deg,transparent 360deg);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2.5px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2.5px));
}
/* 3. the core — four bars that sit like a held breath, then move */
.spot .core{
  position:relative;width:42px;height:42px;border-radius:50%;
  background:rgba(8,11,18,.88);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.14);
  display:flex;align-items:center;justify-content:center;gap:3px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}
.spot .core i{display:block;width:3px;border-radius:2px;background:#DCE5FF;height:8px}
.spot:hover .core{background:rgba(12,17,28,.94)}

@media (prefers-reduced-motion:no-preference){
  .spot .halo{animation:breath 3.6s ease-in-out infinite}
  @keyframes breath{0%,100%{transform:scale(.9);opacity:.5}50%{transform:scale(1.08);opacity:.95}}
  .spot .orbit{animation:turn 7s linear infinite}
  @keyframes turn{to{transform:rotate(360deg)}}
  /* idle: a slow, uneven shimmer — alive, not a loading bar */
  .spot .core i{animation:idlebar 3.2s ease-in-out infinite}
  .spot .core i:nth-child(1){animation-delay:0s}
  .spot .core i:nth-child(2){animation-delay:.35s}
  .spot .core i:nth-child(3){animation-delay:.7s}
  .spot .core i:nth-child(4){animation-delay:.2s}
  @keyframes idlebar{0%,100%{height:7px;opacity:.55}50%{height:14px;opacity:1}}

  .spot.think .orbit{animation-duration:1.1s}
  .spot.think .halo{animation-duration:1.1s}
  .spot.think .core i{animation:thinkbar .5s ease-in-out infinite}
  .spot.think .core i:nth-child(2){animation-delay:.08s}
  .spot.think .core i:nth-child(3){animation-delay:.16s}
  .spot.think .core i:nth-child(4){animation-delay:.24s}
  @keyframes thinkbar{0%,100%{height:5px}50%{height:20px}}

  .spot.talk .core i{animation:talkbar .6s ease-out}
  @keyframes talkbar{0%{height:6px}40%{height:19px}100%{height:8px}}
}
body.chat-open .spot .core{background:var(--blue);border-color:rgba(255,255,255,.5)}
body.chat-open .spot .core i{background:#fff}

/* the one-time nudge — says it once, then never again */
.spot-nudge{
  position:fixed;z-index:19;right:88px;bottom:calc(35px + env(safe-area-inset-bottom));
  background:rgba(8,11,18,.9);border:1px solid rgba(88,126,247,.42);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#DCE5FF;font-size:12px;font-weight:500;letter-spacing:.02em;
  padding:8px 13px;border-radius:100px;white-space:nowrap;pointer-events:none;
  opacity:0;transform:translateX(6px);transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.spot-nudge.on{opacity:1;transform:none}
@media(max-width:420px){.spot-nudge{display:none}}

/* ---------- hamburger: two lines, top right ---------- */
.burger{
  width:34px;height:34px;border:0;background:none;cursor:pointer;padding:0;
  display:grid;align-content:center;justify-items:end;gap:7px;
}
.burger span{
  display:block;height:1.5px;background:#fff;border-radius:2px;
  filter:drop-shadow(0 1px 4px rgba(0,0,0,.7));
  transition:width .32s var(--ease),transform .32s var(--ease),opacity .22s var(--ease);
}
.burger span:nth-child(1){width:24px}
.burger span:nth-child(2){width:16px}
.burger:hover span:nth-child(2){width:24px}
.burger:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:6px}
body.menu-open .burger span:nth-child(1){width:24px;transform:translateY(4.2px) rotate(45deg)}
body.menu-open .burger span:nth-child(2){width:24px;transform:translateY(-4.3px) rotate(-45deg)}

/* ---------- the menu ---------- */
.menu{
  position:fixed;inset:0;z-index:15;
  background:rgba(6,8,12,.93);
  -webkit-backdrop-filter:blur(22px) saturate(1.1);backdrop-filter:blur(22px) saturate(1.1);
  opacity:0;pointer-events:none;transition:opacity .3s var(--ease);
  display:flex;align-items:center;
}
body.menu-open .menu{opacity:1;pointer-events:auto}
.menu-in{width:100%;max-width:620px;padding:0 26px}
.menu-k{
  font-size:10.5px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:var(--blue);margin-bottom:22px;
}
.menu-list{list-style:none;margin:0 0 30px;padding:0}
.menu-list li{border-bottom:1px solid rgba(255,255,255,.09)}
.mi{
  width:100%;text-align:left;background:none;border:0;cursor:default;
  color:#4E566A;font-size:clamp(24px,6.4vw,34px);font-weight:800;
  text-transform:uppercase;letter-spacing:-.015em;line-height:1;
  padding:19px 0;display:flex;align-items:center;gap:14px;
}
.mi em{
  font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.14em;
  border:1px solid rgba(255,255,255,.16);border-radius:100px;padding:4px 8px;
  color:#6B7488;margin-left:auto;
}
.mi.live{color:#fff;cursor:pointer;transition:color .18s var(--ease),padding-left .18s var(--ease)}
.mi.live:hover{color:var(--blue);padding-left:8px}
.mi.live:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.mi.sub{font-size:clamp(15px,3.6vw,18px);font-weight:600;color:var(--mute);padding:15px 0}
.mi.sub:hover{color:#fff}
.menu-legal{
  font-size:11.5px;color:var(--mute);text-decoration:none;
  letter-spacing:.06em;text-transform:uppercase;
}
.menu-legal:hover{color:#fff}
@media (prefers-reduced-motion:no-preference){
  body.menu-open .menu-list li{opacity:0;animation:mIn .42s var(--ease) forwards}
  body.menu-open .menu-list li:nth-child(1){animation-delay:.05s}
  body.menu-open .menu-list li:nth-child(2){animation-delay:.10s}
  body.menu-open .menu-list li:nth-child(3){animation-delay:.15s}
  body.menu-open .menu-list li:nth-child(4){animation-delay:.20s}
  body.menu-open .menu-list li:nth-child(5){animation-delay:.25s}
  @keyframes mIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}

/* the free-class line that replaced the lane chips */
.terms{
  margin-top:20px;padding-top:15px;border-top:1px solid var(--line-soft);
  font-size:10.5px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--mute);
  padding-right:78px;   /* clears Spot in the bottom-right corner */
}
/* the return pill takes this row — the terms line would sit under it */


/* ---------- the drawer ---------- */
/* while Spot is open the flow visibly pauses behind a scrim — otherwise
   high-contrast content bleeds through the panel and nothing is readable */
body.chat-open #flow::after{
  content:"";position:absolute;inset:0;z-index:10;
  background:rgba(5,7,11,.62);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
}

.spotwrap{
  position:fixed;z-index:19;left:12px;right:12px;bottom:12px;
  border-radius:18px;padding:14px 14px 12px;
  background:#0B0F17;border:1px solid rgba(88,126,247,.38);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);backdrop-filter:blur(20px) saturate(1.2);
  box-shadow:0 -4px 60px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.18);
  display:flex;flex-direction:column;
  transform:translateY(14px);opacity:0;pointer-events:none;
  transition:opacity .26s var(--ease),transform .26s var(--ease);
}
body.chat-open .spotwrap{transform:none;opacity:1;pointer-events:auto}
@media(min-width:820px){.spotwrap{left:auto;right:44px;bottom:44px;width:400px}}

.spothead{display:flex;align-items:center;margin-bottom:11px}
.spotname{font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;flex:1}
.spotname em{font-style:normal;font-weight:500;letter-spacing:.08em;color:var(--mute);margin-left:8px}
.spotx{width:28px;height:28px;border-radius:8px;border:1px solid var(--line);background:transparent;
  color:var(--pale);cursor:pointer;display:grid;place-items:center}
.spotx:hover{background:rgba(255,255,255,.10);color:#fff}
.spotx:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.spotx svg{width:13px;height:13px}

.chatlog{display:flex;flex-direction:column;gap:8px;
  max-height:min(46svh,360px);overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
.msg{max-width:88%;border-radius:14px;padding:10px 13px;font-size:13.5px;line-height:1.5}
.msg.them{align-self:flex-start;background:rgba(255,255,255,.08);border:1px solid var(--line-soft);
  color:#E8EDF6;border-bottom-left-radius:5px}
.msg.me{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:5px}
.msg.wait{display:flex;gap:4px;align-items:center;padding:13px}
.msg.wait i{width:5px;height:5px;border-radius:50%;background:var(--mute);display:block}
@media (prefers-reduced-motion:no-preference){
  .msg.wait i{animation:dots 1.1s ease-in-out infinite}
  .msg.wait i:nth-child(2){animation-delay:.15s}
  .msg.wait i:nth-child(3){animation-delay:.3s}
  @keyframes dots{0%,60%,100%{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
}
.quick{display:flex;flex-direction:column;gap:6px;margin-top:4px;align-items:flex-start}
.quick button{
  border:1px solid rgba(88,126,247,.4);border-radius:100px;padding:7px 12px;
  background:rgba(88,126,247,.12);color:#C5D3FA;font-family:inherit;font-size:12px;cursor:pointer;
  text-align:left;transition:background .16s var(--ease);
}
.quick button:hover{background:rgba(88,126,247,.26);color:#fff}
.quick button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

.askrow{display:flex;gap:8px;margin-top:11px}
.askrow .inp{flex:1;font-size:14px;padding:12px}
.askrow button{flex:none;width:46px;border:0;border-radius:10px;background:#fff;color:#0A0D13;
  cursor:pointer;display:grid;place-items:center;transition:opacity .16s}
.askrow button:disabled{opacity:.35;cursor:not-allowed}
.askrow button svg{width:16px;height:16px}
.askrow button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.askleft{font-size:10.5px;color:var(--mute);margin-top:9px;text-align:center}

/* ---------- bits the four-page flow needs ---------- */
.sep{display:flex;align-items:center;gap:11px;margin:18px 0 2px}
.sep::before,.sep::after{content:"";flex:1;height:1px;background:var(--line-soft)}
.sep span{font-size:10.5px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--mute)}
.lbl{display:flex;align-items:baseline;gap:7px}
.opt-tag{font-weight:500;letter-spacing:.06em;color:#5F6878;text-transform:none;font-size:9.5px}
.banner.warn{border-color:rgba(232,180,87,.45);background:rgba(232,180,87,.12);color:#F0DDB6;margin-top:12px}
.act2.danger{border-color:#E08B80;color:#E08B80}

/* error banner */
.banner{
  border:1px solid rgba(233,115,106,.5);background:rgba(233,115,106,.14);
  border-radius:10px;padding:11px 13px;margin-bottom:14px;
  font-size:12.5px;line-height:1.45;color:#F3C3BD;
}

/* fields */
.field{margin-top:13px}
.lbl{display:block;font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);margin-bottom:6px}
.inp{
  width:100%;border:1px solid var(--line);border-radius:10px;
  background:rgba(255,255,255,.06);color:#fff;
  font-family:inherit;font-size:15px;padding:13px 13px;
  transition:border-color .16s var(--ease),background .16s var(--ease);
}
.inp::placeholder{color:#6B7488}
.inp:focus{outline:none;border-color:var(--blue);background:rgba(88,126,247,.10)}
.inp[aria-invalid="true"]{border-color:#E08B80}
textarea.inp{resize:vertical;min-height:76px;line-height:1.45}
.err{font-size:11.5px;color:#E08B80;margin-top:6px;display:none}
.err.on{display:block}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}

/* checkbox */
.check{display:flex;gap:11px;align-items:flex-start;margin-top:14px;cursor:pointer}
.check input{
  appearance:none;-webkit-appearance:none;flex:none;
  width:20px;height:20px;border-radius:6px;margin-top:1px;
  border:1px solid var(--line);background:rgba(255,255,255,.07);cursor:pointer;
  display:grid;place-items:center;transition:background .16s var(--ease),border-color .16s var(--ease);
}
.check input:checked{background:var(--blue);border-color:var(--blue)}
.check input:checked::after{content:"";width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.check input:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.check-t{font-size:12px;line-height:1.5;color:var(--pale)}
.check-t b{color:#fff;font-weight:600}

/* navigation sits with the action, at the bottom of the card */
.cnav{display:flex;align-items:stretch;gap:9px;margin-top:16px}
.cnav .act{margin-top:0;flex:1}
.navback{
  flex:none;width:52px;border:1px solid var(--line);border-radius:11px;
  background:rgba(255,255,255,.05);color:var(--pale);cursor:pointer;
  display:grid;place-items:center;transition:background .16s var(--ease),color .16s var(--ease);
}
.navback:hover{background:rgba(255,255,255,.13);color:#fff}
.navback:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.navback svg{width:17px;height:17px}

/* primary / secondary actions */
.act{
  width:100%;margin-top:16px;border:0;border-radius:11px;
  background:#fff;color:#0A0D13;
  font-size:13.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  padding:16px 20px;cursor:pointer;
  transition:transform .16s var(--ease),opacity .16s var(--ease);
}
.act:hover:not(:disabled){transform:translateY(-1px)}
.act:disabled{opacity:.38;cursor:not-allowed}
.act:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.act.blue{background:var(--blue);color:#fff}
.act2{
  width:100%;margin-top:9px;border:1px solid var(--line);border-radius:11px;
  background:transparent;color:#D6DDEA;
  font-size:12px;font-weight:600;letter-spacing:.04em;padding:13px 20px;cursor:pointer;
  transition:background .16s var(--ease);
}
.act2:hover{background:rgba(255,255,255,.09)}
.act2:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.skip{
  display:block;width:100%;margin-top:11px;background:none;border:0;
  color:var(--mute);font-size:11.5px;cursor:pointer;text-decoration:underline;text-underline-offset:4px;
}
.skip:hover{color:#fff}
.skip:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:3px}
.fine{font-size:10.5px;line-height:1.5;color:#79839A;margin-top:12px}

/* ---------- waiver ---------- */
.wv-doc{
  margin-top:13px;border:1px solid var(--line);border-radius:11px;
  background:rgba(0,0,0,.30);padding:14px;
  height:190px;overflow-y:auto;overscroll-behavior:contain;
  font-size:12px;line-height:1.6;color:#C9D2E1;
}
.wv-doc h4{font-size:11px;font-weight:800;letter-spacing:.10em;text-transform:uppercase;color:#fff;margin:14px 0 6px}
.wv-doc h4:first-child{margin-top:0}
.wv-doc p{margin-bottom:9px}
.wv-doc strong{color:#fff}
.wv-end{
  display:flex;align-items:center;gap:8px;justify-content:center;
  margin-top:9px;font-size:11px;color:var(--mute);
}
.wv-end.done{color:var(--ok)}
.sigwrap{margin-top:13px}
.sigbox{
  position:relative;border:1px dashed rgba(255,255,255,.30);border-radius:11px;
  background:rgba(255,255,255,.05);height:110px;overflow:hidden;
}
#sig{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}
.sighint{
  position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;
  font-size:11.5px;color:#6B7488;letter-spacing:.04em;
}
.sighint.gone{display:none}
.sigclear{
  position:absolute;top:7px;right:7px;background:rgba(10,13,19,.6);border:1px solid var(--line);
  border-radius:7px;color:#C9D2E1;font-size:10px;font-weight:600;letter-spacing:.08em;
  text-transform:uppercase;padding:5px 9px;cursor:pointer;
}
.sigclear:hover{background:rgba(10,13,19,.9);color:#fff}

/* ---------- confirmation ---------- */
.tick{
  width:44px;height:44px;border-radius:50%;background:var(--blue);color:#fff;
  display:grid;place-items:center;margin-bottom:14px;
}
.tick svg{width:22px;height:22px}
.booked{
  margin-top:14px;border:1px solid rgba(88,126,247,.4);background:rgba(88,126,247,.13);
  border-radius:12px;padding:13px 14px;
}
.booked-w{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#A9BEFB}
.booked-n{font-size:17px;font-weight:800;text-transform:uppercase;line-height:1.1;margin-top:5px}
.booked-m{font-size:11.5px;color:var(--pale);margin-top:6px;line-height:1.45}
.facts{margin-top:14px;display:flex;flex-direction:column;gap:9px}
.fct{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.4;color:#D3DAE7}
.fct b{color:#fff;font-weight:600}
.fct .dot{width:5px;height:5px;border-radius:50%;background:var(--blue);margin-top:6px;flex:none}
/* was a green glass pill with tiny type — read as generic AI chrome.
   It's a fact, so it's set as one line of text. */
.signed{
  margin-top:13px;font-size:13.5px;line-height:1.45;color:var(--pale);
  padding-left:19px;position:relative;
}
.signed::before{
  content:"";position:absolute;left:0;top:6px;width:9px;height:5px;
  border-left:2px solid var(--ok);border-bottom:2px solid var(--ok);
  transform:rotate(-45deg);
}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.mini{
  border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.06);
  color:#E7ECF5;font-size:11.5px;font-weight:600;padding:13px 10px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:7px;
  transition:background .16s var(--ease);
}
.mini:hover{background:rgba(255,255,255,.14)}
.mini:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.mini svg{width:17px;height:17px;color:#A9BEFB}

/* handoff / human */
.callrow{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.callrow a{
  display:flex;align-items:center;gap:11px;text-decoration:none;
  border:1px solid var(--line);border-radius:12px;padding:14px;
  background:rgba(255,255,255,.06);color:#fff;transition:background .16s var(--ease);
}
.callrow a:hover{background:rgba(255,255,255,.14)}
.callrow a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.callrow svg{width:17px;height:17px;color:#A9BEFB;flex:none}
.callrow .t{font-size:13px;font-weight:600}
.callrow .d{font-size:11.5px;color:var(--mute);margin-top:2px}

/* return visit: START becomes the continue — see primeStart(). A second
   floating CTA collided with it and gave the screen two primary actions. */
/* the step chip tells them where they'll land, so "Continue" isn't a guess */
.cta-step{
  font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.10em;
  background:rgba(10,13,19,.10);border:1px solid rgba(10,13,19,.18);
  border-radius:100px;padding:3px 8px;color:#4A5262;
}
.cta.booked{background:var(--blue);color:#fff}

/* (unused) legacy floating pill
.resume{
  position:fixed;z-index:14;left:20px;bottom:calc(20px + env(safe-area-inset-bottom));
  display:flex;align-items:center;gap:6px;
}
@media (prefers-reduced-motion:no-preference){
  .resume{animation:rIn .5s var(--ease) .8s both}
  @keyframes rIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
}
.resume-go{
  display:inline-flex;align-items:center;gap:9px;
  border:0;border-radius:100px;cursor:pointer;
  background:#fff;color:#0A0D13;
  font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;
  padding:12px 17px;box-shadow:0 6px 22px rgba(0,0,0,.4);
  transition:transform .16s var(--ease);
}
.resume-go:hover{transform:translateY(-1px)}
.resume-go:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.resume-go svg{width:13px;height:13px}
/* already booked reads as information, not an unfinished task */
.resume.booked .resume-go{
  background:rgba(88,126,247,.92);color:#fff;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.resume-x{
  width:30px;height:30px;border-radius:50%;flex:none;cursor:pointer;
  border:1px solid var(--line);background:rgba(10,13,19,.5);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:var(--mute);display:grid;place-items:center;
}
.resume-x:hover{color:#fff;background:rgba(10,13,19,.85)}
.resume-x:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.resume-x svg{width:11px;height:11px}
@media(max-width:400px){ .resume-go{font-size:11px;padding:11px 14px} }
/* end legacy */

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(min-width:900px){
  .bar{padding-left:44px;padding-right:44px;padding-top:32px}
  .wrap{padding:0 44px calc(96px + env(safe-area-inset-bottom))}
  .snd{right:44px;bottom:42px}
  .sub{font-size:16px}
  .mark{width:34px}
}
