/* Strong Body — site styles. Values come from the Strong Body design system (tokens.json). */
@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --onyx: #0b0b0c; --graphite: #151517; --steel: #9a9aa0; --white: #ffffff; --gold: #c9a85c;
  --surface: var(--onyx); --surface-raised: var(--graphite); --surface-sunken: #101012;
  --ink: var(--white); --ink-muted: var(--steel); --accent: var(--gold); --accent-ink: var(--gold); --on-accent: var(--onyx);
  --action: var(--white); --on-action: var(--onyx); --hairline: #26262a; --control-border: #6b6b72; --focus-ring: var(--gold);
  --danger: #ff7a7a; --success: #6fd3a0;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-full: 999px;
  --tap-target: 48px; --content-max: 1120px; --measure: 65ch;
  --font-display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-mono); font-size: 15px; line-height: 24px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 50; background: var(--action); color: var(--on-action); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); }
.skip:focus { top: var(--space-4); }

.wrap { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 720px) { .wrap { padding: 0 var(--space-8); } }

/* Type */
.label { font-size: 12px; line-height: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.display-xl { font-size: 56px; line-height: 0.95; letter-spacing: 0.04em; }
.display-l { font-size: 40px; line-height: 1; letter-spacing: 0.06em; }
.display-m { font-size: 30px; line-height: 1; letter-spacing: 0.08em; }
.display-s { font-size: 22px; line-height: 1.1; letter-spacing: 0.1em; }
.body-l { font-size: 17px; line-height: 28px; }
.data { font-size: 18px; line-height: 26px; font-weight: 700; }
.caption { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.gold { color: var(--accent-ink); }
@media (min-width: 600px) { .display-xl { font-size: 72px; } .display-l { font-size: 48px; } .display-m { font-size: 36px; } .data { font-size: 20px; line-height: 28px; } }
@media (min-width: 1024px) { .display-xl { font-size: 88px; letter-spacing: 0.05em; } .display-l { font-size: 56px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--tap-target); padding: var(--space-3) var(--space-6); border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; font: 700 12px/16px var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: transform 120ms ease, border-color 120ms ease, opacity 120ms ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { opacity: 0.9; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--control-border); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); padding-left: 0; padding-right: 0; text-decoration: underline; text-underline-offset: 4px; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: var(--space-2) var(--space-4); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }

/* Badge, toggle */
.badge { display: inline-flex; align-items: center; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); }
.lang { display: inline-flex; padding: 2px; border: 1px solid var(--control-border); border-radius: var(--radius-full); }
.lang button { min-height: 44px; min-width: 48px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-full); background: transparent; color: var(--ink-muted); cursor: pointer; font: 700 12px/1 var(--font-mono); letter-spacing: 0.18em; }
.lang button[aria-pressed="true"] { background: var(--action); color: var(--on-action); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 12, 0.92); border-bottom: 1px solid var(--hairline); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 150px; height: auto; }
.brand .mark { display: none; width: 36px; }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (max-width: 359px) { .brand .full { display: none; } .brand .mark { display: block; } }

/* Hero */
.hero { padding: var(--space-12) 0 var(--space-16); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-12); align-items: center; }
.hero-copy { display: grid; gap: var(--space-6); justify-items: start; }
.hero h1 { max-width: 12ch; }
.hero .body-l { max-width: 46ch; color: var(--ink-muted); }
.hero .body-l strong { color: var(--ink); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.hero-meta li { list-style: none; }
.hero-meta, .plain { margin: 0; padding: 0; }
@media (min-width: 960px) { .hero { padding: var(--space-24) 0; } .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-16); } }

/* Example plan card */
.plan-card { background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--space-6); position: relative; }
.plan-card-head { display: flex; justify-content: space-between; gap: var(--space-3); align-items: baseline; padding-bottom: var(--space-4); border-bottom: 1px solid var(--hairline); }
.plan-tag { font-size: 12px; line-height: 16px; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--control-border); color: var(--ink-muted); border-radius: var(--radius-full); padding: 2px var(--space-2); white-space: nowrap; }
.plan-days { margin: 0; padding: 0; list-style: none; }
.plan-days li { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--hairline); }
.plan-days li:last-child { border-bottom: 0; padding-bottom: 0; }
.plan-day { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); line-height: 26px; }
.plan-days .data { display: block; }
@media (min-width: 720px) { .plan-card { padding: var(--space-8); } }

/* Motif: the mark's paired parallel bars */
.bars { margin-left: 20px; display: flex; gap: var(--space-2); height: 40px; align-items: stretch; }
.bars span { width: 10px; background: var(--ink); transform: skewX(-45deg); }
.bars span:nth-child(2) { margin-right: var(--space-6); }
.rule-motif { display: flex; align-items: center; gap: var(--space-6); }
.rule-motif::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }

