/* ============================================================
   CHECKBOX FOR COACHES — /coach
   Loads AFTER /css/landing.css: the tokens, buttons, cards,
   chips, checkboxes, nav, phone shell, swipe rail, pricing and
   footer all come from the users landing sheet unchanged. This
   sheet only adds the Coach + Live surfaces, translated 1:1
   from the approved Claude Design prototypes
   ("Checkbox Coach.dc.html" / "Checkbox Live.dc.html") — same
   sizes, weights, radii, hairlines and mono eyebrows — plus the
   coaching-system surfaces (the chain, the member's week, the
   coach view) and the founding-coach application.
   ============================================================ */

/* ── Primitives shared by every mock ─────────────────────────── */
.mono { font-family: var(--font-mono); font-weight: 500; }

/* CB glyphs — one sprite, stroke inherited from the referencing <svg>.
   24-grid, ~1.75 stroke, round caps and joins, drawn never imported. */
svg.i { display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; }
svg.i.sw19 { stroke-width: 1.9; }
svg.i.sw2 { stroke-width: 2; }
svg.i.sw26 { stroke-width: 2.6; }
svg.i.fill { fill: currentColor; stroke: none; }

/* Single-select radio — hairline circle → brand key with a tick */
.radio { width: 22px; height: 22px; border-radius: var(--r-pill); border: 1px solid var(--glass-line);
  background: transparent; color: var(--on-cy); flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease); }
.radio svg { opacity: 0; transition: opacity .2s var(--ease); }
.on > .radio { background: var(--cy); border-color: #353a42; box-shadow: inset 0 1px 0 rgba(255,255,255,.30); }
.on > .radio svg { opacity: 1; }

/* Informational spinner — the one loop in the system besides the skeleton */
.spinner { width: 26px; height: 26px; border-radius: var(--r-pill); border: 2.5px solid var(--line);
  border-top-color: var(--cy); animation: cbSpin 1s linear infinite; display: block; }
@keyframes cbSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } .rail-nudge { animation: none; } }

/* Buttons that are rows */
button.cg-row { border: none; border-bottom: 1px solid var(--line-2); background: none; font-family: var(--font-sans);
  text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.cg-row:last-child { border-bottom: none; }

/* Section label — 11.5/700, 1px tracking, uppercase, text-3 */
.slabel { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }
.slabel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slabel-act { font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--cy); }

/* Card group — surface r22, hairline rows */
.cg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.cg-row { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.cg-row:last-child { border-bottom: none; }
.cg--tight .cg-row { padding: 11px 15px; }
.cg-main { flex: 1 1 auto; min-width: 0; }
.cg-name { font-size: 15px; font-weight: 600; letter-spacing: -.013em; color: var(--text); }
.cg-sub { margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.cg-val { flex: 0 0 auto; font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }

/* Circular icon wells — every icon container is a circle (hard law 4) */
.well { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.well--26 { width: 26px; height: 26px; }
.well--32 { width: 32px; height: 32px; }
.well--36 { width: 36px; height: 36px; }
.well--44 { width: 44px; height: 44px; }
.well--72 { width: 72px; height: 72px; }

/* Portrait — the face rule: coaches are faces, groups are glyphs */
.portrait { border-radius: var(--r-pill); border: 1px solid var(--line); box-sizing: border-box; flex: 0 0 auto;
  object-fit: cover; object-position: 50% 18%; display: block; background: var(--surface-2); }

/* Avatar stack — 2px rims, −8 overlap */
.astack { display: flex; flex: 0 0 auto; }
.astack img { width: 24px; height: 24px; border-radius: var(--r-pill); border: 2px solid var(--surface);
  object-fit: cover; object-position: 50% 30%; display: block; margin-left: -8px; }
.astack img:first-child { margin-left: 0; }
.astack--22 img { width: 22px; height: 22px; }
.astack--28 img { width: 28px; height: 28px; margin-left: -9px; }
.astack--onblack img { border-color: rgba(0,0,0,.6); }

/* Unread — a dot and a mono count, never a filled badge */
.unread { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.unread .n { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--text-2); }
.unread .dot { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--cy); }

/* The LIVE mark — one component, reused everywhere */
.livemark { display: inline-flex; align-items: center; gap: 7px; }
.livemark .dot { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--cy); flex: 0 0 auto; }
.livemark .lm { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--text); }
.livemark .lm-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--text-3); white-space: nowrap; }
.livemark--micro .dot { width: 5px; height: 5px; }
.livemark--micro .lm { font-size: 9.5px; letter-spacing: .115em; color: var(--text-2); }
.livemark--onvideo .lm { color: #F3F5F8; }
.livemark--onvideo .lm-sub { color: rgba(243,245,248,.7); }

/* Brand key — the one "selected" treatment: solid cy, metal rim, emboss */
.keychip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 15px; border-radius: var(--r-pill);
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  flex: 0 0 auto; cursor: pointer; background: transparent; border: 1px solid var(--glass-line); color: var(--text-2);
  -webkit-tap-highlight-color: transparent; transition: transform var(--dur-press) var(--ease), background var(--dur-fast), color var(--dur-fast); }
