/* ============================================================
   HERMANN FINANCIAL SERVICES · A SevenTrain Ventures Initiative
   Extends the Hermann Services redesign design system, but media-free:
   the visual weight is carried by typography, a dot-grid "blueprint"
   texture, amber glow, and data-graphics (a live underwriting console,
   a carrier-network diagram, a metrics ribbon, a DSO curve, the data-flow).
   Committed dark, hunter green + bone + Hermann amber #ffc72c (leads as the
   "capital/gold" accent). Archivo Black display + IBM Plex Mono for data.
   ============================================================ */

/* ---------- Fonts (self-hosted, shared with hermanntds redesign) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("../assets/fonts/archivo-black.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0b120e;
  --ink-2: #0e1611;
  --panel: #141f18;
  --panel-2: #192720;
  --line: rgba(242, 239, 230, 0.14);
  --line-soft: rgba(242, 239, 230, 0.08);
  --bone: #f2efe6;
  --dim: #b8b3a4;
  --green: #2c5a3e;
  --green-hi: #47875f;
  --amber: #ffc72c;
  --amber-deep: #eab616;
  --amber-soft: rgba(255, 199, 44, 0.10);
  --btn-ink: #191405;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo Black", "Archivo", "Arial Black", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --radius: 12px;
  --container: 1180px;
  --nav-h: 72px;
  color-scheme: dark;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 410;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--amber); color: var(--btn-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--amber); color: var(--btn-ink);
  padding: 0.6rem 1.1rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Primitives ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section + .section { border-top: 1px solid var(--line-soft); }

.display {
  font-family: var(--font-display); font-weight: 400;
  text-transform: uppercase; letter-spacing: -0.015em;
  line-height: 0.96; text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); margin-bottom: 1.3rem; }
.lead {
  color: rgba(242, 239, 230, 0.9);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6; max-width: 62ch; margin-bottom: 1.2rem;
}
.accent { color: var(--amber); }
.dim { color: var(--dim); }
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.01em; }

.kicker {
  font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.9rem;
}

/* dot-grid "blueprint" texture used across dark fx layers */
.dotgrid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(242, 239, 230, 0.05) 1px, transparent 1.5px);
  background-size: 24px 24px;
}

/* Buttons: pill (documented exception to the 12px radius rule) */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.7rem; border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-amber { background: var(--amber); color: var(--btn-ink); }
.btn-amber:hover { background: var(--amber-deep); }
.btn-ghost {
  background: rgba(11, 18, 14, 0.35); color: var(--bone);
  border-color: var(--line); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--bone); }
.btn svg { flex: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(11, 18, 14, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-inner { width: 100%; display: flex; align-items: center; gap: 2rem; }

.nav-brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.nav-brand img { height: 36px; width: auto; display: block; }

.nav-links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 560; font-size: 0.95rem; color: var(--bone); opacity: 0.85; transition: opacity 0.15s ease, color 0.15s ease; }
.nav-links a:hover { opacity: 1; color: var(--amber); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-tag { border: 1px solid var(--line); border-radius: 999px; padding: 0.28rem 0.7rem; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--dim); }
.nav .btn { padding: 0.6rem 1.3rem; font-size: 0.92rem; }

.nav-burger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--bone);
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 18, 14, 0.97); backdrop-filter: blur(10px);
  display: none; flex-direction: column; justify-content: center; padding: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(1.7rem, 8vw, 2.4rem); text-transform: uppercase; text-decoration: none; padding: 0.5rem 0; color: var(--bone); }
.mobile-menu a:hover { color: var(--amber); }
.mobile-menu .mobile-contact { margin-top: 2rem; font-family: var(--font-mono); font-size: 1rem; color: var(--dim); }
.mobile-menu .mobile-contact a { font-family: var(--font-mono); font-size: 1.05rem; text-transform: none; color: var(--amber); padding: 0; }

/* ============================================================
   HERO — typographic, dot-grid, glow, live console (no media)
   ============================================================ */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-fx { position: absolute; inset: 0; }
