/* ============================================================
   CHECKBOX — landing page · "Electric on black"
   Production build of the Claude Design prototype.
   Tokens + component classes lifted from the Checkbox design
   system; page styles converted from the approved design.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&family=Geist+Mono:wght@400;500;600;700&family=Caveat:wght@500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:          #000000;
  --bg-soft:     #060709;
  --surface:     #0d0f12;
  --surface-2:   #14171b;
  --raised:      #1a1e23;
  --hole:        #000000;

  --line:        rgba(255,255,255,.07);
  --line-2:      rgba(255,255,255,.04);
  --hi:          rgba(255,255,255,.05);

  --text:        #F3F5F8;
  --text-2:      #9AA0A9;
  --text-3:      #5A606A;

  --cy:          #E6FC60;
  --cy-2:        #CADE54;
  --cy-deep:     #B3C54B;
  --cy-dim:      rgba(230,252,96,.14);
  --cy-line:     rgba(230,252,96,.32);
  --cy-glow:     rgba(230,252,96,.38);
  --on-cy:       #10130A;

  --good:        #2FE6A0;

  --font-sans:  'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:  'Geist Mono', ui-monospace, 'SF Mono', monospace;
  --font-hand:  'Caveat', cursive;

  --r-sm:    8px;
  --r-md:    15px;
  --r-lg:    18px;
  --r-xl:    22px;
  --r-2xl:   26px;
  --r-3xl:   28px;
  --r-pill:  999px;

  --card-sh:  0 6px 20px rgba(0,0,0,.30);
  --pop-sh:   0 18px 44px rgba(0,0,0,.55);
  --fab-sh:   0 6px 18px rgba(0,0,0,.30);
  --glow-sh:  0 0 16px var(--cy-glow);
  --hole-sh:  inset 0 0 0 1px rgba(255,255,255,.05),
              inset 0 2px 4px rgba(0,0,0,.85),
              inset 0 -1px 1px rgba(255,255,255,.045);

  --glass:      rgba(18,21,25,.66);
  --glass-line: rgba(255,255,255,.10);
  --glass-hi:   rgba(255,255,255,.07);
  --nav-sh:     0 1px 0 rgba(255,255,255,.05) inset, 0 18px 44px rgba(0,0,0,.55), 0 4px 12px rgba(0,0,0,.4);

  --ease:        cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-press:   .14s;
  --dur-fast:    .2s;
  --dur-base:    .34s;
  --dur-slow:    .7s;
}

/* ── Base ───────────────────────────────────────────────────── */
/* text-size-adjust 100%: Chrome/Android "font boosting" otherwise
   inflates text (logo/nav/hero) past the viewport on real phones —
   the page opens overflowed to the right and pinch-zoom-out shrinks
   everything. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: #000; overflow-x: clip; }
body {
  min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Android paints a grey rectangle over ANY tapped element with a click
   handler; every control here has its own :active feedback instead. */
* { -webkit-tap-highlight-color: transparent; }
a { color: var(--cy); text-decoration: none; }
a:hover { color: var(--cy-2); }
::selection { background: var(--cy); color: var(--on-cy); }
button { font-family: var(--font-sans); }

