/* GRAI Services — "Console + Paper" design system.
   Dark dispatch-console for identity + product theater; light work-order paper
   for everything the buyer actually reads. Research: docs/research/
   grai-services-frontend-research-2026-07.md. Never pure #000/#fff (halation);
   ember #FF6A00 is DISPLAY-ONLY (~5:1), amber #FFB020 is the text-safe accent
   (~10:1 on charcoal); long-form copy lives on paper, 17-18px+. */

:root {
  /* console */
  --bg: #0a0b0d;
  --surface: #14161a;
  --surface-2: #1b1e24;
  --hairline: rgba(255, 255, 255, 0.07);
  --text: #e8eaed;
  --text-dim: rgba(232, 234, 237, 0.66);
  --ember: #ff6a00;
  --amber: #ffb020;
  --green: #3ddc84;
  /* paper */
  --paper: #f4f1ea;
  --paper-2: #ece8dd;
  --ink: #1a1b1e;
  --ink-dim: #55575c;
  --paper-line: rgba(26, 27, 30, 0.14);
  /* type */
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --wdth-condensed: 68;
  /* layout */
  --max: 1140px;
  --pad: clamp(1.1rem, 4vw, 2rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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; }
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ── type helpers ─────────────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-variation-settings: "wdth" var(--wdth-condensed);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  line-height: 1.02;
}
.microlabel {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--amber);
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }

/* ── section bands ────────────────────────────────────────────────────── */
.console { background: var(--bg); color: var(--text); position: relative; }
.console.grid-bg::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.045) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.045) 39px 40px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
}
.paper { background: var(--paper); color: var(--ink); }
.paper .microlabel { color: #a35b00; }
.section { padding: clamp(3.4rem, 8vw, 6rem) 0; }

/* safety-stripe divider — thin, or not at all */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--bg) 14px 28px);
  opacity: 0.85;
}

/* ── nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 11, 13, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; gap: 1.4rem; padding: 0.8rem var(--pad); max-width: var(--max); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.brand b {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 76;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem;
}
.brand b span { color: var(--amber); }
.nav-links { display: flex; gap: 1.3rem; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.92rem; color: var(--text-dim); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--hairline); color: var(--text); border-radius: 8px; padding: 0.45rem 0.7rem; font: inherit; cursor: pointer; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1.02rem;
  padding: 0.92rem 1.6rem; border-radius: 10px; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-big { padding: 1.05rem 2.1rem; font-size: 1.1rem; }
.cta-note {
  margin-top: 0.7rem; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--green);
}
.paper .cta-note { color: #147a45; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: #191104; box-shadow: 0 6px 28px rgba(255, 176, 32, 0.28); }
.btn-amber:hover { background: #ffc14a; }
.btn-ghost { border-color: var(--hairline); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); }
.paper .btn-ghost { border-color: rgba(26, 27, 30, 0.3); color: var(--ink); }
.paper .btn-ghost:hover { border-color: rgba(26, 27, 30, 0.55); }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(3.2rem, 8vw, 6rem) 0 clamp(2.6rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.7rem, 6.8vw, 5.4rem); }
.hero h1 .glow { color: var(--ember); text-shadow: 0 0 26px rgba(255, 106, 0, 0.35); }
.hero .sub { margin-top: 1.15rem; font-size: 1.16rem; color: var(--text-dim); max-width: 33rem; }
.cta-row { display: flex; gap: 0.8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.5rem; margin-top: 1.7rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-dim);
}
.trust-row span::before { content: "▸ "; color: var(--amber); }

/* ── hero visual: photo + floating cards ──────────────────────────────── */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 10px; border: 1px solid var(--hairline);
  background: var(--surface-2); background-size: cover; background-position: center;
  aspect-ratio: 5 / 4; position: relative;
  filter: saturate(0.92);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  background: linear-gradient(160deg, rgba(255, 106, 0, 0.14), rgba(10, 11, 13, 0.55) 78%);
  pointer-events: none;
}
.float-card {
  position: absolute; z-index: 2;
  background: rgba(15, 17, 21, 0.94); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 0.55rem 0.8rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.float-card b { color: var(--amber); font-weight: 700; }
.float-card .dot { display: inline-block; margin-right: 0.4rem; vertical-align: middle; }
.fc-1 { top: 0.9rem; right: 0.9rem; }
.fc-2 { top: 3.4rem; right: 2rem; }
.hero-log { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; z-index: 2; }
.hero-log .night-log { min-height: 0; padding: 0.7rem 0.9rem; font-size: 0.72rem; line-height: 1.9; }

/* ── photo band: full-bleed image strip, hidden until its image exists ── */
.photo-band { position: relative; min-height: 340px; background-size: cover; background-position: center; display: none; }
.photo-band.has-img { display: block; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 13, 0.82) 20%, rgba(10, 11, 13, 0.25)); }
.photo-band .band-inner { position: relative; z-index: 2; padding: 3.4rem 0; }
.photo-band h3 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); max-width: 26rem; }
.photo-band p { color: var(--text-dim); margin-top: 0.6rem; max-width: 28rem; }

