/* ── Temper marketing site ─ "precision tool catalog, tempered steel" ──
   The Temper identity: warm paper field, charcoal ink, ember-orange brand
   heat. Green appears only as the go/healthy semantic; cool steel gray-blue
   is reserved for the CFS/baseline series (cold steel vs. tempered heat).
   Code and terminals stay dark — forged panels in a light shop.
   Mono is the data voice; the system sans is the product voice.
   Zero external assets — fully self-contained, air-gap friendly. */

:root {
  /* field — warm paper */
  --bg: #faf6ee;
  --surface: #fffdf8;
  --surface-2: #f6f0e4;
  --surface-3: #efe7d7;
  --border: #e3d9c6;
  --border-strong: #cbbfa6;

  /* ink — charcoal */
  --text: #262019;
  --text-dim: #4d453a;
  --muted: #6d6355;
  --faint: #766b5a;

  /* brand heat — ember */
  --ember: #e35c0f;        /* graphic strokes, large display accents */
  --ember-deep: #c14a08;   /* CTAs, headline emphasis, hovers */
  --ember-ink: #a63e04;    /* body links, small text — AA on all fields */
  --ember-soft: rgba(227, 92, 15, 0.10);

  /* go / automated / healthy — semantic green only */
  --go: #2f9e57;
  --go-ink: #1e7a41;
  --go-soft: rgba(47, 158, 87, 0.12);

  /* cold steel — CFS / baseline series */
  --steel: #64798e;
  --steel-ink: #52657a;
  --steel-soft: rgba(100, 121, 142, 0.10);

  /* status */
  --red: #c2392b;
  --red-soft: rgba(194, 57, 43, 0.10);
  --amber: #8a5e0a;
  --amber-soft: rgba(216, 164, 60, 0.12);

  /* forged panels — dark code/terminal surfaces */
  --forge: #241d15;
  --forge-2: #2e251b;
  --forge-border: #3d3225;
  --forge-text: #e9e1d3;
  --forge-faint: #9a8d78;
  --forge-ember: #f0954a;
  --forge-straw: #d9a441;
  --forge-go: #6fce8f;

  /* tempering scale — the oxide colors of tempered steel */
  --straw: #d9a441;
  --bronze: #96580f;
  --scale: linear-gradient(90deg, #d9a441, #b46428 34%, #7d4a70 68%, #46647e);

  /* voices */
  --mono: ui-monospace, 'SFMono-Regular', 'SF Mono', 'Cascadia Code',
          'JetBrains Mono', Menlo, Consolas, monospace;
  --sans: -apple-system, 'Segoe UI', Inter, Roboto, 'Helvetica Neue',
          system-ui, sans-serif;

  --radius: 6px;
  --wrap: 1180px;
  --space-section: clamp(4.5rem, 3rem + 5vw, 9rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 14% -6%, rgba(227, 92, 15, 0.055), transparent 60%),
    radial-gradient(900px 620px at 96% 2%, rgba(216, 164, 60, 0.07), transparent 55%),
    linear-gradient(rgba(120, 100, 70, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 100, 70, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(227, 92, 15, 0.18); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--ember-deep);
  outline-offset: 2px;
  border-radius: 3px;
}

img, svg { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

/* ── header / nav ─────────────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(250, 246, 238, 0.88));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(227, 92, 15, 0.05);
}
.nav-row {
  display: flex; align-items: center; gap: 22px;
  padding: 14px 0;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 15px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--text); text-decoration: none;
  text-transform: uppercase; white-space: nowrap;
}
.wordmark .mark {
  width: 12px; height: 12px; flex: none;
  background: linear-gradient(135deg, var(--straw), var(--ember) 65%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 10px rgba(227, 92, 15, 0.45);
}
nav.primary { display: flex; gap: 2px; margin-left: 12px; }
nav.primary a {
  position: relative;
  font-family: var(--mono);
  color: var(--muted); text-decoration: none;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 7px 14px; border-radius: 4px;
  transition: color 120ms ease, background 120ms ease;
}
nav.primary a:hover { color: var(--text); background: var(--surface-3); }
nav.primary a[aria-current='page'] { color: var(--ember-ink); }
nav.primary a[aria-current='page']::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: -2px;
  height: 2px; background: var(--scale);
  border-radius: 1px;
}
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--border-strong);
  color: var(--muted); font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 4px; cursor: pointer;
}
.nav-toggle:hover { color: var(--ember-ink); border-color: var(--ember-deep); }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 11px 22px; border-radius: 4px;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--border-strong);
  color: var(--text-dim); background: transparent;
  transition: background 130ms ease, color 130ms ease,
              border-color 130ms ease, box-shadow 130ms ease;
}
.btn:hover { color: var(--text); border-color: var(--muted); background: var(--surface-2); }
.btn.primary {
  background: var(--ember-deep); border-color: var(--ember-deep); color: #fffdf8;
}
.btn.primary:hover {
  background: var(--ember-ink); border-color: var(--ember-ink); color: #fffdf8;
  box-shadow: 0 2px 14px rgba(227, 92, 15, 0.35);
}
.btn.small { padding: 7px 14px; font-size: 10px; }
.btn .arrow { transition: transform 130ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── editorial primitives ─────────────────────────────────────────────── */
.kicker {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.22em;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.kicker::before {
  content: ''; width: 6px; height: 6px; flex: none;
  background: var(--ember);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.kicker .idx { color: var(--faint); letter-spacing: 0.1em; }

h1.display {
  font-size: clamp(2.1rem, 1.1rem + 4.6vw, 4.4rem);
  line-height: 1.04; letter-spacing: -0.025em; font-weight: 750;
  max-width: 21ch;
}
/* tempering-scale hero underline — straw → bronze → violet → steel */
h1.display::after {
  content: ''; display: block;
  width: 132px; height: 4px; margin-top: 22px;
  background: var(--scale); border-radius: 2px;
}
h1.display em, h2.headline em {
  font-style: normal; color: var(--ember-deep);
}
h2.headline {
  font-size: clamp(1.6rem, 1rem + 2.6vw, 2.7rem);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 720;
  max-width: 26ch;
  margin-bottom: 20px;
}
.lede {
  font-size: clamp(1rem, 0.94rem + 0.4vw, 1.17rem);
  line-height: 1.65; color: var(--text-dim); max-width: 62ch;
}
.lede b, .prose b { color: var(--text); font-weight: 600; }
.prose { color: var(--text-dim); max-width: 66ch; line-height: 1.7; }
.prose + .prose { margin-top: 14px; }
.prose a { color: var(--ember-ink); text-decoration: none; border-bottom: 1px solid rgba(193, 74, 8, 0.35); }
.prose a:hover { border-bottom-color: var(--ember-ink); }
code, .mono {
  font-family: var(--mono); font-size: 0.86em; color: var(--ember-ink);
  background: rgba(193, 74, 8, 0.07); padding: 1px 6px; border-radius: 3px;
}

section.band { padding: var(--space-section) 0 0; }
section.band:last-of-type { padding-bottom: var(--space-section); }

/* section head splits: kicker+headline left, supporting prose right */
.band-head {
  display: grid; gap: 18px 64px;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end; margin-bottom: clamp(28px, 4vw, 52px);
}
.band-head .aside { color: var(--muted); font-size: 0.95rem; line-height: 1.65; max-width: 48ch; }

/* ── surfaces ─────────────────────────────────────────────────────────── */
.panel {
  background: linear-gradient(180deg, var(--surface), #fdf9f0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 28px);
  box-shadow: 0 1px 2px rgba(80, 60, 30, 0.06), 0 4px 14px rgba(80, 60, 30, 0.04);
}

/* corner-bracket frame — the product signature */
.frame { position: relative; }
.frame::before, .frame::after {
  content: ''; position: absolute; width: 16px; height: 16px; pointer-events: none;
}
.frame::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--ember); border-left: 2px solid var(--ember);
  border-top-left-radius: var(--radius);
}
.frame::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--ember); border-right: 2px solid var(--ember);
  border-bottom-right-radius: var(--radius);
}

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 8vw, 108px) 0 0; }
.hero-grid {
  display: grid; gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
}
.hero .lede { margin: 24px 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 34px;
  display: grid; gap: 14px 20px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  border-top: 1px solid var(--border); padding-top: 18px;
}
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-item .v {
  font-family: var(--mono); font-size: 22px; font-weight: 700;
  color: var(--go-ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.proof-item .k {
  font-family: var(--mono); color: var(--faint); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.15em;
}

/* ── charts ───────────────────────────────────────────────────────────── */
/* series semantics: Temper = ember heat, CFS = cold steel */
.chart-card { display: flex; flex-direction: column; gap: 0; }
.chart-title {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.chart-title .delta { color: var(--go-ink); font-weight: 700; }
.chart-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.chart-legend {
  display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.chart-legend .li { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend .sw { width: 16px; height: 3px; border-radius: 1px; }
.sw.cfs { background: var(--steel); }
.sw.temper { background: var(--ember); }
.sw.dim { background: var(--border-strong); }

.chart-svg svg { width: 100%; height: auto; display: block; }
.chart-svg text {
  font-family: var(--mono); font-size: 10.5px; fill: var(--muted);
}
.chart-svg .axis { stroke: #a3957a; stroke-width: 1; }
.chart-svg .grid { stroke: rgba(109, 99, 85, 0.18); stroke-width: 1; }
.chart-svg .series { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-svg .series.cfs { stroke: var(--steel); }
.chart-svg .series.temper {
  stroke: var(--ember);
  filter: drop-shadow(0 0 4px rgba(227, 92, 15, 0.35));
}
.chart-svg .dot.cfs { fill: var(--steel); }
.chart-svg .dot.temper { fill: var(--ember); }
.chart-svg .bar.cfs { fill: rgba(100, 121, 142, 0.65); }
.chart-svg .bar.temper { fill: rgba(227, 92, 15, 0.85); }
.chart-svg .bar.dim { fill: rgba(109, 99, 85, 0.30); }
.chart-svg .ann { fill: var(--text-dim); font-size: 10.5px; }
.chart-svg .ann.good { fill: var(--go-ink); font-weight: 700; }
.chart-svg .ann.bad { fill: var(--steel-ink); }

/* honest-numbers footnote under every chart */
.chart-note {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 11.5px; line-height: 1.55; color: var(--muted);
}
.chart-note .src { font-family: var(--mono); font-size: 10px; color: var(--faint); display: block; margin-top: 3px; overflow-wrap: anywhere; }

/* line draw-in on reveal (killed under reduced motion).
   Hidden states are gated behind html.js so the page is fully
   visible without JavaScript. */
html.js .reveal .series { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
html.js .reveal.in .series { animation: draw 1.1s ease-out forwards; }
html.js .reveal .bar { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
html.js .reveal.in .bar { animation: grow 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
html.js .reveal.in .bar:nth-of-type(2n) { animation-delay: 90ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scaleY(1); } }

/* section fade-up */
html.js .fade { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
html.js .fade.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal .series { stroke-dasharray: none; stroke-dashoffset: 0; }
  html.js .reveal .bar { transform: none; }
  html.js .fade { opacity: 1; transform: none; }
}

/* ── evidence grid ────────────────────────────────────────────────────── */
.evidence-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.evidence-grid .panel.wide { grid-column: 1 / -1; }

/* ── structural argument / layer diagram ──────────────────────────────── */
.split {
  display: grid; gap: clamp(28px, 4vw, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.layer-stack { display: flex; flex-direction: column; gap: 0; font-family: var(--mono); }
.layer {
  border: 1px solid var(--border); border-radius: 4px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: 13px 18px; margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  transition: border-color 140ms ease, background 140ms ease;
}
.layer:hover { border-color: var(--border-strong); }
.layer .tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--faint); text-transform: uppercase; min-width: 34px;
}
.layer .name { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.layer .what { font-family: var(--sans); font-size: 12.5px; color: var(--muted); flex-basis: 100%; }
.layer.theirs { border-style: dashed; opacity: 0.85; }
.kernel-line {
  display: flex; align-items: center; gap: 12px; margin: 10px 0 18px;
  color: var(--red); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  text-align: center; min-width: 0;
}
.kernel-line::before, .kernel-line::after {
  content: ''; flex: 1; height: 0;
  border-top: 2px dashed rgba(194, 57, 43, 0.5);
}
.layer.ours {
  border-color: rgba(227, 92, 15, 0.5);
  background: linear-gradient(180deg, rgba(227, 92, 15, 0.07), var(--surface));
}
.layer.ours .tag { color: var(--ember-ink); }
.layer.ours .name { color: var(--text); }
.layer.cfs { opacity: 0.8; }
.layer.cfs .name { color: var(--steel-ink); }

/* ── stat callouts ────────────────────────────────────────────────────── */
.stat-band {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: clamp(26px, 3vw, 40px);
}
.stat {
  border-left: 2px solid rgba(47, 158, 87, 0.55);
  padding: 6px 0 6px 18px;
}
.stat .v {
  font-family: var(--mono); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  font-weight: 700; color: var(--go-ink); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat .k { font-size: 13px; color: var(--text-dim); margin-top: 4px; line-height: 1.45; }
.stat .s { font-family: var(--mono); font-size: 10px; color: var(--faint); margin-top: 6px; letter-spacing: 0.06em; overflow-wrap: anywhere; }

/* ── two-mode (complement/compete) ────────────────────────────────────── */
.mode-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mode-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mode-card .mode-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-ink);
}
.mode-card h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.3; }
.mode-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mode-card li {
  position: relative; padding-left: 18px;
  font-size: 14px; color: var(--text-dim); line-height: 1.55;
}
.mode-card li::before {
  content: '▸'; position: absolute; left: 0; color: var(--ember);
  font-family: var(--mono);
}
.mode-card .contract {
  margin-top: auto; min-width: 0; max-width: 100%;
  font-family: var(--mono); font-size: 12px; color: var(--forge-straw);
  background: var(--forge); border: 1px solid var(--forge-border);
  border-radius: 4px; padding: 10px 14px; overflow-x: auto; white-space: nowrap;
}

/* ── platform matrix table ────────────────────────────────────────────── */
table.matrix {
  width: 100%; border-collapse: collapse;
  font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums;
}
table.matrix th, table.matrix td {
  text-align: left; padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
table.matrix th {
  color: var(--faint); font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  border-bottom: 1px solid var(--border-strong);
}
table.matrix tbody tr { transition: background 100ms ease; }
table.matrix tbody tr:hover { background: rgba(227, 92, 15, 0.045); }
table.matrix td.platform { color: var(--text); font-weight: 600; }
table.matrix td .note { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.verdict {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px; white-space: nowrap;
  border: 1px solid var(--border); color: var(--muted); background: var(--surface);
}
.verdict.yes { color: var(--go-ink); border-color: rgba(47, 158, 87, 0.45); background: var(--go-soft); }
.verdict.no { color: var(--red); border-color: rgba(194, 57, 43, 0.5); background: var(--red-soft); }
.verdict.soon { color: var(--amber); border-color: rgba(178, 124, 26, 0.5); background: var(--amber-soft); }
.table-scroll { overflow-x: auto; }
.table-scroll table.matrix { min-width: 640px; }

/* ── failsafe terminal — forged panel ─────────────────────────────────── */
.term {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.8;
  color: var(--forge-text);
  background: var(--forge); border: 1px solid var(--forge-border);
  border-radius: var(--radius); padding: 18px 20px;
  overflow-x: auto;
}
.term .p { color: var(--forge-ember); user-select: none; }
.term .c { color: var(--forge-faint); }
.term .out { color: #c8bda9; }
.term .ok { color: var(--forge-go); font-weight: 700; }

/* ── pricing ──────────────────────────────────────────────────────────── */
.tier-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.tier { display: flex; flex-direction: column; gap: 16px; }
.tier .tier-name {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.tier.featured .tier-name { color: var(--ember-ink); }
.tier.featured { border-color: rgba(227, 92, 15, 0.45); }
.tier .price { font-size: 2.1rem; font-weight: 720; letter-spacing: -0.02em; line-height: 1.1; }
.tier .price .unit { font-size: 0.95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tier .tier-for { font-size: 13.5px; color: var(--muted); line-height: 1.5; min-height: 42px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tier li {
  position: relative; padding-left: 20px;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.5;
}
.tier li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--go-ink); font-family: var(--mono); font-size: 12px;
}
.tier li.no { color: var(--faint); }
.tier li.no::before { content: '—'; color: var(--faint); }
.tier .btn { justify-content: center; }
.notice {
  border: 1px solid rgba(178, 124, 26, 0.4); border-left: 4px solid #b07a1c;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(216, 164, 60, 0.10), transparent 60%);
  padding: 14px 20px; font-size: 13.5px; color: var(--text-dim);
  margin-bottom: clamp(26px, 3vw, 40px);
}
.notice b { color: var(--amber); }

/* ── security page ────────────────────────────────────────────────────── */
.posture-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.posture { display: flex; flex-direction: column; gap: 10px; }
.posture h3 {
  font-size: 1.05rem; letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 10px;
}
.posture h3 .num { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.1em; }
.posture p { font-size: 14px; color: var(--text-dim); line-height: 1.65; }
.posture p code { font-size: 0.85em; }

dl.faq { display: flex; flex-direction: column; gap: 0; }
dl.faq > div { border-bottom: 1px solid var(--border); padding: 22px 0; }
dl.faq dt { font-weight: 650; font-size: 1.05rem; margin-bottom: 8px; letter-spacing: -0.01em; }
dl.faq dd { color: var(--text-dim); font-size: 14.5px; line-height: 1.7; max-width: 72ch; }

/* ── CTA band — the forged moment: dark charcoal, ember heat ──────────── */
.cta-band {
  position: relative;
  margin-top: var(--space-section);
  border-top: 1px solid var(--forge-border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(227, 92, 15, 0.14), transparent 70%),
    linear-gradient(180deg, var(--forge-2), var(--forge));
  padding: clamp(56px, 7vw, 96px) 0;
  text-align: center;
  color: var(--forge-text);
}
/* tempering-scale strip along the top edge */
.cta-band::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--scale);
}
.cta-band h2 {
  font-size: clamp(1.7rem, 1.1rem + 2.8vw, 2.9rem);
  letter-spacing: -0.02em; line-height: 1.1;
  max-width: 24ch; margin: 0 auto 16px;
  color: #fbf7ef;
}
.cta-band p { color: #c8bda9; max-width: 52ch; margin: 0 auto 30px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn { color: #d9cfbc; border-color: #55483a; }
.cta-band .btn:hover { color: #fbf7ef; border-color: var(--forge-faint); background: var(--forge-2); }
.cta-band .btn.primary { background: var(--ember); border-color: var(--ember); color: #241d15; }
.cta-band .btn.primary:hover {
  background: var(--forge-ember); border-color: var(--forge-ember); color: #241d15;
  box-shadow: 0 0 18px rgba(227, 92, 15, 0.4);
}

/* ── footer ───────────────────────────────────────────────────────────── */
footer.site {
  padding: 34px 0 44px;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
}
.foot-row {
  display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap;
}
.foot-row .wordmark { font-size: 12px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a {
  color: var(--muted); text-decoration: none;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px;
  transition: color 120ms ease;
}
.foot-links a:hover { color: var(--ember-ink); }
.foot-copy { margin-left: auto; letter-spacing: 0.04em; }
.foot-note { margin-top: 14px; color: var(--faint); font-size: 10px; letter-spacing: 0.03em; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .split, .band-head { grid-template-columns: minmax(0, 1fr); }
  .band-head { align-items: start; }
  .evidence-grid, .mode-grid, .posture-grid { grid-template-columns: minmax(0, 1fr); }
  .tier-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  nav.primary {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 12px;
  }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 12px 24px; border-radius: 0; }
  nav.primary a[aria-current='page']::after { left: 24px; right: auto; width: 22px; }
}
@media (max-width: 420px) {
  .hero-proof { gap: 12px 22px; }
  .proof-item .v { font-size: 18px; }
  .btn { padding: 10px 16px; font-size: 11px; }
}

/* ════════════════════════════════════════════════════════════════════
   v2 additions — full product site (features, docs shell, footer cols)
   ════════════════════════════════════════════════════════════════════ */

/* ── credibility chips ────────────────────────────────────────────────── */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 5px 13px; background: var(--surface);
}

/* ── generic contract/snippet line — forged panel ─────────────────────── */
.contract {
  font-family: var(--mono); font-size: 12px; color: var(--forge-straw);
  background: var(--forge); border: 1px solid var(--forge-border);
  border-radius: 4px; padding: 10px 14px; overflow-x: auto; white-space: nowrap;
  min-width: 0; max-width: 100%;
}

/* ── feature blocks (index, alternating) ─────────────────────────────── */
.feature-list { display: flex; flex-direction: column; }
.feature {
  display: grid; gap: clamp(26px, 4vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  padding: clamp(30px, 4.5vw, 54px) 0;
  border-top: 1px dashed var(--border-strong);
}
.feature:first-child { border-top: 0; padding-top: 8px; }
.feature .f-kicker {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-ink);
  margin-bottom: 10px;
}
.feature h3 {
  font-size: clamp(1.25rem, 1rem + 1.3vw, 1.75rem);
  letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 12px;
}
.feature .prose { font-size: 14.5px; }
.feature ul { list-style: none; margin: 16px 0 18px; display: flex; flex-direction: column; gap: 7px; }
.feature li {
  position: relative; padding-left: 18px;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.55;
}
.feature li::before { content: '▸'; position: absolute; left: 0; color: var(--ember); font-family: var(--mono); }
.learn {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ember-ink); text-decoration: none;
}
.learn:hover { text-decoration: underline; }
.feature-viz { min-width: 0; }
@media (min-width: 961px) { .feature.flip .feature-viz { order: -1; } }

/* ── how-it-connects steps ────────────────────────────────────────────── */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .n {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--ember-ink);
}
.step h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.step p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; flex: 1; }

/* ── safety / info callouts ───────────────────────────────────────────── */
/* green = the "go / healthy / fail-safe" semantic, never the brand */
.callout {
  border: 1px solid rgba(47, 158, 87, 0.4); border-left: 4px solid var(--go);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(47, 158, 87, 0.07), transparent 60%);
  padding: 16px 22px; font-size: 14px; color: var(--text-dim); line-height: 1.65;
  margin-top: 26px;
}
.callout b { color: var(--go-ink); }
.note {
  border: 1px solid rgba(100, 121, 142, 0.4); border-left: 4px solid var(--steel);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(100, 121, 142, 0.08), transparent 60%);
  padding: 14px 20px; font-size: 13.5px; color: var(--text-dim); line-height: 1.6;
  margin: 18px 0; max-width: 78ch;
}
.note b { color: var(--steel-ink); }

/* ── case cards ───────────────────────────────────────────────────────── */
.case-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.case { text-decoration: none; color: inherit; }
.case { display: flex; flex-direction: column; gap: 10px; transition: border-color 140ms ease, transform 140ms ease; }
a.case:hover { border-color: var(--ember); transform: translateY(-2px); }
.case .wl {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.case .cv {
  font-family: var(--mono); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  font-weight: 700; color: var(--go-ink); letter-spacing: -0.02em; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.case p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; flex: 1; }

/* ── footer columns ───────────────────────────────────────────────────── */
.foot-grid {
  display: grid; gap: 30px 40px;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  padding-bottom: 10px;
}
.foot-brand p {
  font-family: var(--sans); font-size: 12.5px; color: var(--muted);
  margin-top: 12px; max-width: 34ch; line-height: 1.6;
}
.foot-brand .trust {
  font-family: var(--mono); font-size: 10px; color: var(--faint);
  letter-spacing: 0.06em; margin-top: 10px;
}
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h4 {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 4px;
}
.foot-col a { color: var(--muted); text-decoration: none; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.foot-col a:hover { color: var(--ember-ink); }
.foot-col .foot-copy { margin-left: 0; margin-top: 6px; }
footer.site.sep { border-top: 1px solid var(--border); margin-top: var(--space-section); padding-top: 40px; }
footer.site .foot-note { border-top: 1px dashed var(--border); padding-top: 14px; margin-top: 22px; }

/* ── docs shell ───────────────────────────────────────────────────────── */
.docs-layout {
  display: grid; gap: clamp(28px, 4vw, 60px);
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(24px, 3vw, 44px) clamp(18px, 4vw, 40px) 0;
}
.docs-sidebar { position: sticky; top: 76px; }
.docs-sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.docs-sidebar .group {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint);
  margin: 18px 0 6px; padding-left: 12px;
}
.docs-sidebar nav > .group:first-child { margin-top: 0; }
.docs-sidebar a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  padding: 6px 12px; border-left: 2px solid var(--border);
  border-radius: 0 4px 4px 0;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}
.docs-sidebar a:hover { color: var(--text); background: var(--surface-2); }
.docs-sidebar a[aria-current='page'] {
  color: var(--ember-ink); border-left-color: var(--ember);
  background: linear-gradient(90deg, rgba(227, 92, 15, 0.09), transparent 80%);
}

.crumbs {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
  margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ember-ink); }
.crumbs .sep { color: var(--border-strong); }

.docs-content { min-width: 0; padding-bottom: var(--space-section); }
.docs-content h1 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem);
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px;
}
/* tempering-scale underline carries into the docs shell */
.docs-content h1::after {
  content: ''; display: block;
  width: 96px; height: 3px; margin-top: 14px;
  background: var(--scale); border-radius: 2px;
}
.docs-content h1 em { font-style: normal; color: var(--ember-deep); }
.docs-content > .lede { margin-bottom: 26px; font-size: 1.02rem; }
.docs-content h2 {
  font-size: 1.35rem; letter-spacing: -0.015em;
  margin: 40px 0 12px; padding-top: 22px; border-top: 1px dashed var(--border-strong);
}
.docs-content h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.docs-content p { color: var(--text-dim); line-height: 1.7; margin: 10px 0; max-width: 74ch; }
.docs-content p b, .docs-content li b { color: var(--text); font-weight: 600; }
.docs-content p code, .docs-content li code, .docs-content dd code { overflow-wrap: anywhere; }
.docs-content ul, .docs-content ol {
  margin: 10px 0 14px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 7px; max-width: 74ch;
}
.docs-content ul > li {
  position: relative; padding-left: 18px;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.6;
}
.docs-content ul > li::before { content: '▸'; position: absolute; left: 0; color: var(--ember); font-family: var(--mono); }
.docs-content ol { counter-reset: li; }
.docs-content ol > li {
  position: relative; padding-left: 32px; counter-increment: li;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.6;
}
.docs-content ol > li::before {
  content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 3px;
  color: var(--ember-ink); font-family: var(--mono); font-size: 11px; font-weight: 700;
}
.docs-content a { color: var(--ember-ink); text-decoration: none; border-bottom: 1px solid rgba(193, 74, 8, 0.35); }
.docs-content a:hover { border-bottom-color: var(--ember-ink); }
.docs-content a.learn { color: var(--ember-ink); border-bottom: none; }
.docs-content .chart-svg { margin: 18px 0; }

/* forged code panels — dark charcoal blocks with warm syntax accents */
pre.code {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--forge-text);
  background: var(--forge); border: 1px solid var(--forge-border);
  border-radius: var(--radius); padding: 16px 18px;
  overflow-x: auto; margin: 14px 0;
}
pre.code code { background: none; padding: 0; color: inherit; font-size: inherit; }
pre.code .c { color: var(--forge-faint); }
pre.code .k { color: var(--forge-ember); }
pre.code .s { color: var(--forge-straw); }

table.doc { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
table.doc th, table.doc td {
  text-align: left; padding: 9px 12px;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
table.doc th {
  font-family: var(--mono); color: var(--faint); font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  border-bottom-color: var(--border-strong);
}
table.doc td { color: var(--text-dim); line-height: 1.5; }
table.doc td code { white-space: nowrap; }

.prevnext {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border);
}
.prevnext a {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-bottom: none;
  border: 1px solid var(--border); border-radius: 4px; padding: 10px 16px;
  max-width: 48%;
}
.prevnext a:hover { color: var(--ember-ink); border-color: var(--ember); }
.prevnext .next { margin-left: auto; text-align: right; }
.prevnext a .lbl { display: block; font-size: 9px; color: var(--faint); letter-spacing: 0.16em; margin-bottom: 3px; }

/* ── docs landing card grid ───────────────────────────────────────────── */
.doc-cards { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0; }
a.doc-card {
  display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, var(--surface), #fdf9f0);
  border: 1px solid var(--border) !important; border-radius: var(--radius);
  padding: 18px 20px; text-decoration: none;
  box-shadow: 0 1px 2px rgba(80, 60, 30, 0.05);
  transition: border-color 140ms ease, transform 140ms ease;
}
a.doc-card:hover { border-color: var(--ember) !important; transform: translateY(-2px); }
.doc-card .g { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember-ink); }
.doc-card .t { font-weight: 650; color: var(--text); font-size: 15px; letter-spacing: -0.01em; }
.doc-card .d { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ── v2 responsive ────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .steps, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .docs-sidebar { position: static; }
  .docs-sidebar nav {
    flex-direction: row; flex-wrap: wrap; gap: 5px 6px; align-items: center;
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px 14px; background: var(--surface);
  }
  .docs-sidebar .group { margin: 6px 8px 2px 0; padding-left: 0; flex-basis: 100%; }
  .docs-sidebar nav > .group:first-child { margin-top: 0; }
  .docs-sidebar a {
    border-left: none; border: 1px solid var(--border);
    border-radius: 4px; padding: 5px 10px; font-size: 12px;
  }
  .docs-sidebar a[aria-current='page'] { border-color: var(--ember); }
  .doc-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .prevnext { flex-direction: column; }
  .prevnext a { max-width: 100%; }
  .prevnext .next { margin-left: 0; }
}

/* ════════════════════════════════════════════════════════════════════
   v3 additions — deep-dive editorial shell (scenario write-ups)
   ════════════════════════════════════════════════════════════════════ */

/* ── deep-dives index cards ───────────────────────────────────────────── */
.dd-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.dd-card {
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit;
  transition: border-color 140ms ease, transform 140ms ease;
}
a.dd-card:hover { border-color: var(--ember); transform: translateY(-2px); }
.dd-card .scenario {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-ink);
}
.dd-card h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; color: var(--text); }
.dd-card .one-liner { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; flex: 1; }
.dd-card .data-row {
  display: flex; gap: 8px 22px; flex-wrap: wrap;
  border-top: 1px dashed var(--border); padding-top: 12px;
}
.dd-card .dp { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dd-card .dp .v {
  font-family: var(--mono); font-size: 17px; font-weight: 700;
  color: var(--go-ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.dd-card .dp .k {
  font-family: var(--mono); font-size: 9px; color: var(--faint);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.dd-card .learn { margin-top: 2px; }

/* ── article shell — a single reading column, editorial pacing ────────── */
.article {
  max-width: 780px; margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(18px, 4vw, 40px) 0;
}
.article .crumbs { margin-bottom: 22px; }
.article h1 {
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem);
  letter-spacing: -0.022em; line-height: 1.12; margin-bottom: 16px;
}
.article h1::after {
  content: ''; display: block;
  width: 110px; height: 3px; margin-top: 18px;
  background: var(--scale); border-radius: 2px;
}
.article h1 em { font-style: normal; color: var(--ember-deep); }
.article > .lede { margin-bottom: 14px; }
.article-meta {
  font-family: var(--mono); font-size: 10.5px; color: var(--faint);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; gap: 8px 18px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 8px;
}
.article h2 {
  font-size: 1.4rem; letter-spacing: -0.015em; line-height: 1.25;
  margin: 44px 0 12px; padding-top: 24px; border-top: 1px dashed var(--border-strong);
}
.article h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.article p { color: var(--text-dim); line-height: 1.72; margin: 12px 0; }
.article p b { color: var(--text); font-weight: 600; }
.article a { color: var(--ember-ink); text-decoration: none; border-bottom: 1px solid rgba(193, 74, 8, 0.35); }
.article a:hover { border-bottom-color: var(--ember-ink); }
.article a.learn { border-bottom: none; }
.article ul, .article ol {
  margin: 12px 0 16px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.article ul > li {
  position: relative; padding-left: 18px;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.65;
}
.article ul > li::before { content: '▸'; position: absolute; left: 0; color: var(--ember); font-family: var(--mono); }
.article ol { counter-reset: li; }
.article ol > li {
  position: relative; padding-left: 32px; counter-increment: li;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.65;
}
.article ol > li::before {
  content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 3px;
  color: var(--ember-ink); font-family: var(--mono); font-size: 11px; font-weight: 700;
}
.article .panel { margin: 22px 0; }
.article .chart-svg { margin: 6px 0; }
.article table.doc td code, .article p code, .article li code { overflow-wrap: anywhere; }

/* measured-result strip inside an article */
.article .result-strip {
  display: grid; gap: 14px 20px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 22px 0;
}
.article .result-strip .stat .v {
  font-size: clamp(1.15rem, 0.95rem + 1.2vw, 1.7rem);
  overflow-wrap: anywhere;
}

/* raw-records footer — the committed-evidence trail, forged panel */
.records {
  margin-top: 48px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.9;
  color: var(--forge-text);
  background: var(--forge); border: 1px solid var(--forge-border);
  border-radius: var(--radius); padding: 18px 20px;
  overflow-x: auto;
}
.records .rec-title {
  color: var(--forge-straw); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px;
}
.records ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.records li { color: var(--forge-faint); white-space: nowrap; }
.records li::before { content: '· '; color: var(--forge-ember); }
.records .note { color: #c8bda9; font-family: var(--sans); font-size: 12px; margin-top: 10px; white-space: normal; line-height: 1.6; }

/* ── about page — plain engineering document ──────────────────────────── */
.about {
  max-width: 760px; margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(18px, 4vw, 40px) var(--space-section);
}
.about h1 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px;
}
.about h1::after {
  content: ''; display: block;
  width: 96px; height: 3px; margin-top: 16px;
  background: var(--scale); border-radius: 2px;
}
.about h2 {
  font-size: 1.3rem; letter-spacing: -0.012em;
  margin: 42px 0 10px; padding-top: 22px; border-top: 1px dashed var(--border-strong);
}
.about p { color: var(--text-dim); line-height: 1.72; margin: 11px 0; }
.about p b { color: var(--text); font-weight: 600; }
.about a { color: var(--ember-ink); text-decoration: none; border-bottom: 1px solid rgba(193, 74, 8, 0.35); }
.about a:hover { border-bottom-color: var(--ember-ink); }
.about ul { margin: 11px 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.about ul > li {
  position: relative; padding-left: 18px;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.65;
}
.about ul > li::before { content: '▸'; position: absolute; left: 0; color: var(--ember); font-family: var(--mono); }

/* ── v3 responsive ────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .dd-grid { grid-template-columns: minmax(0, 1fr); }
}