.hero-fx .dotgrid {
  -webkit-mask-image: radial-gradient(115% 90% at 50% 25%, #000 35%, transparent 82%);
  mask-image: radial-gradient(115% 90% at 50% 25%, #000 35%, transparent 82%);
}
.hero-glow { position: absolute; inset: 0; background: radial-gradient(48% 42% at 72% 22%, rgba(255, 199, 44, 0.16), transparent 70%); }

.hero-inner {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: calc(var(--nav-h) + 2.5rem) 3rem;
}
.hero-eyebrow { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.hero-h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); max-width: 14ch; }
.hero-sub { margin-top: 1.3rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(242, 239, 230, 0.9); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; color: var(--dim); font-size: 0.8rem; letter-spacing: 0.04em; }
.hero-tags .sep { color: var(--amber); opacity: 0.55; }

.hero-content > * { opacity: 0; transform: translateY(24px); animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }
.hero-content > *:nth-child(5) { animation-delay: 0.4s; }
.hero-content > *:nth-child(6) { animation-delay: 0.5s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* live underwriting console */
.console {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.75);
  animation: consoleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
@keyframes consoleIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.console-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line-soft); background: rgba(0, 0, 0, 0.22); }
.console-dots { display: flex; gap: 0.4rem; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.console-title { font-size: 0.76rem; color: var(--dim); }
.console-live { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: var(--green-hi); text-transform: uppercase; letter-spacing: 0.08em; }
.console-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-hi); animation: livePulse 2s ease-out infinite; }
.console-body { padding: 1.1rem 1.25rem 1.35rem; font-size: 0.88rem; line-height: 1.95; }
.console-body .cl { opacity: 0; transform: translateY(4px); animation: clIn 0.45s ease forwards; }
.console-body .cl:nth-child(1) { animation-delay: 0.5s; }
.console-body .cl:nth-child(2) { animation-delay: 0.9s; }
.console-body .cl:nth-child(3) { animation-delay: 1.3s; }
.console-body .cl:nth-child(4) { animation-delay: 1.7s; }
.console-body .cl:nth-child(5) { animation-delay: 2.1s; }
.console-body .cl:nth-child(6) { animation-delay: 2.5s; }
.c-p { color: var(--amber); }
.c-ok { color: var(--green-hi); }
.c-ar { color: var(--amber); }
.c-id { color: var(--bone); }
.c-hi { color: var(--amber); }
.c-dim { color: var(--dim); }
.c-amt { color: var(--bone); font-weight: 500; }
.cl-final { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.c-badge { background: var(--amber); color: var(--btn-ink); font-weight: 700; font-size: 0.7rem; padding: 0.18rem 0.5rem; border-radius: 5px; letter-spacing: 0.05em; }
.c-cursor { display: inline-block; width: 8px; height: 1.05em; background: var(--amber); opacity: 0; animation: blink 1.1s steps(1, end) infinite; animation-delay: 2.9s; }
@keyframes clIn { to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(71, 135, 95, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(71, 135, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(71, 135, 95, 0); } }

/* ============================================================
   EXECUTIVE SUMMARY — plan card + proof band
   ============================================================ */
.plan {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(1.6rem, 3vw, 2.4rem); margin-top: 1.8rem;
}
.plan-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.9rem; }
.plan p { font-size: 1.06rem; line-height: 1.75; }
.plan b { color: var(--bone); }
.plan .accent { font-weight: 700; }

.proof { margin-top: 2.4rem; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); }
.proof-item { background: var(--ink-2); padding: 1.9rem 1.6rem; }
.proof-num { font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--amber); line-height: 1.1; }
.proof-num .unit { font-size: 52%; color: var(--dim); margin-left: 0.15rem; }
.proof-label { margin-top: 0.45rem; color: var(--dim); font-size: 0.93rem; line-height: 1.45; }

/* ============================================================
   VISION — split copy + carrier-network diagram
   ============================================================ */
