:root {
  color-scheme: light;
  --ink: #101714;
  --paper: #f4f7f2;
  --white: #ffffff;
  --line: #cbd3cc;
  --muted: #5d6861;
  --lime: #b7e72d;
  --mint: #8bd8c9;
  --coral: #ff6b57;
  --yellow: #f5cf45;
  --deep-green: #193523;
  --max: 1500px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.site-header { min-height: 72px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: var(--ink); border-bottom: 1px solid #3b463f; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand span { display: grid; place-items: center; width: 48px; height: 34px; border: 1px solid #fff; font: 700 12px/1 ui-monospace, monospace; }
.brand strong { font-size: 14px; letter-spacing: 0; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.site-header nav a { color: #d9e0db; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--lime); }
main, footer { width: min(100%, var(--max)); margin-inline: auto; }
.hero { min-height: 430px; padding: clamp(54px, 8vw, 118px) clamp(20px, 5vw, 76px) 62px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: end; gap: clamp(36px, 8vw, 120px); background: var(--white); border-inline: 1px solid var(--line); }
.kicker, .section-index, .benchmark-heading p { margin: 0 0 17px; font: 700 11px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.kicker { color: #486153; }
h1 { max-width: 1050px; margin: 0; font-size: clamp(42px, 5.4vw, 82px); line-height: .98; letter-spacing: 0; font-weight: 780; }
.hero-text { max-width: 780px; margin: 30px 0 0; color: #3e4a43; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.55; }
.hero-proof { align-self: stretch; min-height: 185px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--lime); border: 1px solid var(--ink); }
.hero-proof strong { font: 800 54px/.9 ui-monospace, monospace; }
.hero-proof span { margin-top: 20px; font-weight: 750; }
.hero-proof small { margin-top: 8px; line-height: 1.45; }
.benchmark { display: grid; grid-template-columns: 1fr 2fr; background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.benchmark-heading { padding: 30px clamp(20px, 4vw, 52px); border-right: 1px solid #465148; }
.benchmark-heading p { color: var(--mint); }
.benchmark h2 { margin: 0; font-size: 27px; }
.benchmark-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
.benchmark-metrics article { min-height: 145px; padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #465148; }
.benchmark-metrics span { color: #b8c2bb; font-size: 12px; text-transform: uppercase; }
.benchmark-metrics strong { font: 750 44px/1 ui-monospace, monospace; }
.benchmark-metrics .benchmark-accent { color: var(--ink); background: var(--mint); }
.benchmark-metrics .benchmark-accent span { color: var(--deep-green); }
.benchmark-boundary { grid-column: 1 / -1; margin: 0; padding: 14px clamp(20px, 4vw, 52px); color: #c5cec8; border-top: 1px solid #465148; font-size: 12px; }
.workspace, .results, .tool-facts, .remediation { background: var(--white); border-inline: 1px solid var(--line); }
.workspace { padding: clamp(48px, 6vw, 86px) clamp(20px, 5vw, 76px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.55; }
.section-heading.compact h2 { font-size: 28px; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); }
.editor { min-width: 0; background: #121916; color: #fff; }
.editor + .editor { border-left: 1px solid #4c5750; }
.editor > span { min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #4c5750; }
.editor strong { color: var(--lime); font: 700 13px/1 ui-monospace, monospace; }
.editor small { color: #9ba69f; }
.editor textarea { display: block; width: 100%; min-height: 330px; resize: vertical; padding: 22px; color: #e9efeb; background: transparent; border: 0; border-radius: 0; outline: 0; font: 13px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; }
.editor textarea:focus { box-shadow: inset 0 0 0 2px var(--lime); }
.editor textarea::placeholder { color: #748078; }
.workspace-actions { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.workspace-actions > div { display: flex; gap: 8px; }
button, .next-step a { min-height: 42px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 3px; background: var(--white); color: var(--ink); cursor: pointer; font-weight: 720; }
button:hover, button:focus-visible, .next-step a:hover, .next-step a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.button-primary { min-height: 52px; display: inline-flex; align-items: center; gap: 20px; background: var(--lime); }
.button-primary span:first-child { font-size: 25px; }
.button-quiet { color: var(--muted); border-color: transparent; background: transparent; }
.input-error { min-height: 22px; margin: 12px 0 0; color: #b52617; font-size: 13px; }
.results { padding: 0 clamp(20px, 5vw, 76px) 72px; }
.result-heading { padding-top: 52px; border-top: 1px solid var(--ink); }
.result-state { min-width: 245px; padding: 16px 18px; border: 1px solid var(--ink); }
.result-state span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.result-state strong { font: 700 14px/1.2 ui-monospace, monospace; }
.stage-rail { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--ink); background: var(--ink); gap: 1px; }
.stage-rail article { min-height: 128px; padding: 18px; background: var(--white); }
.stage-rail article[data-state="observed"] { background: #e7f5ee; }
.stage-rail article[data-state="attention"] { background: #fff4c9; }
.stage-rail article[data-state="gap"] { background: #ffded8; }
.stage-rail span { font: 700 10px/1 ui-monospace, monospace; }
.stage-rail strong { display: block; margin-top: 26px; font-size: 20px; }
.stage-rail small { display: block; margin-top: 7px; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--ink); border-top: 0; }
.first-gap, .fix-list { padding: clamp(28px, 4vw, 52px); }
.first-gap { background: var(--ink); color: #fff; }
.first-gap h3, .fix-list h3 { margin: 0; font-size: 32px; }
.first-gap > p:not(.section-index) { color: #c7d0ca; line-height: 1.55; }
.first-gap dl { margin: 34px 0 0; }
.first-gap dl div { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 13px 0; border-top: 1px solid #49544d; }
.first-gap dt { color: #aab5ae; }
.first-gap dd { margin: 0; font: 700 12px/1.4 ui-monospace, monospace; text-align: right; }
.fix-list { background: #f7f9f6; }
.fix-list ol { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: fixes; }
.fix-list li { counter-increment: fixes; padding: 15px 0 15px 46px; position: relative; border-top: 1px solid var(--line); line-height: 1.45; }
.fix-list li::before { content: counter(fixes, decimal-leading-zero); position: absolute; left: 0; top: 16px; color: #486153; font: 700 11px/1 ui-monospace, monospace; }
.fix-level { display: block; margin-top: 5px; color: var(--muted); font: 700 10px/1 ui-monospace, monospace; text-transform: uppercase; }
.tool-facts, .remediation { padding: 58px clamp(20px, 5vw, 76px); border-top: 1px solid var(--line); }
.table-wrap { overflow-x: auto; border: 1px solid var(--ink); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 15px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #fff; background: var(--ink); font: 700 10px/1.2 ui-monospace, monospace; text-transform: uppercase; }
td { font-size: 13px; }
td code { font: 700 12px/1.4 ui-monospace, monospace; }
.fact-yes { color: #145b3b; font-weight: 750; }
.fact-no { color: #a52b1d; font-weight: 750; }
.remediation { background: #edf1ed; }
.remediation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); gap: 1px; background: var(--ink); }
.remediation details { position: relative; min-height: 165px; padding: 0 20px 58px; background: var(--white); }
.remediation summary { padding: 20px 0; cursor: pointer; font-weight: 750; }
.remediation pre { margin: 0; white-space: pre-wrap; word-break: break-word; color: #344038; font: 12px/1.55 ui-monospace, monospace; }
.remediation details button { position: absolute; left: 20px; bottom: 16px; min-height: 32px; padding: 0 12px; font-size: 11px; }
.export-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; color: #fff; background: var(--ink); }
.export-band .section-index { color: var(--mint); margin-bottom: 6px; }
.export-band > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
.export-band button { color: #fff; border-color: #68736c; background: transparent; }
.boundary { padding: 58px clamp(20px, 5vw, 76px); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 8vw, 120px); background: var(--yellow); border: 1px solid var(--ink); }
.boundary h2 { margin: 0; font-size: 34px; }
.boundary ul { margin: 0; padding: 0; list-style: none; }
.boundary li { padding: 13px 0 13px 28px; position: relative; border-top: 1px solid #806f2f; line-height: 1.45; }
.boundary li::before { content: "×"; position: absolute; left: 0; font-weight: 800; }
.boundary > a { grid-column: 2; width: fit-content; font-size: 13px; font-weight: 750; }
.next-step { display: grid; grid-template-columns: 1.15fr 1fr 1fr; background: var(--white); border-inline: 1px solid var(--line); }
.next-step > * { min-height: 260px; padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--line); }
.next-step h2 { margin: 0; font-size: 33px; }
.next-step article span { font: 750 11px/1 ui-monospace, monospace; }
.next-step article h3 { margin: 28px 0 10px; font-size: 23px; }
.next-step article p { min-height: 78px; color: var(--muted); line-height: 1.5; }
.next-step a { display: inline-flex; align-items: center; text-decoration: none; }
.paid-step { background: #e7f5ee; }
footer { min-height: 116px; padding: 34px clamp(20px, 5vw, 76px); display: flex; justify-content: space-between; gap: 24px; color: #c8d1cb; background: var(--ink); }
footer span { font-weight: 800; color: #fff; }
footer p { margin: 0; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-proof { min-height: 145px; }
  .benchmark { grid-template-columns: 1fr; }
  .benchmark-heading { border-right: 0; border-bottom: 1px solid #465148; }
  .section-heading { align-items: start; flex-direction: column; }
  .result-grid, .boundary { grid-template-columns: 1fr; }
  .boundary > a { grid-column: 1; }
  .next-step { grid-template-columns: 1fr; }
  .next-step > * { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .site-header { min-height: 64px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:nth-child(2) { display: none; }
  .brand strong { display: none; }
  .hero { min-height: 0; padding-top: 56px; }
  h1 { font-size: 43px; }
  .benchmark-metrics { grid-template-columns: 1fr; }
  .benchmark-metrics article { min-height: 112px; border-right: 0; border-bottom: 1px solid #465148; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor + .editor { border-left: 0; border-top: 1px solid #4c5750; }
  .editor textarea { min-height: 250px; }
  .workspace-actions, .export-band { align-items: stretch; flex-direction: column; }
  .button-primary { justify-content: center; }
  .stage-rail { grid-template-columns: 1fr; }
  .stage-rail article { min-height: 88px; }
  .stage-rail strong { margin-top: 16px; }
  .remediation-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