@keyframes cbNudge { 0%, 100% { transform: rotate(-4deg) translateX(0); } 50% { transform: rotate(-4deg) translateX(7px); } }
@keyframes cbRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Page entrance (hero) ───────────────────────────────────────
   The page used to snap in fully-formed. Now it settles: a quick
   page fade, the hero copy and phone rise in staggered, and the
   handwritten label writes itself on in two beats — "Life." first,
   then "With instructions." All gated on prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes cbPageIn { from { opacity: 0; } to { opacity: 1; } }
  body { animation: cbPageIn .4s var(--ease) both; }

  @keyframes cbHeroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .hero-title { opacity: 0; animation: cbHeroUp .7s var(--ease) .12s forwards; }
  .hero-sub   { opacity: 0; animation: cbHeroUp .7s var(--ease) .26s forwards; }
  .hero-ctas  { opacity: 0; animation: cbHeroUp .7s var(--ease) .40s forwards; }
  .hero-meta  { opacity: 0; animation: cbHeroUp .7s var(--ease) .54s forwards; }

  @keyframes cbPhoneIn { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
  .phone-wrap { opacity: 0; animation: cbPhoneIn .9s var(--ease) .34s forwards; }

  /* Handwritten label: left→right clip reveal, like ink being written. */
  @keyframes cbWriteOn {
    0%   { opacity: 0; clip-path: inset(-30% 102% -30% -2%); filter: blur(2.5px); }
    30%  { opacity: 1; }
    100% { opacity: 1; clip-path: inset(-30% -2% -30% -2%); filter: blur(0); }
  }
  .hero-hand .hh { opacity: 0; display: inline-block; animation: cbWriteOn .55s var(--ease) forwards; }
  .hero-hand .hh--1 { animation-delay: 1.0s; }
  .hero-hand .hh--2 { animation-delay: 1.65s; animation-duration: .75s; }
}

/* ── Design-system components ───────────────────────────────── */
.cbx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 22px; border-radius: var(--r-lg);
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer;
  white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-press) var(--ease), background var(--dur-fast), border-color var(--dur-fast), opacity var(--dur-fast);
}
.cbx-btn:active { transform: scale(.97); }
.cbx-btn--block { width: 100%; }
.cbx-btn--sm { height: 40px; padding: 0 15px; font-size: 14px; border-radius: var(--r-md); }
.cbx-btn--lg { height: 56px; padding: 0 26px; font-size: 17px; }
.cbx-btn--primary { background: var(--cy); color: var(--on-cy); }
.cbx-btn--primary:hover { background: var(--cy-2); color: var(--on-cy); }
.cbx-btn--primary.cbx-btn--glow { box-shadow: var(--glow-sh); }
.cbx-btn--secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.cbx-btn--secondary:hover { background: var(--surface-2); color: var(--text); }

.cbx-iconbtn {
  width: 40px; height: 40px; border-radius: var(--r-pill); flex: 0 0 auto; padding: 0;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-press) var(--ease), background var(--dur-fast), border-color var(--dur-fast);
}
.cbx-iconbtn:active { transform: scale(.9); }
.cbx-iconbtn--lg { width: 56px; height: 56px; }
.cbx-iconbtn--fab { background: var(--cy); color: var(--on-cy); border: none; box-shadow: var(--fab-sh); }

.cbx-check {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: var(--r-sm); padding: 0; border: none; cursor: pointer;
  background: var(--hole); box-shadow: var(--hole-sh);
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-base) var(--ease);
}
.cbx-check:active { transform: scale(.9); }
.cbx-check--sm { width: 22px; height: 22px; border-radius: 7px; }
.cbx-check--lg { width: 30px; height: 30px; border-radius: 9px; }
.cbx-check .ck { stroke: var(--cy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none;
  stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset var(--dur-base) var(--ease) .02s; }
.cbx-check.on .ck { stroke-dashoffset: 0; }

.cbx-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--card-sh); padding: 18px;
}

.cbx-chip {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 13px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); cursor: default;
  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), border-color var(--dur-fast);
}
.cbx-chip:hover { border-color: var(--cy-line); }

.cbx-seg { display: inline-flex; gap: 3px; }
.cbx-seg-item {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  background: transparent; border: none; cursor: pointer; white-space: nowrap; flex: 0 0 auto;
  font-family: var(--font-sans); -webkit-tap-highlight-color: transparent;
  transition: background var(--dur-fast), transform var(--dur-press) var(--ease);
}
.cbx-seg-item:active { transform: scale(.95); }
.cbx-seg-item .lab { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); }
.cbx-seg-item .ct { font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.cbx-seg-item.on { background: var(--surface-2); }
.cbx-seg-item.on .lab { color: var(--text); font-weight: 700; }
.cbx-seg-item.on .ct { color: var(--text-2); }

.cbx-avatar {
  width: 40px; height: 40px; border-radius: var(--r-pill); flex: 0 0 auto; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line);
}
.cbx-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

