/* Stratholt™ website. Plain CSS, no build step.

   Design system (README: "Design system"): every colour, corner, size, font and movement comes from the tokens in
   section 1; buttons, links, tabs, inputs and the rest are built once in section 3 and reused. components.html
   shows them all, and tools/check_consistency.py fails when a page, this file or site.js goes off-system.

   Order: 1 tokens, 2 base, 3 components, 4 page sections, 5 narrower screens, 6 utilities (last, so they win).

   Look (owner, 2026-11-16, "plain navy"): the brand navy, photos edge to edge, a plain top bar, flat buttons with
   small corners, figures in a flat ledger strip, one type family (Barlow; Barlow Semi Condensed for headlines and the
   wordmark). Nothing frosted, glowing, grainy or pill-shaped: those read as AI-made. Copy stays plain: no punchy
   two-fragment headlines, no coloured italic words, no pill label above the headline. Never imitate a government site. */

/* =============================== 1. tokens =============================== */
:root {
  color-scheme: dark;

  /* surfaces */
  --background: #0B1C33;
  --background-2: #10243F;
  --surface: #0A1B33;              /* behind the header photos */
  --surface-glow: #183A66;         /* lit side of the orbit panel */
  --card: rgba(255,255,255,.05);
  --card-solid: #12284A;
  --glass: rgba(14,34,62,.72);
  --glass-nav: rgba(12,30,56,.55);
  --popover: rgba(8,12,22,.92);
  --overlay: 8 22 42;              /* photo overlays: rgb(var(--overlay) / .9) */

  /* text */
  --foreground-strong: #FFFFFF;
  --foreground: #EEF2F7;
  --foreground-soft: #D6DEE8;      /* body text over photos */
  --muted-foreground: #B3C0CF;
  --subtle-foreground: #8494A8;

  /* lines and fills (white at set strengths) */
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --input: rgba(255,255,255,.16);
  --input-hover: rgba(255,255,255,.28);
  --fill-faint: rgba(255,255,255,.04);
  --fill: rgba(255,255,255,.08);
  --fill-strong: rgba(255,255,255,.12);
  --fill-hover: rgba(255,255,255,.18);

  /* brand */
  --primary: #FF7A00;
  --primary-hover: #FF8F2A;
  --primary-foreground: #140A02;
  --primary-soft: rgba(255,122,0,.10);
  --primary-muted: rgba(255,122,0,.16);
  --primary-line: rgba(255,122,0,.55);
  --primary-line-soft: rgba(255,122,0,.18);
  --primary-text: #FFC08A;
  --link: #FFB36B;
  --ring: #FF7A00;

  /* status */
  --success: #57C98A;
  --success-soft: rgba(87,201,138,.12);
  --success-text: #BDF0D2;
  --destructive: #FF7A6B;
  --destructive-soft: rgba(255,90,70,.14);
  --destructive-text: #FFC4BB;

  /* data drawings: hero lights, orbit, cost flow, sparkline (site.js reads these with tk()) */
  --viz-erp: #8FB7FF;
  --viz-erp-text: #DCE6F2;
  --viz-label: #A9B6C6;
  --viz-orange: #FF9A3C;
  --viz-orange-light: #FFB36B;
  --viz-note: #FFE2C6;
  --viz-set-aside: #FF6B5B;
  --viz-set-aside-text: #FF8A7A;
  --viz-light: #FFF1DC;
  --viz-light-glow: #FFE7C2;
  --viz-arc: rgba(170,205,255,.22);
  --viz-arc-hot: rgba(255,122,0,.75);
  --viz-dot: #DCE8FF;
  --viz-hot-halo: rgba(255,122,0,.25);
  --viz-globe-hi: #1C3A66;
  --viz-globe-lo: #060B16;
  --viz-globe-line: rgba(140,190,255,.35);
  --viz-globe-halo: rgba(90,150,255,.2);
  --viz-globe-halo-end: rgba(90,150,255,0);
  --viz-ring: rgba(255,255,255,.07);

  /* type */
  --font-display: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-sans: "Barlow", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, Arial, sans-serif;
  --font-mono: Consolas, "Cascadia Mono", "SF Mono", Menlo, monospace;

  /* corners */
  --radius-xs: 4px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 999px;

  /* spacing scale (4px steps) used by the utilities */
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;

  /* control heights */
  --control-sm: 38px;
  --control-md: 46px;
  --control-lg: 54px;

  /* shadows */
  --shadow-panel: 0 20px 50px rgba(0,0,0,.35);
  --shadow-primary: 0 6px 24px rgba(255,122,0,.25);

  /* motion: four durations, two curves. Nothing else moves. */
  --duration-fast: 120ms;          /* hover and press */
  --duration-base: 200ms;          /* state changes: tab, accordion arrow, focus */
  --duration-slow: 320ms;          /* something appearing: tab panel, answer, drill-down step */
  --duration-draw: 1600ms;         /* data drawing in: the hero's arcs */
  --ease-standard: cubic-bezier(.2,0,0,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* layout */
  --wrap: 1200px;
  --gutter: 32px;
}

/* =============================== 2. base =============================== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--background); }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: 17.5px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; transition: color var(--duration-fast) var(--ease-standard); }
a:hover { color: var(--primary-text); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--foreground-strong); color: var(--primary-foreground); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 30; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.012em; color: var(--foreground-strong); }
h1 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: .96; margin: 0 0 22px; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1; margin: 0 0 16px; }
h3 { font-size: 1.06rem; line-height: 1.35; margin: 0 0 6px; color: var(--foreground-strong); font-weight: 600; }
.section-intro { color: var(--muted-foreground); max-width: 62ch; margin: 0 0 40px; font-size: 1.08rem; }
.big-intro { font-size: 1.12rem; max-width: 52ch; margin: 0 0 14px; color: var(--foreground); }
.fine { font-size: .82rem; color: var(--subtle-foreground); margin: 14px 0 0; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* the two named animations. Use them through the components, with the duration and curve tokens. */
@keyframes enter { from { opacity: 0; transform: translateY(var(--enter-y, 6px)); } }
@keyframes fade { from { opacity: 0; } }

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

/* =============================== 3. components =============================== */

/* ---- button: .btn (primary) + at most one variant + at most one size ----
   variants: .btn-secondary  .btn-outline  .btn-ghost  .btn-link        sizes: .btn-sm  .btn-lg
   One primary button per view; the second action is .btn-outline. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--control-md); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-xs); background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font-sans); font-size: .97rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; box-shadow: none;
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.btn:hover { background: var(--primary-hover); color: var(--primary-foreground); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; box-shadow: none; }
.btn-secondary { background: var(--fill-strong); color: var(--foreground-strong); box-shadow: none; }
.btn-secondary:hover { background: var(--fill-hover); color: var(--foreground-strong); }
.btn-outline { background: transparent; color: var(--foreground-strong); border-color: var(--input-hover); box-shadow: none; }
.btn-outline:hover { background: var(--fill-strong); color: var(--foreground-strong); }
.btn-ghost { background: transparent; color: var(--foreground-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--fill); color: var(--foreground-strong); }
.btn-sm { height: var(--control-sm); padding: 0 16px; font-size: .88rem; }
.btn-lg { height: var(--control-lg); padding: 0 28px; font-size: 1.02rem; }
/* link-style button: works alone (inside tables and breadcrumbs) or as a .btn variant */
.btn-link { display: inline; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--link); font: inherit; text-align: left; white-space: normal; cursor: pointer; text-underline-offset: .18em;
  transition: color var(--duration-fast) var(--ease-standard); }