.vis-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.vis-media { position: sticky; top: calc(var(--nav-h) + 2rem); }
.netfig { max-width: 430px; margin-inline: auto; }
.net { width: 100%; height: auto; display: block; overflow: visible; }
.net-ring { stroke: rgba(242, 239, 230, 0.10); stroke-width: 1; }
.net-ring-2 { stroke: rgba(242, 239, 230, 0.06); }
.net-line { stroke: rgba(242, 239, 230, 0.10); stroke-width: 1.4; }
.net-line.on { stroke: rgba(255, 199, 44, 0.5); }
.net-node { fill: #37503f; }
.net-node.on { fill: var(--amber); }
.net-rot { transform-origin: 200px 200px; animation: netspin 44s linear infinite; }
.net-pulse { fill: none; stroke: rgba(255, 199, 44, 0.45); stroke-width: 1.4; transform-origin: 200px 200px; animation: netpulse 3.4s ease-out infinite; }
.net-hub-ring { fill: var(--ink); stroke: rgba(255, 199, 44, 0.35); stroke-width: 1.4; }
.net-hub { fill: var(--amber); }
.net-hub-t { fill: var(--btn-ink); font-family: var(--font-display); font-size: 30px; }
@keyframes netspin { to { transform: rotate(360deg); } }
@keyframes netpulse { 0% { transform: scale(0.72); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.figure-cap { margin-top: 1rem; color: var(--dim); font-size: 0.82rem; line-height: 1.5; max-width: 40ch; margin-inline: auto; text-align: center; }

/* rich prose flow */
.rich p { margin: 0 0 1rem; color: var(--dim); }
.rich p.lead { color: rgba(242, 239, 230, 0.9); }
.rich p b, .rich li b { color: var(--bone); }
.rich h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; letter-spacing: -0.005em; margin: 1.9rem 0 0.7rem; }
.rich h3.first { margin-top: 0; }

/* tick lists */
ul.ticks { display: grid; gap: 0.8rem; margin: 0.6rem 0 1rem; }
ul.ticks li { position: relative; padding-left: 1.9rem; color: var(--dim); }
ul.ticks li b { color: var(--bone); }
ul.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 0.4em;
  width: 7px; height: 12px; border: solid var(--amber);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ============================================================
   DECISION OS — data-flow + agents + moat
   ============================================================ */
.os-intro { max-width: 70ch; }
.flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; margin-top: 2.6rem; }
.node {
  flex: 1 1 180px; min-width: 150px;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.3rem 1.25rem;
  transition: border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
}
.node-k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.55rem; }
.node-t { font-family: var(--font-display); font-size: 1.12rem; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; }
.node-s { color: var(--dim); font-size: 0.83rem; margin-top: 0.35rem; line-height: 1.4; }
.node-brain { background: var(--panel-2); border-color: rgba(255, 199, 44, 0.25); }
.node-brain .node-t { color: var(--amber); }
.node-act .node-t { color: var(--green-hi); }
.node.lit { transform: translateY(-3px); }
.node-brain.lit { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 14px 34px -16px rgba(255, 199, 44, 0.55); }
.node-act.lit { border-color: var(--green-hi); box-shadow: 0 14px 34px -18px rgba(71, 135, 95, 0.6); }
.node:not(.node-brain):not(.node-act).lit { border-color: var(--line); }
.arrow { display: flex; align-items: center; justify-content: center; color: var(--amber); padding: 0 0.5rem; opacity: 0.4; transition: opacity 0.45s ease; }
.arrow.lit { opacity: 1; }

h3.os-sub, h3.deal-sub, h3.data-sub {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.01em; margin: 2.9rem 0 0;
}
h3.os-sub .dim, h3.data-sub .dim { font-family: var(--font-sans); text-transform: none; font-size: 0.68em; letter-spacing: 0; font-weight: 410; }