.cbx-nav {
  display: flex; align-items: stretch; gap: 0; height: 64px; padding: 8px; border-radius: 32px;
  background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid var(--glass-line); box-shadow: var(--nav-sh); isolation: isolate; position: relative;
}
.cbx-nav::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; border-radius: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-hi) 22%, var(--glass-hi) 78%, transparent); pointer-events: none; }
.cbx-navbtn {
  position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; height: 100%; border-radius: var(--r-pill);
  cursor: pointer; padding: 0 4px; border: none; background: transparent; text-decoration: none;
  font-family: var(--font-sans); font-weight: 600; letter-spacing: -.01em; color: var(--text-3);
  -webkit-tap-highlight-color: transparent; overflow: hidden; white-space: nowrap;
  transition: color .35s var(--ease), background-color .35s var(--ease), flex-grow .44s var(--ease-spring), box-shadow .35s var(--ease);
}
.cbx-navbtn .lab { font-size: 9.5px; opacity: .75; transition: font-size .3s var(--ease), opacity .3s var(--ease); }
.cbx-navbtn.on { flex-grow: 2.3; flex-direction: row; gap: 8px; background: var(--glass-hi); box-shadow: inset 0 1px 0 var(--glass-hi); color: var(--text); }
.cbx-navbtn.on .lab { font-size: 13px; opacity: 1; letter-spacing: .01em; }

.cbx-eyebrow { font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .01em; color: var(--text-3); white-space: nowrap; }
.cbx-seclabel { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* ── Page: shared patterns ──────────────────────────────────── */
.wrap { max-width: 1128px; margin: 0 auto; }
.section { padding: 110px 24px; scroll-margin-top: 100px; }

.hand { font-family: var(--font-hand); font-weight: 700; line-height: 1; color: var(--cy); }
.hand--label { font-size: 23px; }
.hand--note { font-size: 21px; }

.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-title { margin: 16px 0 0; font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.sec-copy { margin: 18px 0 0; font-size: 16.5px; font-weight: 500; line-height: 1.62; letter-spacing: -.01em; color: var(--text-2); text-wrap: pretty; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 64px 72px; align-items: center; }

.mono-note { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; color: var(--text-3); }

.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ── Top nav ────────────────────────────────────────────────── */
.top-nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 0 16px; }
.top-nav-bar {
  /* border-box: width 100% + padding otherwise overflows the fixed bar
     past the viewport edge (no global box-sizing reset in this sheet). */
  box-sizing: border-box;
  width: 100%; max-width: 1128px; height: 62px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 11px 0 24px;
  background: var(--glass); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid var(--glass-line); box-shadow: var(--nav-sh);
}
.top-nav-links { display: flex; align-items: center; gap: 28px; min-width: 0; }
.top-nav-links a { color: var(--text-2); font-size: 14px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.top-nav-links a:hover { color: var(--text); }
.top-nav .cbx-btn { border-radius: var(--r-pill); flex: 0 0 auto; }
@media (max-width: 780px) { .top-nav-links { display: none; } }

/* ── Hero & phone mock ──────────────────────────────────────── */
.hero { position: relative; padding: 168px 24px 96px; scroll-margin-top: 100px; }
.hero-grid { max-width: 1128px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 72px 48px; }
.hero-copy { flex: 1 1 460px; max-width: 600px; min-width: 0; }
.hero-title { margin: 20px 0 0; font-size: clamp(52px, 6.4vw, 88px); font-weight: 900; letter-spacing: -.04em; line-height: .98; text-wrap: balance; }
.hero-sub { margin: 26px 0 0; max-width: 46ch; font-size: 17.5px; font-weight: 500; line-height: 1.62; letter-spacing: -.01em; color: var(--text-2); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 38px; }
.hero-meta { margin-top: 26px; font-size: 13.5px; font-weight: 500; color: var(--text-3); }

.phone-wrap { position: relative; flex: 0 1 auto; margin: 0 auto; }
.phone-glow { position: absolute; inset: -130px -110px; background: radial-gradient(closest-side, var(--cy-dim), transparent 72%); pointer-events: none; }
.phone {
  position: relative; width: min(384px, calc(100vw - 48px)); border-radius: 58px; background: #07090b;
  border: 1px solid var(--raised); box-shadow: 0 40px 90px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.06); padding: 10px;
}
.phone-btn { position: absolute; width: 3px; border-radius: 2px; background: var(--raised); }
.phone-screen { position: relative; border-radius: 48px; background: var(--bg); overflow: hidden; height: 746px; display: flex; flex-direction: column; }
.phone-status { display: flex; align-items: center; justify-content: space-between; padding: 14px 26px 0; }
.phone-status .time { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.phone-status .pills { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.phone-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 0; }
.phone-greet { margin-top: 5px; font-size: 25px; letter-spacing: -.02em; }
.phone-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(180deg, transparent, var(--bg) 72%); pointer-events: none; }
.phone-home { position: absolute; left: 50%; bottom: 5px; width: 108px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.22); transform: translateX(-50%); }