.btn-link:hover { background: none; color: var(--primary-text); text-decoration: underline; }
.btn-link:active { transform: none; }
.btn-link:disabled { opacity: .5; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- header and nav (sits on the cinematic panel at the top of every page) ---- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px; padding-top: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border-strong); }
.site-header .btn { justify-self: end; }
.wordmark { color: var(--foreground-strong); text-decoration: none; line-height: 1.1; justify-self: start; }
.wordmark:hover { color: var(--foreground-strong); }
.wordmark strong { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .08em; font-weight: 800; }
.wordmark strong sup { font-size: .55em; letter-spacing: 0; font-weight: 400; }
.wordmark span { display: block; font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 3px; }
.navlinks { display: flex; gap: 30px; justify-self: end; }
.navlinks a { color: var(--foreground-soft); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0;
  transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard); }
.navlinks a:hover { color: var(--foreground-strong); }
.navlinks a[aria-current="page"] { color: var(--foreground-strong); box-shadow: inset 0 -2px 0 var(--primary); }

/* ---- tabs ---- */
.tabs { display: flex; border-bottom: 1px solid var(--border); padding: 8px 8px 0; gap: 4px; }
.tabs button { font: inherit; font-size: .94rem; font-weight: 600; color: var(--muted-foreground); background: none; border: 0; padding: 12px 18px; cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0; border-bottom: 2px solid transparent;
  transition: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-base) var(--ease-standard); }
.tabs button:hover { color: var(--foreground-strong); }
.tabs button[aria-selected="true"] { color: var(--foreground-strong); border-bottom-color: var(--primary); background: var(--fill-faint); }
.tab-panel { padding: 22px 24px 26px; }
.tab-panel[hidden] { display: none; }
.tab-panel:not([hidden]) { animation: enter var(--duration-slow) var(--ease-out); }

