@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,600&display=swap");

:root {
  --ink: #17211d;
  --muted: #5e6862;
  --paper: #f2f0e8;
  --cream: #e8e4d8;
  --white: #fbfaf6;
  --lime: #c7f36b;
  --orange: #ff8a55;
  --blue: #8fb9ff;
  --line: rgba(23, 33, 29, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { min-height: 78px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; font-family: var(--mono); font-size: 12px; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 13px; font-weight: 600; }
nav a { text-decoration: none; }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 16px; }

.hero { min-height: 700px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); overflow: hidden; }
.hero-copy { padding: clamp(80px, 9vw, 132px) clamp(28px, 7vw, 112px); }
.eyebrow { margin: 0 0 24px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 830px; margin-bottom: 32px; font-size: clamp(54px, 7vw, 104px); line-height: .91; letter-spacing: -.065em; font-weight: 600; }
h1 em, h2 em { font-family: var(--serif); font-weight: 600; }
.hero-lede { max-width: 670px; margin-bottom: 34px; color: var(--muted); font-size: clamp(17px, 1.45vw, 21px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 3px; font-weight: 700; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--lime); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.button-dark { background: var(--ink); color: white; }
.text-link { font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.microcopy { margin: 20px 0 0; color: var(--muted); font-size: 11px; }

.hero-visual { position: relative; min-height: 620px; background: var(--ink); overflow: hidden; color: white; }
.hero-visual::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 42px 42px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(199,243,107,.45); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 370px; height: 370px; }
.orbit-two { width: 570px; height: 570px; border-style: dashed; opacity: .35; }
.core { position: absolute; left: 50%; top: 50%; width: 126px; height: 126px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); transform: translate(-50%, -50%); box-shadow: 0 0 80px rgba(199,243,107,.25); }
.core span { font: 500 34px var(--mono); }
.core i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.core i:nth-of-type(1) { top: 11px; left: 58px; }
.core i:nth-of-type(2) { right: 14px; bottom: 30px; }
.core i:nth-of-type(3) { left: 15px; bottom: 28px; }
.signal-card { position: absolute; width: min(260px, 43%); padding: 18px; border: 1px solid rgba(255,255,255,.3); background: rgba(23,33,29,.9); backdrop-filter: blur(8px); }
.signal-card strong, .signal-card > span { display: block; }
.signal-card strong { margin: 8px 0 2px; font-size: 14px; }
.signal-card > span:last-child { color: rgba(255,255,255,.65); font-size: 11px; }
.signal-label { color: var(--lime); font: 10px var(--mono); letter-spacing: .12em; }
.signal-input { left: 7%; top: 23%; }
.signal-output { right: 7%; bottom: 22%; }
.human-check { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); font: 11px var(--mono); white-space: nowrap; }
.human-check span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--lime); color: var(--ink); }

