/*
 * MojoClaw site — WS-1 (2026-10-26). Bold minimalism in the product palette.
 * One accent: champagne gold. Dark = near-black + warm white; light = the
 * workbench page colour #F7F6F2 + warm ink. Tokens mirror
 * desktop/src/renderer/styles/theme-tokens.css (TH-1/TH-2).
 */
:root {
  --bg: #f7f6f2;
  --bg-2: #efeee9;
  --bg-3: #e7e5df;
  --ink: #1b1a17;
  --ink-2: #4f564e;          /* sage-grey, from the product heading colour #5A6359, darkened for body contrast */
  --ink-3: #6f6c66;
  --line: rgba(27, 26, 23, 0.12);
  --line-strong: rgba(27, 26, 23, 0.28);
  /* Gold is an accent, never a fill. Two tones per theme (WS-1 palette retune, see docs/integration/2026-10-26-ws1.md):
     light — antique gold, slightly red (hue 38–39°): #96681A for small text/links (4.52:1 on #F7F6F2),
     #A8781E for the big headline word, numerals and hairlines (3.62:1, large text only). */
  --gold: #96681a;
  --gold-display: #a8781e;
  --gold-line: #a8781e;
  --gold-hi: #7d5612;
  --gold-soft: rgba(168, 120, 30, 0.08);
  --btn-bg: #1b1a17;
  --btn-ink: #f7f6f2;
  --cta-mark: #ebcb86;       /* arrow on the ink button: the pale tone (11:1 on #1B1A17) */
  --shot-shadow: 0 40px 120px -40px rgba(27, 26, 23, 0.35);
  /* "Noto Sans SC" is only ever served at weight 900, subset per page to the heading glyphs (see <head>);
     every other zh weight comes from the system CJK face, so body text never borrows the 900 subset. */
  --font-display: "Bricolage Grotesque", "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-display-light: "Bricolage Grotesque", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0b; --bg-2: #131312; --bg-3: #1c1b19; --ink: #ece6d8; --ink-2: #b9b3a6; --ink-3: #8f8a80;
    --line: rgba(236, 230, 216, 0.12); --line-strong: rgba(236, 230, 216, 0.3);
    --gold: #ebcb86; --gold-display: #ebcb86; --gold-hi: #f4dfae; --gold-line: #8e6a31; --gold-soft: rgba(235, 203, 134, 0.06);
    --btn-bg: #ece6d8; --btn-ink: #0a0a0b; --cta-mark: #8e6a31; --shot-shadow: 0 40px 140px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0b; --bg-2: #131312; --bg-3: #1c1b19; --ink: #ece6d8; --ink-2: #b9b3a6; --ink-3: #8f8a80;
  --line: rgba(236, 230, 216, 0.12); --line-strong: rgba(236, 230, 216, 0.3);
  --gold: #ebcb86; --gold-display: #ebcb86; --gold-hi: #f4dfae; --gold-line: #8e6a31; --gold-soft: rgba(235, 203, 134, 0.06);
    --btn-bg: #ece6d8; --btn-ink: #0a0a0b; --cta-mark: #8e6a31; --shot-shadow: 0 40px 140px -30px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:lang(en) body, body:lang(en) { line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-line); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; display: flex; gap: 14px; align-items: center; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-line); }
.gold { color: var(--gold-display); }
.muted { color: var(--ink-2); }

/* ---------- type scale ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.display { font-size: clamp(52px, 10.5vw, 168px); line-height: 0.95; letter-spacing: -0.045em; }
:lang(zh-CN) .display { letter-spacing: -0.02em; line-height: 1.04; font-weight: 900; }
h2, .h2 { font-size: clamp(38px, 6.2vw, 96px); line-height: 1; letter-spacing: -0.035em; }
:lang(zh-CN) h2, :lang(zh-CN) .h2 { letter-spacing: -0.01em; line-height: 1.1; font-weight: 900; }
h3 { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.2; }
:lang(zh-CN) h3 { font-weight: 700; letter-spacing: 0; }
.lede { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.6; color: var(--ink-2); max-width: 34em; margin: 0; }
:lang(en) .lede { max-width: 30em; }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid var(--line-strong); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn--solid { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.btn--solid:hover { transform: translateY(-1px); border-color: var(--btn-bg); }
.btn .arrow { transition: transform .25s var(--ease); color: var(--gold); }
.btn--solid .arrow { color: var(--cta-mark); }
.btn--solid { box-shadow: inset 0 -2px 0 var(--cta-mark); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.link { color: var(--gold); border-bottom: 1px solid var(--gold-line); padding-bottom: 1px; }
.link:hover { color: var(--gold-hi); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(1.2); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.035em; display: inline-flex; align-items: baseline; gap: 0; }
.wordmark b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); margin-left: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 0; font: 600 13px/1 var(--font-mono); }
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: none; } :root:not([data-theme="light"]) .theme-toggle .moon { display: block; } }
.menu-btn { display: none; }
.menu-sheet { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-right .hide-sm { display: none; }
  .menu-btn { display: inline-grid; }
  .menu-sheet { position: fixed; inset: 68px 0 0 0; background: var(--bg); padding: 28px var(--gutter); display: none; flex-direction: column; gap: 6px; z-index: 49; }
  .menu-sheet.is-open { display: flex; }
  .menu-sheet a { font-family: var(--font-display); font-size: 34px; font-weight: 700; padding: 8px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
  .menu-sheet .btn { margin-top: 18px; font-family: var(--font-text); font-size: 16px; justify-content: center; border-bottom: 1px solid var(--line-strong); }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 150px; }
.hero-copy { position: relative; z-index: 2; }
.hero .display { max-width: none; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 40px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; color: var(--ink-3); font-size: 14px; }
.hero-stage { position: relative; margin-top: 64px; }
.shot { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shot-shadow); background: var(--bg-2); }
.shot img { width: 100%; }
.shot--hero { width: min(100%, 1680px); margin: 0 auto; }
.t-dark { display: none; }
:root[data-theme="dark"] .t-dark { display: block; }
:root[data-theme="dark"] .t-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t-dark { display: block; } :root:not([data-theme="light"]) .t-light { display: none; } }
.caption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--ink-3); margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; text-transform: uppercase; }

/* Pinned hero (motion on, wide screens): the capture rises into a full-bleed frame.
   .motion is set in <head> before first paint so the pinned layout never shifts. */
.motion .hero { height: 100vh; min-height: 620px; padding-top: 0; overflow: hidden; }
.motion .hero .hero-copy { position: absolute; inset: 0; padding-top: clamp(112px, 15vh, 160px); }
.motion .hero .hero-stage { position: absolute; left: 0; right: 0; top: 86px; margin: 0; padding: 0 2vw; z-index: 3; transform: translateY(78vh) scale(.84); transform-origin: 50% 0; will-change: transform; }
.motion .hero .shot--hero { width: min(100%, calc((100vh - 112px) * 1.6)); }
.motion .hero .caption { display: none; }

/* split-text masks */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.si { display: inline-block; will-change: transform; }

/* ---------- sections ---------- */
.section { padding: clamp(96px, 14vw, 200px) 0; position: relative; }
.section--tight { padding: clamp(72px, 9vw, 128px) 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.split--rev { grid-template-columns: 7fr 5fr; }
.sticky { position: sticky; top: 110px; }

/* forms — two numbered columns, deliberately unequal */
.forms { display: grid; grid-template-columns: 7fr 5fr; gap: 0; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line-strong); }
.form { padding: 40px clamp(0px, 3vw, 48px) 0 0; }
.form + .form { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 48px); padding-right: 0; }
.form .num { font-family: var(--font-display); font-size: clamp(64px, 9vw, 140px); line-height: .85; letter-spacing: -0.06em; color: var(--gold-display); font-weight: 700; }
.form h3 { margin: 26px 0 14px; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; }
.form ul { list-style: none; padding: 0; margin: 22px 0 0; }
.form li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; color: var(--ink-2); }
.form li span.k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--ink-3); min-width: 72px; text-transform: uppercase; }
.shared { margin-top: 56px; display: flex; gap: 22px; align-items: center; font-size: clamp(19px, 2vw, 26px); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.shared .bar { flex: 1; height: 1px; background: var(--line-strong); }

/* task run — scrubbed progress rail */
.steps { position: relative; margin-top: clamp(56px, 8vw, 100px); }
.steps-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps-rail i { position: absolute; inset: 0; background: var(--gold-line); transform-origin: top; transform: scaleY(1); }
.step { display: grid; grid-template-columns: 120px 4fr 7fr; gap: clamp(20px, 3vw, 48px); padding: 0 0 clamp(72px, 9vw, 130px) clamp(24px, 3vw, 44px); align-items: start; }
.step:last-child { padding-bottom: 0; }
.step .n { font-family: var(--font-mono); font-size: 13px; color: var(--gold); letter-spacing: .08em; padding-top: 10px; }
.step h3 { font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -0.025em; margin-bottom: 18px; }
.step p { color: var(--ink-2); max-width: 26em; }
.step .shot { border-radius: 12px; }
.step-quote { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; border-left: 2px solid var(--gold-line); padding: 6px 0 6px clamp(18px, 2vw, 32px); }
:lang(zh-CN) .step-quote { letter-spacing: 0; font-weight: 900; }
.step-quote small { display: block; font-family: var(--font-text); font-weight: 400; font-size: 16px; letter-spacing: 0; color: var(--ink-2); margin-top: 22px; line-height: 1.6; }
.modes { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.modes span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; color: var(--ink-2); }

/* full-bleed preview */
.bleed { padding: 0 2vw; }
.bleed .shot { border-radius: 18px; }
.preview-head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.parallax { overflow: hidden; }
.parallax img { will-change: transform; }

/* horizontal capability strip */
.strip-head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.strip { margin-top: clamp(48px, 6vw, 80px); }
.strip-track { display: flex; gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); width: max-content; }
.cap { width: clamp(280px, 30vw, 440px); min-height: clamp(360px, 46vh, 520px); padding: 34px clamp(22px, 2.4vw, 36px) 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.cap:first-child { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); width: calc(clamp(280px, 30vw, 440px) + max(0px, calc((100vw - var(--max)) / 2 + var(--gutter)) - clamp(22px, 2.4vw, 36px))); }
.cap .i { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.cap h3 { font-size: clamp(40px, 4.6vw, 72px); letter-spacing: -0.04em; line-height: .95; margin: auto 0 18px; padding-top: 40px; }
:lang(zh-CN) .cap h3 { letter-spacing: -0.01em; font-weight: 900; }
.cap p { color: var(--ink-2); font-size: 16px; margin: 0; }
.cap code { display: inline-block; margin-top: 20px; font-family: var(--font-mono); font-size: 12.5px; color: var(--gold); }
.cap--end { justify-content: center; box-shadow: inset 0 2px 0 var(--gold-line); }
.cap--end h3 { margin: 0 0 18px; padding: 0; font-size: clamp(30px, 3vw, 46px); }
@media (max-width: 900px) {
  .strip { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .cap { scroll-snap-align: start; width: 78vw; min-height: 340px; }
  .cap:first-child { padding-left: var(--gutter); width: 78vw; }
}

/* runner / sandbox */
.runner-list { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: r; }
.runner-list li { border-top: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.runner-list li::before { counter-increment: r; content: "0" counter(r); font-family: var(--font-mono); font-size: 12.5px; color: var(--gold); padding-top: 5px; }
.runner-list b { display: block; font-family: var(--font-display); font-size: 21px; margin-bottom: 4px; letter-spacing: -0.01em; }
.runner-list span { color: var(--ink-2); }

/* models */
.model-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.stack { display: grid; gap: 22px; }
.stack .shot { border-radius: 12px; }
.stack .shot:nth-child(2) { width: 82%; margin-left: auto; }

/* trust */
.trust { background: var(--bg-2); }
.trust .display { font-size: clamp(44px, 8.4vw, 132px); max-width: 12ch; }
:lang(zh-CN) .trust .display { max-width: 8em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line-strong); }
.fact { padding: 28px 28px 0 0; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 28px; }
.fact b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; margin-bottom: 10px; }
.fact span { color: var(--ink-2); font-size: 15.5px; }

/* closing */
.close { padding: clamp(110px, 16vw, 240px) 0; }
.close .display { font-size: clamp(64px, 15vw, 240px); }
.close-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14.5px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot .foot-h { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--ink); }
.foot-bottom { margin-top: 56px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }

