/* oathline.io: design system from .claude/skills/landing-page-design (SKILL.md + OATHLINE.md).
   One typeface (Geist, self hosted, OFL), Geist Mono only for addresses, code and numbers.
   Type sizes = Tailwind steps; spacing = 2 4 8 12 16 24 32 40 48 64 80 96; radii = Tailwind radii; flat backgrounds. */

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

:root {
  --bg: #000000; --surface: #181818; --surface-2: #1F1F1F; --line: #272727; --line-2: #313131;
  --text: #FFFFFF; --muted: #A1A1A1; --faint: #8F8F8F;
  --head-from: #FFFFFF; --head-to: #9B9B9B;
  --btn-bg: #FFFFFF; --btn-text: #000000; --btn-hover: #E6E6E6;
  --glass: rgba(24, 24, 24, 0.72); --overlay: rgba(0, 0, 0, 0.94);
  --allow: #4ADE80; --ask: #FBBF24; --block: #F87171;
  --allow-bg: rgba(74, 222, 128, 0.12); --ask-bg: rgba(251, 191, 36, 0.12); --block-bg: rgba(248, 113, 113, 0.12);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FFFFFF; --surface: #F6F6F5; --surface-2: #EFEFED; --line: #E4E4E2; --line-2: #D6D6D3;
    --text: #0A0A0A; --muted: #555555; --faint: #6B6B6B;
    --head-from: #000000; --head-to: #666666;
    --btn-bg: #0A0A0A; --btn-text: #FFFFFF; --btn-hover: #2A2A2A;
    --glass: rgba(255, 255, 255, 0.72); --overlay: rgba(255, 255, 255, 0.94);
    --allow: #15803D; --ask: #B45309; --block: #B91C1C;
    --allow-bg: rgba(21, 128, 61, 0.1); --ask-bg: rgba(180, 83, 9, 0.1); --block-bg: rgba(185, 28, 28, 0.1);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Geist', system-ui, sans-serif; font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; }
em, i { font-style: normal; font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.addr { font-family: 'Geist Mono', monospace; white-space: nowrap; }
.line { display: block; }
code, pre, .mono { font-family: 'Geist Mono', ui-monospace, monospace; }
img, video, svg { display: block; max-width: 100%; }
.icon { width: 20px; height: 20px; flex: none; }
::selection { background: var(--text); color: var(--bg); }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--btn-bg); color: var(--btn-text); padding: 8px 12px; border-radius: 9999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }

/* type scale */
.h1 { font-size: 60px; line-height: 60px; letter-spacing: -0.02em; max-width: 840px; }
.h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.015em; max-width: 680px; }
.h3 { font-size: 20px; line-height: 28px; }
.lede { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 680px; }
.small { font-size: 14px; line-height: 20px; color: var(--muted); }
.tiny { font-size: 12px; line-height: 16px; color: var(--faint); }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 9999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--allow); }
.gradient { background: linear-gradient(90deg, var(--head-from), var(--head-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { display: grid; gap: 16px; margin-bottom: 48px; justify-items: start; }
.kicker { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }

/* buttons and links */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9999px; background: var(--btn-bg); color: var(--btn-text); font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 700ms var(--ease), transform 700ms var(--ease); }
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn.sm { font-size: 14px; line-height: 20px; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn[disabled] { opacity: 0.5; cursor: progress; transform: none; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-2); transition: border-color 700ms var(--ease); }
.link:hover { border-color: var(--text); }
.link .icon { width: 16px; height: 16px; transition: transform 700ms var(--ease); }
.link:hover .icon { transform: translateX(4px); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* island nav */
.nav { position: fixed; top: 24px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; gap: 4px; width: max-content; padding: 4px 4px 4px 16px; border-radius: 9999px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; margin-right: 12px; }
.brand svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 9999px; font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none; transition: color 700ms var(--ease), background-color 700ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: var(--surface-2); }
.nav-links a:active, .menu a:active { transform: scale(0.98); }
.menu a[aria-current] { color: var(--muted); }
.burger { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: transparent; color: var(--text); cursor: pointer; }
.burger span { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 700ms var(--ease), top 700ms var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 96px 24px; background: var(--overlay); -webkit-backdrop-filter: blur(64px); backdrop-filter: blur(64px); opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s 700ms; }
.menu a { font-size: 30px; line-height: 36px; font-weight: 600; text-decoration: none; transform: translateY(48px); opacity: 0; transition: transform 700ms var(--ease), opacity 700ms var(--ease); }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease); }
.menu-open .menu a { transform: translateY(0); opacity: 1; }
.menu a:nth-child(2) { transition-delay: 100ms; } .menu a:nth-child(3) { transition-delay: 150ms; } .menu a:nth-child(4) { transition-delay: 200ms; } .menu a:nth-child(5) { transition-delay: 250ms; } .menu a:nth-child(6) { transition-delay: 300ms; }

