/* Layout: one centred column (max 1120px) of bands; the hero pairs the pitch with a live "doc to manual" example. */
:root {
  --paper: #F6F5F1;
  --surface: #FFFFFF;
  --sunk: #EFEEE8;
  --ink: #1A1D24;
  --muted: #4A5060;
  --faint: #5F6473;
  --line: #E2E1DA;
  --line-strong: #CFCEC6;
  --accent: #2449D8;
  --accent-ink: #1A36A8;
  --accent-soft: #E7ECFF;
  --on-accent: #FFFFFF;
  --clay: #9A3412;
  --clay-soft: #FFF1E6;
  --ok: #166534;
  --ok-soft: #E8F5EC;
  --warn-soft: #FFF6D6;
  --brand: #0F5E4E;
  --on-brand: #F2FBF8;
  --amber: #A35A00;
  --amber-soft: #FFF1D9;
  --green: #13744A;
  --green-soft: #E3F5EA;
  --violet: #6D3FC0;
  --violet-soft: #F2ECFD;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 2rem;
  --step-4: clamp(2.25rem, 5.2vw, 3.5rem);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121419; --surface: #1A1D24; --sunk: #16181E; --ink: #ECEDEF; --muted: #B6BAC4; --faint: #9A9FAB;
    --line: #2C303A; --line-strong: #3B404C; --accent: #8098FF; --accent-ink: #AABAFF; --accent-soft: #1F2849;
    --on-accent: #0D1020; --clay: #F2A57C; --clay-soft: #3A2418; --ok: #74D093; --ok-soft: #15291D; --warn-soft: #3A3115;
    --brand: #13695A; --on-brand: #F2FBF8; --amber: #F2B65A; --amber-soft: #3A2A12; --green: #6FD39C; --green-soft: #14301F; --violet: #B79BFF; --violet-soft: #251C3D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121419; --surface: #1A1D24; --sunk: #16181E; --ink: #ECEDEF; --muted: #B6BAC4; --faint: #9A9FAB;
  --line: #2C303A; --line-strong: #3B404C; --accent: #8098FF; --accent-ink: #AABAFF; --accent-soft: #1F2849;
  --on-accent: #0D1020; --clay: #F2A57C; --clay-soft: #3A2418; --ok: #74D093; --ok-soft: #15291D; --warn-soft: #3A3115;
    --brand: #13695A; --on-brand: #F2FBF8; --amber: #F2B65A; --amber-soft: #3A2A12; --green: #6FD39C; --green-soft: #14301F; --violet: #B79BFF; --violet-soft: #251C3D;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
}
a { color: var(--accent-ink); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
img, svg { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.site-nav a.navlink { color: var(--muted); text-decoration: none; font-size: var(--step--1); font-weight: 500; padding: 10px 10px; border-radius: 8px; }
.site-nav a.navlink:hover, .site-nav a.navlink[aria-current="page"] { color: var(--ink); background: var(--sunk); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--sunk); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--on-accent); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: var(--step--1); }

/* Sections */
section { padding-block: 64px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; margin-bottom: 32px; }
.section-head h2 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: var(--step-1); }

