/* Seronera website, Linear look. Near-black surfaces, Inter at 510, hairline edges and one lime action per view. Red means a named person must act. */

:root {
  color-scheme: dark;
  --bg: #08090a;
  --bg-alt: #0f1011;
  --white: #0f1011;
  --line: #23252a;
  --line-strong: #383b3f;
  --ink: #f7f8f8;
  --text-2: #8a8f98;
  --text-3: #62666d;
  --accent: #d0d6e0;

  --btn: #e4f222;
  --btn-hover: #ecf55c;
  --btn-ink: #08090a;
  --nav-bg: rgba(15,16,17,0.78);
  --held: #eb5757;
  --band-edge: #23252a;

  --ins-bg: #08090a;
  --ins-panel: #0f1011;
  --ins-raise: #161718;
  --ins-line: #23252a;
  --ins-text: #d0d6e0;
  --ins-muted: #8a8f98;
  --ins-dim: #62666d;
  --ins-head: #f7f8f8;
  --ok: #4cb782;
  --run: #f2c94c;
  --tab-on: #161718;
  --tab-on-ink: #f7f8f8;
  --tab-on-n: #8a8f98;
  --band-btn: #e4f222;
  --band-btn-ink: #08090a;
  --band-btn-hover: #ecf55c;
  --code-k: #a5a8ff;

  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --dmono: var(--mono);
  --ddisp: var(--sans);

  --r: 6px;
  --max: 1200px;
  --gutter: 40px;
  --section: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-feature-settings: "cv01", "ss03";
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3);
}
.h1 {
  font-size: 72px; font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; margin: 0;
}
.h2 {
  font-size: 52px; font-weight: 500; line-height: 1.04; letter-spacing: -0.042em; margin: 0;
}
.h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
.h1, .h2 { text-wrap: balance; }
.lede { text-wrap: pretty; font-size: 19px; line-height: 1.6; color: var(--text-2); margin: 0; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 56px;
}
.section-head .lede { max-width: 480px; justify-self: end; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r);
  font: 500 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color 140ms, border-color 140ms;
}
.btn-dark { background: var(--btn); color: var(--btn-ink); box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 6px 14px -8px rgba(13,23,32,0.55); }
.btn-dark:hover { background: var(--btn-hover); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-light:hover { border-color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Nav */

.nav { position: sticky; top: 12px; z-index: 30; padding: 0 var(--gutter); margin-top: 12px; }
.nav-box {
  max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--nav-bg); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 8px 24px -16px rgba(13,23,32,0.25);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.brand svg { width: 26px; height: 26px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--text-2); text-decoration: none; border-radius: var(--r); }
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }

/* Hero */

.hero { padding: 96px 0 0; text-align: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 13.5px; color: var(--text-2); text-decoration: none;
}
.chip b { font: 500 11px/1 var(--mono); letter-spacing: 0.04em; color: var(--btn-ink); background: var(--btn); padding: 5px 7px; border-radius: 3px; }
.hero .h1 { margin: 28px auto 0; max-width: 980px; }
.hero .lede { margin: 26px auto 0; max-width: 660px; }
.hero .btn-row { justify-content: center; margin-top: 34px; }

/* Six stages (dark product panel) */

