/* House rule: no dark ink on vermilion — every filled control is #C14930 with a white label/icon (hover #A63D27).
   Choixis v3 — the Rally horizon. Palette 02 Rally (dark) + 04 Edition (light). Geist / Geist Mono, self-hosted. */
html, body { background: #0B0B0B; color: #F6F2EB; }
html[data-theme="light"], html[data-theme="light"] body { background: #F6F2EB; color: #0B0B0B; }

@font-face { font-family: "Geist"; src: url('fonts/geist-var.woff2') format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url('fonts/geist-mono-var.woff2') format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --gut: 80px; --nav: 72px;
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-card: 18px; --r-tile: 16px; --r-btn: 999px;
  --display: 640;
}
html[data-theme="dark"] {
  --bg: #0B0B0B; --panel: #151413; --panel-2: #232220; --ink: #F6F2EB; --ink-2: rgb(246 242 235 / .86); --muted: #B8B2A6;
  --line: rgb(246 242 235 / .10); --line-2: rgb(246 242 235 / .20); --act: #FF5A3C; --fill: #C14930; --fill-ink: #FFFFFF; --fill-hover: #A63D27;
  --focus: #FF8A3D; --accent-text: #FF6B4F; --shadow: 0 30px 80px rgb(0 0 0 / .5), 0 2px 0 rgb(246 242 235 / .04) inset;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #F6F2EB; --panel: #FFFDF9; --panel-2: #F1ECE3; --ink: #0B0B0B; --ink-2: rgb(11 11 11 / .82); --muted: #5E5850;
  --line: rgb(11 11 11 / .10); --line-2: rgb(11 11 11 / .22); --act: #FF5A3C; --fill: #C14930; --fill-ink: #FFFFFF; --fill-hover: #A63D27;
  --focus: #C2410C; --accent-text: #C2331A; --shadow: 0 30px 70px rgb(70 30 10 / .14), 0 1px 0 rgb(255 255 255 / .8) inset;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; scroll-padding-top: var(--nav); overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; font-weight: 400;
  transition: background-color .35s var(--ease), color .35s var(--ease); }
::selection { background: rgb(255 90 60 / .34); color: inherit; }
input { caret-color: var(--act); }
html { scrollbar-color: var(--line-2) var(--bg); }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; position: relative; z-index: 1; }
.skip { position: absolute; left: 0; top: 8px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 8px 14px; background: var(--fill); color: var(--fill-ink); border-radius: 8px; z-index: 50; }

/* ---------- the decided mark (master pixels as masks: body + bracket) and the wordmark ---------- */
.mk { position: relative; display: inline-block; height: 28px; aspect-ratio: 848 / 716; color: var(--ink); flex: none; }
.mk i { position: absolute; inset: 0; background: currentColor; -webkit-mask: url('logo/mark-body.png') center / contain no-repeat; mask: url('logo/mark-body.png') center / contain no-repeat; }
.mk i.k { -webkit-mask-image: url('logo/mark-bracket.png'); mask-image: url('logo/mark-bracket.png'); transition: transform .55s cubic-bezier(.16, 1, .3, 1), color .3s; }
.wm { display: inline-block; height: 20px; aspect-ratio: 1113 / 303; background: var(--ink); -webkit-mask: url('logo/wordmark.png') center / contain no-repeat; mask: url('logo/wordmark.png') center / contain no-repeat; flex: none; }

/* ---------- buttons ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 24px;
  border-radius: var(--r-btn); font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn--p { background: var(--fill); color: var(--fill-ink); box-shadow: 0 1px 2px rgb(0 0 0 / .25), 0 8px 20px rgb(0 0 0 / .28); }
.btn--p:hover { background: var(--fill-hover); box-shadow: 0 2px 4px rgb(0 0 0 / .25), 0 12px 26px rgb(0 0 0 / .32); transform: translateY(-1px); }
.btn--s { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--s:hover { border-color: var(--ink); transform: translateY(-1px); }
.arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .18s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.theme .moon { display: none; }
.motion-btn .i-play { display: none; }
html.paused .motion-btn .i-pause, html.rm .motion-btn { display: none; }
html.paused .motion-btn .i-play { display: block; }
html[data-theme="light"] .theme .sun { display: none; }
html[data-theme="light"] .theme .moon { display: block; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color .35s var(--ease); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand .mk { height: 30px; }
.brand .wm { height: 21px; }
.links { display: flex; gap: 32px; }
.links a { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.links a:hover { color: var(--ink); }
.links a:hover::after { transform: scaleX(1); }
.nav-r { display: flex; align-items: center; gap: 10px; margin-left: 24px; }
.menu-btn { display: none; }
.sheet { position: fixed; inset: var(--nav) 0 0; z-index: 30; background: var(--bg); }
.sheet-in { width: min(100% - 2 * var(--gut), 1280px); margin: 16px auto 0; display: flex; flex-direction: column; }
.sheet-in a { min-height: 56px; display: flex; align-items: center; font-size: 22px; font-weight: 560; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- type ---------- */
.h1 { font-size: clamp(30px, 3.35vw, 48px); line-height: 1.04; letter-spacing: -0.032em; font-weight: var(--display); text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -0.032em; font-weight: var(--display); text-wrap: balance; }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; font-weight: var(--display); }
.sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav) + 56px) 0 40px; overflow: hidden; isolation: isolate; }
.horizon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.hero-in { display: flex; flex-direction: column; gap: 30px; }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.head-l { grid-column: 1 / span 7; }
.head-r { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 16px; padding-bottom: 4px; }
.lockup { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); margin-bottom: clamp(18px, 2vw, 24px); }
.mk--xl { height: clamp(64px, 7.2vw, 104px); }
.wm--xl { height: clamp(46px, 5.2vw, 75px); }
.tagline { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 2px; }
.tag-word { color: var(--accent-text); display: inline-block; }
.tag-rule { display: block; width: 52px; height: 4px; border-radius: 2px; background: var(--act); transform-origin: left; }
.pitch { font-size: 22px; line-height: 1.35; font-weight: 560; letter-spacing: -0.01em; }
.pitch span { display: block; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.head-r .btn-row { margin-top: 8px; }

/* ---------- the board (a real decision card) ---------- */
.board { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow); overflow: hidden; outline: none; }
.chrome { height: 44px; display: flex; align-items: center; gap: 22px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.mk--chrome { height: 18px; }
.tabs { display: flex; gap: 20px; font-size: 14px; font-weight: 500; color: var(--muted); height: 100%; }
.tabs span { position: relative; display: flex; align-items: center; }
.tabs .on { color: var(--ink); }
.tabs .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--act); }
.chrome-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.chip { font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; }
.streak { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.streak svg { width: 15px; height: 15px; fill: var(--act); }
.board-body { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.6fr); gap: 32px; padding: 22px 26px 18px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.code { font-size: 13px; color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 2px 8px; }
.q { font-size: clamp(24px, 2vw, 29px); line-height: 1.12; letter-spacing: -0.025em; font-weight: var(--display); text-wrap: balance; }
.verbs { font-size: 14px; color: var(--muted); margin-top: 8px; }
.brief-dl { margin-top: 16px; display: grid; gap: 8px; }
.brief-dl div { display: grid; gap: 1px; padding-top: 9px; border-top: 1px solid var(--line); }
.brief-dl dt { font-size: 13px; font-weight: 500; color: var(--muted); }
.brief-dl dd { margin: 0; font-size: 15px; line-height: 1.45; }
.pick-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.keys { font-size: 13px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 124px; padding: 12px 14px 14px; text-align: left;
  font: inherit; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-tile); cursor: pointer;
  transition: transform .22s var(--ease), border-color .22s, opacity .35s, background-color .3s, box-shadow .3s; }
