@font-face {
  font-family: Instrument;
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Plex Mono;
  src: url("assets/ibm-plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #071321;
  --deep: #091a2b;
  --panel: #0c2036;
  --white: #f0f5fb;
  --muted: #a7b9cd;
  --blue: #a4c4ff;
  --action: #a1c4ff;
  --edge: #2b4562;
  --paper: #e9f0f8;
  --paper-ink: #10243a;
  --paper-muted: #354b66;
  --paper-edge: #b7c8dc;
  --mono: "Plex Mono", "Cascadia Mono", Consolas, monospace;
  --sans: Instrument, Inter, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 78px);
  --section: clamp(72px, 10vw, 148px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { margin: 0; color: var(--white); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #679ffe; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
code, pre { font-family: var(--mono); }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip:focus { position: absolute; z-index: 20; padding: 10px 16px; background: var(--paper); color: var(--ink); }
.nav { border-bottom: 1px solid #779bc32a; background: var(--ink); }
.nav-inner { display: flex; gap: 30px; align-items: center; min-height: 77px; }
.nav nav, .footer nav { display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: center; }
.nav nav { margin-left: auto; }
.nav nav a, .footer nav a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 500; }
.nav nav a:hover, .footer nav a:hover { color: var(--white); }
.nav nav a[aria-current="page"] { color: var(--white); }
.brand { display: inline-flex; gap: 8px; align-items: center; color: var(--white); font-size: 1.8rem; font-weight: 700; line-height: 1; letter-spacing: -.08em; text-decoration: none; }
.brand img { display: block; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 19px; border: 1px solid transparent; border-radius: 6px;
  font-weight: 650; white-space: nowrap; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--action); color: #0a1a2e; }
.button-primary:hover { background: #c3d9ff; }
.button-github { gap: 9px; color: #102a2a; background: #c0e8e2; border-color: #dbf5f0; }
.button-github:hover { background: #d9f5ef; border-color: #f0fffc; }
.button-github img { display: block; flex: none; }
.button-github span { display: inline-block; font-size: .88em; transition: transform .18s ease; }
.button-github:hover span { transform: translate(2px, -2px); }
.button-outline { border-color: var(--edge); color: var(--white); }
.button-outline:hover { border-color: #86abe1; background: #182b44; }
.nav-action { min-height: 43px; padding-inline: 16px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; color: var(--blue);
  font: .78rem/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase;
}
.eyebrow-rule { width: 21px; height: 1px; background: currentColor; flex: none; }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 77px); display: grid; align-items: center;
  background:
    radial-gradient(ellipse at 91% 72%, #174374 0%, #0c233c 35%, transparent 65%),
    var(--ink);
}
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.hero::before {
  inset: 0 0 0 36%; opacity: .46;
  background: repeating-linear-gradient(90deg, #70a6ed30 0 1px, transparent 1px 52px),
              repeating-linear-gradient(0deg, #70a6ed27 0 1px, transparent 1px 48px);
  mask-image: radial-gradient(ellipse at 85% 70%, #000 5%, #0009 53%, transparent 78%);
}
.hero::after {
  inset: 42% 0 0 42%;
  background: repeating-linear-gradient(159deg, #70a6ed32 0 1px, transparent 1px 13px);
  mask-image: linear-gradient(90deg, transparent, #000 62%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  column-gap: clamp(24px, 4vw, 64px); row-gap: 48px; align-items: center;
  padding-block: clamp(72px, 11svh, 126px) 40px;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(3.1rem, 5.8vw, 6.1rem); letter-spacing: -.056em; line-height: .98;
  font-weight: 600; margin-block: 22px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-lead { max-width: 440px; font-size: clamp(1.05rem, 1.5vw, 1.26rem); color: var(--muted); }
.actions { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-foot {
  grid-column: 1 / -1; border-top: 1px solid #94b5df35; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 11px 26px; padding-top: 20px; font: .79rem/1.5 var(--mono);
}
.hero-foot span + span::before { content: "/"; color: #7394c1; margin-right: 21px; }

.terminal {
  position: relative; min-width: 0; color: var(--white); border: 1px solid #4a6a93; border-radius: 9px;
  background: linear-gradient(145deg, #112640, #09192d 72%); box-shadow: 0 25px 63px #030a165e;
}
.terminal::before {
  position: absolute; content: ""; pointer-events: none; width: 64%; height: 1px; top: -1px; left: 18%;
  background: linear-gradient(90deg, transparent, #a4caff, transparent);
}
.terminal-title, .terminal-footer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  padding: 12px clamp(14px, 2vw, 23px); font: .79rem/1.5 var(--mono);
}
.terminal-title { border-bottom: 1px solid var(--edge); }
.terminal-mark { display: grid; place-items: center; width: 33px; height: 29px; color: var(--blue); background: #a2c5ff16; border: 1px solid #7db2fc36; border-radius: 4px; font-size: 1rem; }
.terminal-meta, .terminal-footer { color: var(--muted); }
.terminal-meta { margin-left: auto; }
.terminal-main { display: grid; gap: 14px; padding: clamp(13px, 2.25vw, 24px); }
.output-stage { min-width: 0; padding: 12px clamp(11px, 2vw, 19px); border: 1px solid #2b45625c; border-radius: 5px; background: #07132160; }
.stage-label { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.stage-label strong { color: var(--white); font: 600 .97rem/1.5 var(--sans); }
.stage-label > span { color: #aac3e8; font: .76rem/1.5 var(--mono); white-space: nowrap; }
.output-excerpt { display: grid; gap: 3px; margin-top: 7px; color: #b7c8df; font: .8rem/1.44 var(--mono); overflow-wrap: anywhere; }
.raw-output { color: #a7b9cd; }
.agent-output { border-color: #84adf676; background: #799bd319; }
.agent-output .stage-label > span, .folded-lines { color: #b8d3ff; }
.folded-lines::before { content: "⋯"; margin-right: .55em; }
.failure-line { color: #ffd2be; }
.terminal-footer { border-top: 1px solid var(--edge); }
.recovery-mark { color: var(--blue); font-size: 1rem; }

main > section:not(.hero) { padding-block: var(--section); }
h2 { font-size: clamp(2.4rem, 5vw, 4.65rem); line-height: .99; letter-spacing: -.062em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); letter-spacing: -.039em; line-height: 1.18; }
.section-head { margin-bottom: clamp(27px, 4vw, 52px); }
.section-head h2 { margin-top: 13px; }
.paper { color-scheme: light; color: var(--paper-ink); background: var(--paper); }
.paper :focus-visible { outline-color: #194f99; }
.paper .eyebrow { color: #315d9a; }
.paper .text-link { color: #194f99; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue); font-weight: 650; }
.text-link:hover { color: var(--white); }
.paper .text-link:hover { color: #102c55; }

main > section.coverage { padding-block: clamp(52px, 6.5vw, 92px); }
.coverage-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .7fr);
  align-items: end; gap: clamp(15px, 4vw, 50px);
}
.coverage-head h2 { font-size: clamp(2.35rem, 4.7vw, 4.25rem); }
.coverage-head p { max-width: 46ch; justify-self: end; color: var(--paper-muted); font-size: 1.05rem; }
.coverage-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 42px);
  list-style: none; margin: clamp(24px, 4.5vw, 51px) 0 9px; padding: 0;
}
.coverage-list li { border-top: 1px solid var(--paper-edge); padding-block: 15px; }
.coverage-list h3 { font-size: 1.16rem; letter-spacing: -.025em; }
.coverage-list p { max-width: 30ch; margin-top: 7px; color: var(--paper-muted); }
.coverage .text-link span { margin-left: .45em; }

main > section.benchmarks { padding-block: clamp(58px, 7vw, 102px); }
.benchmarks { background: var(--deep); }
.bench-heading {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .48fr);
  align-items: end; gap: clamp(18px, 4vw, 55px); margin-bottom: clamp(24px, 4vw, 46px);
}
.bench-heading .section-head { margin: 0; }
.bench-heading > p { max-width: 33ch; justify-self: end; color: var(--muted); font-size: 1.08rem; }
.bench-board {
  color-scheme: dark; color: var(--white); background: #0a1a2c;
  border: 1px solid var(--edge); border-radius: 7px; box-shadow: 0 16px 38px #12345916;
}
.bench-board :focus-visible { outline-color: #9dc1ff; outline-offset: -3px; }
.bench-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  padding: 8px; border-bottom: 1px solid var(--edge); background: #071321;
  border-radius: 6px 6px 0 0;
}
.bench-tabs button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 51px; padding: 5px 8px; border: 1px solid transparent; border-radius: 4px; color: #b6c8df;
  background: transparent; font-size: .94rem; font-weight: 600; line-height: 1.25;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.bench-tabs button:hover { color: var(--white); background: #132945; }
.bench-tabs button[aria-selected="true"] { background: #1b385d; color: #edf5ff; border-color: #537bac; }
.bench-board .bench-tabs button:focus-visible { outline-offset: 1px; }
.bench-tab-icon {
  display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 3px;
  color: #adcaff; background: #183354; font: .78rem var(--mono);
}
.bench-tabs button[aria-selected="true"] .bench-tab-icon { color: var(--ink); background: #a4c4ff; }
.bench-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.bench-feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-content: center; gap: clamp(16px, 2.6vw, 30px); min-width: 0;
  margin: 12px 0 12px 12px; padding: clamp(24px, 4vw, 53px); border-radius: 5px;
  color: #0a2443; background: linear-gradient(145deg, #cfdef8, #a4c4ff 70%, #8bb6f7);
}
.bench-feature::before {
  content: ""; position: absolute; z-index: -1; inset: 20% 0 0 35%; pointer-events: none;
  background: repeating-linear-gradient(150deg, #244c7d22 0 1px, transparent 1px 11px);
  mask-image: radial-gradient(ellipse at 98% 100%, #000 4%, transparent 76%);
}
.bench-percent { display: grid; gap: 3px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
.bench-percent strong {
  display: block; width: fit-content; font-size: clamp(4.4rem, 9.1vw, 8.6rem);
  font-variant-numeric: tabular-nums; letter-spacing: -.083em; line-height: .96;
}
.bench-percent strong span { font-size: .55em; letter-spacing: -.065em; margin-left: .09em; }
.bench-sample { max-width: 34ch; color: #233f64; font-size: .96rem; }
.bench-plots { display: grid; align-content: center; gap: 18px; min-width: 0; padding: clamp(20px, 4vw, 55px); }
.bench-chart + .bench-chart { padding-top: 20px; border-top: 1px solid var(--edge); }
.bench-chart h3 { font-size: 1.03rem; font-weight: 650; letter-spacing: -.01em; }
.bench-chart dl { display: grid; gap: 9px; margin: 14px 0 0; }
.bench-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 8px; color: var(--muted); font-size: .89rem; }
.bench-row dd {
  display: grid; grid-template-columns: minmax(0, 1fr) 8ch; align-items: center; gap: clamp(6px, 1.4vw, 16px);
  margin: 0; font: .85rem/1.3 var(--mono); text-align: right;
}
.bench-track { display: block; height: 16px; overflow: hidden; background: #1a304a; border-radius: 2px; }
.bench-track i {
  display: block; height: 100%; width: var(--amount); transform-origin: left center;
  background: repeating-linear-gradient(90deg, #0b203346 0 1px, transparent 1px 13px), #657f9e;
}
.bench-pithio { color: #c5dcff; font-weight: 600; }
.bench-pithio .bench-track i { background-color: #9dc3ff; }
.panel-in .bench-track i { animation: bench-draw .34s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes bench-draw { from { transform: scaleX(.55); } to { transform: scaleX(1); } }
.bench-more {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-top: 16px;
  border: 1px solid var(--edge); border-radius: 6px; background: var(--edge);
}
.bench-more a {
  display: grid; align-content: center; gap: 3px; min-height: 67px; padding: 10px 13px;
  background: #10243b; color: var(--muted); font-size: .86rem; line-height: 1.28; text-decoration: none;
  transition: background-color .18s ease;
}
.bench-more a:first-child { border-top-left-radius: 5px; }
.bench-more a:last-child { border-bottom-right-radius: 5px; }
.bench-more a:hover { background: #1b385d; }
.bench-more a:focus-visible { z-index: 1; outline-offset: -2px; }
.bench-more strong { color: var(--blue); font-size: .96rem; font-weight: 650; }
.bench-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 20px; margin-top: 12px; }
.bench-footer p { color: var(--muted); font-size: .88rem; }
.bench-footer .text-link span { margin-left: .45em; }

.cases-grid { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.4fr); gap: clamp(18px, 4vw, 57px); }
.case-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--paper-edge); }
.case-tab {
  flex: 1; width: 100%; padding: 16px 20px; min-height: 76px; text-align: left;
  background: transparent; color: var(--paper-ink);
  border: 0; border-bottom: 1px solid var(--paper-edge); font-size: 1.14rem; font-weight: 600;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.case-tab:hover, .case-tab[aria-selected="true"] { background: #dbe8f9; }
.case-tab[aria-selected="true"] { box-shadow: inset 3px 0 #346bba; }
.case-tab small { display: block; margin-top: 2px; color: var(--paper-muted); font-weight: 400; font-size: .88rem; }
.case-content { min-width: 0; }
.example { min-height: 310px; padding: clamp(19px, 3.75vw, 46px); border: 1px solid var(--paper-edge); background: #f5f8fc; }
.workflow-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 31px);
  padding: 0; margin: 16px 0 0; list-style: none;
}
.workflow-list li { padding: 10px 0; border-top: 1px solid var(--paper-edge); }
.workflow-list li > span { display: block; color: var(--paper-muted); margin-top: 2px; font-size: .94rem; }
.setup { background: #0c1c2f; }
.setup-grid, .trust-grid, .release-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.12fr); align-items: start; gap: clamp(28px, 6.5vw, 110px); }
.setup-copy > p, .release h2 + p { max-width: 395px; margin-top: 17px; color: var(--muted); font-size: 1.08rem; }
.setup-steps { margin: 0; padding: 0; list-style: none; counter-reset: setup-step; }
.setup-steps li {
  position: relative; counter-increment: setup-step; padding: 20px 0 20px 48px;
  border-top: 1px solid var(--edge);
}
.setup-steps li::before {
  content: counter(setup-step); position: absolute; top: 20px; left: 0; display: grid;
  place-items: center; width: 30px; height: 30px; border: 1px solid var(--edge);
  border-radius: 4px; color: var(--blue); font: .9rem var(--mono);
}
.setup-steps h3 { font-size: clamp(1.21rem, 2vw, 1.59rem); }
.setup-steps p { margin-top: 7px; color: var(--muted); }
.setup-steps .button { margin-top: 14px; }
.setup-links { display: flex; flex-wrap: wrap; column-gap: 22px; }
.agent-setup { margin-top: 16px; padding: clamp(14px, 3vw, 25px); border: 1px solid var(--edge); background: #0a182a; border-radius: 7px; }
.agent-setup .agent-picker + p { margin-top: 8px; }
.agent-picker { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; color: var(--muted); font-size: .875rem; }
.agent-picker select {
  min-width: 0; max-width: min(216px, 100%); padding: 7px 9px; min-height: 44px;
  border: 1px solid var(--edge); border-radius: 4px; background: #132945;
}
.command-box {
  margin-block: 16px 5px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px;
  padding: 11px; border: 1px solid #344d6b; border-radius: 5px; background: #071321;
}
.command-box pre, .docs-content pre { margin: 0; min-width: 0; padding: 8px 5px; white-space: pre-wrap; overflow-wrap: anywhere; color: #c4d9fb; line-height: 1.55; font-size: .83rem; }
[data-copy] { min-width: 65px; min-height: 44px; padding: 5px 8px; border: 1px solid var(--edge); border-radius: 4px; background: #17314f; color: var(--white); font-size: .84rem; }
[data-copy]:hover { background: #274c75; }
.setup-assistant { margin-top: 15px; border-top: 1px solid var(--edge); }
.setup-assistant summary { min-height: 44px; padding: 10px 0; color: var(--blue); cursor: pointer; font-weight: 600; }
.setup-assistant p { color: var(--muted); font-size: .94rem; }
.setup-assistant pre { line-height: 1.6; }
.panel-in { animation: panel-in .2s ease-out both; }
@keyframes panel-in { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.trust-grid { align-items: end; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.trust-copy p { max-width: 45ch; color: var(--paper-muted); font-size: 1.08rem; }
.trust-copy .text-link, .release .button { gap: 8px; }
.dashboard-preview {
  margin: clamp(22px, 4vw, 49px) 0 0; overflow: hidden; border: 1px solid var(--edge);
  border-radius: 8px; background: var(--ink); color: var(--white); box-shadow: 0 16px 38px #12345924;
}
.dashboard-preview figcaption {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 4px 14px; padding: 10px clamp(12px, 2vw, 26px); border-bottom: 1px solid var(--edge); font-size: .89rem;
}
.dashboard-preview figcaption strong { margin-right: auto; }
.dashboard-preview figcaption span { color: var(--muted); }
.dashboard-preview figcaption a { padding-block: 4px; color: var(--blue); }
.dashboard-preview figcaption a:hover { color: var(--white); }
.dashboard-preview img { display: block; width: 100%; height: auto; }
html:has(.dashboard-dialog[open]) { overflow: hidden; }
.dashboard-dialog {
  width: min(calc(100% - 24px), 1680px); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; overflow: auto; border: 1px solid var(--edge); border-radius: 8px;
  color: var(--white); background: var(--ink); color-scheme: dark;
}
.dashboard-dialog::backdrop { background: #020910e5; }
.dashboard-image-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 6px 10px 6px 16px; border-bottom: 1px solid var(--edge);
}
.dashboard-image-bar span { color: var(--muted); }
.dashboard-dialog img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 84px); object-fit: contain; }
.dashboard-dialog :focus-visible { outline-color: var(--blue); outline-offset: -3px; }
.dashboard-close {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--edge); border-radius: 5px; background: var(--panel); font-size: 1.65rem; line-height: 1;
}
.dashboard-close:hover { background: #1b385d; }
.release { background: radial-gradient(ellipse at 80% 130%, #183b62, transparent 70%), var(--ink); }
.release-grid { align-items: center; }
.release .button { justify-self: start; }
.footer { background: var(--ink); border-top: 1px solid var(--edge); }
.footer-inner { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.footer .brand { font-size: 1.5rem; }

.docs { min-height: calc(100svh - 173px); background: var(--ink); padding-block: 55px 85px; }
.docs-grid {
  display: grid; grid-template-columns: minmax(170px, .28fr) minmax(0, 1fr);
  column-gap: clamp(26px, 6vw, 78px); align-items: start;
}
.docs-heading, .docs-content { grid-column: 2; max-width: 800px; min-width: 0; }
.docs-heading h1 { font-size: clamp(2.4rem, 5.2vw, 4.65rem); letter-spacing: -.065em; line-height: 1.04; margin: 8px 0 13px; overflow-wrap: anywhere; }
.docs-heading p, .docs-content section p, .docs-bullets { color: var(--muted); }
.docs-toc {
  grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 24px; display: grid; gap: 16px;
  max-height: calc(100svh - 48px); overflow: auto; padding: 3px 6px 6px 0;
}
.docs-toc p { margin-bottom: 4px; color: var(--white); font-size: .9rem; font-weight: 650; }
.docs-toc a { min-height: 34px; display: flex; align-items: center; padding: 4px 10px; color: var(--muted); border-left: 1px solid var(--edge); }
.docs-toc a:hover { color: var(--white); border-color: var(--blue); }
.docs-toc a:focus-visible { outline-offset: -2px; }
.docs-content section { border-top: 1px solid var(--edge); padding-top: 28px; margin-top: 42px; }
.docs-content [id], main > section[id] { scroll-margin-block-start: 16px; }
.docs-content section h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-bottom: 15px; }
.docs-content h3 { margin: 27px 0 8px; font-size: clamp(1.28rem, 2.4vw, 1.68rem); }
.docs-content h4 { margin: 22px 0 6px; font-size: 1.06rem; }
.docs-content section p + p { margin-top: 10px; }
.docs-content section > .text-link { gap: 8px; }
.docs-content p a, .docs-content dd a, .benchmark-evidence p a { color: var(--blue); font-weight: 650; }
.docs-content p a:hover, .docs-content dd a:hover, .benchmark-evidence p a:hover { color: var(--white); }
.docs-content code { overflow-wrap: anywhere; }
.docs-content pre { padding: 12px; background: var(--panel); border: 1px solid var(--edge); border-radius: 4px; margin-block: 12px; }
.docs-content .command-box pre { padding: 8px 5px; background: transparent; border: 0; margin: 0; }
.docs-content .command-box + p { margin-top: 12px; }
.docs-list { display: grid; margin: 14px 0; }
.docs-list > div { border-top: 1px solid var(--edge); padding: 11px 0; }
.docs-list > div:last-child { border-bottom: 1px solid var(--edge); }
.docs-list dt { font-weight: 650; }
.docs-list dd { margin: 3px 0 0; color: var(--muted); }
.docs-bullets { padding-inline-start: 21px; }
.docs-bullets li + li { margin-top: 8px; }
.command-reference dt { color: #c4d9fb; font-size: .92rem; }
.policy { max-width: 760px; }
.policy .docs-heading, .policy .docs-content { max-width: none; }
.policy .policy-date { margin-top: 12px; font-size: .9rem; }
.policy .docs-content section { margin-top: 26px; padding-top: 23px; }
.policy .docs-content h2 { font-size: clamp(1.48rem, 3vw, 2.15rem); letter-spacing: -.043em; }
.not-found { display: grid; align-content: center; min-height: calc(80svh - 77px); }
.not-found .actions { margin-top: 24px; }
.benchmark-detail { padding-bottom: clamp(50px, 7vw, 98px); }
.benchmark-masthead {
  position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--edge);
  padding-block: clamp(45px, 7vw, 100px) clamp(36px, 5vw, 69px);
  background: radial-gradient(ellipse at 91% 87%, #173d68 0%, #0b2038 45%, var(--ink) 76%);
}
.benchmark-masthead::before {
  position: absolute; content: ""; inset: 0 0 0 45%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(155deg, #a4c4ff26 0 1px, transparent 1px 15px);
  mask-image: radial-gradient(ellipse at 93% 70%, #000 4%, transparent 70%);
}
.benchmark-masthead h1 { font-size: clamp(3rem, 7vw, 6.35rem); line-height: 1; letter-spacing: -.066em; }
.benchmark-masthead p { margin-top: 19px; max-width: 48ch; color: #c9daef; font-size: 1.12rem; }
.benchmark-toc {
  display: flex; flex-wrap: wrap; gap: 3px 8px; padding-block: 11px; border-bottom: 1px solid var(--edge);
}
.benchmark-toc a {
  display: inline-flex; align-items: center; min-height: 42px; padding-inline: 9px;
  border-radius: 4px; color: var(--muted); font-size: .95rem; font-weight: 500; text-decoration: none;
}
.benchmark-toc a:hover { background: #142944; color: var(--white); }
.benchmark-evidence > section { margin-top: 0; padding-block: clamp(27px, 4.8vw, 67px); scroll-margin-top: 16px; }
.benchmark-evidence > section + section { border-top: 1px solid var(--edge); }
.benchmark-evidence h2 { font-size: clamp(1.85rem, 3.5vw, 3.1rem); line-height: 1.04; }
.benchmark-evidence p { color: var(--muted); }
.benchmark-evidence #method p { max-width: 75ch; margin-top: 11px; }
.benchmark-evidence #method a { margin-top: 7px; }
.bench-definitions {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 35px);
  max-width: 950px; margin-block: 23px;
}
.bench-definitions div { border-top: 1px solid var(--edge); padding-block: 10px; }
.bench-definitions dt { color: var(--white); font-weight: 650; }
.bench-definitions dd { margin: 4px 0 0; color: var(--muted); }
.evidence-result {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  grid-template-rows: auto auto 1fr; align-items: start; gap: 13px clamp(25px, 5.3vw, 76px);
}
.evidence-result > :not(table) { grid-column: 1; }
.evidence-table {
  grid-column: 2; grid-row: 1 / span 3; width: 100%; border: 1px solid var(--edge); border-radius: 6px;
  border-collapse: separate; border-spacing: 0; margin: 0; background: #0a192b; font-size: .94rem;
}
.evidence-table th, .evidence-table td {
  padding: 10px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--edge); overflow-wrap: anywhere;
}
.evidence-table thead th { background: #132d4b; color: var(--white); }
.evidence-table thead th:first-child { border-top-left-radius: 5px; }
.evidence-table thead th:last-child { border-top-right-radius: 5px; }
.evidence-table tbody th { color: var(--muted); font-weight: 500; }
.evidence-table tbody tr:last-child > * { border-bottom: 0; }
.evidence-table tbody tr:target > * { background: #183657; color: var(--white); }
.evidence-table tr[id] { scroll-margin-top: 16px; }
.evidence-table td { color: #d5e5fb; font: .84em/1.65 var(--mono); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-in .52s ease-out both; }
  .terminal { animation: hero-in .65s .09s ease-out both; }
  .benchmark-masthead .wrap { animation: hero-in .38s ease-out both; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 980px) {
  .hero-grid { column-gap: 25px; }
  .hero h1 { font-size: clamp(3.1rem, 6.45vw, 6rem); }
  .setup-grid, .trust-grid, .release-grid { gap: 35px; }
}
@media (max-width: 860px) {
  .nav-inner { flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; min-height: 66px; padding-block: 8px 2px; }
  .nav nav { order: 2; flex: 0 0 100%; margin-left: 0; flex-wrap: wrap; gap: 0 19px; }
  .nav nav a { min-height: 41px; font-size: .89rem; }
  .nav-action { font-size: .86rem; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 29px; padding-block: 51px 26px; }
  .hero h1 { font-size: clamp(3rem, 10.1vw, 5rem); margin-block: 16px; }
  .hero-lead { max-width: 525px; }
  .hero::before { inset-inline: 8% 0; }
  .hero-foot { gap: 6px 12px; }
  .hero-foot span + span::before { margin-right: 11px; }
  .actions { margin-top: 20px; }
  .coverage-head { grid-template-columns: minmax(0, 1fr); }
  .coverage-head p { justify-self: start; }
  .coverage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bench-heading { grid-template-columns: minmax(0, 1fr); }
  .bench-heading > p { justify-self: start; max-width: 47ch; }
  .bench-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evidence-result { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .evidence-table { grid-column: 1; grid-row: auto; }
  .cases-grid, .setup-grid, .trust-grid, .release-grid, .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .example { min-height: 260px; }
  .case-tab { min-height: 60px; padding-block: 8px; }
  .docs-heading, .docs-toc, .docs-content { grid-column: 1; grid-row: auto; }
  .docs-toc { position: static; grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: none; gap: 10px; }
  .docs-content > section:first-child { margin-top: 0; }
  .docs-toc a { min-height: 44px; font-size: .92rem; }
  .footer-inner { padding-block: 20px; flex-wrap: wrap; }
  .footer nav { gap: 5px 18px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .docs-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bench-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bench-more a:last-child { grid-column: 1 / -1; border-bottom-left-radius: 5px; }
  .bench-definitions { grid-template-columns: minmax(0, 1fr); }
  .bench-tabs { padding-inline: 5px; gap: 4px; }
  .bench-tabs button { padding-inline: 4px; font-size: .86rem; }
  .bench-tab-icon { display: none; }
  .bench-panel { grid-template-columns: minmax(0, 1fr); }
  .bench-feature { margin: 10px 10px 0; }
  .bench-track { height: 14px; }
  .bench-row { grid-template-columns: 78px minmax(0, 1fr); }
  .bench-row dd { font-size: .78rem; }
  .evidence-table { font-size: .84rem; }
  .evidence-table th, .evidence-table td { padding-inline: 5px; }
}
@media (max-width: 410px) {
  .eyebrow { font-size: .71rem; gap: 7px; }
  .eyebrow-rule { width: 15px; }
  .hero h1 { font-size: clamp(2.6rem, 11.6vw, 3rem); }
  .button { padding-inline: 13px; font-size: .92rem; }
  .nav nav { column-gap: 12px; }
  .nav nav a { font-size: .83rem; }
  .terminal-footer { font-size: .74rem; }
  .workflow-list { grid-template-columns: minmax(0, 1fr); }
  .coverage-list p { font-size: .94rem; }
  .setup-assistant .command-box { grid-template-columns: minmax(0, 1fr); }
  .setup-assistant button { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .button:hover { transform: none; }
  .button-github:hover span { transform: none; }
}