.keychip:active { transform: scale(.95); }
.keychip.on { background: var(--cy); color: var(--on-cy); border-color: #353a42;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 2px 5px rgba(0,0,0,.5); }
.keychip--34 { height: 34px; }
.keychip .cdot { width: 5px; height: 5px; border-radius: var(--r-pill); background: var(--cy); }
.keychip.on .cdot { background: var(--on-cy); }
.chiprail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chiprail::-webkit-scrollbar { display: none; }

/* Solid hero CTA — the only place accent fills a rectangle */
.cta { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: var(--r-lg);
  background: var(--cy); color: var(--on-cy); font-size: 16.5px; font-weight: 600; letter-spacing: -.015em;
  cursor: pointer; border: none; width: 100%; font-family: var(--font-sans); box-sizing: border-box;
  transition: transform var(--dur-press) var(--ease), background var(--dur-fast); }
.cta:active { transform: scale(.97); }
.cta--44 { height: 44px; font-size: 14.5px; border-radius: var(--r-md); }
.cta--52 { height: 52px; font-size: 16px; }
.pill-join { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--cy); color: var(--on-cy); font-size: 15px; font-weight: 600; letter-spacing: -.01em; flex: 0 0 auto;
  border: none; cursor: pointer; font-family: var(--font-sans); transition: transform var(--dur-press) var(--ease); }
.pill-join:active { transform: scale(.96); }
.pill-join--40 { height: 40px; padding: 0 20px; font-size: 14px; }

/* ── Phone shells ───────────────────────────────────────────── */
/* Section phones sit a size below the hero phone. */
.dphone { position: relative; width: min(344px, calc(100vw - 48px)); border-radius: 54px; background: #07090b;
  border: 1px solid var(--raised); box-shadow: 0 34px 76px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 9px; margin: 0 auto; }
.dphone .dscreen { position: relative; border-radius: 45px; background: var(--bg); overflow: hidden; height: 684px; }
.dphone-glow { position: absolute; inset: -110px -90px; background: radial-gradient(closest-side, var(--cy-dim), transparent 72%); pointer-events: none; }
.dpad { position: absolute; inset: 0; padding: 58px 18px 0; box-sizing: border-box; overflow: hidden; }
.dfade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg) 74%); pointer-events: none; }
.dhead { display: flex; align-items: center; gap: 12px; padding: 6px 0 18px; }
.dtitle { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtitle-sub { margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dscreen-title { font-size: 25px; font-weight: 800; letter-spacing: -.024em; color: var(--text); }
.dscreen-title b { font-weight: 900; }
.dscreen-sub { margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: var(--text-3); }
.iconbtn-s { width: 36px; height: 36px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; cursor: pointer; padding: 0;
  transition: transform var(--dur-press) var(--ease); }
.iconbtn-s:active { transform: scale(.94); }

/* Flat mock — the same surfaces outside a phone frame, for split sections */
.mock { width: min(430px, 100%); margin: 0 auto; }
.mock-lg { width: min(500px, 100%); margin: 0 auto; }

/* ── Storefront (Coach §2.3) ────────────────────────────────── */
.sf-hero { position: relative; height: 432px; overflow: hidden; }
.sf-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }
.sf-scrim-top { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(rgba(0,0,0,.5), transparent); }
.sf-scrim-bot { position: absolute; left: 0; right: 0; bottom: -1px; height: 200px; background: linear-gradient(transparent, var(--bg)); }
.sf-stack { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 18px 8px; }
.sf-eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: rgba(243,245,248,.65); }
.sf-name { margin-top: 6px; font-size: 34px; font-weight: 900; letter-spacing: -.04em; color: #F3F5F8; }
.sf-tag { margin-top: 6px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }
.glass-circle { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  transition: transform var(--dur-press) var(--ease); }
.glass-circle:active { transform: scale(.9); }
.glass-pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
.glass-pill--30 { height: 30px; padding: 0 12px; }

/* StatTriplet — monumental proof, on the canvas, no container */
.stat-trip { display: flex; align-items: flex-start; }
.stat-trip > div { flex: 1 1 0; min-width: 0; }
.stat-n { font-family: var(--font-mono); font-size: 26px; font-weight: 700; letter-spacing: -.035em; color: var(--text); }
.stat-l { margin-top: 4px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; color: var(--text-3); }
.stat-trip--lg .stat-n { font-size: 34px; }
.stat-trip--lg .stat-l { font-size: 9.5px; }

/* PriceBlock — the price, stated once, monumentally */
.price-block { }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-n { font-family: var(--font-mono); font-size: 44px; font-weight: 700; letter-spacing: -.04em; color: var(--text); line-height: 1; }
.price-per { font-size: 14px; font-weight: 500; color: var(--text-3); }
.price-inc { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }
.price-fine { margin-top: 5px; font-size: 12px; font-weight: 500; letter-spacing: -.008em; color: var(--text-3); }
.price-block--lg .price-n { font-size: clamp(52px, 7vw, 72px); }
.price-block--lg .price-per { font-size: 16px; }

/* The tease — real content dissolving mid-sentence, never a blur or a skeleton */
.tease { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 30%, transparent 96%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 30%, transparent 96%); }
.tease-foot { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: -8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: -.01em; color: var(--text-3); }