/* Progress card */
.progress-card { margin: 16px 18px 0; border-radius: var(--r-2xl); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; }
.progress-count { margin-top: 6px; font-size: 33px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.progress-streak { margin-top: 7px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); }
.ring { position: relative; width: 66px; height: 66px; flex: 0 0 auto; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring .track { fill: none; stroke: var(--line); }
.ring .fill { fill: none; stroke: var(--cy); stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease); }
.ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text); }

/* Task card */
.task-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--card-sh);
  padding: 18px; position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer;
  transition: opacity .3s var(--ease);
}
.task-card .cbx-check { margin-top: 1px; }
.task-card.done { opacity: .56; }
.task-body { flex: 1 1 auto; min-width: 0; }
.task-top { display: flex; align-items: flex-start; gap: 12px; }
.task-title {
  flex: 1 1 auto; min-width: 0; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-decoration: none; text-decoration-color: var(--text-3);
}
.task-card.done .task-title { text-decoration: line-through; text-decoration-color: var(--text-3); }
.task-time { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; margin-top: 1px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--text-2); white-space: nowrap; }
.task-time svg { opacity: .65; }
.task-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; margin-top: 11px; }
.task-plan { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; font-size: 11.5px; font-weight: 500; letter-spacing: .01em; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-reqs { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
.task-req { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--line); }

/* ── The feel: swipe key ────────────────────────────────────── */
.feel-checkrow { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.swipe-box { position: relative; max-width: 480px; margin: 0 auto; }
.swipe-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; }
.swipe-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); }
.swipe-clip { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; pointer-events: none; }
.swipe-charge { position: absolute; left: 0; top: 0; bottom: 0; width: 88px; border-radius: 32px; background: var(--cy-deep); }
.swipe-hot { position: absolute; inset: 0; background: var(--cy); opacity: 0; }
.swipe-msg { position: absolute; left: 27px; top: 0; bottom: 0; display: flex; align-items: center; opacity: 0; }
.swipe-msg span { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--on-cy); }
.swipe-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.swipe-hint span { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--text-2); }
.swipe-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;
}
.swipe-key .arrow, .swipe-key .check { position: absolute; display: flex; }
.swipe-key .check { opacity: 0; transform: scale(.6); }
.swipe-note { margin-top: 16px; text-align: center; }

/* ── The system: chain ──────────────────────────────────────── */
.chain { max-width: 640px; margin: 64px auto 0; }
.chain-step { display: flex; gap: 20px; }
.chain-rail { display: flex; flex-direction: column; align-items: center; flex: 0 0 48px; }
.chain-icon { width: 48px; height: 48px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.chain-line { width: 1px; flex: 1 1 auto; min-height: 24px; background: var(--line); margin-top: 8px; }
.chain-body { padding-bottom: 34px; min-width: 0; }
.chain-num { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--text-3); }
.chain-title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 4px; }
.chain-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.chain-tag { font-size: 13.5px; font-weight: 600; color: var(--cy); white-space: nowrap; }
.chain-desc { margin: 7px 0 0; font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--text-2); max-width: 52ch; }