/* Hero */
.hero { padding-block: 64px 72px; }
.hero .wrap { display: flex; flex-direction: column; gap: 48px; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.hero h1 { font-family: var(--font-display); font-size: var(--step-4); line-height: 1.04; font-weight: 600; letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 32rem; }
.quick-join { display: flex; gap: 8px; flex-wrap: wrap; max-width: 30rem; margin-top: 6px; }
.quick-join input { flex: 1 1 220px; }
.fine { font-size: var(--step--1); color: var(--faint); }

/* Example manual site in a browser frame */
.browser { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(20, 24, 40, .55); }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--sunk); font-size: 0.8rem; color: var(--faint); flex-wrap: wrap; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.url { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; min-width: 0; }
.show { display: flex; flex-direction: column; gap: 14px; }
.stages { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stage-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
.stage-btn .clock { font-variant-numeric: tabular-nums; font-size: 0.75rem; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--sunk); color: var(--faint); }
.stage-btn.on { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 1px var(--accent); }
.stage-btn.on .clock { background: var(--accent); color: var(--on-accent); }
.stage-btn.past .clock { background: var(--accent-soft); color: var(--accent-ink); }
.stage-btn .short { display: none; }
.stage-line { width: 28px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.replay { margin-left: auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 0.875rem; cursor: pointer; }
.replay:hover { background: var(--sunk); color: var(--ink); }
.stage-area { display: grid; }
.stage { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.stage-area[data-stage="0"] .stage-doc, .stage-area[data-stage="1"] .stage-build, .stage-area[data-stage="2"] .stage-site { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.stage-doc { background: var(--sunk); padding: 28px 24px 0; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; }
.docpage { background: var(--surface); width: 100%; max-width: 620px; padding: 34px 40px 26px; box-shadow: 0 1px 3px rgba(20, 24, 40, .12); font-family: Georgia, "Times New Roman", serif; font-size: 0.9rem; line-height: 1.6; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }
.doc-h { font-size: 1.25rem; color: var(--ink); }
.doc-meta { font-family: var(--font-body); font-size: 0.75rem; color: var(--faint); margin-top: -8px; }
.docpage b { color: var(--ink); font-weight: 600; }
.docpage mark { background: var(--warn-soft); color: inherit; padding: 0 2px; }
.doc-foot { font-family: var(--font-body); font-size: 0.75rem; color: var(--faint); text-align: right; }
.stage-build { display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: var(--paper); }
.build { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.build-file { font-size: 0.8rem; font-weight: 600; color: var(--clay); }
.build-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s ease; }
.build-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; color: var(--faint); }
.build-steps li { display: flex; align-items: center; gap: 10px; }
.build-steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; box-sizing: border-box; }
.build-steps li.done { color: var(--ink); }
.build-steps li.done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.nw { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--surface); height: 100%; min-height: 470px; }
.nw-side { background: var(--sunk); border-right: 1px solid var(--line); padding: 20px 12px; display: flex; flex-direction: column; gap: 14px; }
.nw-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; padding: 0 8px; }
.nw-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; }
.nw-nav { display: flex; flex-direction: column; gap: 2px; }
.nw-ch { text-align: left; border: 0; background: transparent; font: inherit; font-size: 0.875rem; color: var(--muted); padding: 8px 10px; border-radius: 8px; cursor: pointer; min-height: 36px; }
.nw-ch:hover { background: var(--surface); color: var(--ink); }
.nw-ch.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.nw-sync { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; font-size: 0.75rem; color: var(--faint); padding: 0 8px; line-height: 1.4; }
.nw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-top: 4px; flex: none; box-shadow: 0 0 0 3px var(--ok-soft); }
.nw-main { display: flex; flex-direction: column; min-width: 0; }
.nw-head { background: var(--brand); color: var(--on-brand); padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 4px;
  background-image: radial-gradient(circle at 92% -20%, rgba(255,255,255,.16) 0 120px, transparent 121px), radial-gradient(circle at 78% 130%, rgba(255,255,255,.08) 0 90px, transparent 91px); }