.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.4rem; }
.agent { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.4rem 1.5rem; transition: border-color 0.25s ease, transform 0.25s ease; }
.agent:hover { border-color: var(--green-hi); transform: translateY(-3px); }
.agent-n { font-weight: 750; color: var(--amber); font-size: 1rem; margin-bottom: 0.5rem; letter-spacing: 0.005em; }
.agent p { color: var(--dim); font-size: 0.93rem; line-height: 1.55; }

.callout {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.6rem; margin-top: 2rem; color: var(--dim); font-size: 1rem; line-height: 1.65;
}
.callout b { color: var(--bone); }
.callout-lg { font-size: 1.08rem; padding: 1.6rem 1.9rem; margin-top: 2.4rem; }

/* ============================================================
   STATEMENT BAND — type + metrics ribbon (replaces media band)
   ============================================================ */
.statement { position: relative; margin-top: clamp(3.5rem, 7vw, 5.5rem); border-block: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--ink-2), var(--ink)); overflow: hidden; }
.statement-fx { position: absolute; inset: 0; opacity: 0.5; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent); mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent); }
.statement-inner { position: relative; padding-block: clamp(3rem, 6vw, 4.5rem); }
.statement-line { font-size: clamp(1.7rem, 3.6vw, 2.8rem); max-width: 20ch; }
.statement-sub { margin-top: 0.8rem; color: var(--amber); font-size: 0.9rem; letter-spacing: 0.03em; }
.ribbon { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.ribbon-item { background: var(--ink-2); padding: 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; }
.ribbon-n { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--amber); font-weight: 500; line-height: 1.1; }
.ribbon-l { color: var(--dim); font-size: 0.86rem; }

/* ============================================================
   PLAYBOOK — numbered steps
   ============================================================ */
ol.steps { counter-reset: s; margin-top: 2.6rem; }
ol.steps li { counter-increment: s; position: relative; padding: 1.6rem 0 1.6rem 4.6rem; border-top: 1px solid var(--line-soft); }
ol.steps li:last-child { border-bottom: 1px solid var(--line-soft); }
ol.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1.55rem;
  font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; color: var(--amber); font-variant-numeric: tabular-nums;
}
ol.steps li h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: -0.005em; margin-bottom: 0.45rem; }
ol.steps li p { color: var(--dim); max-width: 80ch; }

/* ============================================================
   THE DEAL — timeline + economics table
   ============================================================ */
ol.timeline { margin-top: 2.2rem; }
ol.timeline li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.2rem; padding: 1.05rem 0; border-top: 1px solid var(--line-soft); align-items: baseline; }
ol.timeline li:last-child { border-bottom: 1px solid var(--line-soft); }
.tl-day { color: var(--amber); font-size: 0.85rem; letter-spacing: 0.03em; }
ol.timeline li div { color: var(--dim); }
ol.timeline li b { color: var(--bone); }

.tbl-wrap { overflow-x: auto; margin: 1.5rem 0 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.tbl { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
.tbl th { background: var(--panel-2); color: var(--bone); text-align: left; padding: 0.85rem 1.1rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.tbl td { padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line-soft); color: var(--dim); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(even) td { background: rgba(242, 239, 230, 0.015); }
.tbl .num { text-align: right; white-space: nowrap; color: var(--bone); }
.tbl th.num { text-align: right; }
.tbl tr.total td { background: var(--amber-soft); color: var(--bone); font-weight: 700; border-top: 1px solid rgba(255, 199, 44, 0.35); }
.tbl tr.total .num { color: var(--amber); }
code { font-family: var(--font-mono); font-size: 0.82rem; background: var(--ink); border: 1px solid var(--line-soft); padding: 0.12rem 0.5rem; border-radius: 6px; color: var(--bone); white-space: nowrap; }
.pri { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--bone); white-space: nowrap; }
.pri.req { color: var(--amber); border-color: rgba(255, 199, 44, 0.45); }
.pri.nice { color: var(--dim); border-color: var(--line-soft); }

/* ============================================================
   LAUNCH — phases + checklist
   ============================================================ */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); margin-top: 2.2rem; }