.gym-note { font-family: var(--font-hand); font-weight: 700; font-size: clamp(26px, 3vw, 34px); color: var(--cy); transform: rotate(-2deg); }

/* ── Anatomy of a checkbox ──────────────────────────────────────
   Web port of the mobile guide's AnatomyPage: the real task card
   in the middle, hand-written annotations around it, dashed curved
   arrows (drawn by landing.js against the live DOM) pointing at the
   element each label explains. Annotations + arrows fade in
   staggered once the figure scrolls into view (.live). */
.anatomy { position: relative; max-width: 620px; margin: 56px auto 0; padding: 66px 0 122px; }
.anatomy-arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; z-index: 2; }
.anno-arrow path { stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 6 4; stroke-linecap: round; fill: none; opacity: .5; }
.anno-arrow circle { fill: var(--text); opacity: .7; }

.anno { position: absolute; z-index: 2; display: flex; flex-direction: column; pointer-events: none; }
.anno--tl { top: 0; left: 4px; }
.anno--tr { top: 0; right: 4px; align-items: flex-end; text-align: right; }
.anno--bl { bottom: 56px; left: 4px; }
.anno--bc { bottom: 0; left: 0; right: 0; align-items: center; text-align: center; }
.anno--br { bottom: 56px; right: 4px; align-items: flex-end; text-align: right; }
.anno-label { font-family: var(--font-hand); font-weight: 700; font-size: 24px; line-height: 1; color: var(--text); }
.anno-sub { font-family: var(--font-hand); font-weight: 600; font-size: 17px; line-height: 1.15; color: var(--cy); margin-top: 3px; }