/* hero */
.hero { padding: 96px 0; border-top: 0; }
.hero > .wrap { padding-top: 64px; }
.hero-grid { display: grid; gap: 64px; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero .lede { max-width: 680px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.proof-line { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.proof-line .icon { width: 16px; height: 16px; color: var(--allow); }

/* verdict feed (hero visual) */
.feed { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: 8px; }
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.feed-head { gap: 12px; }
.feed-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feed-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.feed-row .what { font-weight: 600; }
.feed-row .why { font-family: 'Geist Mono', monospace; font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 4px; }
.feed-row .src { font-size: 12px; line-height: 16px; color: var(--faint); margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.chip.allow { color: var(--allow); background: var(--allow-bg); }
.chip.ask { color: var(--ask); background: var(--ask-bg); }
.chip.block { color: var(--block); background: var(--block-bg); }
.chip .icon { width: 12px; height: 12px; }
.feed-foot { padding: 12px 16px 8px; }

/* replay */
.picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.picks button { text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; transition: background-color 700ms var(--ease), border-color 700ms var(--ease), transform 700ms var(--ease); }
.picks button:hover { background: var(--surface-2); transform: translateY(-1px); }
.picks button:active { transform: scale(0.98); }
.picks button[aria-pressed="true"] { border-color: var(--text); background: var(--surface-2); }
.picks b { display: block; font-weight: 600; }
.picks small { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.stage { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); padding: 8px; }
.stage .tx { padding: 16px; font-size: 18px; line-height: 28px; }
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gate { border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); padding: 16px; min-height: 176px; display: grid; align-content: start; gap: 8px; opacity: 0.45; transition: opacity 700ms var(--ease), border-color 700ms var(--ease); }
.gate.on { opacity: 1; }
.gate.on.pass { border-color: var(--allow); }
.gate.on.miss { border-color: var(--line-2); }
.glyph.miss { color: var(--muted); background: var(--surface); border: 1px solid var(--line-2); }
.gate.on.ask { border-color: var(--ask); }
.gate.on.block { border-color: var(--block); }
.gate .name { font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.gate .asks { font-size: 14px; line-height: 20px; color: var(--muted); }
.gate .verdict { display: flex; align-items: center; gap: 8px; font-size: 20px; line-height: 28px; font-weight: 600; min-height: 28px; }
.gate .why { font-size: 14px; line-height: 20px; color: var(--muted); }
.glyph { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 9999px; font-size: 14px; line-height: 20px; }
.glyph.allow { color: var(--allow); background: var(--allow-bg); }
.glyph.ask { color: var(--ask); background: var(--ask-bg); }
.glyph.block { color: var(--block); background: var(--block-bg); }
.stage .foot { padding: 16px; font-size: 14px; line-height: 20px; color: var(--muted); min-height: 52px; }
.note { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--faint); max-width: 680px; }

/* tagline reveal */
.tagline { padding: 96px 0; }
.tagline > .wrap { padding: 64px 24px; }
.tagline p { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; max-width: 680px; }
.tagline .w { opacity: 0.3; transition: opacity 700ms var(--ease); }
.tagline .w.lit { opacity: 1; }

/* cards and grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); padding: 24px; display: grid; gap: 12px; align-content: start; }
.card .num { font-family: 'Geist Mono', monospace; font-size: 14px; line-height: 20px; color: var(--faint); }
.card .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.card p, .card li { color: var(--muted); }
.card .label { font-size: 14px; line-height: 20px; color: var(--muted); }
.card .tag, .card .link { justify-self: start; }
.card pre { margin: 0; padding: 12px 16px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; line-height: 20px; overflow-x: auto; }
.card.feature { gap: 16px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--muted); }
.list li .icon { margin-top: 2px; color: var(--text); }
.statements { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.statements li { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--text); }
.statements li span { display: block; margin-top: 4px; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--muted); }
.video { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.video video { width: 100%; }
.video p { padding: 12px 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* comparison table */
.table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.table tr:last-child td { border-bottom: 0; }
.table th { font-weight: 600; color: var(--muted); background: var(--surface); }
.table td { color: var(--muted); }
.table td:first-child { color: var(--text); font-weight: 600; }
.table tr.us td { background: var(--surface); color: var(--text); }
.scroll { overflow-x: auto; }

/* numbers */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.figure { display: grid; gap: 12px; align-content: start; }
.figure p { font-size: 14px; line-height: 20px; color: var(--muted); }
.stat { font-family: 'Geist Mono', monospace; font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.stat.warn { color: var(--ask); }
.wrong { margin-top: 48px; }
.wrong .list li .icon { color: var(--ask); }

/* faq */
.faq { display: grid; gap: 8px; }
#faq .section-head { position: sticky; top: 96px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .icon { color: var(--text); }
.faq details { transition: border-color 700ms var(--ease); }
.faq details:hover { border-color: var(--line-2); }
.faq summary .icon { transition: transform 700ms var(--ease); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--muted); max-width: 760px; }

/* final cta + form */
.final { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.reassure { margin-top: 32px; }
.form { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); padding: 32px; display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; line-height: 24px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 12px; transition: border-color 700ms var(--ease); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--faint); }
.form textarea { min-height: 96px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .err-text { font-weight: 400; color: var(--block); font-size: 14px; line-height: 20px; }
.form [aria-invalid="true"] { border-color: var(--block); }
.form .actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.result { font-size: 14px; line-height: 20px; }
.result.ok { color: var(--allow); }
.result.err { color: var(--block); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 64px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; line-height: 20px; transition: color 700ms var(--ease); }
.foot-links a:hover { color: var(--text); }
footer .small { max-width: 560px; margin-top: 24px; }

/* docs pages (get started, privacy, 404) */
.doc { padding: 96px 0; }
.doc > .wrap { padding-top: 64px; }
.doc .prose { max-width: 760px; }
.doc .prose > * + * { margin-top: 16px; }
.doc h1 { font-size: 48px; line-height: 48px; letter-spacing: -0.02em; }
.doc h2 { font-size: 30px; line-height: 36px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 20px; line-height: 28px; margin-top: 32px; }
.doc p, .doc li { color: var(--muted); }
.doc b, .doc strong { color: var(--text); font-weight: 600; }
.doc ol, .doc ul { padding-left: 24px; display: grid; gap: 8px; }
.doc code { font-size: 14px; line-height: 20px; padding: 2px 4px; border-radius: 4px; background: var(--surface-2); color: var(--text); word-break: break-word; }
.doc td code { white-space: nowrap; }
.doc pre { margin: 16px 0 0; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; }
.doc pre code { padding: 0; background: none; font-size: 14px; line-height: 20px; }
.doc a { text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.doc a:hover { text-decoration-color: var(--text); }
.doc table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { color: var(--text); background: var(--surface); font-weight: 600; }
.doc .note { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 16px; color: var(--muted); max-width: none; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.doc .toc a { font-size: 14px; line-height: 20px; padding: 4px 12px; border-radius: 9999px; border: 1px solid var(--line-2); color: var(--muted); text-decoration: none; transition: color 700ms var(--ease), border-color 700ms var(--ease); }
.doc .toc a:hover { color: var(--text); border-color: var(--text); }
.doc .lede { margin-top: 16px; }
.doc .eyebrow { margin-bottom: 24px; }

/* scroll reveal: only when JavaScript runs, never for reduced motion */
.js [data-reveal] { transform: translateY(64px); filter: blur(12px); opacity: 0; transition: transform 800ms var(--ease), filter 800ms var(--ease), opacity 800ms var(--ease); }
.js [data-reveal].in { transform: none; filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; filter: none; opacity: 1; transition: none; }
  .tagline .w { opacity: 1; transition: none; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .final { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: 1fr; }
  .picks { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-pill .btn { display: none; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 96px 0 64px; }
  .hero > .wrap { padding-top: 32px; }
  .tagline > .wrap { padding: 32px 16px; }
  .h1 { font-size: 36px; line-height: 40px; }
  .h2 .line { display: inline; }
  .h2 { font-size: 30px; line-height: 36px; }
  .doc h1 { font-size: 36px; line-height: 40px; }
  .lede { font-size: 16px; line-height: 24px; }
  .grid-2, .gates, .form .row, .feed-rows, .feed-row { grid-template-columns: 1fr; }
  .feed-row .chip { justify-self: start; }
  #faq .section-head { position: static; }
  .gate { min-height: 0; }
  .tagline { padding: 96px 0; }
  .tagline p { font-size: 30px; line-height: 36px; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table { border: 0; border-radius: 0; }
  .table tr { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 8px; overflow: hidden; }
  .table td { border-bottom: 1px solid var(--line); }
  .table td::before { content: attr(data-label); display: block; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--faint); margin-bottom: 4px; }
  .table td:first-child::before { content: none; }
  .table td:first-child { font-size: 16px; line-height: 24px; }
  .h1 .line { display: inline; }
  .form { padding: 24px; }
  .stat { font-size: 36px; line-height: 40px; }
  .figures { grid-template-columns: 1fr 1fr; }
}

/* hero: copy beside the game on wide screens */
.hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
.hero.short > .wrap { padding-top: 64px; }

/* "Spot the drain" game (hero visual) */
.game { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: 8px; display: grid; gap: 8px; }
.game-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 16px 4px; }
.game-head .kicker { display: block; color: var(--text); }
.game-head .tiny { display: block; margin-top: 4px; max-width: 320px; }
.game-prog { font-family: 'Geist Mono', monospace; font-size: 12px; line-height: 16px; color: var(--faint); padding: 4px 8px; border-radius: 9999px; border: 1px solid var(--line-2); white-space: nowrap; }
.game-body { border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); padding: 24px; display: grid; gap: 16px; min-height: 320px; align-content: start; }
.game-tx { font-size: 20px; line-height: 28px; }
.game-tx b { font-weight: 600; }
.game-ask { font-size: 14px; line-height: 20px; color: var(--muted); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; transition: transform 700ms var(--ease), background-color 700ms var(--ease), border-color 700ms var(--ease), opacity 700ms var(--ease); }
.choice:hover { transform: translateY(-1px); border-color: var(--faint); }
.choice:active { transform: scale(0.98); }
.choice[disabled] { cursor: default; opacity: 0.4; transform: none; }
.choice.picked[disabled] { opacity: 1; border-color: var(--text); }
.reveal { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; opacity: 0; transform: translateY(8px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal .said { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.reveal .chip { font-size: 14px; line-height: 20px; padding: 4px 12px; }
.reveal .match { font-size: 14px; line-height: 20px; color: var(--muted); }
.reveal .match.yes { color: var(--allow); }
.reveal .reason { font-family: 'Geist Mono', monospace; font-size: 14px; line-height: 20px; color: var(--text); }
.reveal .others { font-size: 14px; line-height: 20px; color: var(--muted); }
.reveal .src { font-size: 12px; line-height: 16px; color: var(--faint); }
.reveal .btn { justify-self: start; margin-top: 8px; }
.game-sum { display: grid; gap: 16px; }
.game-sum .sum-line { font-size: 24px; line-height: 32px; font-weight: 600; }
.game-sum .link { border: 0; background: none; padding: 0; cursor: pointer; }
.figures.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .choices { grid-template-columns: 1fr; } .game-body { padding: 16px; min-height: 0; } .figures.three { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; align-items: start; } }