button.opt:hover { transform: translateY(-2px); border-color: var(--line-2); }
.opt-top { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 22px; margin-bottom: 4px; }
.n { font-size: 13px; color: var(--muted); }
.rec { font-size: 13px; font-weight: 500; color: var(--accent-text); border: 1px solid color-mix(in oklab, var(--act) 60%, transparent); border-radius: 999px; padding: 2px 9px; }
.opt-t { font-size: 18px; line-height: 1.2; font-weight: var(--display); letter-spacing: -0.015em; }
.opt-l { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.opt--own { border-style: dashed; cursor: default; }
.own-row { display: flex; gap: 8px; width: 100%; margin-top: auto; }
.own-row input { flex: 1; min-width: 0; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 15px var(--font); padding: 0 12px; }
.own-row input::placeholder { color: var(--muted); }
.own-go { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.own-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stamp { position: absolute; right: 16px; bottom: 12px; font-size: 18px; font-weight: var(--display); letter-spacing: -0.02em; color: var(--accent-text); opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.board.decided .opt { opacity: .45; }
.board.decided .opt.is-chosen { opacity: 1; border-color: var(--act); box-shadow: inset 0 0 0 1px var(--act), 0 18px 40px rgb(0 0 0 / .32); }
.opt.is-chosen .stamp { opacity: 1; transform: none; }
.board-foot { display: flex; align-items: center; gap: 16px; padding: 10px 26px 12px; border-top: 1px solid var(--line); min-height: 54px; }
.ghost { font: 500 14px var(--font); color: var(--ink-2); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; height: 36px; padding: 0 14px; cursor: pointer; transition: border-color .2s, color .2s; }
.ghost:hover { border-color: var(--ink); color: var(--ink); }
.status { font-size: 14px; color: var(--muted); flex: 1; }
.status b { color: var(--ink); font-weight: 560; }
.change { margin-left: auto; }

/* ---------- how it works (pinned on desktop) ---------- */
.how { position: relative; padding: 120px 0 96px; }
.how-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.how-l { grid-column: 1 / span 6; }
.how-r { grid-column: 8 / span 5; display: flex; justify-content: center; }
.how .sub { margin-top: 18px; }
.steps { margin-top: 48px; display: grid; gap: 8px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.step h3, .step p { transition: color .45s var(--ease); }
.step p { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.step .app-line { color: var(--accent-text); font-weight: 500; margin: 4px 0 6px; }
.si { font-size: 13px; color: var(--muted); padding-top: 5px; }
.phone { width: 300px; height: 612px; border-radius: 46px; padding: 10px; background: #1B1A18; box-shadow: 0 40px 90px rgb(0 0 0 / .5), 0 0 0 1px rgb(246 242 235 / .08); }
html[data-theme="light"] .phone { box-shadow: 0 40px 80px rgb(0 0 0 / .18), 0 0 0 1px rgb(11 11 11 / .1); }
.phone-in { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #0E0D0C; color: #F6F2EB; --ink: #F6F2EB; --ink-2: rgb(246 242 235 / .86); --muted: #B8B2A6; --line: rgb(246 242 235 / .10); --accent-text: #FF6B4F; }
.ph-top { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 40px 0 8px; }
.mk--ph { height: 18px; }
.wm--ph { height: 13px; }
.scr { position: absolute; inset: 84px 18px 70px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.scr.is-on { opacity: 1; transform: none; transition-delay: .18s; }
.scr-h { font-size: 22px; font-weight: var(--display); letter-spacing: -0.02em; }
.composer { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.minds { display: grid; gap: 8px; }
.minds li { font-size: 14px; line-height: 1.35; padding: 12px; border-radius: 12px; background: #181715; display: grid; gap: 6px; }
.minds em, .ph-opts em { font-style: normal; font-size: 11px; font-weight: 500; color: #FF6B4F; border: 1px solid rgb(255 90 60 / .5); border-radius: 999px; padding: 1px 8px; justify-self: start; }
.hexbolt { align-self: center; width: 92px; height: 92px; margin-top: 6px; }
.hexbolt svg { width: 100%; height: 100%; fill: none; stroke: #FF5A3C; stroke-width: 2.2; stroke-linejoin: round; }
.hexbolt .bolt { fill: #FF8A3D; stroke: none; }
.move { text-align: center; font-size: 24px; font-weight: var(--display); letter-spacing: -0.02em; }
.move-sub { text-align: center; font-size: 13px; color: var(--muted); margin-top: -6px; }
.ph-opts { display: grid; gap: 7px; margin-top: 4px; }
.ph-opts li { font-size: 13px; padding: 10px 12px; border-radius: 12px; background: #181715; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ph-opts li.on { border-color: #FF5A3C; }
.ph-btn { align-self: stretch; text-align: center; height: 40px; line-height: 40px; border-radius: 999px; background: #C14930; color: #FFFFFF; font-size: 14px; font-weight: 500; margin-top: auto; }
.gym-row { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--muted); }
.gym-row .big { font-size: 44px; color: #F6F2EB; line-height: 1; }
.lvl { display: flex; justify-content: space-between; font-size: 13px; }
.lvl .mono { color: var(--muted); font-size: 12px; }
.bar { height: 6px; border-radius: 3px; background: #24221F; overflow: hidden; }
.bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, #FF5A3C, #FF8A3D); border-radius: inherit; }
.badges { display: grid; gap: 8px; margin-top: 4px; }
.badges li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #181715; font-size: 12px; color: var(--muted); opacity: .55; }
.badges li.got { opacity: 1; }
.badges b { font-size: 13px; color: #F6F2EB; font-weight: 560; }
.ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 62px; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.ph-tabs .on { color: #FF6B4F; }

/* ---------- rules ---------- */
.rules { position: relative; min-height: 100svh; padding: 120px 0 96px; }
.rules-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.rules-l { grid-column: 1 / span 7; }
.rules-r { grid-column: 9 / span 4; display: flex; justify-content: flex-end; padding-top: 6px; }
.rules .sub { margin-top: 18px; }
.rule-list { margin-top: 48px; }
.rule-list li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ---------- closing ---------- */
.closing { position: relative; min-height: 100svh; padding: 140px 0 40px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.close-in { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; flex: 1; width: min(100% - 2 * var(--gut), 1280px); }
.mega { font-size: clamp(56px, 9vw, 136px); line-height: .95; letter-spacing: -0.045em; font-weight: var(--display); }
.close-top .sub { margin-top: 22px; }
.close-top .btn-row { margin-top: 28px; }
.foot { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.brand--foot { margin: 0; }
.brand--foot .mk { height: 24px; }
.brand--foot .wm { height: 17px; }
.foot-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.foot-link:hover { text-decoration-color: currentColor; }

/* ---------- motion start states (only when JS + motion are available; content is visible otherwise) ---------- */
html.js:not(.rm):not(.ready) .hero [data-in] { opacity: 0; }
html.js:not(.rm):not(.shut) .mk--xl i.k, html.js:not(.rm):not(.shut) .brand .mk i.k { transform: translateX(18%); }
html.js:not(.rm):not(.ready) .tag-word { clip-path: inset(0 100% 0 0); }
html.js:not(.rm):not(.ready) .tag-rule { transform: scaleX(0); }
.board.snap .mk--chrome i.k, .lockup.snap .mk i.k { animation: snap .55s cubic-bezier(.16, 1, .3, 1); }
@keyframes snap { 0% { transform: translateX(16%); } 100% { transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .head-l { grid-column: 1 / span 7; }
  .head-r { grid-column: 8 / span 5; }
}
@media (max-width: 1023px) {
  :root { --gut: 48px; }
  .links, .signin { display: none; }
  .menu-btn { display: inline-grid; }
  .head { grid-template-columns: 1fr; row-gap: 24px; align-items: start; }
  .head-l, .head-r { grid-column: auto; }
  .head-r { max-width: 36rem; }
  .board-body { grid-template-columns: 1fr; gap: 22px; }
  .how-in, .rules-in { grid-template-columns: 1fr; row-gap: 48px; }
  .how-l, .how-r, .rules-l, .rules-r { grid-column: auto; }
  .how-r { justify-content: flex-start; }
  .rules-r { justify-content: flex-start; }
  .foot { grid-template-columns: auto 1fr; }
}
@media (max-width: 1023px) {
  .hero { padding-top: calc(var(--nav) + 36px); }
}
@media (max-width: 639px) {
  :root { --gut: 20px; --nav: 60px; }
  .cta-nav { display: none; }
  .brand .mk { height: 26px; }
  .brand .wm { height: 18px; }
  .hero { padding-top: calc(var(--nav) + 28px); }
  .lockup { margin-bottom: 18px; }
  .pitch { font-size: 18px; }
  .btn-row .btn { flex: 1 1 100%; }
  .chrome { gap: 14px; padding: 0 16px; }
  .tabs { gap: 14px; }
  .tabs span:not(.on) { display: none; }
  .chip { display: none; }
  .board-body { padding: 20px 16px 16px; }
  .opts { grid-template-columns: 1fr; gap: 10px; }
  .opt { min-height: 0; }
  .board-foot { flex-wrap: wrap; padding: 14px 16px 16px; gap: 10px; }
  .status { flex-basis: 100%; order: -1; }
  .how, .rules { padding: 88px 0 72px; }
  .step { grid-template-columns: 40px 1fr; }
  .phone { width: 280px; height: 572px; }
  .rule-list li { grid-template-columns: 1fr; gap: 6px; }
  .closing { padding-top: 110px; }
  .foot { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; display: block; }
.opt.lit { border-color: color-mix(in oklab, var(--act) 70%, transparent); }
/* fail-safe: nothing stays hidden if the motion script never runs */
html.js:not(.rm):not(.ready) .hero [data-in], html.js:not(.rm):not(.ready) .tag-word { animation: failsafe .01s 3.2s forwards; }
html.js:not(.rm):not(.ready) .tag-rule { animation: failsafe-rule .01s 3.2s forwards; }
html.js:not(.rm):not(.shut) .mk--xl i.k, html.js:not(.rm):not(.shut) .brand .mk i.k { animation: failsafe-rule .01s 3.2s forwards; }
@keyframes failsafe { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes failsafe-rule { to { transform: none; } }
html.pinned .step:not(.is-on) h3, html.pinned .step:not(.is-on) p { color: var(--muted); }
html.pinned .how { height: 100svh; padding-bottom: 0; }

p, dd, li { text-wrap: pretty; }
.opt--own .stamp { top: 12px; bottom: auto; }
.receipt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.r-id { font-size: 13px; color: var(--accent-text); border: 1px solid color-mix(in oklab, var(--act) 55%, transparent); border-radius: 8px; padding: 2px 8px; }
.r-c b { font-weight: 560; }
.after { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.after .change { margin: 0; }
.board.decided [data-snooze] { display: none; }
.board.decided .status { flex: 0 1 auto; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.sheet-in .sheet-cta { margin-top: 24px; min-height: 52px; height: 52px; border-bottom: 0; font-size: 17px; font-weight: 500; justify-content: center; }
.ph-tabs .on { color: #FF6B4F; }
/* rules: the card the rules govern, its parts lit one rule at a time */
.mini { width: 100%; max-width: 410px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.mini-head { display: flex; align-items: center; gap: 10px; }
.mini-q { font-size: 20px; line-height: 1.2; font-weight: var(--display); letter-spacing: -0.02em; }
.mini [data-part] { border-radius: 12px; outline: 1.5px solid transparent; outline-offset: 0; transition: outline-color .35s var(--ease), opacity .35s var(--ease), background-color .35s; }
.mini-brief { display: grid; gap: 8px; padding: 8px 10px; margin: -8px -10px; }
.mini-brief p { display: grid; gap: 1px; font-size: 14px; line-height: 1.4; }
.mini-brief .lab { font-size: 13px; font-weight: 500; color: var(--muted); }
.mini-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-opts li { font-size: 14px; font-weight: 560; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.mini-opts li.own { border-style: dashed; }
.mini-opts em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--accent-text); border: 1px solid color-mix(in oklab, var(--act) 55%, transparent); border-radius: 999px; padding: 1px 8px; justify-self: start; }
.mini-foot { font-size: 14px; color: var(--ink-2); padding: 10px 12px; background: var(--panel-2); }
.mini[data-hl="0"] [data-part="0"], .mini[data-hl="1"] [data-part="1"], .mini[data-hl="2"] [data-part="2"], .mini[data-hl="3"] [data-part="3"] { outline-color: var(--act); }
.rule-list li { cursor: default; }
.rule-list li h3 { transition: color .35s var(--ease); }
.rule-list li.is-hl h3 { color: var(--accent-text); }
@media (max-width: 1023px) { .how-r { justify-content: center; } .after { margin-left: 0; } }
@media (max-width: 639px) { .mini-opts { grid-template-columns: 1fr; } .board-foot .after { flex-wrap: wrap; } }


/* finish review: hero hierarchy (the wordmark leads, the line is a statement under it), the lit Recommended tile, the game layer */
#hero-h1 { font-weight: 500; letter-spacing: -0.02em; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.12; }
.tagline.h1 { font-size: clamp(28px, 2.6vw, 38px); }
.opt:has(.rec) { border-color: color-mix(in oklab, var(--act) 45%, transparent); background: color-mix(in oklab, var(--panel-2) 88%, var(--act)); }
.board.decided .opt.is-chosen { border-color: var(--act); box-shadow: inset 0 0 0 1px var(--act), 0 18px 40px rgb(0 0 0 / .32); }
.game { display: flex; align-items: center; gap: 12px; order: 3; margin-left: auto; }
.ticks { display: flex; gap: 4px; }
.ticks i { width: 14px; height: 6px; border-radius: 3px; background: var(--line-2); }
.ticks i.on { background: var(--act); }
.lv { font-size: 13px; color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 9px; }
.board.decided .game { display: none; }
.closing .bar { display: block; width: 52px; height: 4px; border-radius: 2px; background: var(--act); margin-bottom: 28px; }
.mini-foot { margin: 0; }
html[data-theme="light"] .btn--p { box-shadow: 0 1px 2px rgb(70 30 10 / .14), 0 8px 20px rgb(70 30 10 / .18); }
@media (max-width: 639px) { .game { flex-basis: 100%; margin-left: 0; order: 0; } }