/* Staggered reveal — same beat as the mobile guide (500…1700ms). */
@media (prefers-reduced-motion: no-preference) {
  .anatomy .anno { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .anatomy .anno-arrow { opacity: 0; transition: opacity .6s var(--ease); }
  .anatomy.live .anno { opacity: 1; transform: none; }
  .anatomy.live .anno-arrow { opacity: 1; }
  .anatomy .anno[data-anno="frequency"],   .anatomy .anno-arrow[data-anno="frequency"]   { transition-delay: .45s; }
  .anatomy .anno[data-anno="time"],        .anatomy .anno-arrow[data-anno="time"]        { transition-delay: .75s; }
  .anatomy .anno[data-anno="plan"],        .anatomy .anno-arrow[data-anno="plan"]        { transition-delay: 1.05s; }
  .anatomy .anno[data-anno="assign"],      .anatomy .anno-arrow[data-anno="assign"]      { transition-delay: 1.35s; }
  .anatomy .anno[data-anno="validations"], .anatomy .anno-arrow[data-anno="validations"] { transition-delay: 1.65s; }
}

.anatomy-mock { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; }
.anatomy-tabs { display: flex; gap: 3px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); }
.anatomy-tab {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 36px; border-radius: var(--r-pill); border: none; background: transparent; cursor: default;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text-3);
  white-space: nowrap; padding: 0 2px; -webkit-tap-highlight-color: transparent;
}
.anatomy-tab .ct { font-size: 11px; font-weight: 600; color: var(--text-3); }
.anatomy-tab.on { background: var(--surface-2); color: var(--text); }
.anatomy-tab.on .lab { font-weight: 700; }
.anatomy-tab.on .ct { color: var(--text-2); }
.anatomy-seclabel { margin: 18px 4px 10px; font-size: 10.5px; }
.anat-assign { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.anatomy-note { margin-top: 26px; text-align: center; }
@media (max-width: 560px) {
  .anatomy { padding: 60px 0 114px; }
  .anno-label { font-size: 21px; }
  .anno-sub { font-size: 15px; }
  .anatomy-tab { font-size: 11.5px; gap: 4px; }
  .anatomy-tab .ct { display: none; }
}

/* ── Proof ──────────────────────────────────────────────────── */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; margin-top: 36px; }
.proof-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; }
.proof-icon { 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; }
.proof-name { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.proof-desc { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--text-2); }
.proof-stack-note { display: flex; align-items: center; justify-content: center; padding: 18px; text-align: center; }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; margin-top: 14px; }
.value-card { padding: 24px; transition: border-color .2s var(--ease); }
.value-card:hover { border-color: rgba(255,255,255,.13); }
.value-icon { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.value-name { margin-top: 18px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.value-desc { margin: 8px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.55; color: var(--text-2); }

/* ── Forms mock ─────────────────────────────────────────────── */
.form-mock { max-width: 440px; margin: 0 auto; padding: 18px; }
.form-mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 14px; }
.form-field { background: var(--surface-2); border-radius: var(--r-md); padding: 9px 12px; }
.form-label { font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .12em; color: var(--text-3); }
.form-value { margin-top: 4px; font-size: 14px; font-weight: 600; }
.form-pill-on { display: inline-flex; align-items: center; height: 22px; padding: 0 11px; border-radius: 999px; background: var(--cy); border: 1px solid #353a42; box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 1px 3px rgba(0,0,0,.5); color: var(--on-cy); font-size: 11px; font-weight: 600; }
.form-pill-off { display: inline-flex; align-items: center; height: 22px; padding: 0 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-3); font-size: 11px; font-weight: 600; }
.form-wide { grid-column: span 6; background: var(--surface-2); border-radius: var(--r-md); padding: 10px 12px; display: flex; align-items: center; gap: 9px; }
.form-dock { display: flex; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); overflow: hidden; }
.form-dock-item { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 0 0 auto; }
.form-dock-icon { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.form-dock-label { font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .1em; color: var(--text-3); }

/* ── Video phones ───────────────────────────────────────────── */
.vid-phone { width: min(330px, 100%); }
.vid-frame { position: relative; border-radius: 50px; background: #07090b; border: 1px solid var(--raised); box-shadow: 0 30px 70px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); padding: 9px; }
.vid-screen { border-radius: 42px; overflow: hidden; background: var(--bg); }
/* The tour video is 1080x1920 — the screen hugs it exactly. (It used
   to force the 1080/2316 inventory-phone aspect, leaving huge empty
   bands above/below the video.) */
.vid-screen--letterbox { background: #050505; aspect-ratio: 1080 / 1920; display: flex; align-items: center; }
.vid-caption { margin-top: 18px; text-align: center; }
.vid-caption-title { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.vid-caption-meta { margin-top: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .13em; color: var(--text-3); }

/* ── Loop steps ─────────────────────────────────────────────── */
.loop-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 24px 20px; max-width: 1060px; margin: 72px auto 0; }
.loop-num { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--cy); }
.loop-text { margin: 8px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.6; color: var(--text-2); }
.loop-text b, .flow-row b, .ai-row b { color: var(--text); font-weight: 600; }
.loop-note { margin-top: 48px; text-align: center; font-family: var(--font-hand); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); color: var(--cy); transform: rotate(-2deg); }

/* ── Flow / AI rows ─────────────────────────────────────────── */
.flow-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.flow-row { display: flex; align-items: center; gap: 12px; }
.flow-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; }
.flow-row > span:last-child { font-size: 14.5px; font-weight: 500; color: var(--text-2); line-height: 1.5; }
.ai-row { display: flex; align-items: center; gap: 12px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ai-chip { cursor: default; height: 34px; gap: 8px; font-size: 12.5px; white-space: nowrap; }

.cond-box { max-width: 440px; margin: 0 auto; }
.ans-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; cursor: pointer;
  transition: transform .14s var(--ease), background .2s, color .2s;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.ans-btn:active { transform: scale(.97); }
.ans-btn.on { 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); color: var(--on-cy); }
.cond-spawn { animation: cbRise .34s var(--ease); margin-top: 12px; }
.cond-ok { animation: cbRise .34s var(--ease); margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 15px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cond-ok span { font-size: 14px; font-weight: 500; color: var(--text-2); }

/* ── Electric accent picker ─────────────────────────────────── */
.accent-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 44px; }
.accent-btn { display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-sans); }
.accent-swatch { width: 64px; height: 64px; border-radius: 999px; border: 1px solid #353a42; box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 2px 5px rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; transition: transform .14s var(--ease); }
.accent-btn:active .accent-swatch { transform: scale(.94); }
.accent-swatch svg { opacity: 0; transition: opacity .25s var(--ease); }
.accent-btn.on .accent-swatch svg { opacity: 1; }
.accent-name { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--text-3); }