/* Pinned CTA over the bottom fade */
.sf-dock { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 26px;
  background: linear-gradient(transparent, var(--bg) 62%); pointer-events: none; }
.sf-dock .cta { pointer-events: auto; }

/* Replay row */
.replay-row { display: flex; align-items: center; gap: 13px; padding: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl); }
.replay-thumb { display: block; position: relative; width: 84px; height: 54px; border-radius: 14px; overflow: hidden; flex: 0 0 auto; background: var(--surface-2); }
.replay-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.85); }
.replay-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.replay-play span { width: 24px; height: 24px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; }
.replay-title { font-size: 14.5px; font-weight: 600; letter-spacing: -.014em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.replay-meta { margin-top: 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: var(--text-3); }

/* ── Discovery (Coach §2.2) ─────────────────────────────────── */
.featured { position: relative; height: 320px; border-radius: var(--r-2xl); overflow: hidden; background: var(--surface);
  transition: transform var(--dur-press) var(--ease); display: block; }
.featured:active { transform: scale(.985); }
.featured > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.featured-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.featured-price { position: absolute; right: 12px; top: 12px; }
.featured-price span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: #F3F5F8; }
.featured-stack { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.featured-name { margin-top: 5px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #F3F5F8; }
.featured-members { font-size: 12.5px; font-weight: 500; letter-spacing: -.01em; color: rgba(243,245,248,.7); }
.crow-name { font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.crow-meta { margin-top: 4px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .115em; color: var(--text-3); }
.crow-price { font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; color: var(--text-2); flex: 0 0 auto; }
.search-well { display: flex; align-items: center; gap: 11px; height: 48px; border-radius: var(--r-lg); background: var(--surface-2);
  border: 1px solid var(--line); padding: 0 16px; box-sizing: border-box; }
.search-well span { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--text-3); }
.search-well--44 { height: 44px; border-radius: 16px; padding: 0 15px; }
.search-well--44 span { font-size: 14px; }

/* ── Handoff + "You're in." (Coach §2.4) ────────────────────── */
.sheet { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3xl);
  box-shadow: var(--pop-sh); padding: 10px 18px 26px; box-sizing: border-box; }
.sheet-grip { display: flex; justify-content: center; padding: 4px 0 14px; }
.sheet-grip span { width: 38px; height: 4px; border-radius: var(--r-pill); background: var(--text-3); opacity: .4; }
.sheet-head { display: flex; align-items: center; gap: 13px; }
.sheet-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.sheet-sub { margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.sheet-x { width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--surface-2); border: none; color: var(--text-2);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto;
  transition: transform var(--dur-press) var(--ease); }
.sheet-x:active { transform: scale(.9); }
.sheet-foot { display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 14px; }
.sheet-foot span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .11em; color: var(--text-3); }
.sheet-note { margin-top: 12px; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: -.008em; color: var(--text-3); }
.sheet-ghost { display: block; width: 100%; height: 44px; margin-top: 4px; background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); }
.summary-row { display: flex; align-items: center; gap: 13px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 13px 16px; }