/* Sections */
.section { padding: var(--space-16) 0; border-top: 1px solid var(--hairline); }
@media (min-width: 960px) { .section { padding: var(--space-24) 0; } }
.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); max-width: 720px; }
.section-head p { color: var(--ink-muted); max-width: var(--measure); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { align-content: start; display: grid; grid-template-columns: 72px 1fr; gap: var(--space-4); padding: var(--space-6) 0; border-top: 1px solid var(--hairline); }
.steps li:last-child { border-bottom: 1px solid var(--hairline); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 0.9; letter-spacing: 0.04em; color: var(--ink-muted); }
.steps h3 { font-size: 22px; line-height: 26px; letter-spacing: 0.1em; margin-bottom: var(--space-2); }
.steps p { color: var(--ink-muted); max-width: var(--measure); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; gap: var(--space-6); padding: var(--space-8) var(--space-8) var(--space-8) 0; border-bottom: 1px solid var(--hairline); }
  .steps li + li { padding-left: var(--space-8); border-left: 1px solid var(--hairline); }
  .step-num { font-size: 72px; }
}

.split { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); } .split .section-head { margin-bottom: 0; position: sticky; top: 112px; align-self: start; } }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--hairline); }
.feature-list li:first-child { border-top: 1px solid var(--hairline); }
.feature-list .tick { color: var(--accent-ink); font-weight: 700; }
.feature-list strong { display: block; font-weight: 700; }
.feature-list span.muted { display: block; }

.care-grid { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .care-grid { grid-template-columns: repeat(2, 1fr); } }
.care { background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.care h3 { font-size: 22px; line-height: 26px; letter-spacing: 0.1em; }
.care p { color: var(--ink-muted); }

/* Roadmap + waitlist */
.roadmap { list-style: none; margin: 0 0 var(--space-12); padding: 0; display: grid; gap: var(--space-4); }
.roadmap li { display: grid; grid-template-columns: 112px 1fr; gap: var(--space-4); align-items: baseline; }
.roadmap .when { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.roadmap li.now .when { color: var(--accent-ink); }
.waitlist { background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); max-width: 560px; }
@media (min-width: 720px) { .waitlist { padding: var(--space-8); } }
.inline-field { display: grid; gap: var(--space-2); }
@media (min-width: 520px) { .inline-field .row { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); } }
.inline-field .row { display: grid; gap: var(--space-2); }