/* ── Pricing ────────────────────────────────────────────────── */
.bill-toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--r-pill); }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 32px 14px; max-width: 1080px; margin: 40px auto 0; align-items: stretch; }
.tier-card { border-radius: var(--r-2xl); padding: 26px 24px; display: flex; flex-direction: column; transition: transform .2s var(--ease), border-color .2s; }
.tier-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.13); }
.tier-card--pop { position: relative; background: var(--raised); }
.tier-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; height: 26px; padding: 0 13px; border-radius: 999px; 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); color: var(--on-cy); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tier-name { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.tier-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.tier-price { font-size: 38px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.tier-per { font-size: 13px; font-weight: 500; color: var(--text-3); }
.tier-note { margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--text-3); min-height: 19px; }
.tier-card .cbx-btn { box-sizing: border-box; border-radius: var(--r-pill); margin-top: 18px; }
.tier-feats { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.tier-feat { display: flex; align-items: flex-start; gap: 10px; }
.tier-feat .cbx-check { pointer-events: none; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 6px; }
.tier-feat > span:last-child { font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--text-2); }
.tier-feat b { color: var(--text); font-weight: 600; }
.tier-bolt { width: 18px; height: 18px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.tier-ai-logos { display: flex; align-items: center; gap: 12px; padding-left: 28px; color: var(--text-2); }
.tier-ai-logos > span { font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.charge-foot { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 34px; }
.charge-foot span { font-size: 13px; font-weight: 500; color: var(--text-3); max-width: 64ch; text-align: center; }
@media (max-width: 1023px) { .tier-grid { gap: 32px 14px; } }

/* ── Get / footer ───────────────────────────────────────────── */
.get-section { position: relative; padding: 130px 24px 150px; scroll-margin-top: 100px; }
.get-glow { position: absolute; left: 50%; top: 50%; width: min(720px, 90vw); height: 360px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--cy-dim), transparent 74%); pointer-events: none; }
.get-title { margin: 0; font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

.footer { border-top: 1px solid var(--line-2); padding: 34px 24px 40px; }
.footer-grid { max-width: 1128px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-quote { font-size: 13.5px; font-style: italic; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .13em; }
.footer-links a { color: var(--text-3); }
.footer-links a:hover { color: var(--text-2); }
.footer-links span { color: var(--text-3); }

/* ── Coming-soon modal ──────────────────────────────────────── */
.soon-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.55); display: none; align-items: center; justify-content: center; padding: 24px; }
.soon-scrim.open { display: flex; }
.soon-sheet {
  position: relative; width: min(380px, 100%); border-radius: var(--r-3xl); border: 1px solid var(--line);
  background: var(--raised); box-shadow: var(--pop-sh); padding: 32px 28px; animation: cbRise .34s var(--ease);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.soon-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .14s var(--ease); }
.soon-close:active { transform: scale(.9); }
.soon-well { width: 48px; height: 48px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.soon-title { margin-top: 16px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.soon-copy { margin: 8px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.6; color: var(--text-2); max-width: 30ch; }
.soon-hand { margin-top: 12px; font-family: var(--font-hand); font-weight: 700; font-size: 20px; color: var(--cy); }
.soon-sheet .cbx-btn { box-sizing: border-box; border-radius: var(--r-pill); margin-top: 22px; }