/* ---------- inner pages ---------- */
.page-head { padding: 170px 0 clamp(56px, 7vw, 96px); }
.page-head .display { font-size: clamp(52px, 9vw, 140px); }
.dl { display: grid; grid-template-columns: 7fr 5fr; border-top: 1px solid var(--line-strong); }
.dl-main { padding: 48px clamp(0px, 4vw, 64px) 56px 0; }
.dl-side { border-left: 1px solid var(--line); padding: 48px 0 56px clamp(20px, 4vw, 64px); }
.dl h2 { font-size: clamp(40px, 5vw, 76px); }
.dl .spec { list-style: none; padding: 0; margin: 30px 0 34px; }
.dl .spec li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.dl .spec li span:first-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--ink-3); text-transform: uppercase; padding-top: 3px; }
.soon { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 0; }
.soon div { padding: 28px 24px 30px 0; }
.soon div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.soon b { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; }
.soon span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.plan { padding: 34px 24px 34px 0; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); padding-left: 24px; }
.plan h3 { font-size: 26px; }
.plan .price { font-family: var(--font-display); font-size: clamp(52px, 5vw, 80px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin: 26px 0 6px; }
.plan .price small { font-size: 16px; letter-spacing: 0; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.plan .quota { font-family: var(--font-mono); font-size: 12.5px; color: var(--gold); letter-spacing: .02em; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; color: var(--ink-2); font-size: 15.5px; display: grid; gap: 8px; }
.plan ul li::before { content: "— "; color: var(--ink-3); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--focus .price { color: var(--gold-display); }
.plan--focus { box-shadow: inset 0 2px 0 var(--gold-line); }
.cycle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; margin-bottom: 36px; }
.cycle button { border: 0; background: transparent; color: var(--ink-2); font: 600 14px var(--font-text); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.cycle button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.note { color: var(--ink-3); font-size: 14.5px; margin-top: 28px; max-width: 60em; }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th, .table td { text-align: left; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.table td:first-child { color: var(--ink); font-weight: 600; width: 30%; }
.table td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; }

/* legal (migrated content, new chrome) */
.legal-page header.shell { padding-top: 160px !important; }
.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.legal-page .badge { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.legal-page .title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 88px) !important; letter-spacing: -0.035em; line-height: 1; margin: 18px 0 22px; }
.legal-page .lead { color: var(--ink-2); max-width: 46em; font-size: 17px; }
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 80px); margin: 56px auto 96px; }
.legal-nav { position: sticky; top: 96px; align-self: start; display: grid; gap: 2px; border-top: 1px solid var(--line-strong); padding-top: 12px; }
.legal-nav a { cursor: pointer; padding: 7px 0; color: var(--ink-2); font-size: 15px; }
.legal-nav a.active { color: var(--gold); }
.legal-panel { display: none; max-width: 46em; }
.legal-panel.active { display: block; }
.legal-panel h2 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 10px; }
.legal-panel h3 { font-size: 20px; margin: 30px 0 8px; }
.legal-panel p { color: var(--ink-2); }
.legal-panel a { color: var(--gold); }
.legal-panel .meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.legal-page .lang-switch { cursor: pointer; width: auto; padding: 0 12px; white-space: nowrap; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero-row, .split, .split--rev, .preview-head, .strip-head, .model-grid { grid-template-columns: 1fr; }
  .forms { grid-template-columns: 1fr; }
  .form { padding-right: 0; }
  .form + .form { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); margin-top: 48px; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step .n { padding-top: 0; }
  .sticky { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact { padding-bottom: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .dl { grid-template-columns: 1fr; }
  .dl-main { padding-right: 0; }
  .dl-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(3) { border-left: 0; padding-left: 0; }
  .plan { border-bottom: 1px solid var(--line); }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { position: static; grid-template-columns: 1fr 1fr; }
  .stack .shot:nth-child(2) { width: 100%; }
}
@media (max-width: 560px) {
  .facts, .soon, .plans { grid-template-columns: 1fr; }
  .fact + .fact, .soon div + div, .plan + .plan { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .close-row .btn { width: 100%; justify-content: center; }
  .dl .spec li { grid-template-columns: 96px 1fr; }
  .shared { flex-direction: column; align-items: flex-start; }
  .shared .bar { width: 100%; flex: none; }
}

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

.strip-section { overflow: hidden; }
/* headings that sit in a narrow editorial column */
.split h2, .model-grid h2 { font-size: clamp(38px, 4.8vw, 76px); }

/* zh weights below 900 must not match the 900-only subset face */
h3, .form h3, .runner-list b, .fact b, .shared, .plan h3, .soon b, .menu-sheet a, .legal-panel h2, .legal-panel h3, .legal-page .title { font-family: var(--font-display-light); }
.cap h3, .step-quote { font-family: var(--font-display); }
.plan .plan-name { font-family: var(--font-display-light); font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.hash { font-family: var(--font-mono); font-size: 12px; word-break: break-all; color: var(--ink-2); }
/* small gold text on the light #EFEEE9 band needs one step deeper for AA (4.60:1) */
.trust { --gold: #8f6216; }
:root[data-theme="dark"] .trust { --gold: #ebcb86; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trust { --gold: #ebcb86; } }

/* AC-9: the beta (invite-only) application form */
.beta-form { display: grid; gap: 18px; max-width: 30em; }
.beta-form label { display: grid; gap: 8px; font-size: 14px; }
.beta-form label span { opacity: .72; }
.beta-form input, .beta-form textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; }
.beta-form input:focus, .beta-form textarea:focus { outline: none; border-color: var(--ink); }
.beta-form .btn { justify-self: start; }
.beta-form .btn[disabled] { opacity: .6; cursor: default; }
.beta-status { min-height: 1.4em; font-size: 14px; }
.beta-done h3 { font-size: 22px; font-weight: 600; }
.beta-done p { margin-top: 10px; }
