/* ShillGPT.com — site styles. Depends on fonts.css + themes.css.
 * One codebase, three design directions (data-dir) x light/dark (data-mode).
 * Rules of the house: hairlines instead of shadows, one accent per theme,
 * ALL CAPS always tracked >= .06em, display tracking negative, no emoji icons. */

/* ── 1. Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--sel); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 1px; }
:focus:not(:focus-visible) { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 10px 16px; z-index: 100; font-family: var(--font-mono); font-size: 13px; }
.skip-link:focus { left: 12px; top: 12px; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.caps { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 500; }
.small { font-size: 14px; }
.hair { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ── 2. Typography ────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -0.02em; }
h1, h2, .statement .big { text-wrap: balance; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.5; color: var(--fg-soft); max-width: 60ch; }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { margin: 1.6em 0 0.5em; }
.prose h3 { margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }
.label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
[data-dir="digest"] .label { font-family: var(--font-body); letter-spacing: 0.07em; }
.num { font-variant-numeric: tabular-nums; }

/* per-direction display tweaks */
[data-dir="digest"] h1, [data-dir="digest"] h2 { letter-spacing: -0.008em; font-weight: 700; }
[data-dir="digest"] .serif-lead { font-family: var(--font-display); font-style: italic; }
[data-dir="ops"] h1, [data-dir="ops"] h2 { letter-spacing: 0; font-weight: 600; }
[data-dir="ops"] h2 { font-size: clamp(24px, 2.6vw, 32px); }
/* night default: Ops typography inside the Digest palette */
[data-dir="digest"][data-mode="dark"] h1, [data-dir="digest"][data-mode="dark"] h2 { letter-spacing: -0.01em; font-weight: 600; }
[data-dir="digest"][data-mode="dark"] h2 { font-size: clamp(24px, 2.6vw, 32px); }
[data-dir="digest"][data-mode="dark"] .label { font-family: var(--font-mono); }

/* ── 3. Layout ────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 28px; }
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.sec-head h2 { max-width: 22ch; }
.sec-head p { margin-top: 12px; max-width: 62ch; color: var(--fg-soft); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ── 4. Header ────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 24px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
[data-dir="ops"] .brand { font-weight: 600; letter-spacing: -0.01em; }
.brand .brand-dot { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.site-nav a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--fg-soft); padding: 8px 0; }
.site-nav a:hover { color: var(--fg); }
.site-nav a[aria-current="page"] { color: var(--fg); border-bottom: 2px solid var(--accent); }
.site-head .btn { padding: 9px 16px; font-size: 13.5px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; color: var(--fg); }
.nav-toggle svg { display: block; }

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 11px 20px; font: inherit; font-size: 15px; font-weight: 550; letter-spacing: 0.01em; cursor: pointer; border-radius: var(--radius); border: 1px solid transparent; text-decoration: none; transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease); }
.btn-solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-solid:hover { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 88%, var(--fg) 12%); border-color: transparent; }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 550; color: var(--fg); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--accent); }

/* ── 6. Hero ──────────────────────────────────────────────── */
.hero { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { margin-bottom: 18px; max-width: 17ch; }
[data-dir="ops"] .hero h1, [data-dir="digest"][data-mode="dark"] .hero h1 { max-width: 24ch; font-size: clamp(30px, 3.6vw, 46px); }
.hero .hero-sub { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--fg-soft); max-width: 46ch; margin-bottom: 28px; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hero-meta span { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); }
.fact-panel { border: 1px solid var(--line); background: var(--surface); padding: 22px 24px; border-radius: var(--radius); }
.fact-panel .label { display: block; margin-bottom: 14px; }
.fact-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.fact-row:first-of-type { border-top: 0; }
.fact-row dt { font-size: 13.5px; color: var(--muted); }
.fact-row dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── 7. Platform strip ────────────────────────────────────── */
.platforms { padding: 26px 0; border-bottom: 1px solid var(--line); }
.platforms .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; }
.platforms .label { margin-right: 6px; }
.platforms ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; margin: 0; padding: 0; }
.platforms li { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.platforms svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.platforms li span { font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }

/* ── 8. Editorial two-col ─────────────────────────────────── */
.editorial { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); }
.editorial .prose { max-width: 58ch; }
.pull-fact { border-top: 2px solid var(--accent); padding-top: 16px; }
.pull-fact .big { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 46px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 10px; }