/* The ceremony well — the punched hole at ceremony scale */
.wellsq { width: 96px; height: 96px; border-radius: var(--r-2xl); background: var(--surface-2); margin: 0 auto;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.6), inset 0 0 0 1px var(--line), inset 0 -1px 1px rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center; }
.wellsq .ck2 { fill: none; stroke: var(--cy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .34s var(--ease) .25s; }
.wellsq.on .ck2 { stroke-dashoffset: 0; }
.youre-in { margin-top: 26px; text-align: center; font-size: 32px; font-weight: 900; letter-spacing: -.04em; color: var(--text); }
.youre-in-sub { margin-top: 7px; text-align: center; font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }

/* ── Chat (Coach §2.6) ──────────────────────────────────────── */
.pinned-row { display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); }
.pinned-row .pl { font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; color: var(--text-3); flex: 0 0 auto; }
.pinned-row .ps { flex: 1 1 auto; min-width: 0; font-size: 12.5px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg { display: flex; gap: 11px; padding-bottom: 16px; }
.msg > img { width: 32px; height: 32px; border-radius: var(--r-pill); flex: 0 0 auto; object-fit: cover; object-position: 50% 18%; display: block; }
.msg-body { flex: 1 1 auto; min-width: 0; }
.msg-namerow { display: flex; align-items: baseline; gap: 8px; }
.msg-name { font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); }
.msg-time { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .04em; color: var(--text-3); }
.msg-text { margin-top: 5px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 21px; color: var(--text); }
.msg-photo { width: 100%; max-width: 210px; height: 132px; border-radius: var(--r-md); border: 1px solid var(--line);
  box-sizing: border-box; margin-top: 7px; object-fit: cover; display: block; }
/* The coach's voice is the only carded message — elevation by structure */
.coach-msg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px; margin-bottom: 16px; }
.coach-msg-head { display: flex; align-items: center; gap: 9px; }
.coach-msg-head img { width: 30px; height: 30px; border-radius: var(--r-pill); flex: 0 0 auto; object-fit: cover; object-position: 50% 18%; display: block; }
.coach-msg-name { font-size: 13px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.coach-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; color: var(--text-3); }
.coach-quote { border-left: 2px solid var(--line); padding: 2px 0 2px 10px; margin-top: 10px; }
.coach-quote .qn { font-family: var(--font-mono); font-size: 9px; letter-spacing: .115em; color: var(--text-3); }
.coach-quote .qs { margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coach-msg .msg-text { margin-top: 9px; }
.rx-row { display: flex; gap: 6px; margin-top: 10px; }
.rx { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--r-pill);
  border: 1px solid var(--glass-line); background: transparent; cursor: pointer; font-family: var(--font-sans);
  transition: transform var(--dur-press) var(--ease), background var(--dur-fast); }
.rx:active { transform: scale(.94); }
.rx.on { background: var(--surface-2); }
.rx .e { font-size: 11px; line-height: 1; }
.rx .n { font-family: var(--font-mono); font-size: 10px; color: var(--text-2); }
.newdiv { display: flex; align-items: center; gap: 10px; padding: 4px 0 16px; }
.newdiv i { flex: 1 1 auto; height: 1px; background: var(--line); }
.newdiv span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .135em; color: var(--cy); }
.daydiv { display: flex; justify-content: center; padding: 6px 0 16px; }
.daydiv span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .145em; color: var(--text-3); }
.composer { display: flex; align-items: center; gap: 8px; }
.composer-field { flex: 1 1 auto; min-width: 0; height: 44px; border-radius: var(--r-pill); background: var(--surface-2);
  border: 1px solid var(--line); display: flex; align-items: center; padding: 0 16px; box-sizing: border-box;
  font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--text-3); }
.composer-send { width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--glass-line); background: transparent;
  color: var(--text-3); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; cursor: pointer;
  transition: transform var(--dur-press) var(--ease), background var(--dur-fast); }
