/* ================================================================
   VetCura marketing site — dark "shift console" aesthetic
   Palette mirrors the iPhone app (VetScribeTheme.swift)
   ================================================================ */

:root {
  --bg: #0d0f13;
  --bg-2: #14171c;
  --panel: #1a1e25;
  --panel-2: #21262f;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #eef1f4;
  --ink-2: #a8b0bb;
  --ink-3: #6e7783;
  --teal: #52ad8a;
  --teal-bright: #6fd3ab;
  --blue: #5491ed;
  --violet: #6657db;
  --red: #e15e5c;
  --amber: #e8b547;
  --green: #69ba87;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --radius: 18px;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--teal); color: #06231a; padding: 8px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Reveal on scroll (JS-gated so no-JS users see everything) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
}
.h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, #3f9d8f 100%);
  color: #06231a;
  box-shadow: 0 8px 30px rgba(82, 173, 138, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(82, 173, 138, 0.5); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.2); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 18px 38px; font-size: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 15, 19, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--teal); }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-teal { width: 520px; height: 520px; background: rgba(82, 173, 138, 0.35); top: -140px; left: -120px; }
.orb-blue { width: 460px; height: 460px; background: rgba(84, 145, 237, 0.22); bottom: -100px; right: -100px; animation-delay: -6s; }
.orb-violet { width: 380px; height: 380px; background: rgba(102, 87, 219, 0.18); top: 40%; left: 60%; animation-delay: -12s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}

.ecg {
  position: absolute; left: 0; right: 0; top: 22%;
  width: 100%; height: 160px; opacity: 0.35; pointer-events: none;
}
.ecg-path {
  fill: none; stroke: var(--teal); stroke-width: 2;
  stroke-dasharray: 300 2100;
  stroke-dashoffset: 2400;
  filter: drop-shadow(0 0 6px rgba(82, 173, 138, 0.8));
  animation: ecg-run 7s linear infinite;
}
@keyframes ecg-run {
  to { stroke-dashoffset: 0; }
}

.hero-inner { position: relative; max-width: 880px; margin: 0 auto; padding: 0 24px; }
.hero-title {
  font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-title .line { display: block; }
.js .hero-title .line {
  opacity: 0;
  animation: line-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.js .hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.js .hero-title .line:nth-child(2) { animation-delay: 0.28s; }
.js .hero-title .line:nth-child(3) { animation-delay: 0.5s; }
@keyframes line-rise {
  from { opacity: 0; transform: translateY(46px); }
  to { opacity: 1; transform: none; }
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal-bright), var(--blue) 60%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Hero console card */
.hero-console { margin-top: 56px; }
.console-card {
  max-width: 660px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(33, 38, 47, 0.9), rgba(20, 23, 28, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(82, 173, 138, 0.06), 0 0 60px rgba(82, 173, 138, 0.08);
  padding: 18px 20px;
  text-align: left;
}
.console-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
  margin-bottom: 14px;
}
.console-clock { margin-left: auto; color: var(--teal-bright); }
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(225, 94, 92, 0.6);
  animation: pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 94, 92, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(225, 94, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 94, 92, 0); }
}
.console-label { font-weight: 600; }

.wave {
  display: flex; align-items: center; gap: 3px;
  height: 34px; margin-bottom: 14px;
}
.wave span {
  flex: 1; min-width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--teal-bright), var(--teal));
  height: 30%;
  animation: wave 1.1s ease-in-out infinite alternate;
  opacity: 0.85;
}
.wave span:nth-child(3n) { animation-duration: 0.9s; }
.wave span:nth-child(4n) { animation-duration: 1.3s; }
.wave span:nth-child(5n) { animation-duration: 0.75s; }
.wave span:nth-child(odd) { animation-delay: -0.4s; }
.wave span:nth-child(3n+1) { animation-delay: -0.8s; }
@keyframes wave {
  from { height: 12%; opacity: 0.45; }
  to { height: 95%; opacity: 1; }
}