.data-lists { margin-top: 0.5rem; }
.phase { padding: 1rem 0; border-top: 1px solid var(--line-soft); }
.phase:first-of-type { border-top: 0; padding-top: 0; }
.phase-k { display: block; color: var(--amber); font-size: 0.76rem; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.phase p { margin: 0; color: var(--dim); }
.phase b { color: var(--bone); }

/* ============================================================
   DATA — DSO chart + request CTA
   ============================================================ */
.chartcard { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.1rem 1.2rem 0.9rem; margin-bottom: 1.3rem; }
.dso { width: 100%; height: auto; display: block; }
.chartcard figcaption { color: var(--dim); font-size: 0.76rem; margin-top: 0.5rem; }
.dso-grid { stroke: rgba(242, 239, 230, 0.06); stroke-width: 1; }
.dso-axis { stroke: rgba(242, 239, 230, 0.16); stroke-width: 1; }
.dso-area { fill: rgba(255, 199, 44, 0.09); }
.dso-curve { stroke: var(--amber); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; }
.dso.drawn .dso-curve { transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1); stroke-dashoffset: 0; }
.dso-dot { fill: var(--amber); }

.data-cta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.data-cta-title { font-size: clamp(1.3rem, 2.4vw, 1.85rem); max-width: 24ch; }
.data-cta-sub { margin-top: 0.6rem; color: var(--dim); font-size: 0.82rem; }

/* ============================================================
   CLOSING SIGN-OFF — gradient + glow (no media)
   ============================================================ */
.closer { position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); background: radial-gradient(120% 90% at 50% 0%, var(--ink-2), var(--ink)); }
.closer-fx { position: absolute; inset: 0; }
.closer-fx .dotgrid { -webkit-mask-image: radial-gradient(80% 90% at 50% 20%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 90% at 50% 20%, #000 30%, transparent 80%); }
.closer-glow { position: absolute; inset: 0; background: radial-gradient(42% 42% at 50% 12%, rgba(255, 199, 44, 0.15), transparent 70%); }
.closer-inner { position: relative; text-align: center; padding-block: clamp(4rem, 9vw, 7rem); display: flex; flex-direction: column; align-items: center; }
.closer .kicker { margin-bottom: 1rem; }
.closer-line { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 22ch; }
.closer-sub { margin-top: 1rem; color: var(--dim); }
.closer-cta { margin-top: 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; background: var(--ink-2); }
.footer-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); }
.footer-brand img { height: 40px; width: auto; }
.footer-tag { color: var(--amber); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 1rem 0 0.8rem; }
.footer-brand p { color: var(--dim); font-size: 0.95rem; max-width: 48ch; }
.footer-brand p a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.footer-brand p a:hover { text-decoration-thickness: 2px; }
.footer-nav { display: grid; gap: 0.5rem; align-content: start; }
.footer-nav h4 { color: var(--dim); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; font-weight: 500; }
.footer-nav a { color: var(--bone); text-decoration: none; opacity: 0.85; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--amber); opacity: 1; }
.footer-fine { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 0.8rem; line-height: 1.6; max-width: 92ch; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-block: calc(var(--nav-h) + 2rem) 3rem; }
  .hero-visual { max-width: 460px; }
  .vis-grid { grid-template-columns: 1fr; }
  .vis-media { position: static; }
  .agents { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .ribbon { grid-template-columns: 1fr 1fr; }
  .agents { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .arrow { transform: rotate(90deg); padding: 0.5rem 0; }
  ol.timeline li { grid-template-columns: 1fr; gap: 0.3rem; }
  ol.steps li { padding-left: 3.4rem; }
  .data-cta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > *, .console { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .node, .arrow, .agent, .btn { transition: none; }
  .node.lit { transform: none; }
  .arrow { opacity: 1; }
  .console-body .cl { animation: none; opacity: 1; transform: none; }
  .c-cursor, .console-live i, .net-rot, .net-pulse { animation: none; }
  .c-cursor { opacity: 1; }
  .net-pulse { display: none; }
  .dso-curve { stroke-dashoffset: 0; }
}