/* ── three-card "how" row (white cards with console vignettes) ─────────── */
.how-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2.2rem; }
.how-card { background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: 1.35rem 1.3rem; }
.how-card .vignette {
  background: var(--bg); border-radius: 8px; padding: 0.8rem 0.9rem; margin-bottom: 1rem;
  font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.9; color: var(--text-dim);
  border: 1px solid var(--hairline); min-height: 96px;
}
.how-card .vignette .g { color: var(--green); }
.how-card .vignette .a { color: var(--amber); }
.how-card h3 { font-family: var(--font-display); font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: 1.2rem; letter-spacing: 0.02em; }
.how-card p { color: var(--ink-dim); font-size: 0.95rem; margin-top: 0.45rem; }

/* industry pills (hero) */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.pills span {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase;
  border: 1px solid var(--hairline); color: var(--text-dim); border-radius: 999px; padding: 0.3rem 0.75rem;
}
.pills span.on { border-color: var(--amber); color: var(--amber); }

/* ── corner-tick console card (reticle framing) ───────────────────────── */
.tick-card { position: relative; border: 1px solid var(--hairline); background: var(--surface); border-radius: 4px; }
.tick-card::before, .tick-card::after {
  content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--amber);
}
.tick-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.tick-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ── console panel chrome ─────────────────────────────────────────────── */
.panel-head {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.dot.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: ping 1.7s cubic-bezier(0, 0, 0.2, 1) infinite;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55);
}
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }
.sim-tag { margin-left: auto; color: rgba(232, 234, 237, 0.62); border: 1px solid var(--hairline); padding: 0.1rem 0.45rem; border-radius: 4px; font-size: 0.62rem; }

/* ── transcript ───────────────────────────────────────────────────────── */
.transcript { padding: 1rem 1.1rem 1.2rem; min-height: 300px; font-family: var(--font-mono); font-size: 0.83rem; line-height: 1.75; }
.t-line { display: none; }
.t-line.shown { display: block; animation: rise 0.3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.t-line .who { color: var(--amber); font-weight: 700; }
.t-line.caller .who { color: var(--text-dim); }
.t-line.sys { color: var(--green); font-size: 0.74rem; letter-spacing: 0.05em; }
.t-line.sys::before { content: "── "; }
.t-line .cursor { display: inline-block; width: 0.55em; background: var(--amber); animation: blink 1s steps(1) infinite; height: 1em; vertical-align: text-bottom; }
@keyframes blink { 50% { opacity: 0; } }

/* scenario tabs */
.scenario-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.scenario-tabs button {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: none; border: 1px solid var(--hairline); color: var(--text-dim);
  padding: 0.45rem 0.75rem; border-radius: 6px; cursor: pointer;
}
.scenario-tabs button[aria-selected="true"] { border-color: var(--amber); color: var(--amber); }

/* ── dispatch board ───────────────────────────────────────────────────── */
.board { padding: 1rem 1.1rem 1.3rem; }
.lanes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.lane {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); text-align: center; padding-bottom: 0.5rem; border-bottom: 1px dashed var(--hairline);
}
.lane.active { color: var(--green); border-bottom-color: var(--green); }
.board-track { position: relative; height: 108px; margin-top: 10px; }
.job-card {
  position: absolute; top: 0; left: 0; width: calc((100% - 24px) / 5);
  transform: translateX(calc(var(--stage, 0) * (100% + 6px)));
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--surface-2); border: 1px solid rgba(255, 176, 32, 0.5); border-radius: 6px;
  padding: 0.5rem 0.55rem; font-family: var(--font-mono); font-size: 0.62rem; line-height: 1.5;
}
.job-card .jc-top { color: var(--amber); font-weight: 700; }
.job-card .jc-urg { color: var(--ember); }
.board-log { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); line-height: 1.9; min-height: 5.7em; }
.board-log div { display: none; }
.board-log div.shown { display: block; animation: rise 0.3s ease both; }
.board-log .t { color: var(--green); }