/* ---- accordion (FAQ) ---- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--foreground-strong); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color var(--duration-fast) var(--ease-standard); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--muted-foreground); border-bottom: 1.5px solid var(--muted-foreground);
  transform: translateY(-3px) rotate(45deg); transition: transform var(--duration-base) var(--ease-standard); }
.faq details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--link); }
.faq details > div { padding: 0 0 18px; color: var(--muted-foreground); max-width: 70ch; }
.faq details[open] > div { --enter-y: -4px; animation: enter var(--duration-slow) var(--ease-out); }
.faq details > div p { margin: 0; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }

/* ---- form controls ---- */
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--foreground-strong); }
label .opt { font-weight: 400; color: var(--subtle-foreground); }
input, select, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--input); border-radius: var(--radius-sm); background: var(--fill-faint); color: var(--foreground);
  transition: border-color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard); }
input:hover, select:hover, textarea:hover { border-color: var(--input-hover); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ring); outline-offset: 0; }
select option { background: var(--card-solid); }
textarea { min-height: 130px; resize: vertical; }
.hint { font-size: .86rem; color: var(--subtle-foreground); margin-top: 6px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 600; color: var(--foreground-strong); margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--foreground); margin-bottom: 6px; }
.check input { width: auto; margin-top: 6px; accent-color: var(--primary); }

/* ---- surfaces: card, glass, note, banner ---- */
.grid, .feat-grid, .edge-grid, .pains, .show-steps, .facts3 { display: grid; gap: 16px; align-items: stretch; }
.grid.two, .pains { grid-template-columns: repeat(2, 1fr); }
.grid.three, .edge-grid, .show-steps { grid-template-columns: repeat(3, 1fr); }
.facts3 { grid-template-columns: repeat(4, 1fr); }
.feat-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card, .icon-card, .feat, .edge-card, .pain-item, .facts3 > div { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 22px 24px; }
.card p, .icon-card p, .feat p, .edge-card p, .pain-item p, .facts3 p { margin: 0; color: var(--muted-foreground); }
.card ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted-foreground); }
.card li + li { margin-top: 4px; }
.glass { background: var(--background); padding: 18px 22px 20px; }
.note { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; }
.note p { margin: 0; }
.placeholder-banner { border: 1px dashed var(--primary-line); background: var(--primary-soft); padding: 12px 16px; margin-bottom: 24px; border-radius: var(--radius-sm); }
.placeholder-banner p { margin: 0; }

/* ---- tooltip ---- */
.flow-tip { position: absolute; z-index: 6; background: var(--popover); color: var(--foreground); border: 1px solid var(--border-strong); padding: 9px 12px; font-size: .82rem; line-height: 1.45; border-radius: var(--radius-sm); pointer-events: none; white-space: nowrap; backdrop-filter: blur(6px); }
.flow-tip:not([hidden]) { animation: fade var(--duration-fast) var(--ease-out); }
.flow-tip b { display: block; font-family: var(--font-mono); }
.flow-tip em { font-style: normal; color: var(--primary); }
.flow-tip span { color: var(--link); }

/* ---- marks: yes / no / partly ---- */
.mk { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; position: relative; }
.mk.yes { background: var(--primary); }
.mk.yes::after { content: ""; width: 8px; height: 4px; border-left: 2px solid var(--primary-foreground); border-bottom: 2px solid var(--primary-foreground); transform: rotate(-45deg) translate(1px,-1px); }
.mk.no { border: 1px solid var(--input-hover); }
.mk.no::before, .mk.no::after { content: ""; position: absolute; width: 9px; height: 1.5px; background: var(--subtle-foreground); transform: rotate(45deg); }
.mk.no::after { transform: rotate(-45deg); }
.mk.part { border: 1px solid var(--input-hover); background-image: linear-gradient(90deg, rgba(255,255,255,.35) 50%, transparent 50%); }

/* ---- lists ---- */
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { padding: 16px 0; border-top: 1px solid var(--border); }
.rules p { margin: 0; color: var(--muted-foreground); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 4px 0 4px 26px; color: var(--foreground); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 11px; height: 5px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.never { list-style: none; margin: 0; padding: 0; }
.never li { padding: 11px 0 11px 28px; border-top: 1px solid var(--border); position: relative; color: var(--foreground); }
.never li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; border-top: 2px solid var(--primary); }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-md); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--fill-faint); color: var(--foreground-strong); font-weight: 600; }
td { color: var(--muted-foreground); }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.ledger { margin: 0; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-md); overflow: hidden; }
.ledger-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.ledger-head span { color: var(--subtle-foreground); }
.ledger td { padding: 10px 18px; }
.ledger td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--foreground-strong); }
.ledger tr.result td { background: var(--success-soft); color: var(--success); font-weight: 700; }
.ledger.words td:first-child { width: 42%; }
.ledger.words td:last-child { text-align: left; font-weight: 600; }

/* ---- screenshots ---- */
figure.shot { margin: 0; }
figure.shot img { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); width: 100%; }
figure.shot figcaption { font-size: .82rem; color: var(--subtle-foreground); margin-top: 8px; }

/* =============================== 4. page sections =============================== */


/* cinematic panels: the home hero, each page's header, the closing panel */
.hero, .page-head, .cta-panel { position: relative; overflow: hidden; margin: 0; border-radius: 0; background-color: var(--surface); background-size: cover; background-position: center bottom; }
.hero > .wrap, .page-head > .wrap, .cta-panel > .wrap { position: relative; z-index: 2; }

