/* ============================================================
   DOCKHAVEN LABS — Instrument-grade design system
   Type: Instrument Serif (display) · Geist (UI) · Geist Mono (labels)
   ============================================================ */

:root {
  /* Surfaces — deep near-black, faint cool cast */
  --bg:        #08090c;
  --bg-2:      #0a0c10;
  --card:      #0e1117;
  --card-2:    #12161d;
  --card-h:    #161b23;
  --line:      rgba(255,255,255,.075);
  --line-2:    rgba(255,255,255,.13);
  --line-3:    rgba(255,255,255,.22);

  /* Ink */
  --ink:   #eceef3;
  --ink-2: #aab0bd;
  --ink-3: #717885;
  --ink-4: #474d59;

  /* Accents */
  --cobalt: #5c7cfa;
  --amber:  #e3a24c;
  --teal:   #43c9b9;
  --red:    #e8736a;
  --cobalt-int: 1;
  --amber-int:  1;
  --grain:   .5;
  --tscale:  1;

  /* Derived */
  --cobalt-soft: color-mix(in oklab, var(--cobalt) 16%, transparent);
  --cobalt-line: color-mix(in oklab, var(--cobalt) 38%, transparent);
  --amber-soft:  color-mix(in oklab, var(--amber) 16%, transparent);
  --amber-line:  color-mix(in oklab, var(--amber) 40%, transparent);

  /* Type */
  --serif: "Instrument Serif", Georgia, serif;
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --maxw: 1240px;
  --gut:  clamp(20px, 4vw, 64px);
  --radius: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: calc(16px * var(--tscale));
  line-height: 1.6;
  font-weight: 380;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Dotted graticule + grain — fixed behind everything */
.bg-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.55) 40%, rgba(0,0,0,.2) 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.55) 40%, rgba(0,0,0,.2) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 2; }

/* ---------- Reusable atoms ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.marker {
  font-family: var(--mono);
  font-size: calc(11.5px * var(--tscale));
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 9px;
}
.marker .sec { color: var(--ink-4); }
.marker.cobalt { color: color-mix(in oklab, var(--cobalt) 78%, var(--ink-2)); }
.marker.amber  { color: color-mix(in oklab, var(--amber) 80%, var(--ink-2)); }
.marker::before {
  content: ""; width: 14px; height: 1px; background: currentColor; opacity: .5;
}
.marker.no-rule::before { display: none; }

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
.eyebrow {
  font-family: var(--mono);
  font-size: calc(12px * var(--tscale));
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}

.btn {
  font-family: var(--sans);
  font-size: calc(14px * var(--tscale));
  font-weight: 500; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--cobalt); color: #060810;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--cobalt) 60%, transparent),
              0 10px 30px -8px color-mix(in oklab, var(--cobalt) 70%, transparent);
}
.btn-primary:hover {
  background: color-mix(in oklab, var(--cobalt) 90%, white);
  box-shadow: 0 0 0 1px var(--cobalt),
              0 14px 40px -8px color-mix(in oklab, var(--cobalt) 85%, transparent);
}
.btn-amber { background: var(--amber); color: #100a02; box-shadow: 0 10px 30px -10px var(--amber-line); }
.btn-amber:hover { background: color-mix(in oklab, var(--amber) 90%, white); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255,255,255,.03); }

.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(70px); z-index: 0;
}

/* status pills (live ticker / stat chips) */
.pill {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 5px;
  border: 1px solid var(--line-2);
}
.pill.delayed  { color: var(--amber); border-color: var(--amber-line); }
.pill.booked   { color: var(--cobalt); border-color: var(--cobalt-line); }
.pill.departed { color: var(--teal); border-color: color-mix(in oklab, var(--teal) 40%, transparent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease),
              border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 20px var(--gut);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: padding .35s var(--ease);
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
          backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav.scrolled .nav-inner { padding-top: 13px; padding-bottom: 13px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 26px; height: 26px; flex: none; color: var(--cobalt);
  filter: drop-shadow(0 0 5px color-mix(in oklab, var(--cobalt) 45%, transparent));
}
.logo-mark .sweep { transform-origin: 20px 20px; }
.nav.scrolled .logo-mark { width: 24px; height: 24px; transition: width .35s var(--ease), height .35s var(--ease); }
.foot-brand .logo-mark { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .brand:hover .logo-mark .sweep { animation: markSweep 2.6s var(--ease) infinite; }
}
@keyframes markSweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.brand b { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: 0; }
.brand .lab { font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  color: var(--ink-3); text-transform: uppercase; margin-left: 2px; align-self: center;
  padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; }

.nav-links { display: flex; gap: 6px; justify-self: center; align-items: center;
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.nav-links a {
  font-size: 13.5px; color: var(--ink-2); text-decoration: none; font-weight: 450;
  padding: 7px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-links a .dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.nav-links a.ds .dot { background: var(--cobalt); }
.nav-links a.ls .dot { background: var(--amber); }

.nav-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav-signin { font-size: 13.5px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav-signin:hover { color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 96px; overflow: hidden; }
.hero .glow-a { width: 720px; height: 720px; top: -180px; right: -120px;
  background: color-mix(in oklab, var(--cobalt) calc(40% * var(--cobalt-int)), transparent); opacity: .55; }
.hero .glow-b { width: 520px; height: 520px; bottom: -220px; left: -160px;
  background: color-mix(in oklab, var(--cobalt) calc(20% * var(--cobalt-int)), transparent); opacity: .4; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%;
}
.hero-copy { position: relative; z-index: 3; }
.hero-kicker { margin-bottom: 28px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 32px; padding-bottom: 0.06em;
}
.hero h1 em { font-style: italic; color: var(--ink-2); }
.hero h1 .lit { color: var(--cobalt); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 30em;
  margin: 0 0 36px; line-height: 1.62; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); }
.hero-meta b { color: var(--ink); font-weight: 500; }

/* radar */
.radar-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px;
  margin-inline: auto; }
.radar-stage canvas { width: 100%; height: 100%; display: block; }
.radar-readout {
  position: absolute; left: 0; bottom: 6%;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--ink-2);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 3px; min-width: 168px;
}
.radar-readout .rr-lane { color: var(--cobalt); font-weight: 500; }
.radar-readout .rr-row { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); }
.radar-readout .rr-row b { color: var(--ink); font-weight: 500; }
.radar-readout .rr-foot { display: flex; align-items: center; gap: 7px; margin-top: 3px;
  padding-top: 6px; border-top: 1px solid var(--line); color: var(--ink-4); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.radar-readout .rr-live { width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--teal) 70%, transparent); animation: livePulse 2s infinite; }

