:root {
  --paper: #f3f0e8;
  --paper-deep: #e8e3d8;
  --ink: #171914;
  --muted: #62665c;
  --rule: #c8c4b8;
  --rule-dark: #97998f;
  --pass: #167b53;
  --pass-soft: #d8e9df;
  --fail: #c33a2c;
  --fail-soft: #f0d9d2;
  --blue: #2457d6;
  --blue-soft: #dce4f8;
  --white: #fffefa;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --display: "Instrument Serif", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --max: 1460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
code { font-family: var(--mono); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; font-weight: 700; letter-spacing: -.03em; }
.wordmark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wordmark .version { margin-left: 3px; font: 500 10px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }
.header-action { justify-self: end; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, .78fr) minmax(600px, 1.22fr);
  gap: clamp(50px, 6vw, 110px);
  align-items: center;
  padding: 80px 0 96px;
}
.kicker { margin: 0 0 22px; color: var(--blue); font: 600 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.04em; }
h1 { max-width: 700px; margin: 0; font-size: clamp(58px, 6.2vw, 100px); line-height: .91; }
h1 em { color: var(--blue); font-weight: 400; }
.hero-intro { max-width: 610px; margin: 30px 0 32px; color: #44483f; font-size: 17px; line-height: 1.65; }
.command, .mini-command { display: flex; align-items: center; background: var(--ink); color: var(--white); }
.command { width: min(100%, 570px); min-height: 58px; padding-left: 19px; }
.command code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.command button, .mini-command button { align-self: stretch; margin-left: auto; border: 0; border-left: 1px solid #44463f; background: transparent; color: #bfc1b8; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.command button { min-width: 78px; }
.command button:hover, .mini-command button:hover { color: white; background: #2b2d27; }
.hero-links { display: flex; align-items: center; gap: 25px; margin-top: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; font-size: 13px; font-weight: 650; text-decoration: none; }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: #1743b5; }
.button.text { padding: 0; color: var(--muted); }
.button.text span { margin-left: 7px; }
.button.large { min-height: 56px; padding: 0 26px; }
.proof-strip { display: flex; gap: 34px; margin: 52px 0 0; }
.proof-strip div { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 8px; }
.proof-strip dt { font: 400 34px/1 var(--display); }
.proof-strip dd { margin: 0; color: var(--muted); font: 500 10px/1.25 var(--mono); text-transform: uppercase; letter-spacing: .05em; }

.dossier { position: relative; border: 1px solid var(--rule-dark); background: var(--white); box-shadow: 15px 18px 0 var(--paper-deep), 16px 19px 0 var(--rule); }
.dossier::before { content: ""; position: absolute; inset: 7px; pointer-events: none; border: 1px solid #e7e3da; }
.dossier-topline, .section-label, .dossier-footer, .run-meta { font: 500 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dossier-topline { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 49px; padding: 0 21px; border-bottom: 1px solid var(--rule); color: var(--muted); }
.run-switch { display: flex; height: 28px; border: 1px solid var(--rule); }
.run-switch button { border: 0; padding: 0 11px; background: transparent; color: var(--muted); font: 500 9px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.run-switch button + button { border-left: 1px solid var(--rule); }
.run-switch button.active { background: var(--ink); color: white; }
.verdict { display: flex; align-items: center; justify-content: space-between; min-height: 124px; padding: 22px; border-bottom: 1px solid var(--rule); background: linear-gradient(90deg, var(--fail-soft), transparent 70%); }
.verdict p { margin: 0 0 5px; color: var(--muted); font: 500 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.verdict strong { color: var(--fail); font: 400 48px/1 var(--display); letter-spacing: -.03em; }
.verdict-stamp { padding: 9px 12px; border: 1px solid var(--fail); color: var(--fail); font: 600 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg); }
.verdict.ready { background: linear-gradient(90deg, var(--pass-soft), transparent 70%); }
.verdict.ready strong, .verdict.ready .verdict-stamp { color: var(--pass); border-color: var(--pass); }
.run-meta { display: grid; grid-template-columns: 1.2fr 1fr 1fr; padding: 13px 21px; border-bottom: 1px solid var(--rule); color: var(--muted); }
.run-meta span + span { padding-left: 15px; border-left: 1px solid var(--rule); }
.run-meta b { color: var(--ink); font-weight: 500; }
.delta { padding: 20px 21px 12px; }
.section-label { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 11px; }
.section-label code { text-transform: none; color: var(--blue); }
.delta-row { min-height: 39px; display: grid; grid-template-columns: 92px 120px 1fr; gap: 10px; align-items: center; border-top: 1px solid #e5e1d8; font-size: 10px; color: var(--muted); }
.delta-row code { color: var(--ink); font-size: 11px; }
.delta-mark { font: 600 8px/1 var(--mono); letter-spacing: .05em; }
.fixed .delta-mark { color: var(--pass); }
.regression .delta-mark { color: var(--fail); }
.new .delta-mark { color: var(--blue); }
.delta-row.hidden { display: none; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0 21px 21px; border: 1px solid var(--rule); }
.evidence-card { min-height: 185px; padding: 16px; }
.evidence-card + .evidence-card { border-left: 1px solid var(--rule); }
.evidence-card.critical { background: #fff9f6; }
.route { margin: 25px 0 6px; font: 500 12px/1 var(--mono); }
.failure { margin: 0; color: var(--fail); font-size: 13px; font-weight: 650; }
.console-line { margin-top: 22px; }
.console-line span { display: block; margin-bottom: 6px; color: var(--muted); font: 500 8px/1 var(--mono); text-transform: uppercase; }
.console-line code { font-size: 9px; color: #4d2924; }
.mock-browser { height: 126px; border: 1px solid var(--rule); background: #f5f5f2; }
.browser-bar { height: 25px; display: flex; align-items: center; gap: 4px; padding: 0 7px; border-bottom: 1px solid var(--rule); }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--rule-dark); }
.browser-bar span { margin-left: 5px; color: var(--muted); font: 400 7px/1 var(--mono); }
.mock-content { padding: 16px; }
.mock-content span { display: block; color: var(--muted); font: 600 6px/1 var(--mono); text-transform: uppercase; }
.mock-content b { display: block; margin-top: 12px; color: var(--fail); font-family: var(--display); font-size: 15px; font-weight: 400; }
.mock-content small { display: block; margin-top: 4px; color: var(--muted); font-size: 7px; }
.dossier-footer { display: flex; gap: 20px; padding: 13px 21px; border-top: 1px solid var(--rule); color: var(--muted); }

.report-section, .difference, .tools-section, .install-section { border-top: 1px solid var(--rule); }
.report-section, .tools-section, .install-section { padding: 110px max(20px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 820px; margin-bottom: 54px; }
.section-heading h2 { margin: 0; font-size: clamp(48px, 5.2vw, 78px); line-height: .98; }
.section-heading > p:last-child { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.section-heading.compact { max-width: 760px; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.section-heading.split > p { margin: 0 0 5px; }
.report-frame { display: grid; grid-template-columns: 250px 1fr; border: 1px solid var(--ink); background: var(--white); box-shadow: 10px 10px 0 var(--paper-deep); }
.report-rail { display: flex; flex-direction: column; min-height: 570px; border-right: 1px solid var(--ink); }
.rail-head { min-height: 70px; display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--ink); font: 500 10px/1 var(--mono); }
.rail-head b { color: var(--fail); }
.report-rail dl { margin: 0; }
.report-rail dl div { display: flex; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--rule); }
.report-rail dt { color: var(--muted); font: 500 10px/1 var(--mono); text-transform: uppercase; }
.report-rail dd { margin: 0; font: 500 17px/1 var(--mono); }
.report-rail .bad dd { color: var(--fail); }
.report-rail > p { margin: auto 20px 20px; color: var(--muted); font: 400 9px/1.6 var(--mono); }
.report-body { padding: 44px 50px; }
.report-body-head { display: flex; align-items: start; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.eyebrow { color: var(--fail); font: 600 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.report-body h3 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(31px, 4vw, 49px); font-weight: 400; line-height: 1; }
.severity { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--fail); color: var(--fail); font: 600 11px/1 var(--mono); }
.finding-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
.finding-grid div { min-height: 98px; padding: 20px 17px 20px 0; }
.finding-grid div + div { padding-left: 17px; border-left: 1px solid var(--rule); }
.finding-grid span { display: block; color: var(--muted); font: 500 9px/1 var(--mono); text-transform: uppercase; }
.finding-grid p, .finding-grid code { margin: 12px 0 0; font-size: 12px; line-height: 1.45; }
.steps { margin: 28px 0; padding: 0; list-style: none; }
.steps li { min-height: 58px; display: grid; grid-template-columns: 45px 1fr 50px; gap: 16px; align-items: center; border-top: 1px solid #e5e1d8; }
.steps span, .steps b { font: 500 9px/1 var(--mono); }
.steps p { margin: 0; font-size: 13px; }
.steps b { color: var(--pass); text-align: right; }
.steps b.fail-text { color: var(--fail); }
.report-footnote { display: grid; grid-template-columns: 120px 1fr; padding: 16px; background: var(--blue-soft); }
.report-footnote span { color: var(--blue); font: 600 9px/1.4 var(--mono); text-transform: uppercase; }
.report-footnote p { margin: 0; font-size: 12px; }

.difference { padding: 110px max(20px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.difference .kicker { color: #9fb8ff; }
.difference-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #51534d; border-bottom: 1px solid #51534d; }
.difference-grid article { min-height: 330px; padding: 30px 32px 32px 0; }
.difference-grid article + article { padding-left: 32px; border-left: 1px solid #51534d; }
.index { color: #979a91; font: 500 10px/1 var(--mono); }
.difference-grid h3 { max-width: 310px; margin: 55px 0 18px; font-family: var(--display); font-size: 35px; font-weight: 400; line-height: 1.03; }
.difference-grid p { max-width: 380px; color: #b8bbb2; font-size: 13px; line-height: 1.65; }
.difference-grid code { display: inline-block; margin-top: 16px; color: #9fb8ff; font-size: 10px; }
.llm-note { max-width: 800px; margin: 38px 0 0 auto; color: #b8bbb2; font-size: 14px; line-height: 1.7; }
.llm-note strong { color: white; }

.tool-ledger { border-top: 1px solid var(--ink); }
.tool-group { display: grid; grid-template-columns: 180px repeat(5, 1fr); border-bottom: 1px solid var(--rule-dark); }
.tool-group h3 { margin: 0; padding: 24px 20px 24px 0; font-family: var(--display); font-size: 28px; font-weight: 400; }
.tool-group div { min-height: 130px; padding: 26px 18px; border-left: 1px solid var(--rule); }
.tool-group code { display: block; color: var(--blue); font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.tool-group span { display: block; margin-top: 22px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.install-section { background: var(--paper-deep); }
.install-options { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule-dark); background: var(--paper); }
.install-card { min-width: 0; min-height: 280px; display: flex; flex-direction: column; padding: 30px; }
.install-card + .install-card { border-left: 1px solid var(--rule-dark); }
.install-card.featured { background: var(--white); }
.install-type { display: flex; justify-content: space-between; gap: 20px; }
.install-type span { color: var(--blue); font: 600 9px/1 var(--mono); text-transform: uppercase; }
.install-type b { font-size: 12px; }
.install-card > p { max-width: 350px; margin: 65px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.mini-command { min-width: 0; min-height: 47px; margin-top: auto; }
.mini-command code { padding-left: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.mini-command button { min-width: 60px; }
.compatibility { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.compatibility span { color: var(--muted); font: 500 9px/1 var(--mono); text-transform: uppercase; }
.compatibility b { font-size: 11px; }

.first-users { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 105px max(20px, calc((100vw - var(--max)) / 2)); background: var(--blue); color: white; }
.first-users .kicker { color: #ccd8ff; }
.first-users h2 { max-width: 650px; margin: 0; font-size: clamp(48px, 5vw, 78px); line-height: .96; }
.first-users > div:last-child { align-self: end; }
.first-users p:not(.kicker) { max-width: 570px; margin: 0 0 28px; color: #e0e7ff; font-size: 16px; line-height: 1.65; }
.first-users .button { background: white; color: var(--blue); }
.site-footer { min-height: 190px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; padding: 40px max(20px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: white; }
.site-footer p { justify-self: center; color: #aaada4; font-size: 11px; }
.site-footer > div:last-child { justify-self: end; display: flex; gap: 25px; }
.site-footer > div:last-child a { color: #d4d6cf; font: 500 10px/1 var(--mono); text-decoration: none; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 68px; }
  .hero-copy { max-width: 780px; }
  .dossier { max-width: 820px; }
  .tool-group { grid-template-columns: 140px repeat(2, 1fr); }
  .tool-group div { border-top: 1px solid var(--rule); }
  .tool-group div:nth-of-type(odd) { border-left: 1px solid var(--rule); }
  .tool-group div:nth-of-type(even) { border-right: 1px solid var(--rule); }
  .install-options { grid-template-columns: 1fr; }
  .install-card + .install-card { border-left: 0; border-top: 1px solid var(--rule-dark); }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 28px); height: 64px; }
  .header-action { font-size: 9px; }
  .wordmark .version { display: none; }
  .hero { width: calc(100% - 28px); min-height: auto; padding: 52px 0 70px; gap: 54px; }
  h1 { font-size: clamp(51px, 16vw, 76px); }
  .hero-intro { font-size: 15px; }
  .proof-strip { gap: 17px; }
  .proof-strip div { grid-template-columns: 1fr; gap: 5px; }
  .dossier { box-shadow: 7px 8px 0 var(--paper-deep), 8px 9px 0 var(--rule); }
  .run-meta { grid-template-columns: 1fr; gap: 8px; }
  .run-meta span + span { padding: 0; border: 0; }
  .delta-row { grid-template-columns: 82px 1fr; }
  .delta-row span:last-child { grid-column: 2; padding-bottom: 9px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card + .evidence-card { border-left: 0; border-top: 1px solid var(--rule); }
  .dossier-footer { flex-wrap: wrap; }
  .report-section, .tools-section, .install-section, .difference { padding-top: 78px; padding-bottom: 78px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 48px; }
  .section-heading.split { grid-template-columns: 1fr; gap: 22px; }
  .report-frame { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--paper-deep); }
  .report-rail { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ink); }
  .report-rail > p { display: none; }
  .report-body { padding: 30px 20px; }
  .finding-grid { grid-template-columns: 1fr 1fr; }
  .finding-grid div:nth-child(3) { border-left: 0; }
  .finding-grid div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .report-footnote { grid-template-columns: 1fr; gap: 10px; }
  .difference-grid { grid-template-columns: 1fr; }
  .difference-grid article { min-height: auto; padding: 28px 0 38px; }
  .difference-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid #51534d; }
  .difference-grid h3 { margin-top: 30px; }
  .tool-group { grid-template-columns: 1fr; }
  .tool-group h3 { padding-bottom: 15px; }
  .tool-group div, .tool-group div:nth-of-type(even) { min-height: auto; border-left: 0; border-right: 0; border-top: 1px solid var(--rule); }
  .tool-group span { margin-top: 10px; }
  .install-card { min-height: 265px; padding: 24px; }
  .first-users { grid-template-columns: 1fr; gap: 45px; padding-top: 75px; padding-bottom: 75px; }
  .site-footer { grid-template-columns: 1fr; min-height: 240px; align-content: center; }
  .site-footer p, .site-footer > div:last-child { justify-self: start; }
}

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