:root {
  --bg: #f7faf8;
  --surface: #ffffff;
  --soft: #edf5f1;
  --ink: #111713;
  --muted: #65716a;
  --green: #00945f;
  --green-dark: #006d47;
  --green-pale: #dff3e9;
  --amber: #9b5b0d;
  --amber-pale: #fff2d8;
  --line: rgba(17, 23, 19, .12);
  --strong: rgba(17, 23, 19, .2);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 75% 3%, rgba(0, 148, 95, .1), transparent 27rem), var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(17,23,19,.04) 1px, transparent 1px), linear-gradient(90deg,rgba(17,23,19,.04) 1px,transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 58%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  background: rgba(247, 250, 248, .87);
  backdrop-filter: blur(16px);
  transition: border-color .2s ease;
}
.site-header.scrolled { border-color: var(--line); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { display: block; width: 146px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #4f5a54; font-size: 14px; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--strong); border-radius: 99px; background: rgba(255,255,255,.65); }

.eyebrow, .kicker { color: var(--green-dark); font-size: 11px; font-weight: 780; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(0,148,95,.11); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 25px; font-size: clamp(48px, 6.2vw, 78px); line-height: .99; letter-spacing: -.055em; font-weight: 660; }
h1 span { color: var(--green); }
h2 { margin-bottom: 20px; font-size: clamp(34px, 4.3vw, 56px); line-height: 1.04; letter-spacing: -.045em; font-weight: 640; }
h3 { letter-spacing: -.02em; }
.lead { max-width: 730px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.68; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border: 1px solid var(--strong); border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 720; transition: .2s; }
.button:hover { transform: translateY(-2px); border-color: var(--green); }
.button.primary { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(0,148,95,.2); }
.button.primary:hover { background: var(--green-dark); }

.hero { min-height: 720px; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(390px,.96fr); align-items: center; gap: clamp(48px,7vw,96px); padding: 92px 0 116px; }
.hero-copy { max-width: 680px; margin-bottom: 34px; color: var(--muted); font-size: clamp(18px,1.9vw,21px); line-height: 1.62; }
.hero-note { margin: 23px 0 0; color: #7a847e; font-size: 12px; }
.proof { overflow: hidden; border: 1px solid var(--strong); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 30px 80px rgba(18,42,30,.1); }
.proof::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg,var(--green) 0 72%,#c9d2cd 72%); }
.proof-bar { min-height: 51px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); color: #7b857f; font: 650 10px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .08em; text-transform: uppercase; }
.dots { display: flex; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #d8dedb; }
.dots i:first-child { background: var(--green); }
.proof-body { padding: 28px; }
.intent { padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.label { display: block; margin-bottom: 8px; color: #87918b; font: 700 10px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .13em; text-transform: uppercase; }
.intent strong { font-size: 17px; }
.proof-row { position: relative; display: grid; grid-template-columns: 16px 1fr auto; gap: 13px; align-items: start; padding: 11px 0; }
.proof-row + .proof-row::before { content: ""; position: absolute; left: 7px; top: -11px; width: 1px; height: 22px; background: #ccd5d0; }
.dot { width: 15px; height: 15px; margin-top: 2px; border: 3px solid #b9c2bd; border-radius: 50%; background: #fff; }
.hold .dot { border-color: var(--amber); background: var(--amber-pale); }
.verified .dot { border-color: var(--green); background: var(--green-pale); }
.proof-main strong { display: block; margin-bottom: 4px; font-size: 13px; }
.proof-main span { color: var(--muted); font: 500 11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; }
.verdict { padding: 5px 8px; border-radius: 5px; background: #edf1ef; color: #637069; font: 750 9px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .08em; }
.hold .verdict { background: var(--amber-pale); color: var(--amber); }
.verified .verdict { background: var(--green-pale); color: var(--green-dark); }
.proof-result { display: flex; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 16px 18px; border: 1px solid rgba(0,148,95,.22); border-radius: 10px; background: #f1faf5; }
.proof-result span { color: var(--muted); font-size: 12px; }
.proof-result strong { color: var(--green-dark); font: 750 12px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .08em; }

.home-paths { padding: 20px 0 110px; }
.path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.path-card { min-height: 255px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.72); text-decoration: none; transition: .2s; }
.path-card:hover { transform: translateY(-4px); border-color: rgba(0,148,95,.45); background: #fff; }
.path-number { margin-bottom: 56px; color: #99a39d; font: 650 11px ui-monospace,SFMono-Regular,Menlo,monospace; }
.path-card h2 { margin-bottom: 12px; font-size: 25px; letter-spacing: -.03em; }
.path-card p { margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.path-arrow { margin-top: auto; color: var(--green-dark); font-weight: 750; }

.page-hero { padding: 105px 0 82px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 790px; font-size: 20px; }
.section { padding: 105px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 78px; margin-bottom: 58px; }
.simulator-section { background: linear-gradient(180deg, rgba(237,245,241,.55), transparent); }
.simulator { overflow: hidden; border: 1px solid var(--strong); border-radius: 17px; background: rgba(255,255,255,.88); box-shadow: 0 28px 70px rgba(18,42,30,.08); }
.simulator-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.scenario-picker { display: flex; align-items: center; gap: 6px; }
.scenario-option { min-height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #65716a; font: 680 12px/1.2 inherit; cursor: pointer; transition: .2s; }
.scenario-option span { margin-right: 7px; color: #9aa49f; font: 700 9px ui-monospace,SFMono-Regular,Menlo,monospace; }
.scenario-option:hover { background: var(--soft); color: var(--ink); }
.scenario-option.selected { border-color: rgba(0,148,95,.25); background: var(--green-pale); color: var(--green-dark); }
.scenario-option:focus-visible, .sim-run:focus-visible { outline: 3px solid rgba(0,148,95,.25); outline-offset: 2px; }
.simulator-label { display: inline-flex; align-items: center; gap: 8px; color: #7b857f; font: 650 10px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .04em; white-space: nowrap; }
.simulator-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,148,95,.1); }
.simulator-body { display: grid; grid-template-columns: 1.35fr .65fr; min-height: 470px; }
.simulator-chain { padding: 34px; border-right: 1px solid var(--line); }
.sim-event { position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 16px; align-items: start; min-height: 96px; padding: 8px 0 24px; opacity: .46; transition: opacity .35s, transform .35s; }
.sim-event:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 42px; bottom: -4px; width: 1px; background: #cbd4cf; transition: background .35s; }
.sim-event.active { opacity: 1; transform: translateX(3px); }
.sim-event.complete { opacity: 1; }
.sim-event.complete:not(:last-child)::after { background: var(--green); }
.sim-marker { width: 34px; height: 34px; display: grid; place-items: center; z-index: 1; border: 2px solid #bcc6c0; border-radius: 50%; background: #fff; color: #7d8881; font: 750 10px ui-monospace,SFMono-Regular,Menlo,monospace; transition: .35s; }
.sim-event.active .sim-marker { border-color: var(--green); color: var(--green-dark); box-shadow: 0 0 0 6px rgba(0,148,95,.09); }
.sim-event.complete .sim-marker { border-color: var(--green); background: var(--green); color: #fff; }
.sim-event.warning .sim-marker { border-color: var(--amber); background: var(--amber-pale); color: var(--amber); }
.sim-role { display: block; margin: 1px 0 5px; color: #89938d; font: 700 9px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .1em; text-transform: uppercase; }
.sim-event strong { display: block; margin-bottom: 5px; font-size: 14px; }
.sim-event code { color: var(--muted); font: 500 11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; }
.sim-state { margin-top: 4px; padding: 6px 8px; border-radius: 5px; background: #edf1ef; color: #68736d; font: 760 9px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .07em; transition: .35s; }
.sim-event.complete .sim-state { background: var(--green-pale); color: var(--green-dark); }
.sim-event.warning .sim-state { background: var(--amber-pale); color: var(--amber); }
.decision-panel { display: flex; flex-direction: column; padding: 38px 32px; background: #fbfdfc; }
.decision-value { margin: 16px 0 12px; font: 680 clamp(36px,4vw,54px)/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: -.06em; }
.decision-panel > p { min-height: 52px; margin-bottom: 30px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.decision-rule { margin-bottom: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.decision-rule span { display: block; margin-bottom: 9px; color: #89938d; font: 700 9px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .1em; text-transform: uppercase; }
.decision-rule code { color: #4f5b54; font: 500 11px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace; }
.sim-run { min-height: 50px; margin-top: auto; border: 0; border-radius: 9px; background: var(--green); color: #fff; font: 730 13px inherit; cursor: pointer; transition: .2s; }
.sim-run:hover { transform: translateY(-2px); background: var(--green-dark); }
.sim-run:disabled { transform: none; background: #9ab8a9; cursor: wait; }
.simulator[data-result="release"] .decision-value { color: var(--green-dark); }
.simulator[data-result="hold"] .decision-value, .simulator[data-result="unresolved"] .decision-value { color: var(--amber); }
.cards-three { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.66); }
.cards-three article { min-height: 250px; padding: 34px; }
.cards-three article + article { border-left: 1px solid var(--line); }
.number { display: block; margin-bottom: 58px; color: #9da6a1; font: 650 11px ui-monospace,SFMono-Regular,Menlo,monospace; }
.cards-three h3 { margin-bottom: 12px; font-size: 20px; }
.cards-three p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.cards-three .dark { background: var(--ink); color: #fff; }
.cards-three .dark .number { color: #64c99e; }
.cards-three .dark p { color: #aebbb4; }

.scenario { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.scenario-copy p { color: var(--muted); font-size: 16px; line-height: 1.72; }
.scenario-flow { overflow: hidden; border: 1px solid var(--strong); border-radius: 15px; background: #fff; }
.scenario-step { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.scenario-step:last-child { border-bottom: 0; }
.scenario-step .who { color: #7b857f; font: 700 10px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .09em; text-transform: uppercase; }
.scenario-step strong { font-size: 14px; }
.scenario-step em { padding: 5px 8px; border-radius: 5px; background: var(--soft); color: var(--green-dark); font: 750 9px ui-monospace,SFMono-Regular,Menlo,monospace; font-style: normal; }
.scenario-step.warn em { background: var(--amber-pale); color: var(--amber); }

.principles { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.principle, .evidence-card { padding: 31px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); }
.principle h3, .evidence-card h3 { margin-bottom: 12px; font-size: 20px; }
.principle p, .evidence-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.evidence-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.evidence-card { min-height: 245px; transition: .2s; }
.evidence-card:hover { transform: translateY(-3px); border-color: rgba(0,148,95,.42); background: #fff; }
.provider { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 48px; }
.provider-name { font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 5px; background: var(--green-pale); color: var(--green-dark); font: 750 9px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .08em; }
.live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.technical-note { margin-top: 36px; padding: 24px 28px; border-left: 3px solid var(--green); background: var(--soft); color: #4f5b54; font-size: 14px; line-height: 1.7; }

.next-page { padding: 76px 0; }
.next-card { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 42px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.next-card .kicker { color: #66cda1; }
.next-card h2 { margin: 10px 0 0; font-size: clamp(28px,3vw,42px); }
.next-card .arrow { color: #66cda1; font-size: 34px; }
.pilot { padding: 88px 0; }
.pilot-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; padding: clamp(42px,7vw,80px); border-radius: 20px; background: var(--ink); color: #fff; }
.pilot-card::after { content: ""; position: absolute; right: -120px; top: -140px; width: 390px; height: 390px; border: 1px solid rgba(80,205,152,.28); border-radius: 50%; box-shadow: 0 0 0 54px rgba(0,148,95,.06),0 0 0 108px rgba(0,148,95,.035); }
.pilot-card > * { position: relative; z-index: 1; }
.pilot-card .kicker { color: #66cda1; }
.pilot-card h2 { margin: 16px 0 22px; }
.pilot-card p { margin: 0; color: #aebbb4; font-size: 16px; line-height: 1.7; }
.pilot-card .button { width: 100%; border-color: var(--green); background: var(--green); color: #fff; }
footer { padding: 34px 0 44px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; color: #7a847e; font-size: 12px; }
.footer-links { display: flex; gap: 22px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--green); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 76px 0 94px; }
  .proof { width: min(620px,100%); }
  .section-heading, .scenario { grid-template-columns: 1fr; gap: 24px; }
  .simulator-toolbar { align-items: flex-start; flex-direction: column; padding: 16px; }
  .scenario-picker { width: 100%; }
  .scenario-option { flex: 1; }
  .simulator-body { grid-template-columns: 1fr; }
  .simulator-chain { border-right: 0; border-bottom: 1px solid var(--line); }
  .path-grid, .cards-three { grid-template-columns: 1fr; }
  .path-card { min-height: auto; }
  .path-number { margin-bottom: 34px; }
  .cards-three article { min-height: auto; }
  .cards-three article + article { border-left: 0; border-top: 1px solid var(--line); }
  .number { margin-bottom: 34px; }
  .pilot-card { grid-template-columns: 1fr; align-items: start; }
  .pilot-card .button { width: auto; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .nav { min-height: 66px; }
  .brand img { width: 122px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  .hero { padding: 60px 0 78px; gap: 52px; }
  h1 { font-size: clamp(42px,14vw,61px); }
  .hero-copy { font-size: 17px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .proof-body { padding: 22px 18px; }
  .proof-row { grid-template-columns: 16px 1fr; }
  .verdict { grid-column: 2; width: max-content; }
  .proof-result { flex-direction: column; }
  .home-paths { padding-bottom: 76px; }
  .page-hero { padding: 72px 0 62px; }
  .page-hero .lead { font-size: 17px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 42px; }
  .scenario-picker { align-items: stretch; flex-direction: column; }
  .scenario-option { width: 100%; text-align: left; }
  .simulator-label { white-space: normal; }
  .simulator-chain { padding: 28px 20px; }
  .sim-event { grid-template-columns: 34px 1fr; }
  .sim-state { grid-column: 2; width: max-content; margin-top: -10px; }
  .decision-panel { padding: 30px 22px; }
  .scenario-step { grid-template-columns: 1fr; }
  .principles, .evidence-grid { grid-template-columns: 1fr; }
  .next-card { align-items: flex-start; padding: 32px 26px; }
  .pilot { padding: 64px 0; }
  .pilot-card { padding: 38px 28px; }
  .pilot-card .button { width: 100%; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