/* mode legend */
.radar-legend { position: absolute; left: 0; top: 4%; display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-3);
  background: color-mix(in oklab, var(--bg) 60%, transparent); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 11px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.radar-legend .rl { display: flex; align-items: center; gap: 8px; }
.radar-legend .rl i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.radar-legend .rl i.sea { background: var(--teal); }
.radar-legend .rl i.air { background: var(--cobalt); }
.radar-legend .rl i.road { background: var(--amber); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-4); display: flex; flex-direction: column; align-items: center; gap: 9px; }
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--ink-4), transparent);
  position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -34px; left: 0; width: 1px; height: 34px;
  background: linear-gradient(transparent, var(--cobalt)); animation: cueDrop 2.4s var(--ease) infinite; }
@keyframes cueDrop { to { transform: translateY(68px); } }

/* ============================================================
   LIVE TICKER
   ============================================================ */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; position: relative; }
.ticker-row { display: flex; align-items: center; }
.ticker-tag { flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-right: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  background: var(--bg); position: relative; z-index: 2; }
.ticker-tag .live { width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--teal) 70%, transparent); animation: livePulse 2s infinite; }
@keyframes livePulse { 70%,100% { box-shadow: 0 0 0 6px transparent; } }
.ticker-track { display: flex; gap: 0; white-space: nowrap; will-change: transform;
  animation: tickerScroll 60s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-3); border-right: 1px solid var(--line); }
.ticker-item .code { color: var(--ink-2); }
.ticker-item .lane { color: var(--ink); }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.015em; margin: 18px 0 0; max-width: 16em; text-wrap: balance; }
.section-head p { color: var(--ink-2); max-width: 38em; margin: 16px 0 0; font-size: 17px; }