.editorial-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); background: var(--white); }
.editorial-strip > div { min-height: 116px; padding: 28px clamp(20px, 3vw, 44px); border-right: 1px solid var(--line); }
.editorial-strip > div:last-child { border-right: 0; }
.editorial-strip span, .editorial-strip strong { display: block; }
.editorial-strip span { margin-bottom: 8px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.editorial-strip strong { font-size: 14px; line-height: 1.4; }

.section { padding: clamp(84px, 10vw, 150px) clamp(24px, 6vw, 94px); }
.section-intro { max-width: 800px; margin-bottom: 60px; }
.section-intro h2, .estimator h2, .pilot h2, .closing h2 { margin-bottom: 24px; font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.section-intro > p:last-child, .estimator-copy > p:last-of-type, .pilot-copy > p { max-width: 680px; color: var(--muted); font-size: 17px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.benefit-card { min-height: 510px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); }
.benefit-card:last-child { border-right: 0; }
.time-card { background: var(--lime); }
.money-card { background: var(--orange); }
.mind-card { background: var(--blue); }
.card-number { font: 11px var(--mono); }
.card-icon { width: 72px; height: 72px; margin: 44px 0 28px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 28px var(--mono); }
.benefit-card h3 { margin-bottom: 12px; font-size: 34px; letter-spacing: -.04em; }
.benefit-card > p { max-width: 360px; }
.benefit-card ul { padding-left: 18px; margin: 8px 0 28px; font-size: 14px; }
.benefit-card li { margin: 5px 0; }
.card-rule { padding-top: 18px; margin-top: auto; border-top: 1px solid rgba(23,33,29,.3); font-size: 12px; }

.cases { background: var(--ink); color: white; }
.section-intro-row { max-width: none; display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; }
.section-intro-row > p { color: rgba(255,255,255,.6); }
.case-list { border-top: 1px solid rgba(255,255,255,.24); }
.case-item { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; padding: 42px 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.case-meta span, .case-meta strong { display: block; }
.case-meta span { color: var(--lime); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.case-meta strong { margin-top: 14px; font-size: 20px; }
.case-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5px 34px; }
.case-body h3 { grid-column: 1 / -1; font-size: 28px; letter-spacing: -.03em; }
.case-body p { color: rgba(255,255,255,.7); font-size: 13px; }
.case-body p strong { color: white; }
.case-risk { grid-column: 1 / -1; margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--orange); }
.footnote { max-width: 760px; margin: 26px 0 0; color: rgba(255,255,255,.5); font-size: 11px; }

.estimator { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 150px); background: var(--white); }
.formula { margin-top: 44px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font: 10px var(--mono); text-transform: uppercase; }
.formula span { padding: 8px 10px; border: 1px solid var(--line); }
.formula b { font-size: 16px; }
.calculator { padding: clamp(28px, 4vw, 54px); border: 1px solid var(--ink); background: var(--paper); box-shadow: 9px 9px 0 var(--cream); }
.field-row { margin-bottom: 32px; }
.field-row label { margin-bottom: 12px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; font-weight: 700; }
.field-row output { font: 500 13px var(--mono); }
input[type="range"] { width: 100%; accent-color: var(--ink); cursor: pointer; }
.money-field { padding-top: 24px; border-top: 1px solid var(--line); }
.input-suffix { display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.input-suffix input { min-width: 0; width: 100%; padding: 5px 0; border: 0; background: transparent; font: 30px var(--mono); color: var(--ink); }
.input-suffix span { font: 12px var(--mono); }
.result { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 42px; }
.result > div { padding: 18px; background: var(--ink); color: white; }
.result span, .result strong { display: block; }
.result span { color: rgba(255,255,255,.6); font-size: 10px; text-transform: uppercase; }
.result strong { margin-top: 10px; color: var(--lime); font: 500 clamp(27px, 3vw, 42px) var(--mono); }
.result small { color: rgba(255,255,255,.6); font-size: 10px; }
.result-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; }

.limits { background: #e9e5d9; }
.limits-intro { margin-inline: auto; text-align: center; }
.limits-intro > p:last-child { margin-inline: auto; }
.traffic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.traffic-card { min-height: 380px; padding: 30px; border: 1px solid var(--ink); background: var(--white); }
.traffic-light { display: block; width: 18px; height: 18px; margin-bottom: 45px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(199,243,107,.25); }
.traffic-amber .traffic-light { background: #ffc358; box-shadow: 0 0 0 6px rgba(255,195,88,.25); }
.traffic-red .traffic-light { background: #ff675f; box-shadow: 0 0 0 6px rgba(255,103,95,.2); }
.traffic-label { margin-bottom: 6px; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.traffic-card h3 { font-size: 28px; }
.traffic-card ul { padding-left: 18px; color: var(--muted); font-size: 13px; }
.traffic-card li { margin: 12px 0; }
.risk-note { max-width: 900px; margin: 46px auto 0; display: grid; grid-template-columns: .45fr 1.55fr; gap: 30px; padding-top: 30px; border-top: 1px solid var(--ink); }
.risk-note p { margin: 0; color: var(--muted); font-size: 13px; }

.pilot { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 160px); background: var(--lime); }
.print-help { margin-top: 12px; font-size: 10px !important; }
.pilot-steps { padding: 0; margin: 0; list-style: none; }
.pilot-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid rgba(23,33,29,.35); }
.pilot-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; font: 12px var(--mono); }
.pilot-steps strong { font-size: 17px; }
.pilot-steps p { margin: 4px 0 0; font-size: 12px; }

.closing { padding: clamp(100px, 13vw, 190px) 24px; text-align: center; background: var(--white); }
.closing h2 { max-width: 1000px; margin-inline: auto; }
.closing > p:not(.eyebrow) { color: var(--muted); }
.closing .button { margin-top: 20px; }
footer { min-height: 110px; padding: 30px clamp(24px, 6vw, 94px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--ink); color: white; font-size: 11px; }
footer p { margin: 0; color: rgba(255,255,255,.55); }
.footer-brand .brand-mark { border-color: white; }

a, button, input { transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease; }
a:hover, button:hover { opacity: .76; }
.button:hover { opacity: 1; transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media (max-width: 980px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .editorial-strip { grid-template-columns: 1fr 1fr; }
  .editorial-strip > div:nth-child(2) { border-right: 0; }
  .editorial-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .benefit-grid, .traffic-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 430px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .benefit-card:last-child { border-bottom: 0; }
  .section-intro-row, .estimator, .pilot { grid-template-columns: 1fr; }
  .case-item { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; }
  .brand { font-size: 14px; }
  .hero-copy { padding-top: 70px; }
  h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-visual { min-height: 500px; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 420px; height: 420px; }
  .signal-card { width: 58%; }
  .signal-input { left: 5%; top: 15%; }
  .signal-output { right: 5%; bottom: 15%; }
  .editorial-strip { grid-template-columns: 1fr; }
  .editorial-strip > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-intro-row { gap: 20px; }
  .case-body { grid-template-columns: 1fr; }
  .case-body h3, .case-risk { grid-column: auto; }
  .result { grid-template-columns: 1fr; }
  .risk-note { grid-template-columns: 1fr; gap: 10px; }
  footer { align-items: flex-start; flex-direction: column; }
}

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

@media print {
  @page { margin: 14mm; }
  .site-header, .hero-visual, .hero-actions, .editorial-strip, .benefits, .cases, .estimator, .limits, .closing, footer, .print-help, #print-plan { display: none !important; }
  .pilot { min-height: 100vh; display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; padding: 20px; background: white; }
  .pilot h2 { font-size: 42px; }
  .pilot-steps li { break-inside: avoid; }
}