.transcript { min-height: 64px; }
.t-line { font-size: 15px; line-height: 1.55; color: var(--ink); }
.t-speaker {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  margin-right: 10px; padding: 2px 8px; border-radius: 6px;
  vertical-align: 2px;
}
.t-speaker.vet { background: rgba(82, 173, 138, 0.16); color: var(--teal-bright); }
.caret {
  display: inline-block; width: 2px; height: 1em;
  background: var(--teal-bright); margin-left: 2px;
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.console-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  font-family: var(--mono); font-size: 11.5px;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.chip-teal { border-color: rgba(82, 173, 138, 0.4); color: var(--teal-bright); background: rgba(82, 173, 138, 0.08); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--teal-bright);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Intro strip ---------- */
.strip { padding: 90px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.strip-item h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--teal-bright); }
.strip-item p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Shift timeline ---------- */
.shift {
  padding: 120px 0 80px;
  position: relative;
  /* the section passes through the night: dusk → deep night → dawn */
  background:
    radial-gradient(ellipse 90% 24% at 70% 0%, rgba(102, 87, 219, 0.10), transparent 70%),
    radial-gradient(ellipse 90% 20% at 30% 100%, rgba(232, 160, 71, 0.09), transparent 70%),
    linear-gradient(180deg, #101018 0%, #0a0c10 34%, #08090c 62%, #12100c 100%);
}
.shift-head { text-align: center; margin-bottom: 70px; }
.shift .lede { margin: 0 auto; }

.timeline { position: relative; padding-left: 0; }
.rail {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}
.rail-fill {
  width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--teal-bright), var(--blue));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(82, 173, 138, 0.6);
}

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 110px;
  align-items: start;
}
/* Glowing dot pinned to the rail (chapter box is centered on the rail) */
.chapter::before {
  content: "";
  position: absolute; left: 50%; top: 16px;
  width: 14px; height: 14px; border-radius: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(82, 173, 138, 0.12), 0 0 18px rgba(82, 173, 138, 0.8);
  z-index: 1;
}
.chapter:nth-child(even) .chapter-time { order: 2; text-align: left; }
.chapter:nth-child(even) .chapter-body { order: 1; margin-left: auto; }
.chapter:nth-child(odd) .chapter-time { text-align: right; }

.chapter-time {
  position: sticky; top: 100px;
  font-family: var(--mono);
}
.chapter-time time {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  color: var(--teal-bright);
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(82, 173, 138, 0.35);
}
/* Dusk → dawn tinting across the night */
.chapter:first-of-type .chapter-time time { color: #9d95e8; text-shadow: 0 0 30px rgba(102, 87, 219, 0.45); }
.chapter:first-of-type::before { background: var(--violet); box-shadow: 0 0 0 5px rgba(102, 87, 219, 0.14), 0 0 18px rgba(102, 87, 219, 0.8); }
.chapter:last-of-type .chapter-time time { color: #f0c26a; text-shadow: 0 0 34px rgba(232, 181, 71, 0.5); }
.chapter:last-of-type::before { background: var(--amber); box-shadow: 0 0 0 5px rgba(232, 181, 71, 0.14), 0 0 18px rgba(232, 181, 71, 0.8); }

.chapter-body { max-width: 480px; width: 100%; }
.chapter-body h3 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.chapter-body > p { color: var(--ink-2); font-size: 16px; margin-bottom: 22px; }
.chapter-body .mock { width: 100%; max-width: none; }

/* Mock cards shared */
.mock {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  font-size: 14.5px;
}
.mock-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.mock-row.muted { color: var(--ink-3); font-size: 13.5px; }
.vc {
  font-family: var(--mono); font-size: 12px; color: var(--teal-bright);
  background: rgba(82, 173, 138, 0.1); padding: 1px 6px; border-radius: 5px;
}

/* ER board */
.board { display: grid; gap: 10px; }
.case-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-left-width: 3px;
}
.case-card strong { font-size: 15px; }
.case-meta { color: var(--ink-3); font-size: 12.5px; grid-column: 2; }
.triage-tag {
  grid-row: span 2;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 8px; border-radius: 6px;
  align-self: center;
}
.triage-critical { border-left-color: var(--red); }
.triage-critical .triage-tag { background: rgba(225, 94, 92, 0.15); color: #ef8f8d; }
.triage-urgent { border-left-color: #e08a3c; }
.triage-urgent .triage-tag { background: rgba(224, 138, 60, 0.15); color: #eeae72; }
.triage-stable { border-left-color: var(--green); }
.triage-stable .triage-tag { background: rgba(105, 186, 135, 0.15); color: #8fd3ab; }
.gen-status {
  grid-row: span 2; align-self: center;
  font-family: var(--mono); font-size: 11px; color: var(--amber);
}
.gen-status.done { color: var(--green); }

/* Differentials */
.ddx-head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.ddx-list { position: relative; height: 156px; }
.ddx-row {
  position: absolute; left: 0; right: 0; height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.6s ease;
}
.ddx-name { font-weight: 600; font-size: 14px; }
.conf {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 9px; border-radius: 999px;
}
.conf-high { background: rgba(82, 173, 138, 0.16); color: var(--teal-bright); }
.conf-mod { background: rgba(232, 181, 71, 0.13); color: var(--amber); }
.ddx-note {
  margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}
.ddx.ranked .ddx-row[data-after="0"] { border-color: rgba(82, 173, 138, 0.5); box-shadow: 0 0 20px rgba(82, 173, 138, 0.12); }

/* SOAP */
.soap { display: grid; gap: 8px; }
.soap-line {
  display: flex; gap: 12px; align-items: baseline;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
}
.js .in .soap-line {
  animation: soap-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i) * 0.25s + 0.3s);
}
@keyframes soap-in {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}
.soap-key {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
  background: rgba(84, 145, 237, 0.14); color: #8db6f4;
}

/* Client card */
.client-title { font-weight: 700; margin-bottom: 8px; }
.client p:not(.client-title) { color: var(--ink-2); font-size: 14px; font-style: italic; }
.client-actions { display: flex; gap: 8px; margin-top: 14px; }

/* End of shift */
.eos { display: grid; gap: 10px; }
.eos-item { font-family: var(--mono); font-size: 13.5px; color: var(--green); }

/* ---------- Capabilities ---------- */
.caps { padding: 120px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.caps .wrap > .kicker, .caps .wrap > .h2 { text-align: center; }
.caps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 50px;
}
.cap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cap:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 173, 138, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(82, 173, 138, 0.06);
}
.cap-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-bright);
  background: rgba(82, 173, 138, 0.1);
  border: 1px solid rgba(82, 173, 138, 0.22);
}
.cap-ico svg { width: 22px; height: 22px; }
.cap h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.cap p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Trust ---------- */
.trust { padding: 120px 0; }
.trust-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.trust-list { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.trust-list li {
  color: var(--ink-2); font-size: 15.5px;
  padding-left: 26px; position: relative;
}
.trust-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}
.trust-list strong { color: var(--ink); }