/* ============================================================
   TWO-PRODUCT SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  padding: 36px 36px 30px; min-height: 540px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.product::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  transition: opacity .55s var(--ease); }
.product.ds::before { background: radial-gradient(120% 80% at 80% 0%, var(--cobalt-soft), transparent 60%); }
.product.ls::before { background: radial-gradient(120% 80% at 80% 0%, var(--amber-soft), transparent 60%); }
.product:hover { transform: translateY(-6px); }
.product.ds:hover { border-color: var(--cobalt-line);
  box-shadow: 0 30px 80px -40px color-mix(in oklab, var(--cobalt) calc(85% * var(--cobalt-int)), transparent); }
.product.ls:hover { border-color: var(--amber-line);
  box-shadow: 0 30px 80px -40px color-mix(in oklab, var(--amber) calc(85% * var(--amber-int)), transparent); }
.product:hover::before { opacity: 1; }

.product-top { display: flex; align-items: flex-start; justify-content: space-between; }
.product-name { font-family: var(--serif); font-size: 40px; line-height: 1; margin: 16px 0 0; }
.product-name .tld { font-family: var(--mono); font-size: 12px; color: var(--ink-4); letter-spacing: .1em; }
.product-promise { font-size: 19px; color: var(--ink); margin: 14px 0 0; font-weight: 450; letter-spacing: -0.01em; }
.product-desc { color: var(--ink-2); margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; max-width: 34em; }

.product-badge { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; }
.product.ds .product-badge { color: var(--cobalt); border-color: var(--cobalt-line); }
.product.ls .product-badge { color: var(--amber); border-color: var(--amber-line); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 7px; padding: 6px 10px;
  display: inline-flex; align-items: baseline; gap: 7px; }
.chip b { font-size: 13px; color: var(--ink); font-weight: 500; }
.product.ds .chip b { color: color-mix(in oklab, var(--cobalt) 60%, var(--ink)); }
.product.ls .chip b { color: color-mix(in oklab, var(--amber) 65%, var(--ink)); }

/* preview area at bottom of card */
.preview { margin-top: auto; padding-top: 26px; position: relative; height: 132px; }
.preview-mask { position: absolute; inset: 26px 0 0; overflow: hidden; border-radius: 12px; }

/* DS preview: lane lines */
.lanes-preview { position: absolute; inset: 0; }
.lanes-preview svg { width: 100%; height: 100%; }
.lane-path { fill: none; stroke: var(--cobalt); stroke-width: 1.2;
  stroke-dasharray: 4 5; opacity: .0; transform: translateX(-12px);
  transition: opacity .6s var(--ease), transform .7s var(--ease); }
.product.ds:hover .lane-path { opacity: .85; transform: none; }
.lane-node { fill: var(--cobalt); opacity: 0; transition: opacity .6s var(--ease); }
.product.ds:hover .lane-node { opacity: 1; animation: nodePulse 2.4s ease-in-out infinite; }
@keyframes nodePulse { 50% { opacity: .4; } }

/* LS preview: stacking lead cards */
.leads-preview { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px;
  padding: 4px; }