.side-k { font: 400 11px var(--mono); color: var(--ins-muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* Route for one change: variant C's diagram, drawn with this page's colours */
.fine { margin: 18px 0 0; font: 400 11.5px/1.55 var(--dmono); letter-spacing: 0.02em; color: var(--text-3); }
.diagram {
  --plate: var(--white); --rule: var(--line); --ink-2: var(--text-2); --ink-3: var(--text-3);
  margin: 56px 0 0; background: var(--plate); border: 1.5px solid var(--ink); color: var(--ink); text-align: left;
}
.diagram .mono { font: 400 11.5px/1.55 var(--dmono); letter-spacing: 0.02em; }
.diagram-top { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.diagram-top strong { font: 600 22px/1.1 var(--ddisp); }
.diagram-top .mono { color: var(--ink-3); }
.track { overflow-x: auto; padding: 18px 20px 6px; }
.track svg { display: block; width: 100%; min-width: 760px; height: auto; color: var(--ink); }
.diagram-foot { display: grid; gap: 12px; padding: 14px 20px 18px; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .diagram-foot { grid-template-columns: 1fr auto; align-items: center; } }
.diagram .next .mono { color: var(--ink-3); }
.diagram .next b { font: 600 20px/1.1 var(--ddisp); display: block; margin-top: 4px; }
.diagram .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--ink-2); }
.diagram .legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; background: var(--ink); }
.diagram .legend .c::before { background: transparent; border: 1.5px solid var(--ink); }
.diagram .legend .h::before { background: var(--held); }

/* What it is */

.define { padding: 104px 0 0; }
.define-box { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding-top: 28px; border-top: 1px solid var(--ink); }
.define p { margin: 0; font-size: 26px; line-height: 1.38; letter-spacing: -0.02em; font-weight: 400; max-width: 880px; }
.define p span { color: var(--text-3); }

/* Sections */

.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); }

/* Problem: without / with */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split-left .lede { margin-top: 22px; max-width: 420px; }

/* How it works: tabbed instrument */