/* home hero: the owner's Earth at night (2000 x 1133); the work-package lights in #night-svg use the photo's own
   pixel grid, so both stay centred. If the photo changes, update the hub and outline in site.js (nightLights). */
.hero { min-height: 800px; padding: 190px 0 280px; background-image: url("../img/earth-night.jpg"); background-position: center center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--overlay) / .94) 0%, rgb(var(--overlay) / .72) 36%, rgb(var(--overlay) / .18) 70%, rgb(var(--overlay) / .05) 100%),
    linear-gradient(180deg, rgb(var(--overlay) / .55) 0%, rgb(var(--overlay) / 0) 30%, rgb(var(--overlay) / 0) 70%, rgb(var(--overlay) / .85) 100%); }
#night-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
#night-svg .hit { cursor: pointer; }
#night-svg .arc { transition: stroke-dashoffset var(--duration-draw) var(--ease-out); }
.hero .copy { max-width: 760px; }
.hero p.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--foreground-soft); max-width: 48ch; margin: 0 0 32px; }

/* page headers: every one the same height as the home hero, each with the owner's own photo */
.page-head { min-height: 760px; display: flex; flex-direction: column; justify-content: center; padding: 170px 0 110px; background-image: url("../img/earth-night-1200.jpg"); background-position: 70% 55%; }
.page-head > .wrap { width: 100%; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgb(var(--overlay) / .94) 0%, rgb(var(--overlay) / .7) 45%, rgb(var(--overlay) / .25) 100%); }
.page-head h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); max-width: 18ch; }
.page-head p { color: var(--foreground-soft); font-size: 1.12rem; max-width: 58ch; margin: 0; }
.page-head.head-features { background-image: url("../img/photo-dusk-ridge.jpg"); background-position: 60% 70%; }
.page-head.head-how { background-image: url("../img/photo-sea-launch.jpg"); background-position: 65% bottom; }
.page-head.head-security { background-image: url("../img/photo-ship.jpg"); background-position: 70% 55%; }
.page-head.head-contact { background-image: url("../img/photo-hangar.jpg"); background-position: 70% center; }
.page-head.head-contact::before { background: linear-gradient(90deg, rgb(var(--overlay) / .94) 0%, rgb(var(--overlay) / .7) 42%, rgb(var(--overlay) / .15) 100%); }
/* components.html: a short header with no photo */
.page-head.head-plain { min-height: 0; padding: 150px 0 56px; background-image: none; }

/* live data panels floating over the hero's bottom edge */
.live { position: relative; z-index: 5; margin: -150px auto 0; }
.live-grid { display: grid; grid-template-columns: 1.05fr 1fr 1.1fr 1.1fr; gap: 0; border-top: 2px solid var(--foreground-strong); background: var(--background); }
.live-grid .glass + .glass { border-left: 1px solid var(--border-strong); }
.glass h3 { font-family: var(--font-sans); font-size: .82rem; font-weight: 600; color: var(--muted-foreground); margin: 0 0 10px; display: flex; justify-content: space-between; gap: 8px; }
.glass h3 span { color: var(--subtle-foreground); font-weight: 400; }
.glass .rowl { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; padding: 4px 0; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.glass .rowl:first-of-type { border-top: 0; }
.glass .rowl span:first-child { color: var(--muted-foreground); }
.glass .rowl b { font-weight: 600; color: var(--foreground-strong); }
.glass .rowl b.hot { color: var(--primary); }
.glass .rowl b.ok { color: var(--success); }
.vbar { display: grid; grid-template-columns: 5.6em 1fr 4.2em; gap: 8px; align-items: center; font-size: .78rem; padding: 4px 0; }
.vbar span { color: var(--muted-foreground); }
.vbar i { position: relative; display: block; height: 8px; border-radius: var(--radius-full); background: var(--fill); overflow: hidden; }
.vbar i b { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background-image: linear-gradient(90deg, var(--primary), var(--viz-orange-light)); border-radius: var(--radius-full); }
.vbar em { font-style: normal; text-align: right; color: var(--foreground-strong); font-variant-numeric: tabular-nums; }
.spark { width: 100%; height: 92px; display: block; }
.spark .spark-top { stop-color: var(--primary); stop-opacity: .45; }
.spark .spark-bottom { stop-color: var(--primary); stop-opacity: 0; }
.spark polyline { stroke: var(--viz-orange); }
.spark circle { fill: var(--foreground-strong); }
.legend { font-size: .74rem; color: var(--subtle-foreground); margin-top: 6px; }
.live .fine { text-align: right; }

/* sections */
section { padding: 96px 0; position: relative; }
section.soft, section.wash { background: var(--background-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section.edge { background: var(--background-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.05; max-width: 22ch; margin: 0; color: var(--foreground-strong); }
.statement span { color: var(--muted-foreground); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1.2fr 1fr; }
.split.reverse > :first-child { order: 2; }

/* jobs: 2 x 2 cards with screens */
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.job { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 28px 0; overflow: hidden; display: flex; flex-direction: column; }
.job h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; margin-bottom: 10px; }
.job p { color: var(--muted-foreground); margin: 0 0 20px; max-width: 52ch; }
.job .shot-in { margin-top: auto; border-radius: var(--radius-sm) var(--radius-sm) 0 0; overflow: hidden; border: 1px solid var(--border-strong); border-bottom: 0; box-shadow: 0 -10px 40px rgba(255,90,31,.08); }
.job .shot-in img { width: 100%; }

/* software tour: the real app screens, one at a time, full width, with numbered notes */
.tour-list { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--border-strong); margin-bottom: 22px; }
.tour-list button { font: inherit; font-size: .98rem; font-weight: 600; color: var(--muted-foreground); background: none; border: 0; padding: 10px 0 12px; cursor: pointer;
  box-shadow: inset 0 -2px 0 transparent; transition: color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard); }
.tour-list button:hover { color: var(--foreground-strong); }
.tour-list button[aria-selected="true"] { color: var(--foreground-strong); box-shadow: inset 0 -2px 0 var(--primary); }
.tour-panel { margin: 0; }
.tour-panel[hidden] { display: none; }
.tour-panel:not([hidden]) { animation: fade var(--duration-base) var(--ease-out); }
.tour-text { min-width: 0; }
.tour-panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 44px; align-items: start; }
.tour-panel .lead-in { margin: 0 0 18px; color: var(--foreground-soft); font-size: 1.08rem; }
.tour-notes { list-style: none; margin: 0; padding: 0; }
.tour-notes li { padding: 12px 0; border-top: 1px solid var(--border); color: var(--muted-foreground); }
.tour-notes b { color: var(--foreground-strong); font-weight: 600; }
.tour-shot { display: block; }
.tour-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); box-shadow: var(--shadow-panel);
  transition: border-color var(--duration-fast) var(--ease-standard); }