.factcard { max-width: 460px; margin-left: auto; }
.fact-head {
  font-weight: 700; font-size: 15px; margin-bottom: 14px;
  color: var(--teal-bright);
}
.fact-row {
  display: grid; grid-template-columns: 84px 1fr auto;
  gap: 10px; align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.fact-k { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.src {
  font-family: var(--mono); font-size: 10.5px;
  padding: 2px 8px; border-radius: 6px;
  background: rgba(84, 145, 237, 0.12); color: #8db6f4;
}
.fact-row.attn { background: rgba(232, 181, 71, 0.05); border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.fact-row.attn .src { background: rgba(232, 181, 71, 0.14); color: var(--amber); }
.fact-foot {
  margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--green);
}

/* ---------- Metrics ---------- */
.metrics { padding: 120px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.metrics .wrap { text-align: center; }
.metrics .lede { margin: 0 auto; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
.stat {
  padding: 30px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.stat-num {
  display: block;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--teal-bright), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--ink-2); font-size: 13.5px; line-height: 1.4; display: block; }
.stat-note { margin-top: 26px; font-size: 13px; color: var(--ink-3); }

/* ---------- Pilot CTA ---------- */
.pilot {
  position: relative; padding: 160px 0; text-align: center; overflow: hidden;
}
.pilot-glow {
  position: absolute; left: 50%; top: 50%;
  width: 900px; height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(82, 173, 138, 0.14), transparent 65%);
  pointer-events: none;
}
.pilot-inner { position: relative; }
.pilot-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 18px;
}
.pilot .lede { margin: 0 auto 34px; }
.pilot-fine { margin-top: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0; }
.footer-inner { display: grid; gap: 14px; }
.footer-brand { font-weight: 700; }
.footer-brand .brand-mark { width: 24px; height: 24px; }
.footer-legal { color: var(--ink-3); font-size: 13px; max-width: 560px; }
.footer-copy { color: var(--ink-3); font-size: 13px; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }

  .strip-grid { grid-template-columns: 1fr; gap: 28px; }

  .timeline .rail { left: 10px; }
  .chapter,
  .chapter:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 70px;
    padding-left: 36px;
  }
  .chapter-time, .chapter-body { min-width: 0; }
  .mock-row { flex-wrap: wrap; }
  .chapter::before { left: -14px; top: 8px; width: 12px; height: 12px; }
  .chapter:nth-child(even) .chapter-time,
  .chapter:nth-child(odd) .chapter-time { order: 0; text-align: left; position: static; }
  .chapter:nth-child(even) .chapter-body { order: 1; margin-left: 0; }
  .chapter-time time { font-size: 30px; }

  .caps-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .factcard { margin-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  /* let the headline wrap naturally instead of forcing three fixed lines */
  .hero-title .line { display: inline; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .case-card { grid-template-columns: auto 1fr; }
  .gen-status { grid-column: 1 / -1; grid-row: auto; }
  .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .console-foot .chip:nth-child(3) { display: none; }
}

/* ================================================================
   Reduced motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