.dark-band { background: var(--ins-bg); color: var(--ins-text); border-block: 1px solid var(--band-edge); }
.dark-band .h2 { color: #fff; }
.dark-band .lede { color: var(--ins-muted); }
.tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--ins-line); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.tab {
  appearance: none; border: 0; border-right: 1px solid var(--ins-line); background: var(--ins-panel); color: var(--ins-muted);
  padding: 14px 14px; font: 500 14px var(--sans); cursor: pointer; text-align: left; display: grid; gap: 3px; min-height: 44px;
}
.tab:last-child { border-right: 0; }
.tab .n { font: 400 11px var(--mono); color: var(--ins-dim); }
.tab[aria-selected="true"] { background: #f3f5f7; color: var(--ins-bg); }
.tab[aria-selected="true"] .n { color: #66717c; }
.tab:hover:not([aria-selected="true"]) { color: #fff; }
.panels { border: 1px solid var(--ins-line); border-radius: 0 0 var(--r) var(--r); background: var(--ins-panel); }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.panel[hidden] { display: none; }
.panel-text { padding: 32px; border-right: 1px solid var(--ins-line); display: grid; align-content: start; gap: 16px; }
.panel-text .h3 { color: #fff; font-size: 24px; }
.panel-text p { margin: 0; color: var(--ins-muted); font-size: 15.5px; }
.panel-art { padding: 24px; min-width: 0; }
.file { background: var(--ins-bg); border: 1px solid var(--ins-line); border-radius: var(--r); overflow: hidden; }
.file-bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--ins-line); font: 400 12px var(--mono); color: var(--ins-muted); flex-wrap: wrap; }
.file-bar b { color: var(--ins-text); font-weight: 500; overflow-wrap: anywhere; }
.file pre { margin: 0; padding: 16px 0; font: 400 12.5px/1.75 var(--mono); color: var(--ins-text); overflow-x: auto; counter-reset: ln; }
.file pre span { display: block; padding: 0 16px 0 0; white-space: pre; }
.file pre span::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 40px; padding-right: 14px; text-align: right; color: var(--ins-dim); }
.file pre .h { color: #fff; }
.file pre .c { color: var(--ins-dim); }
.file pre .k { color: #b9c7ff; }
.file pre .ok { color: var(--ok); }
.gate {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px;
  padding: 12px 14px; border: 1px solid var(--ins-line); border-radius: var(--r); font: 400 12.5px var(--mono); color: var(--ins-muted);
}
.gate b { color: var(--ok); font-weight: 500; }
.under { margin-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.under p { margin: 0; font-size: 14px; color: var(--ins-muted); }
.dark-band .btn-light { background: transparent; color: #fff; border-color: var(--ins-line); }
.dark-band .btn-light:hover { border-color: #fff; }
.dark-band .btn-dark { background: #f3f5f7; color: var(--ins-bg); box-shadow: none; }
.dark-band .btn-dark:hover { background: #fff; }

/* Platform teams */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding: 12px 20px 8px; }
.tbl td { padding: 11px 20px; border-top: 1px solid var(--line); color: var(--text-2); }
.tbl td:first-child { color: var(--ink); font-weight: 500; }

/* Deployment */
.legend { display: flex; gap: 20px; margin-top: 18px; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.legend i { display: inline-block; width: 9px; height: 9px; border: 1px solid var(--line-strong); background: #fff; margin-right: 6px; vertical-align: -1px; }

/* CTA */

.cta { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.cta .lede { margin-top: 20px; max-width: 420px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field input, .field textarea {
  font: 400 15px var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 14px; min-height: 46px; width: 100%;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 1px; background: var(--white); }
.form-foot { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.form-foot p { margin: 0; font-size: 13px; color: var(--text-3); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--bg-alt); font-size: 14px; }

/* Footer */

.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer p { font-size: 14px; color: var(--text-2); max-width: 400px; margin: 14px 0 0; }
.footer h3 { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.footer ul a:hover { color: var(--ink); }
.footer-base { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }

/* Who's asking: four questions, one answer each */

.tabs-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tabs-4 .tab { padding: 18px; gap: 8px; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; align-content: start; }
.tabs-4 .tab .n { letter-spacing: 0.06em; text-transform: uppercase; }
/* Guided pass: one tour of the four questions, then it stops for good. */
#ask .section-head .lede { max-width: 580px; }
.ask-tools { display: flex; justify-content: flex-end; margin: -32px 0 12px; }
.ask-tools:has(.auto-stop[hidden]) { display: none; }
.auto-stop { appearance: none; background: transparent; color: var(--ins-muted); border: 1px solid var(--ins-line); border-radius: 3px; min-height: 34px; padding: 0 12px; font: 400 12px var(--mono); cursor: pointer; }
.auto-stop:hover { color: #fff; border-color: var(--ins-muted); }
.tab { position: relative; }
.tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--held); }
.ask.playing .tab.playing .bar { animation: ask-fill 7s linear forwards; }
.ask.paused .tab.playing .bar { animation-play-state: paused; }
@keyframes ask-fill { from { width: 0; } to { width: 100%; } }
.panel-text .answer { font-size: 32px; line-height: 1.08; letter-spacing: -0.03em; }
.next-q {
  justify-self: start; appearance: none; background: none; border: 0; border-bottom: 1px solid var(--ins-line);
  padding: 0 0 4px; margin-top: 8px; color: #fff; font: 500 15px var(--sans); text-align: left; text-decoration: none; cursor: pointer;
}
.next-q:hover { border-bottom-color: #fff; }

.layers { display: grid; gap: 8px; }
.layer { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; padding: 16px; background: var(--ins-bg); border: 1px solid var(--ins-line); border-radius: var(--r); }
.layer .n { grid-row: span 3; padding-top: 3px; font: 400 11px var(--mono); color: var(--ins-dim); }
.layer b { font-weight: 500; color: #fff; }
.layer p { margin: 0; font-size: 14.5px; color: var(--ins-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font: 500 10.5px/1 var(--mono); letter-spacing: 0.05em; padding: 5px 7px; border: 1px solid var(--ins-line); border-radius: 3px; color: var(--ins-text); }
.to-all { margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--ins-line); border-radius: var(--r); font: 400 12.5px var(--mono); color: var(--ok); }

.limits { margin: 0; background: var(--ins-bg); border: 1px solid var(--ins-line); border-radius: var(--r); }
.limits div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 13px 16px; border-top: 1px solid var(--ins-line); }
.limits div:first-child { border-top: 0; }
.limits dt { font-size: 14.5px; font-weight: 500; color: #fff; }
.limits dd { margin: 0; font-size: 14.5px; color: var(--ins-muted); }

.cr { background: var(--ins-bg); border: 1px solid var(--ins-line); border-radius: var(--r); overflow: hidden; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ins-line); }
.kpi { padding: 14px; border-right: 1px solid var(--ins-line); }
.kpi:last-child { border-right: 0; }
.kpi-k { font: 400 10.5px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ins-muted); }
.kpi-v { margin: 6px 0 4px; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.kpi-s { font: 400 10.5px/1.4 var(--mono); color: var(--ins-dim); }
.tbl-wrap { overflow-x: auto; }
.tbl-dark th { padding: 12px 14px 8px; color: var(--ins-dim); white-space: nowrap; }
.tbl-dark td, .tbl-dark tbody th { padding: 9px 14px; border-top: 1px solid var(--ins-line); font: 400 12.5px var(--mono); color: var(--ins-text); white-space: nowrap; }
.tbl-dark tbody th { font: 500 13.5px var(--sans); letter-spacing: 0; text-transform: none; color: #fff; }
.tbl-dark td:first-child { color: var(--ins-text); font-weight: 400; }
.tbl-dark .low { color: var(--run); }
.tbl-dark .nd { color: var(--ins-dim); }
.attn { padding: 14px; border-top: 1px solid var(--ins-line); }
.attn ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.attn b { display: block; font-size: 14px; font-weight: 500; color: #fff; }
.attn li span { font-size: 13.5px; color: var(--ins-muted); }
.cr-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--ins-line); font: 400 11px var(--mono); color: var(--ins-dim); }

.define + .dark-band { margin-top: 104px; }

/* FAQ */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 18px var(--mono); color: var(--text-3); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: -6px 0 22px; max-width: 620px; font-size: 16px; color: var(--text-2); }

.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--btn); }

@media (max-width: 760px) {
  .define + .dark-band { margin-top: 72px; }
  .tabs.tabs-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs-4 .tab { font-size: 15px; padding: 14px; }
  .tabs-4 .tab:nth-child(3) { border-right: 1px solid var(--ins-line); }
  .tabs-4 .tab:nth-child(2n) { border-right: 0; }
  .panel-text .answer { font-size: 26px; }
  .limits div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--ins-line); }
  .faq summary { font-size: 17px; }
  .nav-box { gap: 12px; }
  .nav-cta { white-space: nowrap; }
  .tbl-dark th:nth-child(2), .tbl-dark td:nth-child(2) { display: table-cell; }
  .nav-cta .long { display: none; }
  .chip { font-size: 12px; gap: 8px; }
  .next-q { min-height: 44px; display: inline-flex; align-items: flex-end; }
}
.nav-cta .short { display: none; }
@media (max-width: 760px) { .nav-cta .short { display: inline; } }

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

/* Tablet */

@media (max-width: 1080px) {
  :root { --gutter: 24px; --section: 88px; }
  .h1 { font-size: 56px; }
  .h2 { font-size: 42px; }
  .nav-links { display: none; }
  .section-head, .split, .cta { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section-head .lede { justify-self: start; }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel-text { border-right: 0; border-bottom: 1px solid var(--ins-line); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .define-box { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* Mobile */

@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 72px; }
  .nav { padding: 0 12px; top: 8px; margin-top: 8px; }
  .nav-box { height: 56px; }
  .hero { padding-top: 56px; }
  .h1 { font-size: 42px; letter-spacing: -0.04em; }
  .h2 { font-size: 34px; }
  .lede { font-size: 17px; }
  .define { padding-top: 72px; }
  .define p { font-size: 21px; }
  .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab { border-bottom: 1px solid var(--ins-line); }
  .tab:nth-child(3) { border-right: 0; }
  .panel-text, .panel-art { padding: 18px; }
  .tbl th:nth-child(2), .tbl td:nth-child(2) { display: none; }
  .tbl th, .tbl td { padding-left: 14px; padding-right: 14px; }
  .form { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Linear look: colours that styles.css sets inside the dark band, routed through tokens. */

.dark-band .h2, .panel-text .h3, .layer b, .limits dt, .kpi-v, .attn b,
.tbl-dark tbody th, .file pre .h, .next-q,
.tab:hover:not([aria-selected="true"]), .auto-stop:hover,
.dark-band .btn-light { color: var(--ins-head, #fff); }
.next-q:hover, .dark-band .btn-light:hover, .auto-stop:hover { border-color: var(--ins-head, #fff); }
.tab[aria-selected="true"] { background: var(--tab-on, #f3f5f7); color: var(--tab-on-ink, var(--ins-bg)); }
.tab[aria-selected="true"] .n { color: var(--tab-on-n, #66717c); }
.dark-band .btn-dark { background: var(--band-btn, #f3f5f7); color: var(--band-btn-ink, var(--ins-bg)); }
.dark-band .btn-dark:hover { background: var(--band-btn-hover, #fff); }
.file pre .k { color: var(--code-k, #b9c7ff); }

/* The route diagram uses the page type (Inter, JetBrains Mono) in place of Barlow and Martian. */
.track svg [font-family*="Barlow"] { font-family: var(--ddisp); }
.track svg [font-family*="Martian"] { font-family: var(--dmono); }

/* Linear look: type, corners and surfaces. */

.h1 { font-size: 72px; font-weight: 510; line-height: 1.0; letter-spacing: -0.032em; }
.h2 { font-size: 48px; font-weight: 510; line-height: 1.0; letter-spacing: -0.022em; }
.h3, .panel-text .answer { font-weight: 510; letter-spacing: -0.022em; }
.lede { font-size: 18px; }
.eyebrow { font-family: var(--mono); font-weight: 400; }

/* A soft light floor under the hero diagram is the page's one gradient. */
.hero { background: radial-gradient(70% 55% at 50% 0%, rgba(208,214,224,0.07), transparent 70%); }
.chip { background: rgba(255,255,255,0.03); border-color: var(--line); border-radius: 999px; }
.chip b { border-radius: 999px; }
.btn { font-weight: 510; font-size: 14.5px; }
.btn-dark { box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 0 0 1px rgba(0,0,0,0.3); }
.btn-light { background: transparent; border-color: var(--line); color: var(--accent); }
.btn-light:hover { border-color: var(--line-strong); color: var(--ink); }
.nav-box { border-radius: 12px; border-color: var(--line); box-shadow: 0 4px 32px rgba(8,9,10,0.6); }
.nav-links a { font-size: 13.5px; font-weight: 400; color: var(--accent); }
.nav-links a:hover { background: rgba(255,255,255,0.04); }
.nav-cta { background: #fff; color: #08090a; border-radius: 999px; box-shadow: none; }

.diagram {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 40px 120px -40px rgba(208,214,224,0.16);
}
.diagram-top strong { font-weight: 510; font-size: 19px; letter-spacing: -0.012em; }
.diagram .next b { font-weight: 510; font-size: 18px; letter-spacing: -0.012em; }
.fine { color: var(--text-3); }

.define-box, .faq { border-top-color: var(--line-strong); }
.define p { font-weight: 400; letter-spacing: -0.022em; }

.dark-band { background: #0b0c0d; }
.tabs { border-radius: 12px 12px 0 0; }
.panels { border-radius: 0 0 12px 12px; }
.tab[aria-selected="true"] { box-shadow: inset 0 1px 0 #f7f8f8; }
.layer, .file, .cr, .limits { border-radius: 8px; }

.form { border-radius: 12px; }
.field input, .field textarea { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.08); }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline-color: transparent; background: rgba(255,255,255,0.03); }
.faq summary { font-weight: 510; }

@media (max-width: 1080px) {
  .h1 { font-size: 56px; }
  .h2 { font-size: 40px; }
}
@media (max-width: 760px) {
  .h1 { font-size: 42px; }
  .h2 { font-size: 32px; }
}