.tour-shot:hover img { border-color: var(--input-hover); }
.tour-panel h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }

/* big numbers */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.numbers div { padding: 30px 24px; }
.numbers div + div { border-left: 1px solid var(--border); }
.numbers b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--foreground-strong); }
.numbers span { display: block; color: var(--muted-foreground); margin-top: 10px; font-size: .95rem; }

/* features page */
.feat .solves { display: block; font-size: .8rem; color: var(--subtle-foreground); margin-bottom: 6px; }
.feat .solves s { text-decoration: none; color: var(--muted-foreground); }
.builder { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 22px; margin-top: 6px; }
.builder p { margin: 0; color: var(--muted-foreground); max-width: 80ch; }
.builder strong { color: var(--foreground-strong); }

/* onboarding (how it works) */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 40px 130px 1fr; gap: 0 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.steps > li::before { content: counter(step) "."; font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.steps .when { color: var(--subtle-foreground); font-size: .92rem; padding-top: 2px; }
.steps h3 { margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted-foreground); }
.steps > li > div { grid-column: 3; }
.gantt-wrap { overflow-x: auto; margin: 8px 0 36px; }
.gantt { min-width: 620px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-md); overflow: hidden; }
.g-row { display: grid; grid-template-columns: 170px repeat(7, 1fr); align-items: center; min-height: 42px; border-top: 1px solid var(--border);
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: calc((100% - 170px) / 7) 100%; background-position: 170px 0; background-repeat: repeat-x; }
.g-row:first-child { border-top: 0; }
.g-head { background-color: var(--fill-faint); font-size: .8rem; color: var(--subtle-foreground); min-height: 34px; font-weight: 600; }
.g-head span { padding-left: 8px; }
.g-head span:first-child { align-self: stretch; border-right: 1px solid var(--border); }
.g-label { grid-column: 1; padding: 0 14px; font-size: .9rem; color: var(--foreground-strong); font-weight: 600; align-self: stretch; display: flex; align-items: center; border-right: 1px solid var(--border); }
.g-bar, .g-ms { grid-row: 1; grid-column: var(--col, auto); }
.g-bar { height: 10px; background: var(--subtle-foreground); margin: 0 4px; border-radius: var(--radius-full); }
.g-bar.hot { background: var(--primary); box-shadow: 0 0 14px rgba(255,122,0,.5); }
.g-ms { width: 11px; height: 11px; background: var(--foreground-strong); transform: rotate(45deg); margin-left: 8px; }

/* security page */
.spec { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 22px; }
.spec > div { display: grid; grid-template-columns: 12em 1fr; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { font-weight: 600; color: var(--foreground-strong); }
.spec dd { margin: 0; color: var(--muted-foreground); }
.docs-list { columns: 2; column-gap: 48px; margin: 0; padding-left: 20px; color: var(--muted-foreground); }
.docs-list li { margin-bottom: 10px; break-inside: avoid; }
.docs-list b { color: var(--foreground-strong); }

/* cost flow diagram */
.cover-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; overflow-x: auto; }
#flow-svg { width: 100%; min-width: 760px; height: auto; display: block; }

