:root {
  color-scheme: light;
  --night: #111619;
  --night-2: #1a2022;
  --ink: #202627;
  --muted: #616967;
  --quiet: #909a96;
  --paper: #faf8f4;
  --wash: #f0ece5;
  --line: #dcd7ce;
  --line-dark: #39403f;
  --accent: #98502f;
  --accent-bright: #dc936e;
  --accent-wash: #f7eade;
  --copper: #d58963;
  --green: #19b06b;
  --green-soft: #60e596;
  --red: #ff625f;
  --amber: #f2b84b;
  --shadow: 0 18px 48px rgba(25, 30, 28, 0.06);
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Aptos, ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button, input, select { font: inherit; }

a, button, label { -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1320px, calc(100% - 96px));
  min-height: 76px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 54px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.site-brand img { display: block; width: 150px; height: 46px; object-fit: cover; }

.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 38px;
}

.site-header nav a, .site-footer nav a {
  color: inherit;
  font-size: 14px;
  font-weight: 640;
  text-decoration: none;
}

.site-header nav a { color: #bcc3bf; }
.site-header nav a:hover { color: white; }

.button {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 740;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: #7f4026; }
.hero .button-primary, .site-header .button-primary { background: var(--copper); color: var(--night); }
.hero .button-primary:hover, .site-header .button-primary:hover { background: #e5a17d; }
.button-dark { border-color: #616a65; color: var(--paper); background: transparent; }
.button-dark:hover { border-color: var(--copper); background: var(--night-2); }
.button-outline { border-color: var(--accent); color: var(--accent); background: white; }
.button-outline:hover { background: var(--accent-wash); }
.button-outline-light { border-color: rgba(255, 255, 255, 0.68); color: white; background: transparent; }
.button-outline-light:hover { border-color: white; background: rgba(255, 255, 255, 0.08); }

.header-action { min-height: 42px; padding: 0 20px; }

.hero {
  min-height: 0;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 96px));
  margin: 0 auto;
  padding: 120px 0 50px;
}

.hero-wordmark { display: block; width: min(820px, 100%); height: auto; aspect-ratio: 4.2; object-fit: cover; margin: 0 auto; }
.brand-expansion { margin: 16px 0 30px; color: #c1c8c2; text-align: center; font-size: 16px; }
.brand-expansion span { margin-left: 20px; color: #959e99; font-size: 14px; }
.hero-copy { max-width: none; padding: 0; }

.hero-copy h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-copy h1 span { display: block; color: var(--accent-bright); }

.hero-copy > p {
  max-width: 770px;
  margin: 20px 0 0;
  color: #c1c8c2;
  font-size: 23px;
  line-height: 1.5;
}
.hero-copy > .hero-support { margin-top: 12px; color: #b7c0b9; font-size: 17px; }
.hero-copy > .brand-endorsement { margin-top: 24px; color: #b7c0b9; font-size: 14px; }
.hero-copy > .pilot-scope { margin-top: 16px; max-width: 850px; color: #c1c8c2; font-size: 15px; }

.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-principles {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hero-principles div { padding-top: 18px; border-top: 1px solid var(--line-dark); }
.hero-principles dt { color: var(--copper); font-size: 23px; font-weight: 650; letter-spacing: -0.02em; }
.hero-principles dd { margin: 8px 0 0; color: #b6bfb8; font-size: 17px; line-height: 1.6; }
.results-section { padding: 64px 0 72px; background: var(--wash); }
.results-intro { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.results-intro p { margin: 0; color: var(--muted); font-size: 16px; }
.results-intro .eyebrow { color: var(--accent); font-size: 13px; }
.results-at-glance { padding: 24px; background: var(--accent-wash); border-bottom: 1px solid var(--line); }
.results-at-glance h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.02em; }
.results-at-glance p { max-width: 1050px; margin: 10px 0; font-size: 15px; line-height: 1.65; }
.results-at-glance a { color: var(--accent); text-underline-offset: 3px; }
.results-at-glance summary { margin-top: 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.target-hint { grid-column: 1 / -1; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.live-demo {
  scroll-margin-top: 30px;
  background: rgba(255, 255, 255, 0.985);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.demo-heading {
  min-height: 80px;
  padding: 19px 24px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.demo-heading h2 { margin: 0; font-size: 25px; letter-spacing: -0.035em; }
.demo-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.demo-state { padding-left: 13px; position: relative; color: var(--muted); font-size: 13px; font-weight: 720; white-space: nowrap; }
.demo-state::before { content: ""; width: 7px; height: 7px; position: absolute; left: 0; top: 5px; border-radius: 50%; background: var(--accent); }

.demo-setup {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(230px, 1fr) minmax(190px, 0.8fr);
  border-bottom: 1px solid var(--line);
}

.dataset-control, .target-control, .generate-control {
  margin: 0;
  padding: 20px 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 0;
  min-width: 0;
}

.target-control { display: block; }

.target-control, .generate-control { border-left: 1px solid var(--line); }

.control-number {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 760;
}

.dataset-control > div, .generate-control > div { flex: 1; min-width: 0; }
.dataset-control label:not(.file-action), .target-control legend, .control-label { color: var(--ink); font-size: 13px; font-weight: 760; }
.target-control legend { float: left; width: 100%; margin-bottom: 11px; display: flex; align-items: center; gap: 9px; }
.target-control legend + * { clear: both; }

select {
  width: 100%;
  height: 44px;
  margin-top: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
}

.inline-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.text-action { padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 13px; font-weight: 710; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dataset-license { color: var(--muted); font-size: 13px; font-weight: 680; }

.target-option { min-height: 44px; display: flex; align-items: center; gap: 8px; margin-top: 7px; cursor: pointer; }
.target-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.target-option span { min-width: 0; display: flex; flex-direction: column; gap: 0; }
.target-option strong { font-size: 13px; }
.target-option small { color: var(--muted); font-size: 13px; }
.target-option.active strong { color: var(--accent); }

.generate-control .button { width: 100%; min-height: 40px; margin-top: 7px; padding: 0 12px; font-size: 13px; }
.generate-control p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }

.signal-panel { padding: 17px 24px 9px; border-bottom: 1px solid var(--line); }
.signal-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.signal-heading > div:first-child { display: flex; align-items: baseline; gap: 12px; }
.signal-heading strong { font-size: 13px; }
.signal-heading span { color: var(--muted); font-size: 13px; }
.signal-legend { display: flex; gap: 13px; }
.signal-legend span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.signal-legend i { width: 7px; height: 7px; border-radius: 50%; }
.signal-legend i.normal { background: var(--accent-bright); }
.signal-legend i.fault { background: var(--green); }

#signal-chart { width: 100%; height: 166px; display: block; margin-top: 2px; }
.chart-grid line { stroke: #e1ddd5; stroke-width: 1; }
.chart-labels text { fill: #7d867e; font-size: 13px; }
.signal-path { fill: none; stroke-width: 1.55; stroke-linejoin: round; stroke-linecap: round; }
.signal-path.normal { stroke: var(--accent-bright); }
.signal-path.fault { stroke: var(--green); }

.signal-split { color: var(--muted); font-size: 13px; font-weight: 680; }
.keyword-picker { margin-top: 15px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border: 1px solid var(--line); }
.keyword-button { min-width: 0; min-height: 54px; padding: 7px 5px; border: 0; border-left: 1px solid var(--line); background: white; color: var(--ink); cursor: pointer; }
.keyword-button:first-child { border-left: 0; }
.keyword-button:hover, .keyword-button.active { background: var(--accent-wash); }
.keyword-button.active { box-shadow: inset 0 -3px var(--accent); }
.keyword-button span, .keyword-button small { display: block; overflow: hidden; text-overflow: ellipsis; }
.keyword-button span { font-size: 13px; font-weight: 730; }
.keyword-button small { margin-top: 3px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.audio-replay { min-height: 61px; display: grid; grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1.2fr); align-items: center; gap: 18px; }
.audio-replay audio { width: 100%; height: 34px; }
.prediction-readout { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.prediction-readout > div { min-width: 0; padding: 5px 12px; border-right: 1px solid var(--line); }
.prediction-readout span, .prediction-readout strong { display: block; }
.prediction-readout span { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.prediction-readout strong { margin-top: 3px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.prediction-correct { color: #087447; }
.prediction-wrong { color: #c43d3a; }
.audio-evidence { margin: 0 0 7px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.model-result { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.candidate-panel { padding: 17px 18px 19px 24px; }
.result-label-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.result-label-row strong { font-size: 13px; }
.result-label-row span { color: var(--muted); font-size: 13px; }
.candidate-head, .candidate-row { display: grid; grid-template-columns: minmax(150px, 1.5fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px; }
.candidate-head { padding: 11px 11px 5px; color: var(--muted); font-size: 13px; font-weight: 740; letter-spacing: 0.06em; text-transform: uppercase; }
.candidate-row { width: 100%; min-height: 76px; margin-top: 8px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: white; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.candidate-row:hover { border-color: #c69473; background: #fbf3eb; }
.candidate-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.candidate-row.selected { border-color: var(--accent); background: var(--accent-wash); box-shadow: inset 3px 0 var(--accent); }
.candidate-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.candidate-row strong small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 620; white-space: normal; }
.candidate-row em { margin-left: 3px; color: var(--accent); font-size: 13px; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.candidate-row span:not(:first-child) { font-variant-numeric: tabular-nums; }

.decision-panel { padding: 18px 20px 20px; border-left: 1px solid var(--line); background: #f9f7f2; }
.decision-label { color: var(--muted); font-size: 13px; font-weight: 760; letter-spacing: 0.08em; text-transform: uppercase; }
.fit-heading { margin: 10px 0 12px; display: flex; align-items: center; gap: 9px; }
.fit-heading span { flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 13px; }
.fit-heading strong { color: #087447; font-size: 14px; }
.fit-heading.is-estimate span { background: var(--accent); }
.fit-heading.is-estimate strong { color: var(--accent); }
.fit-heading.is-candidate span { background: #d97706; }
.fit-heading.is-candidate strong { color: #a85605; }
.fit-heading.is-failed span { background: #b8322d; }
.fit-heading.is-failed strong, .failed-value { color: #a62925; }
.decision-panel dl { margin: 0; }
.decision-panel dl div { padding: 10px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.decision-panel dt { color: var(--muted); }
.decision-panel dd { margin: 0; text-align: right; font-weight: 690; font-variant-numeric: tabular-nums; }
.decision-panel > p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.42; }

.section-shell { width: min(1320px, calc(100% - 96px)); margin: 0 auto; }
.section-intro h2, .teams > h2, .final-cta h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.section-intro p { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 19px; }
.section-intro.centered { text-align: center; }
.section-intro.centered p { margin-left: auto; margin-right: auto; }

.workflow { padding: 112px 0 92px; }
.workflow-rail { margin: 70px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 0.9fr 0.9fr 1.35fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-rail li { min-width: 0; padding: 30px 26px 28px; position: relative; border-left: 1px solid var(--line); }
.workflow-rail li:first-child { border-left: 0; }
.rail-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; background: var(--accent); color: white; font-size: 18px; font-weight: 750; border-radius: 4px; }
.workflow-rail h3 { margin: 0; font-size: 21px; letter-spacing: -0.03em; }
.workflow-rail p { min-height: 72px; margin: 9px 0 22px; color: var(--muted); font-size: 14px; }


.constraint-list { margin: 0; }
.constraint-list div { padding: 7px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 13px; }
.constraint-list dt { color: var(--muted); }
.constraint-list dd { margin: 0; font-weight: 700; }


.mini-decision { min-height: 86px; padding: 19px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--accent); color: var(--accent); }
.mini-decision span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.mini-decision strong { margin-top: 6px; font-size: 20px; }
.workflow-footnote { margin: 34px 0 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: var(--ink); font-size: 17px; font-weight: 720; text-align: center; }
.workflow-footnote span { height: 1px; background: var(--line); }

.teams { padding: 105px 0 118px; }
.teams > h2 { max-width: 1200px; }
.teams-layout { margin-top: 58px; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; }
.decision-statement { padding-right: 58px; border-right: 1px solid var(--line); }
.decision-statement > p { max-width: 540px; margin: 0; font-size: clamp(38px, 3.75vw, 58px); font-weight: 740; letter-spacing: -0.052em; line-height: 1.05; }
.decision-statement > p span { color: var(--accent); }
.inline-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; color: var(--accent); font-size: 16px; font-weight: 680; text-underline-offset: 4px; }
.inline-link span { font-size: 22px; }

.team-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.team-list li { min-height: 180px; padding: 30px 0; display: grid; grid-template-columns: 74px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.team-list li > span { color: #7b847d; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 19px; }
.team-list h3 { margin: 0; font-size: 27px; letter-spacing: -0.035em; }
.team-list p { max-width: 570px; margin: 13px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }

.evidence { color: white; background: var(--night-2); }
.evidence-shell { width: min(1320px, calc(100% - 96px)); margin: 0 auto; padding: 106px 0 112px; }
.evidence .section-intro p { color: #b9c2bb; }
.evidence-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 300px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.evidence-ledger { min-width: 0; }
.evidence-row { min-height: 64px; display: grid; grid-template-columns: minmax(180px, 0.85fr) 160px minmax(260px, 1.3fr); align-items: center; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.evidence-row:last-child { border-bottom: 0; }
.evidence-row > * { min-width: 0; padding: 0 22px; }
.evidence-row > * + * { border-left: 1px solid var(--line-dark); }
.evidence-head { min-height: 44px; color: #9aa69c; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; letter-spacing: 0.13em; text-transform: uppercase; }
.evidence-row strong { font-weight: 620; }
.status { display: inline-flex; align-items: center; gap: 9px; font-weight: 680; }
.status::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.verified, .status.proven { color: var(--green-soft); }
.status.measured { color: #a8c8c1; }
.status.rejected { color: #ff7b77; }
.status.unmeasured { color: #c3bdad; }
.proof-summary { padding: 34px 0 34px 42px; border-left: 1px solid var(--line-dark); }
.proof-target { margin: 0; color: #9aa69c; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; letter-spacing: 0.13em; text-transform: uppercase; }
.proof-summary h3 { margin: 7px 0 0; font-size: 28px; }
.proof-summary > p:not(.proof-target) { margin: 16px 0 23px; color: #b9c2bb; font-size: 13px; line-height: 1.55; }
.proof-summary .button { width: 100%; }

.final-cta { padding: 92px 0 84px; text-align: center; }
.final-cta h2 { font-size: clamp(44px, 5vw, 72px); }
.final-cta > div { margin-top: 36px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.site-footer { width: min(1320px, calc(100% - 96px)); min-height: 116px; margin: 0 auto; display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
.site-footer .site-brand { color: var(--ink); }
.site-footer p { margin: 0; color: var(--muted); font-size: 13px; }
.site-footer nav { margin-left: auto; display: flex; gap: 30px; color: var(--muted); }
.site-footer nav a:hover { color: var(--ink); }

@media (max-width: 1180px) {
  .hero { min-height: 0; }
  .hero-content { grid-template-columns: 1fr; padding-top: 132px; }
  .hero-copy { max-width: none; }
  .hero-copy h1 { max-width: 820px; }
  .live-demo { max-width: none; }
  .workflow-rail { grid-template-columns: repeat(2, 1fr); }
  .workflow-rail li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .workflow-rail li:nth-child(4) { border-top: 1px solid var(--line); }
  .teams-layout { gap: 44px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .proof-summary { display: block; border-left: 0; border-top: 1px solid var(--line-dark); padding-left: 0; }
  .proof-summary .proof-target { align-self: end; }
  .proof-summary h3 { align-self: start; }
  .proof-summary > p:not(.proof-target) { max-width: 760px; margin: 16px 0 24px; }
  .proof-summary .button { grid-column: 3; grid-row: 1 / span 3; width: auto; }
}

@media (max-width: 860px) {
  .site-header { width: min(100% - 36px, 760px); min-height: 68px; gap: 20px; }
  .site-header nav { display: none; }
  .site-header .header-action { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 13px; }
  .hero-content, .section-shell, .evidence-shell, .site-footer { width: min(100% - 36px, 760px); }
  .hero-content { padding: 106px 0 58px; }
  .hero-copy h1 { font-size: clamp(45px, 12vw, 68px); }
  .hero-copy > p { font-size: 17px; }
  .hero-principles { grid-template-columns: 1fr; gap: 14px; }
  .demo-setup { grid-template-columns: 1fr; }
  .target-control, .generate-control { border-left: 0; border-top: 1px solid var(--line); }
  .target-control { display: grid; grid-template-columns: repeat(3, 1fr); }
  .target-control legend { grid-column: 1 / -1; }
  .target-option { align-items: flex-start; }
  .target-option span { flex-direction: column; gap: 0; }
  .model-result { grid-template-columns: 1fr; }
  .keyword-picker { grid-template-columns: repeat(4, 1fr); }
  .keyword-button:nth-child(5) { border-left: 0; }
  .keyword-button:nth-child(n + 5) { border-top: 1px solid var(--line); }
  .audio-replay { grid-template-columns: 1fr; gap: 8px; padding: 11px 0; }
  .prediction-readout { border-top: 1px solid var(--line); border-left: 0; }
  .decision-panel { border-left: 0; border-top: 1px solid var(--line); }
  .workflow, .teams { padding: 84px 0; }
  .workflow-rail { grid-template-columns: 1fr; }
  .workflow-rail li { border-left: 0; border-top: 1px solid var(--line); }
  .workflow-rail li:first-child { border-top: 0; }
  .workflow-rail p { min-height: 0; }
  .teams-layout { grid-template-columns: 1fr; }
  .decision-statement { padding: 0 0 54px; border-right: 0; border-bottom: 1px solid var(--line); }
  .evidence-row { grid-template-columns: minmax(132px, 0.8fr) 124px minmax(190px, 1.2fr); font-size: 13px; }
  .evidence-row > * { padding: 0 12px; }
  .proof-summary { grid-template-columns: 100px 1fr; }
  .proof-summary .button { grid-column: 2; grid-row: auto; justify-self: start; }
  .proof-summary > p:not(.proof-target) { margin-top: 16px; }
}

@media (max-width: 580px) {
  .site-header, .hero-content, .section-shell, .evidence-shell, .site-footer { width: calc(100% - 28px); }
  .site-brand { font-size: 17px; }
  .site-header .header-action { padding: 0 11px; }
  .hero-copy { padding-top: 8px; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 44px); line-height: 1.01; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-principles { margin-top: 32px; }
  .live-demo { margin: 0; border-width: 1px; }
  .demo-heading, .signal-panel { padding-left: 16px; padding-right: 16px; }
  .demo-heading { align-items: flex-start; flex-direction: column; }
  .demo-heading h2 { font-size: 21px; }
  .demo-state { margin-top: 5px; }
  .target-control { grid-template-columns: 1fr; }
  .signal-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .signal-heading > div:first-child { flex-direction: column; gap: 2px; }
  .keyword-picker { grid-template-columns: repeat(2, 1fr); }
  .keyword-button:nth-child(odd) { border-left: 0; }
  .keyword-button:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .prediction-readout { grid-template-columns: 1fr; }
  .prediction-readout > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .candidate-panel { padding-left: 14px; padding-right: 14px; overflow: visible; }
  .candidate-head { display: none; }
  .candidate-row { min-width: 0; min-height: 88px; padding: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .candidate-row strong { grid-column: 1 / -1; }
  .candidate-row strong small { max-width: none; text-overflow: clip; white-space: normal; }
  .candidate-row > span { text-align: left; font-size: 13px; font-weight: 720; }
  .candidate-row > span::before { display: block; margin-bottom: 2px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
  .candidate-row > span:nth-child(2)::before { content: "Command accuracy"; }
  .candidate-row > span:nth-child(3)::before { content: "False windows*"; }
  .candidate-row > span:nth-child(4)::before { content: "Artifact"; }
  .section-intro h2, .teams > h2, .final-cta h2 { font-size: 41px; }
  .workflow-rail { margin-top: 45px; }
  .workflow-footnote { grid-template-columns: 1fr; }
  .workflow-footnote span { display: none; }
  .teams-layout { margin-top: 42px; }
  .decision-statement > p { font-size: 39px; }
  .team-list li { grid-template-columns: 48px 1fr; min-height: 0; }
  .team-list h3 { font-size: 23px; }
  .team-list p { font-size: 16px; }
  .evidence-shell { padding: 78px 0; }
  .evidence-ledger { overflow-x: auto; }
  .evidence-row { min-width: 650px; }
  .proof-summary { display: block; padding: 34px 4px; }
  .proof-summary > p:not(.proof-target) { margin: 15px 0 22px; }
  .proof-summary .button { width: 100%; }
  .final-cta { padding: 72px 0; }
  .final-cta > div { display: grid; }
  .site-footer { padding: 30px 0; flex-wrap: wrap; }
  .site-footer p { width: 100%; order: 3; }
  .site-footer nav { width: 100%; margin-left: 0; gap: 20px; order: 2; }
}


.comparison-note, .walkthrough-note { color: var(--muted); font-size: 14px; line-height: 1.55; }
.comparison-note { margin: 16px 0 0; }
.result-label-row, .signal-heading > div:first-child { flex-wrap: wrap; }
.decision-panel > .next-step { margin: 18px 0; padding: 14px; background: #efece5; color: var(--ink); font-size: 14px; line-height: 1.55; }
.next-step strong, .next-step span { display: block; }
.next-step strong { margin-bottom: 5px; }
.engineering-details { border-top: 1px solid var(--line); font-size: 13px; }
.engineering-details summary { padding: 16px 0; font-size: 14px; font-weight: 700; cursor: pointer; }
.engineering-details p { color: var(--muted); line-height: 1.6; }
.decision-panel dt, .decision-panel dd { min-width: 0; overflow-wrap: anywhere; flex: 1; }
.board-proof { padding: 88px 0; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.proof-facts { margin: 36px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.proof-facts > div { border-top: 2px solid var(--line); padding-top: 18px; }
.proof-facts dt { color: var(--muted); font-size: 14px; }
.proof-facts dd { margin: 8px 0; font-size: 28px; font-weight: 700; }
.proof-facts .proof-detail { color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.6; }
.walkthrough-note { max-width: 780px; margin-top: 18px; }
.final-cta > p { max-width: 760px; margin: 26px auto 0; color: var(--muted); font-size: 18px; }
.contact-address a { color: var(--accent); }
.footer-contact { color: var(--accent); font-size: 14px; }
@media (max-width: 1180px) {
  .model-result { grid-template-columns: minmax(0, 1fr); }
  .decision-panel { border-left: 0; border-top: 1px solid var(--line); }
  .site-header { gap: 28px; }
  .site-header nav { gap: 22px; }
}
@media (max-width: 860px) {
  .proof-facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .board-proof { padding: 64px 0; }
  .hero-wordmark { width: 100%; }
  .brand-expansion { margin: 12px 0 22px; font-size: 14px; }
  .brand-expansion span { display: block; margin: 6px 0 0; font-size: 13px; }
  .hero-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-principles dt { font-size: 19px; }
  .hero-principles dd { font-size: 15px; }
  .hero-principles br { display: none; }
  .results-section { padding: 40px 0; }
}
@media (max-width: 580px) {
  .hero-content { padding-top: 94px; }
  .hero-wordmark { width: 88%; }
  .hero-actions { margin-top: 24px; }
  .hero-copy > .pilot-scope { font-size: 14px; }
  .results-at-glance { padding: 20px 16px; }
  .result-label-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .candidate-row strong { white-space: normal; }
  .site-footer nav { flex-wrap: wrap; }
  .site-brand img { width: 126px; height: 42px; }
  .hero-copy h1 { font-size: clamp(34px, 9.2vw, 48px); line-height: 1.1; }
  .hero-copy > p { font-size: 19px; }
  .hero-copy > .hero-support { font-size: 15px; }
  .hero-principles { grid-template-columns: 1fr; gap: 16px; }
  .hero-principles dt { font-size: 21px; }
  .hero-principles dd { font-size: 16px; }
  .hero-principles div { padding-top: 14px; }
  .hero-copy > .brand-endorsement { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