/* ── night-log (umbrella hero) ────────────────────────────────────────── */
.night-log { padding: 1rem 1.1rem 1.2rem; font-family: var(--font-mono); font-size: 0.78rem; line-height: 2; min-height: 240px; }
.night-log div { display: none; }
.night-log div.shown { display: block; animation: rise 0.35s ease both; }
.night-log .t { color: var(--green); }
.night-log .trade { color: var(--amber); font-weight: 700; }

/* ── stats ────────────────────────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: 2.4rem; }
.stat { background: var(--bg); padding: 1.1rem 1rem; }
.stat b { display: block; font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-dim); }

/* ── verticals grid (umbrella) ────────────────────────────────────────── */
.verticals { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.vert-card { border: 1px solid var(--paper-line); border-radius: 10px; padding: 1.4rem 1.3rem; background: #fff; text-decoration: none; color: var(--ink); position: relative; display: block; }
.vert-card h3 { font-family: var(--font-display); font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.02em; }
.vert-card p { color: var(--ink-dim); font-size: 0.95rem; margin-top: 0.5rem; }
.vert-card .badge {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.5rem; border-radius: 4px;
}
.badge.live { background: rgba(20, 130, 70, 0.12); color: #147a45; border: 1px solid rgba(20, 122, 69, 0.4); }
.badge.soon { background: rgba(26, 27, 30, 0.06); color: var(--ink-dim); border: 1px solid var(--paper-line); }
a.vert-card { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
a.vert-card:hover { border-color: rgba(26, 27, 30, 0.4); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(26, 27, 30, 0.1); }
.vert-card .go { margin-top: 1rem; font-weight: 600; font-size: 0.92rem; color: #a35b00; }

/* ── job tickets (paper skeuomorph) ───────────────────────────────────── */
.tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.3rem; margin-top: 2.2rem; }
.ticket {
  background: #fffdf7; border: 1px solid var(--paper-line); border-radius: 6px;
  padding: 1.1rem 1.15rem 1.25rem; position: relative;
  box-shadow: 0 2px 10px rgba(26, 27, 30, 0.07);
}
.ticket::before {
  /* perforation strip */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: radial-gradient(circle at 8px 0, transparent 4px, #fffdf7 4.5px);
  background-size: 22px 10px; background-position: 3px -5px;
  border-bottom: 1px dashed var(--paper-line);
}
.ticket .t-head { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-dim); text-transform: uppercase; margin-top: 0.5rem; display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.ticket h4 { font-family: var(--font-display); font-variation-settings: "wdth" 74; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.06rem; margin: 0.55rem 0 0.5rem; }
.ticket .t-field { font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.85; color: var(--ink); }
.ticket .t-field b { color: #a35b00; font-weight: 700; }
.ticket .stamp {
  position: absolute; bottom: 0.9rem; right: 0.95rem; transform: rotate(-7deg);
  font-family: var(--font-display); font-variation-settings: "wdth" 80; text-transform: uppercase;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em;
  color: #147a45; border: 2px solid #147a45; border-radius: 4px; padding: 0.12rem 0.4rem; opacity: 0.85;
}
.ticket .stamp.alert { color: #b0430a; border-color: #b0430a; }

/* ── spec table ───────────────────────────────────────────────────────── */
.spec { width: 100%; border-collapse: collapse; margin-top: 1.8rem; font-family: var(--font-mono); font-size: 0.82rem; }
.spec th, .spec td { text-align: left; padding: 0.62rem 0.8rem; border: 1px solid var(--paper-line); vertical-align: top; }
.spec th { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-dim); background: var(--paper-2); font-weight: 600; }
.spec td.yes::before { content: "✓ "; color: #147a45; font-weight: 700; }
.spec td.road::before { content: "→ "; color: #a35b00; font-weight: 700; }
.spec-note { font-size: 0.8rem; color: var(--ink-dim); margin-top: 0.6rem; }
.table-scroll { overflow-x: auto; }

/* ── ROI calculator ───────────────────────────────────────────────────── */
.calc { background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: clamp(1.3rem, 3vw, 2.2rem); margin-top: 2.2rem; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.3rem, 3vw, 2.6rem); }
.calc label { display: block; font-weight: 600; font-size: 0.92rem; margin-top: 1.15rem; }
.calc label:first-child { margin-top: 0; }
.calc output { float: right; font-family: var(--font-mono); font-weight: 700; color: #a35b00; }
.calc input[type="range"] { width: 100%; margin-top: 0.5rem; accent-color: #d97706; }
.calc-out { border-left: 1px solid var(--paper-line); padding-left: clamp(1.3rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; }
.calc-out .big { font-family: var(--font-mono); font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-out .big small { font-size: 1rem; color: var(--ink-dim); font-weight: 500; }
.calc-out p { color: var(--ink-dim); font-size: 0.9rem; margin-top: 0.7rem; }
.assumption { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-dim); margin-top: 1rem; border-top: 1px dashed var(--paper-line); padding-top: 0.7rem; }

/* ── steps ────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-top: 2.2rem; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 0.9rem; }
.step::before {
  counter-increment: step; content: "0" counter(step) " /";
  font-family: var(--font-mono); font-size: 0.75rem; color: #a35b00; letter-spacing: 0.08em;
}
.step h4 { font-family: var(--font-display); font-variation-settings: "wdth" 74; text-transform: uppercase; font-size: 1.05rem; margin: 0.35rem 0 0.4rem; }
.step p { font-size: 0.95rem; color: var(--ink-dim); }

/* ── section headers ──────────────────────────────────────────────────── */
.sec-head h2 { font-size: clamp(2rem, 4.8vw, 3.3rem); margin-top: 0.5rem; }
.sec-head .lede { margin-top: 0.9rem; max-width: 44rem; font-size: 1.06rem; }
.console .sec-head .lede { color: var(--text-dim); }
.paper .sec-head .lede { color: var(--ink-dim); }

/* ── safety section ───────────────────────────────────────────────────── */
.safety-quote {
  border-left: 3px solid var(--ember); padding: 0.9rem 1.2rem; margin-top: 1.6rem;
  background: var(--surface); border-radius: 0 8px 8px 0;
  font-size: 1.02rem; color: var(--text); max-width: 44rem;
}
.safety-quote .microlabel { display: block; margin-bottom: 0.45rem; color: var(--ember); }
.safety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.safety-item { border: 1px solid var(--hairline); border-radius: 8px; padding: 1rem 1.05rem; background: var(--surface); }
.safety-item b { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--amber); display: block; margin-bottom: 0.4rem; }
.safety-item p { font-size: 0.9rem; color: var(--text-dim); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 46rem; margin-top: 1.8rem; }
.faq details { border-bottom: 1px solid var(--paper-line); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: #a35b00; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.6rem; color: var(--ink-dim); font-size: 0.97rem; max-width: 42rem; }

/* ── ticker ───────────────────────────────────────────────────────────── */
.ticker { overflow: hidden; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 0.55rem 0; }
.ticker-track { display: flex; gap: 3rem; white-space: nowrap; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); animation: tick 36s linear infinite; width: max-content; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker-track span b { color: var(--amber); font-weight: 500; }

/* ── final CTA band ───────────────────────────────────────────────────── */
.founding { text-align: left; }
.founding .card { border: 1px solid var(--hairline); background: linear-gradient(180deg, var(--surface), var(--bg)); border-radius: 14px; padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.founding h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.founding p { color: var(--text-dim); margin-top: 0.8rem; max-width: 34rem; }

/* ── footer ───────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--hairline); padding: 2.2rem 0 2.6rem; font-size: 0.88rem; color: var(--text-dim); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; align-items: center; }
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text); }
.foot-note { margin-top: 1rem; font-size: 0.8rem; }

/* Scroll-reveal was removed deliberately: on a conversion page, content that
   could ever fail to appear costs more than the flourish is worth. The classes
   remain in the markup but carry no styling. */

/* ── sticky mobile CTA ────────────────────────────────────────────────── */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 0.65rem var(--pad) calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(10, 11, 13, 0.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline);
}
.mobile-cta .btn { display: block; text-align: center; width: 100%; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .calc, .founding .card { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--paper-line); padding-top: 1.3rem; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--hairline); flex-direction: column; padding: 1rem var(--pad) 1.3rem; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .lanes, .job-card { font-size: 0.5rem; }
  .stat b { font-size: 1.25rem; }
  .hero-log .night-log { font-size: 0.62rem; }
  .fc-2 { display: none; }
}
@media (max-width: 760px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 4.6rem; }
}