/* comparison: Stratholt as a raised column */
.vs-wrap { overflow-x: auto; padding: 18px 4px 6px; }
.vs { min-width: 860px; display: grid; }
.vs-row { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1.25fr; align-items: stretch; }
.vs-row > div { padding: 15px 16px; border-bottom: 1px solid var(--border); color: var(--muted-foreground); font-size: .94rem; display: flex; align-items: center; gap: 10px; }
.vs-row > div[role="rowheader"] { color: var(--foreground-strong); font-weight: 600; }
.vs-head > div { color: var(--foreground-strong); font-weight: 600; font-size: .92rem; border-bottom-color: var(--border-strong); }
.vs-row > .us { background-image: linear-gradient(180deg, rgba(255,122,0,.16), rgba(255,122,0,.10)); color: var(--foreground-strong); font-weight: 600; border-left: 1px solid var(--primary-line); border-right: 1px solid var(--primary-line); border-bottom-color: var(--primary-line-soft); }
.vs-head > .us { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--foreground-strong); border-top: 1px solid var(--primary-line); border-radius: var(--radius-md) var(--radius-md) 0 0; padding-top: 22px; margin-top: -18px; box-shadow: 0 -10px 40px rgba(255,122,0,.15); }
.vs-head > .us small { font-family: var(--font-sans); font-size: .76rem; color: var(--primary-text); font-weight: 600; letter-spacing: .02em; }
.vs-foot > div { border-bottom: 0; }
.vs-foot > .us { border-bottom: 1px solid var(--primary-line); border-radius: 0 0 var(--radius-md) var(--radius-md); padding: 16px; justify-content: center; }

/* closing panels */
.cta-panel { padding: 120px 0 130px; background-position: 70% 80%; text-align: left; }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgb(var(--overlay) / .85) 0%, rgb(var(--overlay) / .35) 55%, rgb(var(--overlay) / 0) 80%); }
.cta-panel h2 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16ch; }
.cta-panel p { color: var(--foreground-soft); max-width: 46ch; margin: 0 0 28px; font-size: 1.1rem; }
.orbit-panel { background-image: radial-gradient(ellipse at 72% 55%, var(--surface-glow) 0%, var(--background) 62%); min-height: 520px; }
.orbit-panel::before { display: none; }
#orbit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.demo-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface) url("../img/photo-satellite.jpg") 75% 45% / cover no-repeat; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 48px; border: 1px solid var(--border); }
.demo-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--overlay) / .95) 0%, rgb(var(--overlay) / .8) 50%, rgb(var(--overlay) / .35) 100%); }
.demo-panel > * { position: relative; z-index: 1; }
.demo-panel p { color: var(--foreground-soft); margin: 0; }
.demo-panel .actions { margin-top: 22px; }
.demo-panel ul { margin: 0; padding: 0 0 0 20px; color: var(--foreground-strong); }
.demo-panel li { padding: 4px 0; }

