:root {
  color-scheme: light;
  --bg: oklch(0.985 0.003 252);
  --surface: oklch(1 0 0);
  --surface-soft: oklch(0.96 0.008 252);
  --ink: oklch(0.19 0.018 252);
  --muted: oklch(0.45 0.02 252);
  --primary: oklch(0.82 0.13 112);
  --primary-dark: oklch(0.32 0.065 112);
  --action: oklch(0.52 0.18 252);
  --action-pale: oklch(0.92 0.035 252);
  --line: oklch(0.87 0.012 252);
  --line-strong: oklch(0.68 0.018 252);
  --white: oklch(1 0 0);
  --rule: 1px solid var(--line);
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-optical-sizing: auto;
  font-kerning: normal;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); }
a { color: inherit; }
svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.status-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(20px, 4vw, 64px);
  border-bottom: var(--rule);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 560;
}
.status-strip span:first-child::before,
.build-state::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}
.status-strip span:last-child { text-align: right; }

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px clamp(20px, 4vw, 64px);
  border-bottom: var(--rule);
}
.wordmark,
.footer-wordmark {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}
.wordmark span { color: var(--action); }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; }
nav a { font-size: 0.9rem; font-weight: 620; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.hero {
  width: min(100%, 1480px);
  min-height: min(780px, calc(100vh - 122px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(24px, 4vw, 64px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 64px);
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(48px, 7vw, 96px) 0;
}
.build-state,
.section-label,
.model-heading > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 620;
  letter-spacing: 0.005em;
}
h1, h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { max-width: 11ch; font-size: clamp(3.2rem, 7vw, 5.4rem); }
h2 { max-width: 14ch; font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
.hero-lede {
  max-width: 62ch;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.primary-action {
  width: min(100%, 360px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--action);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease;
}
.primary-action:hover { transform: translateY(-2px); background: oklch(0.46 0.18 252); }

.signal-map {
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: var(--rule);
  border-radius: 16px;
  background: var(--surface-soft);
}
.signal-map svg { width: 100%; flex: 1 1 auto; color: var(--surface-soft); }
.map-blocks { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
.map-route path {
  fill: none;
  stroke: var(--action);
  stroke-width: 7;
  stroke-linecap: round;
}
.map-node circle { fill: var(--primary); stroke: var(--white); stroke-width: 4; }
.map-node text { fill: var(--ink); font-family: "Figtree", system-ui, sans-serif; font-size: 15px; font-weight: 680; }
.map-node text + text { fill: var(--primary-dark); font-size: 14px; font-weight: 500; }
.node-action circle { fill: var(--action); }
.node-action text { text-anchor: end; }
.signal-map figcaption {
  max-width: 58ch;
  padding: 22px 26px 28px;
  border-top: var(--rule);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.model {
  padding: clamp(82px, 10vw, 144px) clamp(20px, 6vw, 92px);
  border-top: var(--rule);
  border-bottom: var(--rule);
  background: var(--surface);
}
.model-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr);
  align-items: start;
  gap: 42px;
  margin-bottom: clamp(64px, 10vw, 120px);
}
.model-heading h2 { max-width: 12ch; }
.evidence-chain {
  counter-reset: evidence;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: var(--rule);
  list-style: none;
}
.evidence-chain li {
  counter-increment: evidence;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px 24px 30px 0;
  border-bottom: 1px solid var(--line-strong);
}
.evidence-chain li + li { padding-left: 24px; border-left: var(--rule); }
.evidence-chain li::before { content: counter(evidence); color: var(--action); font-weight: 740; }
.evidence-chain strong { font-size: clamp(1.35rem, 2.7vw, 2rem); }
.evidence-chain span { max-width: 24ch; color: var(--muted); line-height: 1.55; }

.owner-path {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(82px, 10vw, 144px) clamp(20px, 6vw, 92px);
  border-bottom: var(--rule);
  background: var(--bg);
}
.owner-copy { align-self: end; }
.owner-copy > p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}
.owner-copy .pilot-note {
  margin-top: 32px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.9rem;
}

.evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(82px, 10vw, 144px) clamp(20px, 6vw, 92px);
  border-bottom: var(--rule);
  background: var(--ink);
  color: var(--white);
}
.evidence-statement p {
  max-width: 62ch;
  margin: 32px 0 0;
  color: oklch(0.82 0.018 112);
  font-size: 1.08rem;
  line-height: 1.7;
}
.evidence-legend { margin: 0; border-top: 1px solid var(--primary); }
.evidence-legend div { padding: 20px 0; border-bottom: 1px solid oklch(0.42 0.025 112); }
.evidence-legend dt { color: var(--primary); font-weight: 730; }
.evidence-legend dd { margin: 6px 0 0; color: oklch(0.82 0.018 112); line-height: 1.5; }

footer {
  display: grid;
  grid-template-columns: 0.55fr 0.85fr 1.6fr;
  gap: 30px;
  align-items: start;
  padding: 44px clamp(20px, 6vw, 92px) 56px;
  border-top: var(--rule);
}
footer p { margin: 0; color: var(--muted); line-height: 1.55; }
.disclosure { max-width: 70ch; font-size: 0.78rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .signal-map { min-height: 620px; }
  .model-heading,
  .owner-path,
  .evidence { grid-template-columns: minmax(0, 1fr); }
  .evidence-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-chain li:nth-child(3) { border-left: 0; }
  footer { grid-template-columns: 0.7fr 1.3fr; }
  .disclosure { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .status-strip { align-items: flex-start; flex-direction: column; gap: 4px; }
  .status-strip span:last-child { text-align: left; }
  .site-header { align-items: flex-start; }
  nav { max-width: 170px; gap: 8px 16px; }
  h1 { font-size: clamp(2.95rem, 14.5vw, 4.3rem); }
  .signal-map { min-height: 510px; }
  .signal-map svg { min-height: 420px; }
  .evidence-chain { grid-template-columns: minmax(0, 1fr); }
  .evidence-chain li,
  .evidence-chain li + li { padding: 22px 0; border-left: 0; }
  .owner-path,
  .evidence { gap: 56px; }
  footer { grid-template-columns: minmax(0, 1fr); }
  .disclosure { grid-column: auto; }
}

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