.composer-send:active { transform: scale(.92); }
.composer-send.ready { background: var(--cy); border-color: #353a42; color: var(--on-cy);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 2px 5px rgba(0,0,0,.5); }

/* ── Live: call surfaces (Live §1.3, §1.4, §2.5) ────────────── */
.stage { position: absolute; inset: 0; background: #000; }
.tile-grid { position: absolute; inset: 0; padding: 58px 4px 4px; box-sizing: border-box;
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 5px; }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #0b0d10; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile--self > img { transform: scaleX(-1); }
.tile-init { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tile-init span { width: 52px; height: 52px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; letter-spacing: .01em; color: var(--text); }
.tile-over { position: absolute; inset: 0; background: var(--surface); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 9px; }
.tile-over .plus { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--text-2); }
.tile-name { position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px;
  border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; color: #F3F5F8; }
.tile-hand { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; animation: cbRise .3s var(--ease); }
/* ActiveSpeakerRing — opacity only, never a glow, never a pulse */
.speaker-ring { position: absolute; inset: 0; border-radius: var(--r-xl); box-shadow: inset 0 0 0 2px var(--cy);
  pointer-events: none; opacity: 0; transition: opacity .22s var(--ease); }
.tile.on .speaker-ring { opacity: 1; }
.sesspill { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 6; }
.ctrlbar { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 6;
  display: flex; gap: 7px; padding: 8px; border-radius: 32px; background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.ctrlbar::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; border-radius: 1px;
  background: var(--glass-hi); opacity: .6; }
.gbtn { width: 48px; height: 48px; border-radius: var(--r-pill); border: 1px solid transparent; background: transparent;
  color: #F3F5F8; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: 0 0 auto;
  transition: transform var(--dur-press) var(--ease), background var(--dur-fast) var(--ease); }
.gbtn:active { transform: scale(.92); }
.gbtn.on { background: var(--cy); color: var(--on-cy); border-color: #353a42;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 2px 5px rgba(0,0,0,.5); }
.gbtn--end { background: #F0727A; color: #fff; }
.gbtn--56 { width: 56px; height: 56px; background: var(--glass); border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
.people-pill { position: absolute; right: 14px; top: 20px; z-index: 6; height: 40px; padding: 0 14px; }
.people-pill span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: #F3F5F8; }

/* Lobby footer (Live §2.3) */
.lobby-eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: rgba(243,245,248,.6); }
.lobby-title { margin-top: 6px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #F3F5F8; }
.lobby-note { margin-top: 5px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: rgba(243,245,248,.55); }

/* Recap (Live §2.10) */
.recap-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .17em; color: var(--text-3); }
.recap-num { margin-top: 14px; font-family: var(--font-mono); font-size: clamp(52px, 8vw, 64px); font-weight: 700;
  letter-spacing: -.035em; color: var(--text); line-height: 1; }
.recap-title { margin-top: 10px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }

/* ── The pact + view-as (Coach §2.8, §2.9) ──────────────────── */
.pact-line { display: flex; align-items: center; gap: 11px; }
.pact-line span { font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.pact-line--fine span { color: var(--text-2); }
.pact-div { height: 1px; background: var(--line-2); margin: 16px 0; }
/* SwipeToGrant / SwipeToGoLive / SwipeToComplete reuse the shipped rail geometry */
.rail { position: relative; height: 64px; border-radius: 32px; background: var(--surface-2);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.55), inset 0 0 0 1px var(--line), inset 0 -1px 1px rgba(255,255,255,.04); }
.rail-clip { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; pointer-events: none; }
.rail-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 88px; border-radius: 32px; background: var(--cy-deep); }
.rail-hot { position: absolute; inset: 0; background: var(--cy); opacity: 0; }
.rail-msg { position: absolute; left: 27px; top: 0; bottom: 0; display: flex; align-items: center; opacity: 0; }
.rail-msg span { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--on-cy); white-space: nowrap; }
.rail-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.rail-hint span { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--text-2); white-space: nowrap; }
.rail-key { position: absolute; left: 5px; top: 5px; width: 78px; height: 54px; border-radius: 27px; background: var(--cy);
  border: 1px solid #353a42; box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 2px 5px rgba(0,0,0,.5), 0 0 16px var(--cy-glow);
  display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; color: var(--on-cy); }
.rail-key:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.rail-key .arrow, .rail-key .check { position: absolute; display: flex; }
.rail-key .check { opacity: 0; transform: scale(.6); }
.rail-nudge { position: absolute; top: -40px; right: 10px; font-family: var(--font-hand); font-weight: 700; font-size: 26px;
  color: var(--cy); animation: cbNudge 2.8s var(--ease) infinite; pointer-events: none; }

/* ViewAsFrame — the 2px inset ring, the identity pill, the surface dock */
.va-ring { position: absolute; inset: 0; border-radius: 45px; box-shadow: inset 0 0 0 2px var(--cy);
  pointer-events: none; z-index: 30; transition: opacity .18s var(--ease); }
.va-pill { position: absolute; left: 0; right: 0; top: 26px; display: flex; justify-content: center; z-index: 20;
  transition: opacity .18s var(--ease); }
.va-pill > div { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 8px 0 15px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.va-name { font-size: 13px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.va-ro { font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; color: var(--text-3); }
.va-x { width: 26px; height: 26px; border-radius: var(--r-pill); background: var(--surface-2); border: none; color: var(--text-2);
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.va-dock { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; z-index: 20; }
.va-dock > div { display: flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: var(--glass);
  border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.va-dock .keychip { height: 36px; padding: 0 17px; font-size: 13px; }
.va-dim .va-ring, .va-dim .va-pill { opacity: .45; }
/* Read-only task card: the tick is drawn, the box is never pressable */
.ro-task { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 15px 16px;
  display: flex; align-items: center; gap: 14px; }
.ro-hole { width: 26px; height: 26px; border-radius: var(--r-sm); background: var(--hole); box-shadow: var(--hole-sh);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ro-hole svg { fill: none; stroke: var(--cy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ro-title { font-size: 15.5px; font-weight: 600; letter-spacing: -.013em; color: var(--text); }
.ro-meta { margin-top: 5px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .115em; color: var(--text-3); }

/* AdherenceBar */
.adh-row { padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.adh-row:last-child { border-bottom: none; }
.adh-top { display: flex; align-items: center; gap: 10px; }
.adh-name { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; letter-spacing: -.013em; color: var(--text); }
.adh-pct { font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; color: var(--text); }
.adh-line { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.adh-track { display: block; flex: 1 1 auto; height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.adh-fill { display: block; height: 100%; border-radius: 2px; background: var(--cy); width: 0; transition: width .7s var(--ease); }
.adh-by { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .115em; color: var(--text-3); }

/* ── Board (Coach §2.11) ────────────────────────────────────── */
.stand { display: flex; flex-direction: column; gap: 2px; }
.stand-row { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: var(--r-lg);
  background: transparent; border: 1px solid transparent; }
.stand-row img { width: 36px; height: 36px; border-radius: var(--r-pill); flex: 0 0 auto; object-fit: cover; object-position: 50% 18%; display: block; }
.stand-row .rank { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--text-3); width: 20px; flex: 0 0 auto; }
.stand-row .rank.top { color: var(--cy); }
.stand-row .sname { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; }
.stand-row .sname b { font-size: 14.5px; font-weight: 600; letter-spacing: -.012em; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stand-row .you { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .13em; color: var(--cy); }
.stand-row .sstreak { font-family: var(--font-mono); font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--text); flex: 0 0 auto; }
/* Your row is the only carded row — self-location by structure */
.stand-row--you { background: var(--surface); border-color: var(--line); }

/* ── Plans rail (hub) ───────────────────────────────────────── */
.plan-rail { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 4px; }
.plan-rail::-webkit-scrollbar { display: none; }
.plan-card { position: relative; width: 150px; flex: 0 0 auto; box-sizing: border-box; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 14px; }
.plan-card .ptop { display: flex; align-items: center; justify-content: space-between; }
.plan-card .pname { margin-top: 12px; font-size: 14.5px; font-weight: 600; letter-spacing: -.012em; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-card .pmeta { margin-top: 5px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .115em; color: var(--text-3); }
.plan-card .padd { font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; color: var(--cy); }
.pring svg { display: block; transform: rotate(-90deg); }
.pring .trk { fill: none; stroke: var(--line); stroke-width: 2.5; }
.pring .fil { fill: none; stroke: var(--cy); stroke-width: 2.5; stroke-linecap: round; }

/* ── Gate (Coach §1.17) ─────────────────────────────────────── */
.gate-ghost { opacity: .35; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1), transparent);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1), transparent); pointer-events: none; }
.gate-body { text-align: center; display: flex; flex-direction: column; align-items: center; }
.gate-title { margin-top: 16px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.gate-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.gate-price { font-family: var(--font-mono); font-size: 27px; font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.gate-per { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .11em; color: var(--text-3); }

/* ── Notification mock (Coach §2.14) ────────────────────────── */
.push { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
.push-app { font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; color: var(--text-3); }
.push-title { margin-top: 4px; font-size: 14px; font-weight: 700; letter-spacing: -.012em; color: var(--text); }
.push-body { margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }

/* ── The system chain ───────────────────────────────────────── */
.chainviz { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch;
  max-width: 1000px; margin: 72px auto 0; }
.chainviz-panel { padding: 22px 20px 24px; }
.chainviz-arrow { display: flex; align-items: center; justify-content: center; }
.cvz-line { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.cvz-line:last-of-type { border-bottom: none; }
.cvz-key { flex: 0 0 64px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-3); }
.cvz-val { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 600; letter-spacing: -.013em; color: var(--text); }

/* Column cards (the system trio) */
.colcard { padding: 26px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; height: 100%; box-sizing: border-box; }
.colcard-title { margin: 18px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.022em; line-height: 1.2; color: var(--text); }
.colcard-copy { margin: 10px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.6; color: var(--text-2); }
.colcard-note { margin-top: auto; padding-top: 20px; }

/* ── The member's week ──────────────────────────────────────── */
.task-state { flex: 0 0 auto; font-size: 11.5px; font-weight: 600; letter-spacing: -.005em; color: var(--text-3); }
.task-card.done .task-state { color: var(--cy); }
/* Coaching actions carry real names — they wrap instead of truncating. */
.task-card[data-week-task] .task-top { align-items: flex-start; }
.task-card[data-week-task] .task-title { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
.task-card[data-week-task] .task-meta-row { flex-wrap: wrap; justify-content: flex-start;
  row-gap: 7px; column-gap: 12px; margin-top: 10px; }
.task-card[data-week-task] .task-plan { white-space: normal; }
.task-card[data-week-task] .task-time { margin-top: 0; }
.task-card[data-week-task] .task-state { margin-left: auto; }

/* ── Shared progress: the member's controls ─────────────────── */
/* Switch — never a native checkbox */
.swi { position: relative; width: 48px; height: 29px; border-radius: var(--r-pill); flex: 0 0 auto; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); padding: 0; -webkit-tap-highlight-color: transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.swi-knob { position: absolute; left: 3px; top: 2px; width: 23px; height: 23px; border-radius: var(--r-pill);
  background: var(--text-2); box-shadow: 0 1px 3px rgba(0,0,0,.5);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.swi.on { background: var(--cy); border-color: #353a42; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.swi.on .swi-knob { transform: translateX(19px); background: var(--on-cy); }
.swi:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.optnote { margin: 10px 2px 0; font-size: 12px; font-weight: 500; letter-spacing: -.008em; color: var(--text-3); }

.statechip { flex: 0 0 auto; display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--r-pill); border: 1px solid var(--glass-line); background: var(--surface-2);
  font-size: 11px; font-weight: 600; letter-spacing: .01em; color: var(--text-2); white-space: nowrap; }
.statechip--attention { border-color: var(--cy-line); color: var(--cy); }

/* ── The coach view ─────────────────────────────────────────── */
.sumgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.sumcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 15px; }
.sum-n { font-family: var(--font-mono); font-size: 24px; font-weight: 700; letter-spacing: -.035em; color: var(--text); line-height: 1; }
.sum-l { margin-top: 7px; font-size: 12.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; color: var(--text-2); }

.mrow { display: flex; align-items: flex-start; gap: 13px; padding: 15px 16px; border-bottom: 1px solid var(--line-2); }
.mrow:last-child { border-bottom: none; }
.mrow-body { flex: 1 1 auto; min-width: 0; }
.mrow-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mrow-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.015em; color: var(--text); }
.mrow-ctx { margin: 7px 0 0; font-size: 13.5px; font-weight: 500; line-height: 1.45; color: var(--text); }
.mrow-sub { margin: 4px 0 0; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--text-3); }
.mrow-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Row-level actions inside mockups — presentational, never the page CTA */
.rowbtn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1px solid var(--glass-line); background: transparent;
  font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; }
.rowbtn--primary { background: var(--surface-2); border-color: var(--cy-line); color: var(--cy); }

/* ── The application form ───────────────────────────────────── */
.applycard { padding: 34px 32px 32px; border-radius: var(--r-3xl); }
.apply-title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.028em; color: var(--text); }
.apply-intro { margin: 10px 0 0; font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--text-2); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 18px; }
.field { margin-top: 22px; }
.flabel { display: block; margin-bottom: 9px; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.finput { display: block; width: 100%; box-sizing: border-box; height: 50px; padding: 0 16px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  transition: border-color var(--dur-fast) var(--ease); }
.finput::placeholder { color: var(--text-3); }
.finput:focus { outline: none; border-color: var(--cy-line); }
.finput:focus-visible { outline: none; border-color: var(--cy-line); box-shadow: 0 0 0 3px var(--cy-dim); }
.ftext { height: auto; padding: 14px 16px; line-height: 1.55; resize: vertical; min-height: 108px; }
.finput.invalid { border-color: #F0727A; }
.ferr { margin: 8px 0 0; font-size: 12.5px; font-weight: 500; color: #F0727A; }
.optrow { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid var(--glass-line); color: var(--text-2); cursor: pointer;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; letter-spacing: -.01em;
  -webkit-tap-highlight-color: transparent; transition: transform var(--dur-press) var(--ease), background var(--dur-fast), color var(--dur-fast); }
.opt:active { transform: scale(.96); }
.opt[aria-checked="true"] { background: var(--cy); color: var(--on-cy); border-color: #353a42;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 2px 5px rgba(0,0,0,.5); }
.opt:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.apply-consent { margin: 16px 2px 0; font-size: 12.5px; font-weight: 500; line-height: 1.55; color: var(--text-3); text-align: center; }
.apply-alt { margin: 12px 2px 0; font-size: 13px; font-weight: 500; color: var(--text-3); text-align: center; }
.apply-alt a { color: var(--cy); font-weight: 600; }

/* ── Language switcher (nav) ───────────────────────────────────
   EN/ES segmented pill lives inside the top nav on every width.
   Inactive side: quiet mono text on the surface pill. Active side:
   solid brand accent (var(--cy)) with readable ink (var(--on-cy)),
   metal rim + emboss + drop — exactly the brand-key treatment used
   by .keychip.on and the primary .cbx-btn, so the switcher reads as
   an intentional segmented control, not a bolted-on toggle. Reuses
   existing tokens only — no new colours, no tinted fills, no new fonts.
   Works with JS off: each side is a plain <a> to the other language.
   Referenced by .lang-switch/.nav-right in coach.html + coach.es.html. */
.nav-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line);
  flex: 0 0 auto; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center;
  height: 26px; min-width: 32px; padding: 0 10px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  color: var(--text-3); text-transform: uppercase; text-decoration: none; box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.lang-switch a:hover { color: var(--text-2); }
.lang-switch a.on { background: var(--cy); color: var(--on-cy); border: 1px solid #353a42;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 2px 5px rgba(0,0,0,.5); }
.lang-switch a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (max-width: 420px) {
  .lang-switch a { min-width: 28px; padding: 0 8px; font-size: 10px; }
  .nav-right { gap: 8px; }
}

/* ── Nav: pill rail on small screens ────────────────────────── */
.top-nav { flex-direction: column; align-items: center; gap: 8px; }
.mnav { display: none; max-width: 100%; gap: 7px; overflow-x: auto; scrollbar-width: none;
  padding: 7px 10px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); box-shadow: var(--nav-sh); }
.mnav::-webkit-scrollbar { display: none; }
.mnav a { flex: 0 0 auto; display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; }
@media (max-width: 780px) {
  .mnav { display: flex; }
  .section, .hero, .get-section { scroll-margin-top: 142px; }
}

/* ── Page-level helpers ─────────────────────────────────────── */
.stack { display: flex; flex-direction: column; }
.g6 { gap: 6px; } .g8 { gap: 8px; } .g9 { gap: 9px; } .g10 { gap: 10px; } .g11 { gap: 11px; } .g12 { gap: 12px; } .g14 { gap: 14px; }
.mt6 { margin-top: 6px; } .mt8 { margin-top: 8px; } .mt10 { margin-top: 10px; } .mt11 { margin-top: 11px; }
.mt14 { margin-top: 14px; } .mt16 { margin-top: 16px; } .mt18 { margin-top: 18px; } .mt20 { margin-top: 20px; }
.mt22 { margin-top: 22px; } .mt24 { margin-top: 24px; } .mt26 { margin-top: 26px; } .mt30 { margin-top: 30px; }
.row { display: flex; align-items: center; }
.row-t { display: flex; align-items: flex-start; }
.grow { flex: 1 1 auto; min-width: 0; }
.none { flex: 0 0 auto; }
.center { text-align: center; }
.tx2 { color: var(--text-2); } .tx3 { color: var(--text-3); }

/* Feature rows (the "what a coach gets" lists) */
.feat-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.feat-row { display: flex; align-items: flex-start; gap: 12px; }
.feat-row > span:last-child { font-size: 14.5px; font-weight: 500; color: var(--text-2); line-height: 1.5; }
.feat-row b { color: var(--text); font-weight: 600; }
.feat-icon { width: 36px; height: 36px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 1px; }

/* Caption under a mock */
.mock-cap { margin-top: 18px; text-align: center; }
.mock-cap-t { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.mock-cap-m { margin-top: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .13em; color: var(--text-3); }

/* Two-up mock grid */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px 32px; align-items: start; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px 22px; align-items: start; }

/* Numbered steps (join flow) */
.step-num { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--cy); }
.step-text { margin: 8px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.6; color: var(--text-2); }
.step-text b { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .chainviz { grid-template-columns: 1fr; gap: 16px; margin-top: 56px; }
  .chainviz-arrow { transform: rotate(90deg); }
}
@media (max-width: 700px) {
  .dphone { width: min(320px, calc(100vw - 40px)); }
  .dphone .dscreen { height: 640px; }
  .sf-hero { height: 372px; }
  .sf-name { font-size: 30px; }
  .applycard { padding: 26px 20px 24px; }
  .fgrid { grid-template-columns: 1fr; }
}

/* Touch targets — redesign rule 8. The circular glass controls are drawn at
   40px by the design; the extra finger comes from an invisible extension so
   the visual size is untouched. */
.glass-circle { position: relative; }
.glass-circle::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}

/* Same treatment for the coach page's small circular and chip controls. */
.iconbtn-s, .keychip { position: relative; }
.iconbtn-s::after, .keychip::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); height: 44px;
}
.iconbtn-s::after { left: 50%; right: auto; width: 44px; transform: translate(-50%, -50%); }

/* The remaining small controls on this page — reaction chips, the composer
   send, the sheet close, the toggle and the avatar dismiss — keep their
   designed size and gain the finger through the same extension. */
.rx, .composer-send, .sheet-x, .swi, .va-x { position: relative; }
.rx::after, .composer-send::after, .sheet-x::after, .swi::after, .va-x::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}
/* Wide chips only need the vertical extension, so the hit area never spills
   sideways onto a neighbouring chip. */
.rx::after, .swi::after { left: 0; right: 0; width: auto; transform: translateY(-50%); }