/* footer */
.site-footer { color: var(--subtle-foreground); font-size: .86rem; padding: 44px 0 52px; border-top: 1px solid var(--border); margin-top: 12px; }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr; }
.site-footer a { color: var(--foreground); }
.site-footer p { margin: 0 0 8px; }
.site-footer strong { color: var(--foreground-strong); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* interactive demo (home page) */
.noscript-note { color: var(--muted-foreground); }
.demo { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.tab-panel > p.how { margin: 0 0 14px; color: var(--muted-foreground); }
.challenge .ch-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-bottom: 12px; }
.ch-file { font-family: var(--font-mono); font-size: .84rem; color: var(--subtle-foreground); }
.ch-count { color: var(--muted-foreground); font-size: .92rem; }
.ch-timer { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; color: var(--foreground-strong); margin-left: auto; }
.ch-timer.low { color: var(--destructive); }
.ch-table { font-family: var(--font-mono); font-size: .8rem; min-width: 760px; }
.ch-table th { font-family: var(--font-sans); font-size: .76rem; white-space: nowrap; }
.ch-table td { padding: 7px 12px; white-space: nowrap; color: var(--foreground-soft); transition: background-color var(--duration-fast) var(--ease-standard); }
.ch-table .r { text-align: right; }
.ch-table tbody tr[data-i] { cursor: pointer; }
.ch-table tbody tr[data-i]:hover td { background: var(--fill-faint); }
.ch-table td.mk { width: 32px; }
.ch-table td.mk span { display: inline-block; width: 14px; height: 14px; border: 1px solid var(--input-hover); border-radius: var(--radius-xs); vertical-align: middle; transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard); }
.ch-table tr.marked td { background: var(--primary-muted); }
.ch-table tr.marked td.mk span { background: var(--primary); border-color: var(--primary); }
.done .ch-table tbody tr[data-i] { cursor: default; }
.ch-table tr.flagged td { background: var(--destructive-soft); color: var(--destructive-text); }
.ch-table tr.flagged.marked td { background: var(--success-soft); color: var(--success-text); }
.ch-table tr.fine td { color: var(--subtle-foreground); text-decoration: line-through; }
.ch-table tr.flag-row td { white-space: normal; font-family: var(--font-sans); font-size: .86rem; background: transparent; color: var(--foreground-strong); padding: 6px 12px 12px; animation: fade var(--duration-slow) var(--ease-out); }
.ch-table tr.flag-row .engine { display: block; color: var(--muted-foreground); font-size: .8rem; margin-top: 2px; }
.ch-result { margin-top: 14px; }
.ch-result p { margin: 0 0 4px; }
.trace > * { --enter-y: 4px; animation: enter var(--duration-base) var(--ease-out); }
.trace h3 { font-size: 1.15rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 4px 0 6px; }
.trace h3 span { font-variant-numeric: tabular-nums; }
.trace h4 { margin: 22px 0 8px; font-size: .95rem; color: var(--foreground-strong); }
.tr-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 12px; font-size: .88rem; }
.tr-crumbs span { color: var(--subtle-foreground); }
.tr-crumbs .btn-link:last-child { color: var(--foreground-strong); font-weight: 600; cursor: default; text-decoration: none; }
.tr-tieout, .tr-list { font-size: .94rem; border: 1px solid var(--border); border-radius: var(--radius-sm); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.tr-tieout td, .tr-list td, .tr-list th { padding: 10px 14px; transition: background-color var(--duration-fast) var(--ease-standard); }
.tr-tieout td { color: var(--foreground); }
.trace .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tr-tieout tr.sub td:first-child { padding-left: 30px; }
.tr-tieout tr.strong td { font-weight: 600; color: var(--foreground-strong); }
.tr-tieout tr.result td { background: var(--success-soft); color: var(--success); font-weight: 700; }
.tr-tieout tr.go:hover td, .tr-list tr.go:hover td { background: var(--fill-faint); }
.tr-hint, .tr-sub { color: var(--subtle-foreground); font-size: .86rem; margin: 10px 0 0; }
.tr-check { font-size: .86rem; color: var(--destructive); margin: 0 0 12px; }
.tr-check.ok { color: var(--success); }
.hotnum { color: var(--primary); font-weight: 700; }
.tr-ce { display: grid; gap: 6px; margin: 6px 0 4px; max-width: 620px; }
.tr-ce div { display: grid; grid-template-columns: 9em 1fr 7.5em; gap: 12px; align-items: center; font-size: .86rem; color: var(--muted-foreground); }
.tr-ce i { display: block; width: var(--w, 0%); height: 8px; background: var(--primary); border-radius: var(--radius-full); }
.tr-ce b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--foreground-strong); }
.tr-lines { font-size: .8rem; min-width: 860px; }
.tr-lines td, .tr-lines th { padding: 7px 12px; white-space: nowrap; }
.tr-lines td { color: var(--foreground-soft); }
.tr-lines .src { color: var(--subtle-foreground); font-family: var(--font-mono); font-size: .76rem; }
.tr-lines tr.moved td { background: var(--primary-soft); }
.tr-lines tr.why td { white-space: normal; color: var(--muted-foreground); font-size: .8rem; padding-top: 0; }
.tr-lines tr.why.moved td { color: var(--primary-text); }

/* components page (components.html, not linked from the site) */
.sg-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; margin-top: 22px; }
.sg-block { padding: 64px 0; border-top: 1px solid var(--border); }
.sg-block h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.sg-swatch { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--card); }
.sg-swatch i { display: block; height: 64px; background: var(--swatch, transparent); border-bottom: 1px solid var(--border); }
.sg-swatch span { display: block; padding: 8px 12px 10px; font-family: var(--font-mono); font-size: .76rem; color: var(--muted-foreground); }
.sg-swatch b { display: block; font-family: var(--font-sans); font-size: .84rem; color: var(--foreground-strong); font-weight: 600; }
.sg-matrix { display: grid; grid-template-columns: 9em repeat(4, minmax(0, 1fr)); gap: 14px 18px; align-items: center; }
.sg-matrix > .sg-head { font-size: .8rem; color: var(--subtle-foreground); font-weight: 600; }
.sg-matrix > .sg-name { font-size: .9rem; color: var(--foreground-strong); font-weight: 600; }
.sg-matrix > .sg-name code { display: block; font-weight: 400; }
.sg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.sg-radius { width: 84px; height: 64px; background: var(--fill); border: 1px solid var(--border-strong); }
.sg-radius.r-xs { border-radius: var(--radius-xs); }
.sg-radius.r-sm { border-radius: var(--radius-sm); }
.sg-radius.r-md { border-radius: var(--radius-md); }
.sg-radius.r-lg { border-radius: var(--radius-lg); }
.sg-radius.r-full { border-radius: var(--radius-full); }
.sg-radius + code { display: block; margin-top: 6px; }
code { font-family: var(--font-mono); font-size: .8rem; color: var(--primary-text); }
.sg-motion { width: 100%; }
.sg-motion td code { white-space: nowrap; }
.sg-stage { min-height: 120px; display: flex; align-items: center; gap: 16px; }
.sg-box { width: 120px; height: 72px; border-radius: var(--radius-md); background: var(--primary-muted); border: 1px solid var(--primary-line); }
.sg-box.is-playing { animation: enter var(--duration-slow) var(--ease-out); --enter-y: 16px; }
.sg-tip { position: static; display: inline-block; }
.sg-dont li { color: var(--muted-foreground); }