.lead-row { display: flex; align-items: center; gap: 12px; background: var(--card-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.product.ls:hover .lead-row { opacity: 1; transform: none; }
.product.ls:hover .lead-row:nth-child(2) { transition-delay: .07s; }
.product.ls:hover .lead-row:nth-child(3) { transition-delay: .14s; }
.lead-row .lr-name { font-size: 12.5px; color: var(--ink); flex: 1; }
.lead-row .lr-tag { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: .06em; }
.lead-row .lr-score { font-family: var(--mono); font-size: 12px; color: var(--amber); font-weight: 500; }
.lead-row .lr-bar { width: 44px; height: 4px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.lead-row .lr-bar i { display: block; height: 100%; background: var(--amber); width: 0; transition: width .8s var(--ease); }
.product.ls:hover .lead-row .lr-bar i { width: var(--w, 80%); }

.product-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-decoration: none; }
.product.ds .product-link { color: var(--cobalt); }
.product.ls .product-link { color: var(--amber); }
.product-link .arr { transition: transform .35s var(--ease); }
.product:hover .product-link .arr { transform: translateX(5px); }

/* ============================================================
   WHY WE EXIST — pull quote
   ============================================================ */
.why { text-align: left; }
.why blockquote { margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 4.2vw, 52px); line-height: 1.16; letter-spacing: -0.012em;
  max-width: 18em; text-wrap: balance; }
.why blockquote em { font-style: italic; color: var(--ink-3); }
.why blockquote .hl-c { color: var(--cobalt); font-style: italic; }
.why blockquote .hl-a { color: var(--amber); font-style: italic; }
.why .attrib { margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.why .attrib .rule { width: 40px; height: 1px; background: var(--line-2); }

/* ============================================================
   LIVE METRIC BAND
   ============================================================ */
.metrics { border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, var(--card), var(--bg-2)); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.metric { padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; transition: background .3s var(--ease); }
.metric:hover { background: rgba(255,255,255,.018); }
.metric .mk { display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.metric .mk .idx { color: var(--ink-4); }
.metric .mv { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1;
  margin-top: 20px; letter-spacing: -0.01em; }
.metric .mv .unit { font-family: var(--mono); font-size: 18px; color: var(--ink-3); letter-spacing: 0; }
.metric .ms { margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .03em; }
.metric .ms b { color: var(--teal); font-weight: 500; }
.metric .spark { position: absolute; right: 26px; bottom: 26px; width: 78px; height: 26px; opacity: .9; }

/* ============================================================
   HOW IT FITS TOGETHER
   ============================================================ */
.flow { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 18px; align-items: stretch; }
.flow-node { border: 1px solid var(--line); border-radius: 16px; background: var(--card);
  padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.flow-node .fn-head { font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 9px; }
.flow-node h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; margin: 0; line-height: 1.05; }
.flow-node p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.flow-node.in { border-color: var(--line-2); }
.flow-center { display: flex; flex-direction: column; gap: 18px; }
.flow-prod { border-radius: 16px; padding: 22px 24px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.flow-prod .fp-name { font-family: var(--serif); font-size: 24px; display: flex; align-items: center; gap: 10px; }
.flow-prod .fp-name .d { width: 8px; height: 8px; border-radius: 50%; }
.flow-prod p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }
.flow-prod.ds { background: linear-gradient(120deg, var(--cobalt-soft), transparent 70%); border-color: var(--cobalt-line); }
.flow-prod.ds .d { background: var(--cobalt); box-shadow: 0 0 10px var(--cobalt); }
.flow-prod.ls { background: linear-gradient(120deg, var(--amber-soft), transparent 70%); border-color: var(--amber-line); }
.flow-prod.ls .d { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.flow-narr { margin-top: 30px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-3); text-align: center; }
.flow-narr b { color: var(--ink); font-weight: 500; }
.flow-wires { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.flow-wires path { fill: none; stroke-width: 1.3; stroke-dasharray: 3 6; }
.wire-in { stroke: var(--cobalt); animation: dashFlow 1.4s linear infinite; }
.wire-out { stroke: var(--amber); animation: dashFlow 1.4s linear infinite reverse; }
@keyframes dashFlow { to { stroke-dashoffset: -18; } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) 0; }
.trust-lead { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); line-height: 1.18;
  max-width: 20em; margin: 0 0 36px; text-wrap: balance; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px;
  border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; color: var(--ink-2);
  transition: border-color .3s, color .3s; }
.badge:hover { border-color: var(--line-3); color: var(--ink); }
.badge .bdot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.badge .bdot.ok { background: var(--teal); }
.badge .bdot.wip { background: var(--amber); }
.badge .mono { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-4); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; text-align: center; padding: clamp(110px, 16vw, 220px) 0; overflow: hidden; }
.final .glow-c { width: 760px; height: 520px; top: 50%; left: 50%; transform: translate(-50%,-46%);
  background: color-mix(in oklab, var(--cobalt) calc(28% * var(--cobalt-int)), transparent); opacity: .5; }
.final h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8vw, 104px);
  line-height: .98; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.final p { color: var(--ink-2); max-width: 30em; margin: 28px auto 40px; font-size: 18px; }
.final .final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--ink-3); font-size: 14px; max-width: 26em; margin: 0; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 16px; font-weight: 500; }
.foot-col h4.ds { color: color-mix(in oklab, var(--cobalt) 70%, var(--ink-2)); }
.foot-col h4.ls { color: color-mix(in oklab, var(--amber) 72%, var(--ink-2)); }
.foot-col a { display: block; color: var(--ink-2); text-decoration: none; font-size: 14px;
  padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-4); }
.foot-bottom .coords { color: var(--ink-3); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* motion off */
body.motion-off .ticker-track,
body.motion-off .cueDrop,
body.motion-off .wire-in, body.motion-off .wire-out,
body.motion-off .scroll-cue .line::after,
body.motion-off .lead-row, body.motion-off .ticker-tag .live { animation: none !important; }
body.motion-off .reveal { transition: none; }
body.motion-off .logo-mark .sweep { animation: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .radar-stage { max-width: 420px; order: -1; }
  .split { grid-template-columns: 1fr; }
  .product { min-height: auto; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .flow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .hero-meta { gap: 18px; }
}