/* Fields */
.field { display: grid; gap: var(--space-2); }
.field > label:not(.check), .field-label { font-size: 12px; line-height: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.input { min-height: var(--tap-target); padding: var(--space-3) var(--space-4); width: 100%; font: 400 16px/24px var(--font-mono); color: var(--ink); background: var(--surface-sunken); border: 1px solid var(--control-border); border-radius: var(--radius-md); }
.input::placeholder { color: var(--ink-muted); opacity: 1; }
.field-error { font-size: 13px; line-height: 20px; color: var(--danger); }
.input[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.suggest { justify-self: start; font: 400 13px/20px var(--font-mono); color: var(--ink); background: transparent; border: 1px dashed var(--control-border); border-radius: var(--radius-md); padding: var(--space-2) var(--space-3); min-height: 44px; cursor: pointer; }

.check { position: relative; min-height: 44px; display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; align-content: center; cursor: pointer; font-size: 13px; line-height: 20px; color: var(--ink-muted); padding: var(--space-1) 0; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check-box { width: 24px; height: 24px; border: 2px solid var(--control-border); border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--surface-sunken); color: var(--on-action); font-size: 14px; font-weight: 700; }
.check input:checked + .check-box { background: var(--action); border-color: var(--action); }
.check input:checked + .check-box::after { content: "✓"; }
.check input:focus-visible + .check-box { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.check[data-invalid] .check-box { border-color: var(--danger); }
.check a { color: var(--ink); }

/* Notices */
.notice { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--hairline); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.notice-icon { font-weight: 700; color: var(--ink); }
.notice--success { color: var(--ink); border-color: var(--success); }
.notice--success .notice-icon { color: var(--success); }
.notice--error { color: var(--ink); border-color: var(--danger); }
.notice--error .notice-icon { color: var(--danger); }

/* FAQ */
.faq { border-top: 1px solid var(--hairline); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; padding: var(--space-4) 0; min-height: 56px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--ink-muted); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 var(--space-6); color: var(--ink-muted); max-width: var(--measure); }

/* CTA band */
.cta-band { padding: var(--space-16) 0; border-top: 1px solid var(--hairline); }
.cta-band .wrap { display: grid; gap: var(--space-6); justify-items: start; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; align-items: end; } }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: var(--space-12) 0 var(--space-16); }
.site-footer .wrap { display: grid; gap: var(--space-6); }
.footer-row { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- Wizard */
body.in-wizard { overflow: hidden; }
.wizard { position: fixed; inset: 0; z-index: 40; background: var(--surface); display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.wiz-top { position: sticky; top: 0; background: var(--surface); z-index: 2; border-bottom: 1px solid var(--hairline); }
.wiz-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 64px; max-width: 720px; }
.wiz-close { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); background: transparent; color: var(--ink-muted); border: 0; cursor: pointer; font: 700 12px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; }
.wiz-close:hover { color: var(--ink); }
.wiz-progress { padding: var(--space-4) 0 0; }
.wiz-progress .wrap { max-width: 720px; display: grid; gap: var(--space-2); }
.progress-meta { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 12px; line-height: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.progress-meta b { color: var(--accent-ink); }
.progress-track { height: 4px; border-radius: var(--radius-sm); background: var(--hairline); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--accent); transition: width 200ms ease; }
.wiz-body { flex: 1; }
.wiz-body .wrap { max-width: 720px; padding-top: var(--space-8); padding-bottom: var(--space-8); }
.q { display: grid; gap: var(--space-6); }
.q-title { font-size: 30px; line-height: 1.12; letter-spacing: 0.06em; outline: none; }
@media (min-width: 600px) { .q-title { font-size: 40px; } }
.q-help { color: var(--ink-muted); max-width: var(--measure); }
.options { display: grid; gap: var(--space-2); }
.options.cols-2 { grid-template-columns: repeat(2, 1fr); }
.options.cols-5 { grid-template-columns: repeat(5, 1fr); }
.options.cols-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .options.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.opt { min-height: 56px; padding: var(--space-3) var(--space-4); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); text-align: left; cursor: pointer; font: 400 15px/22px var(--font-mono); color: var(--ink); background: var(--surface-sunken); border: 1px solid var(--control-border); border-radius: var(--radius-md); transition: border-color 120ms ease; }
.opt:hover { border-color: var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.opt { position: relative; }
.opt small { display: block; color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.opt[data-checked="true"] { background: var(--action); color: var(--on-action); border-color: var(--action); }
.opt[data-checked="true"] small { color: var(--on-action); opacity: 0.75; }
.opt::after { content: ""; width: 20px; flex: none; text-align: right; font-weight: 700; }
.opt[data-checked="true"]::after { content: "✓"; }
.opt.num { justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: 0.04em; padding: var(--space-3) var(--space-2); }
.opt.num::after { display: none; }
.opt.num small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; }
.opt.num span { display: grid; justify-items: center; }
.wiz-actions { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--hairline); padding: var(--space-3) 0 calc(var(--space-3) + env(safe-area-inset-bottom)); }
.wiz-actions .wrap { max-width: 720px; display: flex; gap: var(--space-2); justify-content: space-between; }
.wiz-actions .btn--primary { flex: 1; max-width: 320px; margin-left: auto; }
.result { display: grid; gap: var(--space-6); justify-items: start; padding-top: var(--space-8); }
.result .q-title { max-width: 14ch; }
.result p { color: var(--ink-muted); max-width: var(--measure); }
.spinner-bars { margin-left: 24px; display: flex; gap: var(--space-2); height: 48px; }
.spinner-bars span { width: 10px; background: var(--accent); transform: skewX(-45deg); animation: pulse 1.2s ease-in-out infinite; }
.spinner-bars span:nth-child(2) { animation-delay: 0.2s; }
@keyframes pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* Legal page */
.legal { padding: var(--space-12) 0 var(--space-16); }
.legal .wrap { max-width: 760px; display: grid; gap: var(--space-6); }
.legal h2 { font-size: 26px; letter-spacing: 0.08em; margin-top: var(--space-6); }
.legal p, .legal li { color: var(--ink-muted); }
.legal ul { margin: 0; padding-left: var(--space-6); display: grid; gap: var(--space-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.m0 { margin: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.plan-days .caption { display: block; margin-top: var(--space-1); }

hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--space-6) 0 0; }
.legal a { color: var(--ink); }
.legal .btn { justify-self: start; }

.nowrap { white-space: nowrap; }

/* Social */
.social-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.social { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) 0; border-bottom: 1px solid var(--hairline); text-decoration: none; min-height: 72px; }
.social > span:first-child { display: grid; gap: var(--space-1); min-width: 0; }
.social .data { overflow-wrap: anywhere; }
.social > span:last-child { font-size: 22px; color: var(--ink-muted); transition: transform 120ms ease, color 120ms ease; }
.social:hover > span:last-child { color: var(--accent-ink); transform: translate(2px, -2px); }