/* =============================== 5. narrower screens =============================== */
@media (max-width: 1080px) {
  .live-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .grid.three, .edge-grid, .show-steps, .facts3 { grid-template-columns: 1fr 1fr; }
  .two-col, .faq-cols { grid-template-columns: 1fr; gap: 28px; }
  .faq-cols { gap: 0; }
  .faq-cols > .faq + .faq { border-top: 0; }
  .jobs { grid-template-columns: 1fr; }
  .tour-list { flex-wrap: nowrap; overflow-x: auto; }
  .tour-list button { flex: none; }
  .tour-panel:not([hidden]) { grid-template-columns: 1fr; gap: 20px; }
  .tour-shot { order: -1; }
  .demo-panel { grid-template-columns: 1fr; padding: 30px 24px; gap: 20px; }
  .site-header .wrap { grid-template-columns: auto auto; }
  .navlinks { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .hero { padding-top: 220px; }
  .sg-matrix { grid-template-columns: 7em repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child { order: 0; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero::before, .page-head::before, .cta-panel::before { background: linear-gradient(180deg, rgb(var(--overlay) / .75) 0%, rgb(var(--overlay) / .5) 55%, rgb(var(--overlay) / .2) 100%); }
  .hero { background-image: url("../img/earth-night-1200.jpg"); }
  #night-svg { opacity: .4; }
  .page-head.head-features { background-image: url("../img/photo-dusk-ridge-1000.jpg"); }
  .page-head.head-how { background-image: url("../img/photo-sea-launch-1000.jpg"); }
  .page-head.head-security { background-image: url("../img/photo-ship-1000.jpg"); }
  .page-head.head-contact { background-image: url("../img/photo-hangar-1000.jpg"); }
  .demo-panel { background-image: url("../img/photo-satellite-1000.jpg"); }
  .orbit-panel { padding-bottom: 300px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .wordmark span { display: none; }
  .navlinks { gap: 16px; }
  .navlinks a { font-size: .86rem; }
  .site-header .btn { padding: 0 13px; font-size: .82rem; height: 34px; }
  .hero { min-height: 0; padding: 190px 0 230px; }
  .live { margin-top: -170px; }
  .live-grid { grid-template-columns: 1fr; }
  .live-grid .glass + .glass { border-left: 0; border-top: 1px solid var(--border-strong); }
  .page-head { min-height: 560px; padding: 170px 0 60px; }
  .page-head.head-plain { min-height: 0; padding: 150px 0 40px; }
  section { padding: 64px 0; }
  .grid.two, .grid.three, .edge-grid, .pains, .show-steps, .facts3 { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .numbers div + div { border-left: 0; border-top: 1px solid var(--border); }
  .job { padding: 22px 20px 0; }
  .tab-panel { padding: 16px 14px 18px; }
  .tabs button { padding: 10px 12px; font-size: .88rem; }
  .steps > li { grid-template-columns: 30px 1fr; }
  .steps .when { grid-column: 2; padding-top: 0; }
  .steps > li > div { grid-column: 2; }
  th, td { padding: 10px 12px; }
  .spec { padding: 4px 14px; }
  .spec > div { grid-template-columns: 1fr; }
  .docs-list { columns: 1; }
  .tr-ce div { grid-template-columns: 7em 1fr 6.5em; }
  .ch-timer { margin-left: 0; }
  .cta-panel { padding: 72px 0 80px; }
  .sg-matrix { grid-template-columns: 1fr 1fr; }
  .sg-matrix > .sg-head { display: none; }
  .sg-matrix > .sg-name { grid-column: 1 / -1; margin-top: 10px; }
}

/* =============================== 6. utilities =============================== */
/* Small, single-purpose classes instead of style="". Spacing only from the scale. */
.m-0 { margin: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-7 { margin-bottom: var(--space-7); }
.pt-0 { padding-top: 0; }
.items-start { align-items: start; }
.items-end { align-items: end; }
.cols-1 { grid-template-columns: 1fr; }
.stack-7 { display: grid; gap: var(--space-7); }
.measure { max-width: 72ch; }
.text-muted { color: var(--muted-foreground); }