/* ── 9. Modules (services bento) ──────────────────────────── */
.modules { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module { background: var(--bg); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.module h3 { letter-spacing: -0.01em; }
.module h3 a { text-decoration: none; }
.module h3 a:hover { color: var(--accent); text-decoration: underline; }
.module p { margin: 0; color: var(--fg-soft); font-size: 14.5px; line-height: 1.55; max-width: 52ch; }
.module .module-foot { margin-top: auto; padding-top: 10px; }
.module-a { grid-column: span 3; }
.module-b { grid-column: span 3; }
.module-c { grid-column: span 3; }
.module-d { grid-column: span 3; }
.module-e { grid-column: span 6; }
.module .idx { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); }
.module-lead { font-size: 16px !important; color: var(--fg) !important; }

/* ── 10. Ledger (record numbers) ──────────────────────────── */
.ledger { border-top: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger-row .big { font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 56px); font-weight: 650; letter-spacing: -0.025em; line-height: 1; font-variant-numeric: tabular-nums; }
.ledger-row .what { color: var(--fg-soft); max-width: 52ch; }

/* ── 11. Process ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.step { background: var(--bg); padding: 24px 22px 28px; }
.step .verb { font-family: var(--font-display); font-weight: 650; font-size: 19px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 14px; color: var(--fg-soft); }
.step .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); display: block; margin-bottom: 14px; }

/* ── 12. Statement (heritage) ─────────────────────────────── */
.statement { border: 1px solid var(--line); border-left: 0; border-right: 0; padding: clamp(40px, 5vw, 72px) 0; }
.statement .big { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; max-width: 32ch; margin-bottom: 22px; }
.statement .cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); max-width: 980px; }
.statement p { color: var(--fg-soft); }

