/* Rodage — prose in serif, data in mono, orange marks what Rodage adds. */
:root {
  --paper: #F4F4F0;
  --paper-2: #ECEDE8;
  --ink: #0E1116;
  --ink-2: #2C3138;
  --muted: #5F6670;
  --rule: #D5D8D2;
  --rule-strong: #0E1116;
  --accent: #1B1F24;
  --accent-soft: #D5ECE2;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, label:focus-within {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
::selection { background: var(--accent-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 380; margin: 0; color: var(--ink); text-wrap: balance; }
.lead, .body, .col p, .rows .r p { text-wrap: pretty; }
h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: 1.03; letter-spacing: -0.022em; font-weight: 340; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.016em; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 480; letter-spacing: -0.005em; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.body { color: var(--ink-2); max-width: 38em; }
.body + .body { margin-top: 1em; }

.mono, .label, .kicker, .meta, .btn, .link, .nav a, .num, table.sheet th, .fig-cap, .tag {
  font-family: var(--mono);
}
.kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kicker .dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
.meta { font-size: 12.5px; line-height: 1.6; color: var(--muted); letter-spacing: 0.01em; }
.col p.meta, .person p.meta, .origin p.meta, .rows .r p.meta { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.field { cursor: text; }
.rows .r p .link { margin-top: 10px; }
.accent { color: var(--accent); }

/* ---------- links & buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px;
  background: var(--ink); color: var(--paper);
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid var(--ink); border-radius: 2px;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 12.5px; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--rule); padding: 4px 0;
  transition: border-color .15s, color .15s;
}
.link:hover { border-color: var(--accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* ---------- announcement + header ---------- */
.announce { border-bottom: 1px solid var(--rule); }
.announce a {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 10px var(--gutter); font: 12.5px/1.5 var(--mono); color: var(--ink-2); text-decoration: none; text-align: center;
}
.announce a:hover span:last-child { color: var(--accent); }
.announce b { font-weight: 500; color: var(--accent); letter-spacing: 0.08em; }

.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 22px; height: 22px; }
.brand span { font: 500 17px/1 var(--mono); letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 4px 28px; flex-wrap: wrap; }
.nav a { font-size: 13.5px; color: var(--ink-2); text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav { margin-left: auto; }
.cta[aria-current="page"] { background: var(--accent); border-color: var(--accent); }
.fig-narrow { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: end; }
.hero h1 { margin-top: 22px; }
.hero .lead { margin-top: 28px; }
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { margin-top: 22px; max-width: 15em; }
.page-head .lead { margin-top: 26px; }
.page-head .index { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; }

/* ---------- figures ---------- */
figure { margin: 0; }
.fig-cap { margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 52em; }
.fig-cap b { color: var(--ink); font-weight: 500; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.record { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); font: 13px/1.5 var(--mono); }
.record .rhead { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 10px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.record .rtitle { padding: 0 0 14px; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--rule); }
.record dl { margin: 0; }
.record .row { display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.record .row:last-child { border-bottom: 0; }
.record dt { color: var(--muted); }
.record dd { margin: 0; color: var(--ink); }
.record .res { text-align: right; color: var(--muted); }
.record .row.proof { background: linear-gradient(90deg, rgba(14,124,90,.09), rgba(14,124,90,0)); }
.record .row.proof dt, .record .row.proof .res { color: var(--accent); font-weight: 500; }
.record .row.gap { border-top: 1px solid var(--rule-strong); }
@media (prefers-reduced-motion: no-preference) {
  .record .row { animation: rowin .5s both; }
  .record .row:nth-child(1) { animation-delay: .1s; } .record .row:nth-child(2) { animation-delay: .25s; }
  .record .row:nth-child(3) { animation-delay: .4s; } .record .row:nth-child(4) { animation-delay: .6s; }
  .record .row:nth-child(5) { animation-delay: .8s; } .record .row:nth-child(6) { animation-delay: .95s; }
  @keyframes rowin { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}

.plate { background: var(--paper-2); border-top: 1px solid var(--rule-strong); padding: 24px 24px 22px; }
.code { font: 13px/1.75 var(--mono); color: var(--ink); white-space: pre; overflow-x: auto; margin: 0; }
.code .c { color: var(--muted); }
.code .k { color: var(--accent); }

/* ---------- backers strip ---------- */
.backers { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.backers .wrap { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 24px 40px; min-height: 92px; padding-top: 18px; padding-bottom: 18px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.logos img { height: 20px; width: auto; opacity: .9; }
.logos img.hp { height: 26px; }
.logos img.nebius { height: 22px; }

/* ---------- sections ---------- */
.sec { border-top: 1px solid var(--rule); }
.sec > .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 40px; padding-top: clamp(56px, 6.5vw, 88px); padding-bottom: clamp(56px, 6.5vw, 88px); }
.sec-label { font: 12px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 10px; }
.sec-label .n { color: var(--accent); margin-right: 10px; }
.sec-body > h2 { max-width: 17em; }
.sec-body > .body, .sec-body > .lead { margin-top: 22px; }
.sec-body > .after { margin-top: 40px; }
.sec.tight > .wrap { padding-top: 56px; padding-bottom: 56px; }

/* ruled columns, never cards */
.cols { display: grid; gap: 0 40px; margin-top: 48px; }
.cols.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col { border-top: 1px solid var(--rule-strong); padding-top: 18px; }
.col h3 { margin-top: 10px; }
.col p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.col .num { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.col.ours { border-top-color: var(--accent); }

.stat .fig { font: 340 clamp(44px, 5vw, 64px)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.stat.ours .fig { color: var(--accent); }
.stat p { margin-top: 12px; }
.source { margin-top: 28px; }

/* definition list rows */
.rows { margin-top: 44px; border-top: 1px solid var(--rule-strong); }
.rows .r { display: grid; grid-template-columns: 84px minmax(0, 14em) minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.rows .r .num { font-size: 12px; color: var(--muted); }
.rows .r h3 { font-size: 20px; }
.rows .r p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.rows .r .go { font: 500 13px var(--mono); text-decoration: none; justify-self: end; }
.rows .r .go:hover { color: var(--accent); }
.rows.jobs .r { grid-template-columns: minmax(0, 1fr) 120px auto; }
.rows.jobs .r h3 { font-size: 22px; }

/* results ledger */
.ledger { margin-top: 44px; border-top: 1px solid var(--rule-strong); }
.ledger .e { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 300px); gap: 12px 36px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ledger .big { font: 340 52px/0.95 var(--serif); letter-spacing: -0.03em; color: var(--ink); }
.ledger .e.ours .big { color: var(--accent); }
.ledger p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.ledger .why { margin-top: 8px; font-size: 15px; color: var(--muted); }
.bars { display: grid; gap: 8px; padding-top: 4px; }
.bar { display: grid; grid-template-columns: 112px 1fr 56px; gap: 10px; align-items: center; font: 12px/1.3 var(--mono); color: var(--muted); }
.bar .track { height: 10px; background: transparent; position: relative; }
.bar .fill { position: absolute; inset: 0 auto 0 0; background: #B9B3A8; }
.bar.ours { color: var(--ink); }
.bar.ours .fill { background: var(--accent); }
.bar .v { text-align: right; color: var(--ink); }
.tag { display: inline-block; justify-self: start; white-space: nowrap; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; border-radius: 2px; color: var(--muted); }
.tag.now { color: var(--accent); }

/* spec-sheet tables */
table.sheet { width: 100%; border-collapse: collapse; margin-top: 44px; font-size: 16px; line-height: 1.5; }
table.sheet th { text-align: left; font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0 24px 12px 0; border-bottom: 1px solid var(--rule-strong); }
table.sheet td { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
table.sheet td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
table.sheet td.m { font: 13px/1.5 var(--mono); }
table.sheet td.ours { color: var(--accent); font: 500 15px/1.4 var(--mono); }
table.sheet td.base { font: 15px/1.4 var(--mono); color: var(--ink-2); }
.placeholder { font: 13px var(--mono); color: var(--muted); border: 1px dashed var(--rule); padding: 2px 6px; }

/* steps */
.steps { counter-reset: s; }
.steps .col .num::before { content: "Step " counter(s); counter-increment: s; }

/* cost figure */
.costfig { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.costfig .bars { gap: 12px; }
.costfig .bar { grid-template-columns: 150px 1fr 64px; font-size: 13px; }
.costfig .bar .track { height: 16px; }
.costfig h3 { font-size: 18px; margin-bottom: 18px; padding-top: 16px; border-top: 1px solid var(--rule-strong); }

/* origin */
.origin { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 24px; margin-top: 8px; }
.origin .arrow { font: 22px var(--mono); color: var(--accent); align-self: center; text-align: center; }
.origin h2 { font-size: 34px; margin-top: 10px; }
.origin p { margin-top: 14px; color: var(--ink-2); }
.origin .meta { margin-top: 16px; }

/* team */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin-top: 48px; }
.person { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--rule-strong); padding-top: 24px; }
.person img { width: 112px; height: 112px; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person h3 { font-size: 24px; font-weight: 420; }
.person .role { margin-top: 4px; }
.person p { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.person .meta { margin-top: 12px; }
.person .link { margin-top: 14px; }

/* closing call to action */
.closing { border-top: 1px solid var(--rule-strong); }
.closing .wrap { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 40px; }
.closing h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 340; letter-spacing: -0.022em; max-width: 14em; }
.closing .lead { margin-top: 22px; }
.closing .meta { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); max-width: 46em; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); font-size: 14px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; padding-top: 56px; padding-bottom: 48px; }
.site-footer .top p { margin-top: 16px; color: var(--muted); max-width: 26em; font-size: 15px; line-height: 1.55; }
.site-footer h4 { margin: 0 0 14px; font: 500 11.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer li a { text-decoration: none; color: var(--ink-2); }
.site-footer li a:hover { color: var(--accent); }
.site-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0 28px; border-top: 1px solid var(--rule); }

/* request form */
.access .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 112px); }
.access ol { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--rule-strong); }
.access ol li { display: grid; grid-template-columns: 48px 1fr; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.access ol li span { font: 12px/1.9 var(--mono); color: var(--muted); }
.access .meta.email { margin-top: 28px; }
form.req { border-top: 1px solid var(--rule-strong); padding-top: 8px; }
fieldset { border: 0; margin: 0; padding: 0; }
.field { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.field > label, .field > legend { display: block; font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.field input[type=text], .field input[type=email], .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid transparent; background: transparent; padding: 4px 0;
  font: 400 19px/1.5 var(--serif); color: var(--ink); outline: none; border-radius: 0;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 96px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 8px 12px; font: 13px/1.3 var(--mono); color: var(--ink-2); border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; transition: border-color .12s, background .12s, color .12s; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 28px; }
.thanks { border-top: 1px solid var(--accent); padding-top: 28px; }
.thanks h2 { margin-top: 14px; }
.thanks p { margin-top: 16px; }
.thanks .actions { margin-top: 28px; }
button.link { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec > .wrap, .closing .wrap { grid-template-columns: minmax(0, 1fr); }
  .sec-label { padding-top: 0; }
  .backers .wrap { grid-template-columns: 1fr; gap: 16px; }
  .cols.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; }
  .ledger .e { grid-template-columns: 110px minmax(0, 1fr); }
  .ledger .bars { grid-column: 2; }
  .site-footer .top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .top > :first-child { grid-column: 1 / -1; }
  .access .wrap { grid-template-columns: minmax(0, 1fr); }
  .people { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .site-header { position: static; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 4px; gap: 6px 12px; }
  .site-header .cta { order: 2; margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 0 20px; overflow-x: auto; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
  .fig-wide { display: none; }
  .fig-narrow { display: block; }
  .cols.c2, .cols.c3, .cols.c4 { grid-template-columns: 1fr; gap: 28px; }
  .rows .r { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rows.jobs .r { grid-template-columns: minmax(0, 1fr) auto; }
  .rows.jobs .r .meta { grid-row: 2; }
  .ledger .e { grid-template-columns: 1fr; }
  .ledger .bars { grid-column: 1; }
  .bar { grid-template-columns: 96px 1fr 48px; }
  .costfig { grid-template-columns: 1fr; }
  .costfig .bar { grid-template-columns: 110px 1fr 56px; }
  .origin { grid-template-columns: 1fr; }
  .origin .arrow { text-align: left; transform: rotate(90deg); width: 24px; }
  .person { grid-template-columns: 80px minmax(0, 1fr); gap: 18px; }
  .person img { width: 80px; height: 80px; }
  .record .row { grid-template-columns: 96px 1fr; }
  .record .res { grid-column: 2; text-align: left; }
  table.sheet.stack thead { display: none; }
  table.sheet.stack, table.sheet.stack tbody, table.sheet.stack tr, table.sheet.stack td { display: block; width: 100%; }
  table.sheet.stack tr { border-bottom: 1px solid var(--rule); padding: 14px 0; }
  table.sheet.stack td { border: 0; padding: 4px 0; white-space: normal; }
  table.sheet.stack td[data-h]::before { content: attr(data-h); display: block; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
  .site-footer .top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* hero visual: chip layout behind the example round */
.hero .wrap > figure { background: #0E1116 url(assets/die.svg) center/cover no-repeat; padding: clamp(20px, 3vw, 40px); border-radius: 6px; margin: 0; }
.hero .wrap > figure .record { background: var(--paper); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.hero .wrap > figure .fig-cap { color: #C9CED6; margin-top: 16px; }
.hero .wrap > figure .fig-cap b { color: #fff; }
.hero .wrap > figure .record { padding: 18px 22px; }
.hero .wrap > figure .fig-cap { background: rgba(14,17,22,.82); padding: 10px 12px; border-radius: 3px; }
@media (max-width: 600px) {
  .hero .kicker { display: none; }
  .hero .lead { font-size: 17px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .hero h1 { margin-top: 0; }
  .hero .lead { margin-top: 18px; }
  .hero .wrap { gap: 32px; }
}
/* r2: let more of the die show around the card */
@media (min-width: 901px) {
  .hero .wrap > figure { padding: 56px 24px 24px 56px; }
}

/* r3: wider hero figure so record rows fit on one line at desktop; one Request access on the home first screen at mobile */
@media (min-width: 901px) {
  .hero .wrap { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 64px); }
  .record .row { grid-template-columns: 92px 1fr auto; gap: 14px; }
}
@media (max-width: 600px) {
  body:has(.hero) .btn.sm.cta { display: none; }
}
@media (min-width: 901px) {
  .record .row { grid-template-columns: 104px 1fr auto; }
  .record .row dt { white-space: nowrap; }
}
@media (max-width: 600px) {
  .hero .wrap > figure { padding: 20px 10px 10px 20px; }
  .record .row { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px; font-size: 12px; padding: 8px 0; }
  .record .row .res { grid-column: auto; }
}

/* r4: mobile Fig. 1 rows stack the label above value + result, so nothing wraps mid-phrase */
@media (max-width: 600px) {
  .record .row { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .record .row dt { grid-column: 1 / -1; white-space: nowrap; font-size: 11.5px; letter-spacing: .04em; }
  .record .res { white-space: nowrap; }
}
/* r4: desktop first screen ends with the hero; backers strip starts below the 1440x900 fold */
@media (min-width: 901px) {
  .hero { box-sizing: border-box; }
}
/* r4: mobile bar labels get a wider column so model names wrap at most once */
@media (max-width: 600px) {
  .bar { grid-template-columns: 150px 1fr 48px; gap: 8px; }
}

/* r1: colour fields, display scale, hero plot */
h1 { font-weight: 500; font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -0.02em; }
.corner-plot { width: 100%; height: auto; background: #fff; border: 1px solid var(--rule); margin-bottom: 14px; }
.cp-l { font: 11px var(--mono); fill: var(--ink-2); }
.cp-f { font: 600 13px var(--mono); fill: #C2410C; }
.sec.dark { background: var(--ink); color: var(--paper); border: 0; padding-block: clamp(72px, 10vw, 140px); }
.sec.dark h2, .sec.dark .sec-label, .sec.dark .body, .sec.dark p, .sec.dark .meta { color: var(--paper); }
.sec.dark .body, .sec.dark .meta { opacity: .78; }
.sec.dark .stat .fig { font-size: clamp(64px, 9vw, 132px); font-weight: 500; line-height: .95; color: var(--paper); letter-spacing: -0.03em; }
.sec.dark .stat.ours .fig { color: #F4F4F0; }
.sec.dark .col { border-color: rgba(244,244,240,.2); }
.closing { background: var(--accent); color: #fff; }
.closing h2, .closing p, .closing .sec-label, .closing .meta, .closing .link { color: #fff; }
.closing .btn { background: #fff; color: var(--ink); border-color: #fff; }
h1 { font-size: clamp(40px, 5vw, 74px); line-height: 1.02; }
.sec.dark .stat .fig { font-size: clamp(48px, 5.4vw, 82px); white-space: nowrap; }
.env-demo { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.env-demo .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.env-demo h2 { color: var(--paper); font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); margin-top: 18px; }
.env-demo .body { color: #C9CED6; margin-top: 18px; }
.env-demo .kicker { color: #9AA3AD; }
.env-demo figure { margin: 0; }
.env-demo .record { background: var(--paper); color: var(--ink); padding: 18px 22px; }
.env-demo .fig-cap { color: #C9CED6; margin-top: 14px; }
.env-demo .fig-cap b { color: #fff; }
@media (max-width: 860px) { .env-demo .wrap { grid-template-columns: 1fr; } }
.closing h2, .sec.dark h2 { font-weight: 450; }
.sec.dark { padding-block: clamp(64px, 8vw, 112px); }
.gap-chart { margin-top: 48px; display: grid; gap: 18px; }
.gc-row { display: grid; grid-template-columns: 220px 1fr 110px; align-items: center; gap: 18px; }
.gc-l { font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #C9CED6; }
.gc-bar { height: 34px; background: rgba(244,244,240,.08); }
.gc-bar i { display: block; height: 100%; background: #C9CED6; }
.gc-row.ours .gc-bar i { background: #F4F4F0; }
.gc-row b { font: 500 30px var(--serif); color: var(--paper); }
.gc-row.ours b { color: #F4F4F0; }
@media (max-width: 700px) { .gc-row { grid-template-columns: 1fr; gap: 6px; } }

/* r2: full-width sections, die band (signature device), domain cards */
.sec.full > .wrap { display: block; }
.sec.full .sec-label { margin-bottom: 22px; }
.sec.full .sec-body > h2 { font-size: clamp(40px, 5.2vw, 76px); max-width: 16em; line-height: 1.02; }
.sec.die { background: #0E1116 url(assets/die.svg) center/cover no-repeat; position: relative; }
.sec.die::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,22,.55), rgba(14,17,22,.82)); pointer-events: none; }
.sec.die > .wrap { position: relative; }
.sec.die .ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(244,244,240,.25); }
.sec.die .ledger .e { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 30px; border-bottom: 0; border-left: 1px solid rgba(244,244,240,.18); background: rgba(14,17,22,.55); }
.sec.die .ledger .e:first-child { border-left: 0; }
.sec.die .ledger .big { font-size: clamp(56px, 6.4vw, 104px); font-weight: 500; color: #F4F4F0; }
.sec.die .ledger p { color: #DDE1E6; }
.sec.die .bar, .sec.die .bars span { color: #C9CED6; }
.sec.cards .rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 0; }
.sec.cards .rows .r { display: flex; flex-direction: column; gap: 14px; padding: 0 0 26px; border: 1px solid var(--rule-strong); border-radius: 6px; overflow: hidden; background: #fff; }
.sec.cards .rows .r::before { content: ""; display: block; height: 150px; background: #0E1116 url(assets/die.svg) center/cover no-repeat; }
.sec.cards .rows .r:nth-child(2)::before { background-position: 20% 80%; filter: hue-rotate(60deg) saturate(1.4); }
.sec.cards .rows .r:nth-child(3)::before { background-position: 85% 15%; filter: hue-rotate(160deg) saturate(1.2); }
.sec.cards .rows .r > * { margin-inline: 22px; }
.sec.cards .rows .r h3 { font-size: 28px; }
.hero .wrap > figure { background-size: 140%; }
@media (max-width: 900px) {
  .sec.die .ledger, .sec.cards .rows { grid-template-columns: minmax(0, 1fr); }
  .sec.die .ledger .e { border-left: 0; border-top: 1px solid rgba(244,244,240,.18); }
}
.sec.cards .rows .r { align-items: stretch; }
.sec.cards .rows .r .tag { align-self: flex-start; }
.sec.die .link { color: #fff; border-color: rgba(255,255,255,.5); }
.sec.die .link:hover { color: #F4F4F0; border-color: #F4F4F0; }

/* r3: domain-specific card art (no hue-shifted die), hero outranks section h2s, die used once per page */
.sec.cards .rows .r:nth-child(2)::before { filter: none; background: #0E1116 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 150' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='400' height='150' fill='%230E1116'/%3E%3Cg stroke='%23ffffff' stroke-opacity='.08'%3E%3Cpath d='M0 30H400M0 60H400M0 90H400M0 120H400M50 0V150M100 0V150M150 0V150M200 0V150M250 0V150M300 0V150M350 0V150'/%3E%3C/g%3E%3Cg fill='none' stroke-width='2.2'%3E%3Cpath d='M24 26C60 40 96 50 160 55S300 64 334 78 360 112 372 136' stroke='%234ADE9A'/%3E%3Cpath d='M24 34C58 48 92 58 150 63S270 72 300 88 326 118 336 136' stroke='%234ADE9A' stroke-opacity='.55'/%3E%3Cpath d='M24 42C56 56 88 66 140 71S240 80 266 96 290 122 298 136' stroke='%234ADE9A' stroke-opacity='.3'/%3E%3C/g%3E%3Cpath d='M0 128H400' stroke='%23C2410C' stroke-dasharray='5 5' stroke-width='1.4'/%3E%3C/svg%3E") center/cover no-repeat; }
.sec.cards .rows .r:nth-child(3)::before { filter: none; background: #0E1116 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 150' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='400' height='150' fill='%230E1116'/%3E%3Cg fill='none' stroke='%23C9CED6' stroke-opacity='.45' stroke-width='1'%3E%3Cpath d='M90 30L150 30L150 100L290 100L290 130L90 130Z'/%3E%3Cpath d='M90 30L150 60M90 60L150 30M90 60L150 60M90 60L150 100M90 95L150 60M90 95L150 100M90 95L90 130M90 130L150 100M150 100L150 130M150 130L220 100M150 130L220 130M220 100L220 130M220 100L290 130M220 130L290 130'/%3E%3C/g%3E%3Cg fill='none' stroke-width='1.6'%3E%3Cpath d='M90 30L150 30L150 100L290 100L290 130L90 130Z' stroke='%23F4F4F0' stroke-opacity='.85'/%3E%3C/g%3E%3Cpath d='M150 100L170 112L150 130Z' fill='%23C2410C' fill-opacity='.85'/%3E%3Cpath d='M90 30L150 60L90 60Z' fill='%234ADE9A' fill-opacity='.35'/%3E%3Ccircle cx='120' cy='112' r='8' fill='none' stroke='%23F4F4F0' stroke-opacity='.85' stroke-width='1.4'/%3E%3C/svg%3E") center/cover no-repeat; }
h1 { font-size: clamp(46px, 6.8vw, 104px); line-height: 1.0; font-weight: 450; letter-spacing: -0.025em; }
.page-head h1 { font-size: clamp(42px, 5.6vw, 84px); }
.sec.full .sec-body > h2 { font-size: clamp(32px, 3.8vw, 56px); }
.hero .wrap > figure { background: #0E1116; }
.hero h1 { font-size: clamp(42px, 5.3vw, 78px); }
/* r3: the verified-debate loop moves: arrows flow toward their heads */
@keyframes r3flow { to { stroke-dashoffset: -22; } }
.fig-wide path[marker-end], .fig-narrow path[marker-end] { stroke-dasharray: 7 4; animation: r3flow 1.1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .fig-wide path[marker-end], .fig-narrow path[marker-end] { animation: none; stroke-dasharray: none; } }
/* r3: owned shape = the spec band (tolerance window from the hero plot), used as the CTA's top edge */
.closing::before { content: ""; display: block; height: 28px; background: rgba(255,255,255,.12); border-top: 1.5px dashed rgba(255,255,255,.75); border-bottom: 1.5px dashed rgba(255,255,255,.75); }

/* r4: full-bleed dark hero; die shown as a large tilted object cropped by the right edge;
   the spec band (tolerance window) runs edge to edge across the hero as the signature shape;
   one heavy sans voice for the hero h1 accent and the 04 numerals. */
.hero { position: relative; background: #0B0E13; overflow: hidden; isolation: isolate; padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.hero::before { content: ""; position: absolute; z-index: -2; top: 50%; right: -14vw; width: min(64vw, 980px); aspect-ratio: 1; background: url(assets/die.svg) center/contain no-repeat; transform: translateY(-50%) perspective(1600px) rotateX(22deg) rotateZ(-9deg); box-shadow: 0 80px 160px rgba(0,0,0,.7), 0 0 0 1px rgba(74,222,154,.25); filter: saturate(1.15) brightness(1.1); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 56%; height: clamp(120px, 14vw, 200px); background: rgba(74,222,154,.09); border-top: 2px dashed rgba(74,222,154,.9); border-bottom: 2px dashed rgba(74,222,154,.9); }
.hero h1 { color: #F4F4F0; font-size: clamp(46px, 6.2vw, 96px); font-weight: 400; letter-spacing: -0.02em; }
.hero .lead { color: #C9CED6; }
.hero .link { color: #F4F4F0; border-color: rgba(244,244,240,.5); }
.hero .link:hover { color: #F4F4F0; border-color: #F4F4F0; }
.hero .wrap > figure { background: rgba(11,14,19,.78); border: 1px solid rgba(74,222,154,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sec.die .ledger .big { font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; font-weight: 800; letter-spacing: -0.04em; }
.closing::before { height: clamp(64px, 7vw, 110px); }
.hero h1 { font-size: clamp(42px, 5.2vw, 78px); }
.hero::after { top: 27%; height: clamp(150px, 18vw, 250px); }
.hero::before { right: -24vw; width: min(80vw, 1200px); }
.hero::after { top: 45%; height: clamp(150px, 17vw, 240px); }
.hero .btn { background: #F4F4F0; color: #0B0E13; border-color: #F4F4F0; }
.hero .btn:hover { background: #F4F4F0; border-color: #F4F4F0; color: #0B0E13; }
@media (max-width: 860px) { .hero::after { top: 56px; height: 230px; } }
@media (max-width: 860px) { .hero::after { top: 52px; height: 168px; } }
/* r4: inner page-heads share the hero's full-bleed dark field + spec band behind the h1 */
.page-head { position: relative; background: #0B0E13; overflow: hidden; isolation: isolate; }
.page-head::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: clamp(96px, 11vw, 150px); height: clamp(110px, 12vw, 190px); background: rgba(74,222,154,.09); border-top: 2px dashed rgba(74,222,154,.9); border-bottom: 2px dashed rgba(74,222,154,.9); }
.page-head h1 { color: #F4F4F0; }
.page-head .lead, .page-head p { color: #C9CED6; }
.page-head .kicker { color: #F4F4F0; }
.page-head a:not(.btn) { color: #F4F4F0; border-color: rgba(244,244,240,.5); }
.page-head .btn { background: #F4F4F0; color: #0B0E13; border-color: #F4F4F0; }

/* r5: hero object uncovered (figure moved below the first screen), band rides the h1, weight contrast inside the serif */
.hero h1 { font-weight: 300; }
.hero h1 b { font-weight: 600; color: #F4F4F0; }
.page-head h1 b { font-weight: 600; }
.hero::after { display: none; }
.hero h1 { position: relative; }
.hero h1::after { content: ""; position: absolute; z-index: -1; left: -100vw; right: -4%; top: -0.08em; bottom: -0.12em; background: rgba(74,222,154,.09); border-top: 2px dashed rgba(74,222,154,.9); border-bottom: 2px dashed rgba(74,222,154,.9); }
@media (min-width: 861px) {
  .hero .wrap { display: block; }
  .hero .wrap > div:first-child { max-width: 47%; min-height: clamp(520px, 62vh, 700px); display: flex; flex-direction: column; justify-content: center; }
  .hero::before { top: clamp(24px, 4vw, 64px); right: -12vw; width: min(62vw, 940px); transform: perspective(1600px) rotateX(22deg) rotateZ(-9deg); }
  .hero .wrap > figure { margin-top: clamp(64px, 9vw, 140px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; background: rgba(11,14,19,.92); }
  .hero .wrap > figure .fig-cap { grid-column: 1 / -1; }
}
.sec.die .ledger .big { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; }
.big { font-weight: 600; }
@media (min-width: 861px) { .hero .wrap > figure { align-items: center; } .hero .wrap > figure .fig-cap { margin-top: 0; } }
/* r5: environments demo = product terminal, not the home card (plot hidden here, record as a dark session window) */
.env-demo .corner-plot { display: none; }
.env-demo .wrap .record { position: relative; background: #05070A; border: 1px solid rgba(74,222,154,.35); border-radius: 8px; padding: 46px 26px 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); font-size: 14px; }
.env-demo .wrap .record::before { content: ""; position: absolute; top: 17px; left: 20px; width: 10px; height: 10px; border-radius: 50%; background: #F45B3B; box-shadow: 16px 0 0 #E8B84A, 32px 0 0 #F4F4F0; }
.env-demo .wrap .record .rhead, .env-demo .wrap .record dt, .env-demo .wrap .record .res { color: #8A93A0; }
.env-demo .wrap .record .rtitle, .env-demo .wrap .record dd { color: #E8ECEF; }
.env-demo .wrap .record .rtitle, .env-demo .wrap .record .row { border-color: rgba(255,255,255,.09); }
.env-demo .wrap .record dd::before { content: "> "; color: #F4F4F0; }
.env-demo .wrap .record .row.proof { background: linear-gradient(90deg, rgba(74,222,154,.16), rgba(74,222,154,0)); }
.env-demo .wrap .record .row.proof dt, .env-demo .wrap .record .row.proof .res { color: #F4F4F0; }
.page-head h1 { font-weight: 300; } .page-head h1 b { color: #F4F4F0; }

/* r6: minimal Fig. 1 (home hero): no panel, no table, grey scatter, one orange mark, one label */
.hero .wrap > figure.fig1{background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important;display:block!important;grid-template-columns:none!important;max-width:760px;margin:clamp(24px,4vw,56px) 0 0!important}
.fig1::before,.fig1::after{content:none!important;display:none!important}
.fig1-plot{display:block;width:100%;height:auto;background:none;border:0;overflow:visible}
.fig1 .f1-edge{stroke:rgba(255,255,255,.28);stroke-width:1;stroke-dasharray:2 5}
.fig1 .f1-dots{fill:rgba(255,255,255,.42)}
.fig1 .f1-fail{fill:#E8642C}
.fig1 .f1-l{font-family:var(--mono,ui-monospace,monospace);font-size:12px;fill:#E8642C;letter-spacing:.02em}
.fig1 .fig-cap{color:rgba(255,255,255,.6)!important;border:0!important;margin-top:14px;padding:0;max-width:560px}
.fig1 .fig-cap b{color:#fff;font-weight:500}
.hero .wrap > figure.fig1{max-width:min(40vw,540px)!important;margin-top:clamp(8px,2vw,24px)!important}
.fig1 .fig-cap,.hero .fig1 figcaption{background:none!important;box-shadow:none!important;padding:0!important}
@media (max-width:860px){.hero .wrap > figure.fig1{max-width:100%!important}}
/* r6: environments record: no window chrome; failure is orange everywhere (never green) */
.env-demo .record::before{content:none!important;display:none!important}
.record .row.proof .res{color:#E8642C!important}
.record .row.proof{background:none!important}
.env-demo .record{padding-top:26px!important}
@media (min-width:861px){.hero .wrap > div:first-child{min-height:clamp(440px,52vh,600px)!important}}
@media (max-width:860px){.fig1 .f1-l{font-size:20px}.hero::before{display:none!important}}
/* r7: hero = one visual. Die and h1 band removed; Fig. 1 takes the right column, top-aligned with the h1; orange only for the failure */
.hero::before,.hero::after,.hero h1::after{content:none!important;display:none!important}
.hero .btn{background:#fff!important;color:#0B0E13!important;border-color:#fff!important}
@media (min-width:861px){
  .hero .wrap{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(40px,5vw,96px);align-items:center}
  .hero .wrap > div:first-child{max-width:none!important;min-height:clamp(440px,60vh,620px)!important}
  .hero .wrap > figure.fig1{max-width:none!important;margin:0!important;align-self:center}
}
.fig1 .f1-dots{fill:rgba(255,255,255,.82)}
.fig1 .f1-dots circle{r:2.6px}
.fig1 .f1-edge{stroke:rgba(255,255,255,.5);stroke-dasharray:3 5}
.fig1 .f1-fail{r:6px}
.fig1 .f1-l{font-size:15px}
.fig1 .fig-cap{color:rgba(255,255,255,.66)!important;margin-top:22px!important}
.page-head::after{content:none!important;display:none!important}
.env-demo .record{border:0!important;border-top:1px solid rgba(255,255,255,.14)!important;border-radius:0!important;box-shadow:none!important;background:none!important}
.page-head .btn{background:#fff!important;color:#0B0E13!important;border-color:#fff!important}
@media (min-width:861px){.hero h1{font-size:clamp(40px,4.5vw,68px)!important}}

/* r8: live Fig. 1 (founder: Sakana-like, dynamic, minimal). Canvas fills the right column; one coloured mark. */
.hero .fig1.f1-live-wrap { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; width: 100%; max-width: none; }
.f1-live { display: block; width: 100%; height: clamp(300px, 36vw, 520px); }
.hero h1 b { color: inherit; font-weight: 600; }
body:has(.hero) .site-header { background: #0B0E13; border-bottom-color: transparent; }
body:has(.hero) .site-header .nav a, body:has(.hero) .site-header .brand { color: rgba(255,255,255,.78); }
body:has(.hero) .site-header .brand svg { stroke: #fff; }
body:has(.hero) .site-header .cta { display: none; }
@media (max-width: 860px) { .f1-live { height: 280px; } }
/* r8: environments + inner pages: home stays the largest type; one dark ground; no terminal prompts. */
.page-head h1 { font-size: clamp(36px, 4vw, 60px); }
.page-head, .env-demo { background: #0B0E13; }
.env-demo .record dd::before { content: none; display: none; }
body:has(.page-head) .site-header { background: #0B0E13; border-bottom-color: transparent; }
body:has(.page-head) .site-header .nav a, body:has(.page-head) .site-header .brand { color: rgba(255,255,255,.78); }
body:has(.page-head) .site-header .nav a[aria-current] { color: #fff; }
body:has(.page-head) .site-header .brand svg { stroke: #fff; }
body:has(.page-head .btn) .site-header .cta { display: none; }
/* r9: live field is the hero's ground (Sakana/Runway): full hero, text over it, edges fade. */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: static; }
.hero .wrap > div:first-child { position: relative; z-index: 1; }
.hero .wrap > figure.fig1.f1-live-wrap { position: absolute !important; inset: 0; z-index: 0; margin: 0 !important; max-width: none !important; pointer-events: none; }
.hero .f1-live { width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 72% 78% at 56% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 56% 50%, #000 62%, transparent 100%); }
@media (min-width: 861px) {
  .hero .wrap { display: block !important; }
  .hero .wrap > div:first-child { max-width: 50% !important; min-height: clamp(520px, 70vh, 680px) !important; }
  .hero h1 { font-size: clamp(48px, 5.6vw, 88px) !important; }
}
@media (max-width: 860px) { .hero .wrap > div:first-child { min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 32px; } }
@media (min-width: 861px) { .hero .wrap > div:first-child { min-height: clamp(460px, 62vh, 600px) !important; } }
/* r9: environments record: orange is the only accent (proof label neutral). */
.record .row.proof dt { color: var(--muted) !important; font-weight: 400 !important; }
.env-demo .wrap .record .row.proof dt { color: #8A93A0 !important; }
.env-demo .wrap .record .row.proof { background: none !important; }
@media (max-width: 860px) { .hero .f1-live { opacity: .5; } }
@media (min-width: 861px) { .hero .wrap > div:first-child { min-height: clamp(420px, 54vh, 540px) !important; } }

/* r10: hero = full first screen (backers below the fold) */
@media (min-width:861px){ .hero{ min-height:calc(100vh - 64px); box-sizing:border-box; } }
/* r10: still frame of the packed layout behind inner page-heads (right side, dim) */
@media (min-width:861px){ .page-head{ position:relative; overflow:hidden; } .page-head::before{ content:""; position:absolute; right:-40px; top:50%; transform:translateY(-50%); width:min(42vw,560px); aspect-ratio:600/560; background:url(assets/layout.svg) center/contain no-repeat; opacity:.55; pointer-events:none; z-index:0; } .page-head .wrap{ position:relative; z-index:1; } }
@media (min-width:861px){ .page-head::before{ right:3vw; top:54%; width:min(32vw,440px); opacity:.6; } }
@media (min-width:861px){ .page-head::before{ right:2vw; width:min(27vw,390px); } }

/* ===== r1 (debate round 1): one surface, one accent, larger text. Overrides everything above. ===== */
:root { --muted: #4A5059; --ink-2: #22272E; }
body { font-size: 18px; }
.body, .sec .rows .r p, .sec .col p, .sec .ledger p { color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.sec-label .n { display: none; }
/* dark bands and the textured results band become the same cream page */
.sec.dark, .sec.die { background: var(--paper) !important; color: var(--ink); border-top: 1px solid var(--rule); padding-block: 0; }
.sec.die::before { content: none !important; display: none !important; }
.sec.dark h2 { color: var(--ink); }
.sec.dark .sec-label, .sec.dark .meta { color: var(--muted); opacity: 1; }
.sec.dark .body, .sec.dark p { color: var(--ink-2); opacity: 1; }
.sec.dark .stat .fig { color: var(--ink); font-size: clamp(44px, 5vw, 68px); font-weight: 400; }
.sec.dark .stat.ours .fig { color: var(--accent); }
.sec.dark .col { border-color: var(--rule-strong); }
.sec.die .ledger { border-top: 1px solid var(--rule-strong); }
.sec.die .ledger .e { background: transparent; border-left: 1px solid var(--rule); }
.sec.die .ledger .big { color: var(--ink); font-size: clamp(40px, 4.2vw, 60px); font-weight: 400; }
.sec.die .ledger p { color: var(--ink-2); }
.sec.die .bar, .sec.die .bars span { color: var(--muted); }
.sec.die .link { color: var(--ink); border-color: var(--rule-strong); }
.sec.die .link:hover { color: var(--accent); border-color: var(--accent); }
/* closing: no green band */
.closing { background: var(--paper) !important; color: var(--ink); border-top: 1px solid var(--rule-strong); }
.closing h2, .closing .lead, .closing p, .closing .sec-label { color: var(--ink) !important; }
.closing .btn { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink) !important; }
.closing .link { color: var(--ink) !important; border-color: var(--rule-strong) !important; }
/* domain cards: no decorative thumbnails, plain ruled rows */
.sec.cards .rows .r::before { content: none !important; display: none !important; }
.sec.cards .rows .r { background: transparent; border: 0; border-top: 1px solid var(--rule-strong); border-radius: 0; padding: 20px 0 0; }
.sec.cards .rows .r > * { margin-inline: 0; }
/* inner page heads: same cream surface as the body, no ornaments */
.page-head, .env-demo { background: var(--paper) !important; border-bottom: 1px solid var(--rule-strong); }
.page-head::before, .page-head::after { content: none !important; display: none !important; }
.page-head h1 { color: var(--ink) !important; }
.page-head h1 b { color: var(--accent) !important; }
.page-head .lead, .page-head p { color: var(--ink-2) !important; }
.page-head .kicker { color: var(--muted) !important; }
.page-head a:not(.btn) { color: var(--ink) !important; border-color: var(--rule-strong) !important; }
.page-head .btn { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink) !important; }
body:has(.page-head) .site-header { background: var(--paper) !important; border-bottom-color: var(--rule) !important; }
body:has(.page-head) .site-header .nav a, body:has(.page-head) .site-header .brand { color: var(--ink-2) !important; }
body:has(.page-head) .site-header .nav a[aria-current] { color: var(--ink) !important; }
body:has(.page-head) .site-header .brand svg { stroke: var(--accent) !important; }
/* r1: flowchart in one line style (solid, no marching dashes, no dotted box) */
.fig-wide path[marker-end], .fig-narrow path[marker-end] { stroke-dasharray: none !important; animation: none !important; }
.fig-wide rect, .fig-narrow rect { stroke-dasharray: none !important; }
/* r1: gap chart re-coloured for the cream surface */
.gap-chart .gc-l { color: var(--muted) !important; opacity: 1 !important; }
.gap-chart .gc-row b { color: var(--ink) !important; opacity: 1 !important; }
.gap-chart .gc-row.ours b { color: var(--accent) !important; }
.gap-chart .gc-bar { background: var(--paper-2) !important; }
.gap-chart .gc-row .gc-bar i { background: #8A9099 !important; }
.gap-chart .gc-row.ours .gc-bar i { background: var(--accent) !important; }
.sec.die .track { background: var(--paper-2) !important; }
.sec.die .fill { background: #8A9099 !important; }
.sec.die .bar.ours .fill { background: var(--accent) !important; }
/* r1: the round record keeps its dark field (one deliberate dark moment; its text is styled for dark) */
.env-demo { background: #0B0E13 !important; border-bottom: 0; }
/* r1: header CTA stays ink on its own page (green reserved for proven/measured) */
.cta[aria-current="page"] { background: var(--ink) !important; border-color: var(--ink) !important; }

/* ===== r2 (debate round 2): home cut to problem / method / one proven result; no stat tiles on home */
.proof-feature{display:grid;grid-template-columns:auto 1fr;gap:12px 48px;align-items:center;border-top:1px solid #1A1D21;border-bottom:1px solid rgba(26,29,33,.18);padding:36px 0;margin:28px 0 24px}
.proof-feature .big{font-family:var(--serif,Georgia,serif);font-size:clamp(80px,11vw,152px);line-height:.85;letter-spacing:-.03em;color:#1B1F24}
.proof-feature p{font-size:22px;line-height:1.4;max-width:32ch;margin:0 0 14px}
.sec .body.prose{max-width:64ch}
.domains-line b{font-weight:600}
.sec .actions .link + .link{margin-left:28px}
@media (max-width:700px){.proof-feature{grid-template-columns:1fr}}

/* ===== r3: home Lean excerpt beside the ±2% result */
.home-lean { margin: 28px 0 8px; max-width: 760px; }
.home-lean .plate { background: #0E1116; border-radius: 6px; padding: 18px 22px; overflow-x: auto; }
.home-lean pre.code { margin: 0; color: #E8EAEE; font: 14px/1.6 var(--mono, ui-monospace, monospace); white-space: pre; }
.home-lean pre.code .k { color: #F4F4F0; }
.home-lean .fig-cap { margin-top: 10px; }
.home-lean .fig-cap .link { margin-left: 8px; }
@media (max-width: 600px) { .home-lean pre.code { font-size: 12px; } }
@media (max-width: 600px) { .home-lean pre.code { white-space: pre-wrap; word-break: break-word; } .home-lean .plate { padding: 14px 16px; } }
/* r3: backer logos at one weight; one row on mobile */
.backers .logos img { filter: grayscale(1) contrast(1.1) !important; opacity: .62 !important; }
@media (max-width: 600px) { .backers .logos { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between; gap: 12px !important; } .backers .logos img { height: 14px !important; width: auto !important; max-width: 19% !important; } }

/* ===== r4: home method split (fills the empty right half) */
.m-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:72px;align-items:end}
.m-steps{list-style:none;margin:0;padding:0;border-top:1px solid currentColor}
.m-steps li{display:grid;grid-template-columns:44px 1fr;padding:16px 0;border-bottom:1px solid rgba(0,0,0,.14);font-size:17px;line-height:1.4}
.m-steps li span{font-family:var(--mono, ui-monospace, monospace);font-size:12px;letter-spacing:.06em;opacity:.6;padding-top:3px}
.m-steps li.v{color:var(--accent,#1B1F24);font-weight:500}
@media (max-width:900px){.m-split{grid-template-columns:1fr;gap:36px}}
.m-split h2{margin-bottom:22px}
/* r4: one portrait treatment (same crop, grade and ground for both founders) */
.person img{object-position:50% 20%;filter:grayscale(1) contrast(1.15) brightness(1.03);mix-blend-mode:multiply;background:var(--paper,#F4F3EF);aspect-ratio:1/1}
/* r4: tight head crop so both portraits share one frame */
.person .ph{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:#d9d7d1}
.person .ph img{width:100%;height:100%;object-fit:cover;object-position:50% 25%;transform:scale(1.5);transform-origin:50% 30%;mix-blend-mode:normal}

/* ===== r5: home nav keeps Request access; failure bar in the fail tone; home ledger = one number + one line */
@media (min-width: 601px) {
  body:has(.hero) .site-header .cta, body:has(.hero) .btn.sm.cta { display: inline-flex !important; }
}
.gap-chart .gc-row.fail b { color: #C2410C !important; }
.gap-chart .gc-row.fail .gc-bar i { background: #C2410C !important; }
body:has(.hero) .ledger .why { display: none !important; }
body:has(.hero) .sec.die { background-image: none !important; }
body:has(.hero) .ledger .bar .track { position: relative; display: block; height: 6px; background: rgba(14,17,22,.08); }
body:has(.hero) .ledger .bar .fill { background: #8A9099 !important; }
body:has(.hero) .ledger .bar.ours .fill { background: var(--accent) !important; }
body:has(.hero) .ledger .bar { grid-template-columns: 1fr auto; row-gap: 4px; margin-top: 6px; }
body:has(.hero) .ledger .bar .track { grid-column: 1 / -1; grid-row: 2; }
body:has(.hero) .ledger .bars { display: block; width: 100%; max-width: 230px; }
body:has(.hero) .ledger .bars .bar { width: 100%; }
.closing::before { content: none !important; display: none !important; }
/* r5: same drawn mini-bars in the research ledger as on home */
.ledger .bars { display: block; width: 100%; max-width: 230px; }
.ledger .bars .bar { width: 100%; grid-template-columns: 1fr auto; row-gap: 4px; margin-top: 6px; }
.ledger .bar .track { grid-column: 1 / -1; grid-row: 2; position: relative; display: block; height: 6px; background: rgba(14,17,22,.08) !important; }
.ledger .bar .fill { background: #8A9099 !important; }
.ledger .bar.ours .fill { background: var(--accent) !important; }
/* r1: home system diagram */
.m-split:has(.sysfig){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:center}
@media (max-width:900px){.m-split:has(.sysfig){grid-template-columns:1fr}}
.sysfig{margin:0}
.sysfig svg text{font-family:var(--mono, ui-monospace, monospace)}
.sysfig .fig-cap{margin-top:14px}
/* r2: no sideways scroll on phones; whole figure scales so every node stays visible */
@media (max-width:600px){.sysfig{overflow:visible}.sysfig svg{min-width:0;width:100%}}
@media (prefers-reduced-motion:reduce){.sysfig .tok{display:none}}
@media (max-width:600px){.sec .actions .link + .link{margin-left:0}}

/* r1: Swiss grotesk display, tabular figures, instrument hero */
:root{--grot:"Inter Tight","Neue Haas Grotesk Display Pro","Helvetica Neue",Helvetica,Arial,sans-serif;}
h1,h2,h3{font-family:var(--grot);font-weight:650;letter-spacing:-0.03em;}
h1,.hero h1,.page-head h1{font-weight:750;letter-spacing:-0.045em;line-height:0.94;}
.stat .fig,.ledger .big,.sec.die .ledger .big,.proof-feature .big,.gc-row b{font-family:var(--grot);font-weight:700;letter-spacing:-0.045em;font-variant-numeric:tabular-nums lining-nums;}
.fig1.inst{margin:0;align-self:center;border-top:1px solid #3A414B;padding-top:8px}
.inst-hit{animation:instHit 3.2s ease-in-out infinite}
@keyframes instHit{0%,60%,100%{opacity:1}75%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.inst-hit{animation:none}}
@media (min-width:1000px){.hero .wrap{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:64px;align-items:center}.hero .fig1.inst{position:static;width:auto;height:auto;inset:auto;transform:none;opacity:1}}
@media (min-width:1000px){main .hero > .wrap{display:grid!important;grid-template-columns:minmax(0,6fr) minmax(0,5fr)!important;gap:64px!important;align-items:center!important}}
main .hero .wrap > figure.inst{background:none!important;border:0!important;border-top:1px solid #3A414B!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:8px 0 0!important;border-radius:0!important;position:static!important}
main .hero .wrap > figure.inst .fig-cap{background:none!important;padding:8px 0 0!important;color:#9AA3AE!important}
@media (min-width:1000px){main .hero > .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}main .hero > .wrap > div:first-child{max-width:none!important}main .hero h1{font-size:clamp(44px,4.7vw,74px)!important}}
/* r1: two voices only — grotesk for text, mono for labels */
body,.lead,p,li,dd,input,textarea,select{font-family:var(--grot)}
.lead{font-weight:400;letter-spacing:-0.005em}
.proof-feature .big{color:#1B1F24!important}
main h2{font-weight:650!important;letter-spacing:-0.03em!important}

/* r2: real grotesk loaded (Inter Tight via Google Fonts link); serif dropped. Hero needle converges into the band. */
:root{--grot:"Inter Tight","Helvetica Neue",Helvetica,Arial,sans-serif;--ok:#5B8CFF;}
.fig1.inst .inst-hit text{opacity:1!important}
.btn.primary,.cta{background:var(--ok);border-color:var(--ok);}
.fig1.inst .inst-hit{animation:none!important;opacity:1!important}
main .hero h1,.hero h1{letter-spacing:-.03em!important}
@media (min-width:1000px){main .hero > .wrap{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;align-items:center!important}}
:root{--serif:var(--grot);}
.brand span{font-family:var(--grot)!important;font-weight:800!important;font-size:21px!important;letter-spacing:-.03em!important;text-transform:none}
.fig1.inst{position:relative}
.fig1.inst svg,.fig1.inst figcaption{position:relative;z-index:1}

/* r3: hero = proof certificate (real Lean result), one accent (blue = proven), neutral buttons, grotesk nav */
main .hero{min-height:0!important;padding:104px 0 88px!important}
@media (min-width:1000px){main .hero > .wrap{align-items:start!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}}
main .hero h1,.hero h1{font-weight:600!important;letter-spacing:-.012em!important;line-height:1!important}
@media (min-width:1000px){main .hero h1{font-size:clamp(52px,5.2vw,84px)!important}}
.fig1.cert{margin-top:12px!important;border-top:1px solid #E8E6E1!important;padding-top:0!important}
.cert-head{display:flex;justify-content:space-between;font:500 12px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#E8E6E1;padding:12px 0 18px}
.cert-t{width:100%;border-collapse:collapse;margin-top:18px;font-family:var(--grot);font-size:15px;color:#E8E6E1}
.cert-t th{text-align:left;font:500 11px/1.2 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#9AA3AE;width:30%;padding:11px 0;vertical-align:baseline}
.cert-t td{padding:11px 0;vertical-align:baseline}
.cert-t tr{border-top:1px solid #2A3038}
.cert-t tr:last-child{border-bottom:1px solid #2A3038}
.cert-t td.m{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:14px;font-variant-numeric:tabular-nums}
.cert-t td.ok{color:#5B8CFF}
@media (prefers-reduced-motion:reduce){.cert-bar{animation:none}}
@media (max-width:640px){.cert-scale{display:none}.cert-t th{width:36%}main .hero{padding:48px 0 56px!important}}
.btn.primary,.cta,.btn.sm.cta{background:transparent!important;border:1px solid currentColor!important;color:inherit!important}
header nav a,.nav a,.btn,.cta,.actions .link{font-family:var(--grot)!important;letter-spacing:0!important;text-transform:none!important}
header .cta,header .btn.sm.cta{color:#E8E6E1!important;border-color:#5A626D!important}
@media (max-width:640px){.fig1.cert .cert-scale{display:none!important}main .hero > .wrap{min-height:0!important;padding-top:0!important;margin-top:0!important}main .hero{display:block!important;min-height:0!important}}
header .cta,header .btn.sm.cta{color:#1B1F24!important;border-color:#1B1F24!important}
body:has(main .hero) header .cta,body:has(main .hero) header .btn.sm.cta{color:#E8E6E1!important;border-color:#5A626D!important}
.page-head h1,main .page-head h1{font-weight:600!important;letter-spacing:-.015em!important;line-height:1.02!important}
main h2{font-weight:600!important;letter-spacing:-.015em!important}

/* r4: hero headroom, mobile band, cert labels in grotesk, quiet backers (moved to page end in index.html) */
main .hero .wrap > div:first-child{min-height:0!important;justify-content:flex-start!important}
main .hero{padding:72px 0 72px!important}
.fig1.cert .cert-t th{font-family:var(--grot)!important;font-size:13px!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important}
.backers .wrap{min-height:0!important;padding-top:20px!important;padding-bottom:20px!important}
.backers .logos img{height:18px!important;filter:grayscale(1)!important;opacity:.55!important}
@media (max-width:640px){main .hero{padding:28px 0 48px!important}.fig1.cert .cert-scale{display:block!important}.fig1.cert .cert-scale text{font-size:22px}}
@media (max-width:640px){.fig1.cert .cert-scale{overflow:visible}}
@media (min-width:1000px){.fig1.cert .cert-t th,.fig1.cert .cert-t td{padding-top:14.8px!important;padding-bottom:14.8px!important}main .hero .fig1.cert{margin-top:32px!important}}

/* r5: band = proven statement; mobile scale keeps 3 labels; statement never wraps */
@media (max-width:640px){
  .cert-scale line[y2="64"], .cert-scale text[y="92"]{display:none}
  .cert-scale text[y="92"][x="320.0"]{display:inline}
  .cert-scale{overflow:hidden!important}
  .cert-t td.m{white-space:nowrap;font-size:13px}
}
@media (max-width:640px){
  .cert-t tr{display:block;border-bottom:1px solid rgba(232,230,225,.18)}
  .cert-t th,.cert-t td{display:block;width:auto!important;border:0!important;padding-left:0!important;padding-right:0!important}
  .cert-t th{padding-bottom:0!important;opacity:.7}
  .cert-t td{padding-top:2px!important}
}

/* v8: chip field back in the hero; certificate in the dark band directly below it */
main .hero.hero-cert{padding:0 0 72px!important;min-height:0!important}
@media (max-width:999px){main .hero.hero-cert .wrap > div:first-child{display:none}}
main .hero .f1-live{-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 68%,transparent 100%),radial-gradient(ellipse 72% 78% at 56% 50%,#000 62%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,#000 0,#000 68%,transparent 100%),radial-gradient(ellipse 72% 78% at 56% 50%,#000 62%,transparent 100%);mask-composite:intersect}
main .hero .wrap > figure.f1-live-wrap{top:0!important;bottom:0!important;left:0!important;right:0!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important}
main .hero .wrap > figure.f1-live-wrap{align-self:stretch!important;justify-self:stretch!important}
main .hero .f1-live{-webkit-mask-image:radial-gradient(ellipse 72% 78% at 56% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 72% 78% at 56% 50%,#000 62%,transparent 100%);-webkit-mask-composite:source-over;mask-composite:add}

/* v9: principle line, section numbers, precision details */
.sec-label .n{display:inline!important;color:inherit!important;margin-right:14px;font-variant-numeric:tabular-nums}
.sec-label .n::after{content:"";display:inline-block;width:18px;height:1px;background:currentColor;opacity:.5;vertical-align:middle;margin-left:14px}
.principle{border-top:1px solid #E8E6E1;margin-top:32px}
.principle .pl{font:500 12px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#E8E6E1;padding:12px 0 0;margin:0}
.principle .pq{font-family:var(--grot);font-weight:600;letter-spacing:-.015em;line-height:1.04;font-size:clamp(34px,3.6vw,56px);color:#F4F4F0;margin:40px 0 0;max-width:11ch}
@media (min-width:1000px){main .hero.hero-cert > .wrap{align-items:start!important}}
@media (max-width:999px){main .hero.hero-cert .wrap > div.principle{display:block!important;margin:0 0 48px}}
@media (max-width:640px){.principle .pq{font-size:34px;margin-top:28px}}
.sec .pq{font-family:var(--grot);font-weight:600;letter-spacing:-.015em;line-height:1.05;font-size:clamp(28px,2.8vw,40px);color:var(--ink);border-top:1px solid var(--ink);padding-top:18px;margin:36px 0 0;max-width:16ch}
main{font-variant-numeric:tabular-nums}
.principle{border-top-color:#3A414B!important}
.principle .pl{padding-top:20px!important}
@media (max-width:999px){main .hero.hero-cert .wrap > div.principle{min-height:0!important;padding-bottom:0!important;margin:0 0 40px!important}.principle .pq{margin-bottom:0}}