.nw-hi { font-size: 0.85rem; opacity: .85; }
.nw-q { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.nw-search { margin-top: 12px; display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--faint); border-radius: 12px; padding: 0 14px; max-width: 460px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.5); }
.nw-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 0.95rem; color: var(--ink); min-height: 46px; }
.nw-search:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--on-brand) 55%, transparent); }
.nw-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 26px 4px; }
.nw-tile { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; text-align: left; transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.nw-tile svg { flex: none; padding: 7px; width: 32px; height: 32px; border-radius: 9px; box-sizing: border-box; }
.nw-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -12px rgba(20,24,40,.5); }
.nw-tile[aria-pressed="true"] { border-color: currentColor; box-shadow: 0 0 0 1px currentColor; }
.t-amber svg { background: var(--amber-soft); color: var(--amber); } .t-amber[aria-pressed="true"] { color: var(--amber); }
.t-green svg { background: var(--green-soft); color: var(--green); } .t-green[aria-pressed="true"] { color: var(--green); }
.t-blue svg { background: var(--accent-soft); color: var(--accent); } .t-blue[aria-pressed="true"] { color: var(--accent); }
.t-violet svg { background: var(--violet-soft); color: var(--violet); } .t-violet[aria-pressed="true"] { color: var(--violet); }
.nw-tile[aria-pressed="true"] span { color: var(--ink); }
.nw-body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 16px; padding: 14px 26px 22px; align-items: start; }
.nw-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.nw-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); min-width: 0; }
.nw-card-top { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.nw-card h3 { font-size: 0.98rem; font-weight: 600; }
.nw-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.nw-card mark { background: var(--warn-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.nw-card .src { font-size: 0.72rem; color: var(--faint); margin-top: 2px; }
.nw-card .src b { color: var(--accent-ink); font-weight: 600; }
.c-amber .nw-card-top { color: var(--amber); } .c-green .nw-card-top { color: var(--green); } .c-blue .nw-card-top { color: var(--accent); } .c-violet .nw-card-top { color: var(--violet); }
.nw-empty { grid-column: 1 / -1; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 18px; font-size: 0.875rem; color: var(--muted); }
.nw-check { border-radius: 12px; background: var(--violet-soft); padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.nw-check-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 0.9rem; }
.nw-check-head span:last-child { font-size: 0.75rem; color: var(--violet); font-variant-numeric: tabular-nums; }
.nw-progress { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--violet) 18%, transparent); overflow: hidden; margin: 4px 0 6px; }
.nw-progress span { display: block; height: 100%; width: 25%; background: var(--violet); border-radius: 999px; transition: width .35s ease; }
.nw-item { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; min-height: 36px; cursor: pointer; }
.nw-item input { width: 18px; height: 18px; margin: 0; accent-color: var(--violet); flex: none; cursor: pointer; }
.nw-item input:checked + span { text-decoration: line-through; color: var(--faint); }
@media (prefers-reduced-motion: no-preference) {
  .nw-card { animation: rise .35s ease both; }
  .nw-card:nth-child(2) { animation-delay: .06s; } .nw-card:nth-child(3) { animation-delay: .12s; } .nw-card:nth-child(4) { animation-delay: .18s; }
  @keyframes rise { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 920px) {
  .nw-body { grid-template-columns: minmax(0, 1fr); }
}

/* Two doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.door { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.door-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.door-icon.blue { background: var(--accent-soft); color: var(--accent); }
.door-icon.clay { background: var(--clay-soft); color: var(--clay); }
.door h3 { font-size: var(--step-2); font-weight: 600; }
.door p { color: var(--muted); }
.door ol { margin: 4px 0 0; padding-left: 1.2em; color: var(--muted); display: flex; flex-direction: column; gap: 4px; font-size: 0.9375rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.feature { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feature svg { color: var(--accent); }
.feature h3 { font-size: var(--step-1); font-weight: 600; }
.feature p { color: var(--muted); font-size: 0.9375rem; }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.use h3 { font-size: var(--step-1); font-weight: 600; }
.use p { color: var(--muted); font-size: 0.9375rem; }
.use .from { font-size: var(--step--1); color: var(--faint); margin-top: auto; padding-top: 6px; }
.also { margin-top: 18px; color: var(--muted); font-size: 0.9375rem; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.price-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.plan h3 { font-size: var(--step-1); font-weight: 600; }
.badge { font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.badge.later { background: var(--sunk); color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price .amount { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price .per { color: var(--faint); font-size: var(--step--1); }
.plan .for { color: var(--muted); font-size: var(--step--1); }
.plan ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 7px; font-size: 0.9rem; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { color: var(--ok); flex: none; margin-top: 4px; }
.yearly { font-size: var(--step--1); color: var(--faint); font-variant-numeric: tabular-nums; }
.addon { margin-top: 14px; display: flex; gap: 16px 28px; align-items: center; flex-wrap: wrap; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 20px 22px; }
.addon > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.addon h3 { font-size: var(--step-1); font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.addon p { color: var(--muted); font-size: 0.9375rem; }
.price-note { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: var(--step--1); }
.group-label { font-size: var(--step-1); font-weight: 600; margin: 40px 0 6px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.group-label span { font-size: var(--step--1); font-weight: 400; color: var(--faint); }
.group-label:first-of-type { margin-top: 0; }

/* Waitlist */
.waitlist { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.waitlist-copy { display: flex; flex-direction: column; gap: 14px; }
.waitlist-copy h2 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
.waitlist-copy p { color: var(--muted); }
.perks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks svg { color: var(--accent); flex: none; margin-top: 3px; }
form.join { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.field-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-group > label, .field-group legend { font-size: var(--step--1); font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.input, select.input {
  width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 10px 14px; font: inherit; font-size: 0.9375rem; color: var(--ink); background: var(--surface);
}
.input::placeholder { color: var(--faint); }
.choice-row { display: flex; flex-wrap: wrap; gap: 6px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.85rem; }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.9375rem; border-radius: 10px; padding: 12px 14px; }
.form-status.ok { background: var(--ok-soft); color: var(--ok); }
.form-status.err { background: var(--clay-soft); color: var(--clay); }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: var(--step-1); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; color: var(--faint); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 65ch; }

/* Legal pages */
.legal { padding-block: 48px 72px; }
.legal h1 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; letter-spacing: -0.015em; }
.legal .updated { color: var(--faint); font-size: var(--step--1); margin-top: 8px; }
.legal .summary { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.legal .summary ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.prose { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; max-width: 70ch; }
.prose h2 { font-size: var(--step-2); font-weight: 600; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose li, .prose p { color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.9rem; background: var(--surface); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--sunk); }
.prose tr:last-child td { border-bottom: 0; }
.fill { background: var(--warn-soft); border-radius: 4px; padding: 0 3px; }

/* Page heading (pricing) */
.page-head { padding-block: 48px 8px; }
.page-head h1 { font-family: var(--font-display); font-size: var(--step-4); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.page-head p { margin-top: 12px; color: var(--muted); font-size: var(--step-1); max-width: 40rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 36px 44px; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: flex; gap: 24px 48px; flex-wrap: wrap; justify-content: space-between; }
.foot-about { display: flex; flex-direction: column; gap: 8px; max-width: 26rem; }
.foot-links { display: flex; gap: 10px 20px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--muted); text-decoration: none; padding-block: 4px; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.email { font-weight: 600; color: var(--ink); user-select: all; }

/* Responsive */
@media (max-width: 920px) {
  .waitlist { grid-template-columns: minmax(0, 1fr); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features, .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  section { padding-block: 48px; }
  .doors, .features, .uses, .price-grid, .price-grid.two { grid-template-columns: minmax(0, 1fr); }
  .nw { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .nw-side { display: none; }
  .nw-head { padding: 18px 16px 20px; }
  .nw-q { font-size: 1.35rem; }
  .nw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 16px 2px; }
  .nw-body { padding: 12px 16px 18px; }
  .nw-cards { grid-template-columns: minmax(0, 1fr); }
  .stage-line { display: none; }
  .stages { gap: 6px; flex-wrap: nowrap; }
  .stage-btn { padding-right: 10px; }
  .stage-btn .long { display: none; }
  .stage-btn .short { display: inline; }
  .replay { padding: 0 8px; margin-left: auto; }
  .replay-text { display: none; }
  .site-header .wrap, .site-nav { flex-wrap: nowrap; }
  .brand-name { font-size: 1.3rem; }
  .replay { margin-left: 0; }
  .docpage { padding: 22px 18px 18px; font-size: 0.85rem; }
  .stage-doc { padding: 16px 12px 0; }
  .site-nav a.navlink.hide-sm { display: none; }
}
.quick-join .form-status { flex: 1 1 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