/* ── 13. Quotes ───────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.quote { background: var(--bg); padding: 26px 24px; }
.quote blockquote { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; }
[data-dir="digest"] .quote blockquote { font-family: var(--font-display); font-style: italic; font-size: 17px; }
.quote .who { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); }
.quote-slot { background: color-mix(in srgb, var(--bg-soft) 55%, var(--bg) 45%); }

/* ── 14. Pricing ──────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tier { background: var(--bg); padding: 28px 26px; display: flex; flex-direction: column; }
.tier .tier-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.tier .price { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 650; letter-spacing: -0.02em; margin-bottom: 4px; }
.tier .per { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; font-size: 14.5px; }
.tier ul li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--fg-soft); }
.tier ul li strong { color: var(--fg); font-weight: 550; }
.tier .tier-foot { margin-top: auto; }
.tier .flag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* ── 15. FAQ ──────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(16.5px, 1.7vw, 19px); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mark { font-family: var(--font-mono); font-size: 15px; color: var(--muted); transition: transform var(--motion-fast) var(--ease); flex: none; }
.faq details[open] summary .mark { transform: rotate(45deg); color: var(--accent); }
.faq .answer { padding: 0 0 24px; max-width: 74ch; color: var(--fg-soft); }
.faq .answer p { margin-bottom: 0.8em; }

/* ── 16. Contact / forms ──────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 72px); }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.contact-info dd { margin: 6px 0 0; font-size: 15.5px; }
.form { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-size: 13.5px; font-weight: 550; margin-bottom: 7px; }
.form .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form select, .form textarea {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form input:user-invalid, .form select:user-invalid, .form textarea:user-invalid { border-color: #B3261E; }
.form .err { display: none; font-size: 12.5px; color: #B3261E; margin-top: 6px; }
.form .field.invalid .err { display: block; }
.form .check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; }
.form .check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.form .check label { font-size: 13px; font-weight: 400; color: var(--fg-soft); margin: 0; }
.form .form-status { display: none; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14.5px; }
.form .form-status.ok { display: block; border-color: color-mix(in srgb, #1E7A44 55%, var(--line)); }
.form .form-status.bad { display: block; border-color: color-mix(in srgb, #B3261E 55%, var(--line)); }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form .fineprint { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ── 17. Footer ───────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); padding: 44px 0 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; margin-bottom: 34px; }
.foot-grid h4 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { font-size: 14px; text-decoration: none; color: var(--fg-soft); }
.foot-grid a:hover { color: var(--fg); text-decoration: underline; }
.foot-brand p { font-size: 14px; color: var(--muted); max-width: 30ch; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: baseline; }
.foot-bottom p, .foot-bottom a { font-size: 12.5px; color: var(--muted); }

/* ── 18. Theme dock (preview switcher) ────────────────────── */
.theme-dock { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 12px; display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em; }
.theme-dock .dock-label { color: var(--muted); }
.theme-dock .seg { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.theme-dock button { appearance: none; background: transparent; border: 0; border-left: 1px solid var(--line); color: var(--fg-soft); font: inherit; padding: 6px 9px; cursor: pointer; }
.theme-dock .seg button:first-child { border-left: 0; }
.theme-dock button:hover { color: var(--fg); }
.theme-dock button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.theme-dock .dock-hint { color: var(--muted); max-width: 15ch; line-height: 1.35; }
@media (max-width: 720px) { .theme-dock .dock-hint { display: none; } .theme-dock { left: 12px; right: 12px; justify-content: space-between; } }

/* ── 19. Page-specific bits ───────────────────────────────── */
.page-head { padding: clamp(44px, 5vw, 72px) 0 clamp(30px, 3.5vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 24ch; }
.page-head .lede { margin-top: 16px; }
.crumb { margin-bottom: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); }
.crumb a { color: var(--muted); }
.plat-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 3vw, 56px); padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); }
.plat-sec:last-child { border-bottom: 0; }
.plat-id { display: flex; gap: 14px; align-items: flex-start; }
.plat-id svg { width: 26px; height: 26px; fill: currentColor; margin-top: 3px; flex: none; }
.plat-id h2 { font-size: clamp(22px, 2.3vw, 28px); }
.plat-sec .body p { color: var(--fg-soft); max-width: 66ch; }
.dont { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--bg-soft); }
.dont ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--fg-soft); }
.dont li { margin-bottom: 8px; }
.timeline { border-left: 1px solid var(--line-strong); margin-left: 6px; padding-left: 22px; }
.tl-row { position: relative; padding-bottom: 26px; }
.tl-row::before { content: ""; position: absolute; left: -27px; top: 6px; width: 9px; height: 9px; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; }
.tl-row .t { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.tl-row h3 { margin: 4px 0 6px; font-size: 18px; }
.tl-row p { margin: 0; color: var(--fg-soft); font-size: 14.5px; max-width: 58ch; }
.note-box { border: 1px solid var(--line-strong); border-left: 2px solid var(--accent); padding: 16px 18px; font-size: 14px; color: var(--fg-soft); border-radius: var(--radius); }
[data-dir="digest"] .note-box { border-left-width: 1px; border-top: 2px solid var(--accent); }
.err-404 { padding: 96px 0; }
.err-404 .code { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }

/* form: brief page blocks */
.brief-block { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 26px; }
.brief-block h3 { margin-bottom: 4px; }
.brief-block .block-note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-fields .field.span2 { grid-column: span 2; }
.switch-row { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.switch-row input { width: 17px; height: 17px; accent-color: var(--accent); }
.switch-row label { font-size: 14px; font-weight: 500; }

/* ── comparison table ── */
table.cmp { width: 100%; border-collapse: collapse; margin: 22px 0 10px; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line-strong); }
table.cmp td:first-child { color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { table.cmp { font-size: 14px; } table.cmp td:first-child { white-space: normal; } }

/* ── 20. Responsive ───────────────────────────────────────── */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .fact-panel { margin-top: 8px; }
  .editorial { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .module { grid-column: span 1 !important; }
  .module-e { grid-column: span 2 !important; }
  .steps { grid-template-columns: 1fr 1fr; }
  .statement .cols { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .plat-sec { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .grid-fields { grid-template-columns: 1fr; }
  .grid-fields .field.span2 { grid-column: span 1; }
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 28px 20px; }
  .site-nav.open a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav.open .btn { margin-top: 10px; }
  .nav-toggle { display: inline-flex; }
  .site-head { position: sticky; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 18px; }
  .hero { padding-top: 40px; }
  .ledger-row { grid-template-columns: 1fr; gap: 6px; }
  .module-e { grid-column: span 1 !important; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  h1 { font-size: clamp(32px, 9.5vw, 44px); }
  .hero .hero-sub { font-size: 16.5px; }
}

/* ── 21. Motion & print ───────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .hero-sub, .hero .btn-row { animation: rise 0.5s var(--ease) both; }
  .hero .hero-sub { animation-delay: 0.06s; }
  .hero .btn-row { animation-delay: 0.12s; }
  .hero .fact-panel { animation: rise 0.55s var(--ease) 0.16s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media print {
  .site-head, .theme-dock, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
