/* =================================================================
   HAUL ROUTER — Operations Control Room
   Design system: midnight navy + electric blue + warm gold
   ================================================================= */

/* Fonts loaded via <link> in each page <head> for faster first paint */

:root {
  /* Navy field */
  --navy-950: #060d18;
  --navy-900: #081120;
  --navy-850: #0a1626;
  --navy-800: #0c1c33;
  --navy-750: #102542;
  --navy-700: #163056;
  --navy-600: #1d3c69;

  /* Blue structure */
  --blue-600: #245ab0;
  --blue-500: #2f6fd0;
  --blue-400: #4a8ce8;
  --blue-300: #7db4f2;

  /* Gold accent */
  --gold-600: #c9952c;
  --gold-500: #e3b341;
  --gold-400: #f0c95a;
  --gold-300: #f7dd92;

  /* Paper / text */
  --cream: #f4efe1;
  --paper: #fbf8f0;
  --slate-100: #d6deec;
  --slate-300: #9fb0cb;
  --slate-400: #6f82a1;
  --slate-500: #4f6285;
  --line: rgba(125, 180, 242, 0.14);
  --line-strong: rgba(125, 180, 242, 0.26);

  /* Type */
  --display: 'Bricolage Grotesque', 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', monospace;

  --maxw: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--navy-900);
  color: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- selection ---------- */
::selection { background: var(--gold-500); color: var(--navy-950); }

/* ---------- atmospheric base ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 78% -5%, rgba(47,111,208,0.20), transparent 60%),
    radial-gradient(700px 700px at 8% 12%, rgba(227,179,65,0.07), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  z-index: -2;
}
/* faint blueprint grid */
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(125,180,242,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,180,242,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 35%, transparent 85%);
  z-index: -1;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 128px) 0; }

/* ---------- type utilities ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold-500);
  display: inline-block; opacity: 0.7;
}
.lede { color: var(--slate-100); font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; }
.muted { color: var(--slate-300); }
.gold { color: var(--gold-400); }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px; border-radius: 2px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-gold {
  background: var(--gold-500); color: var(--navy-950); font-weight: 600;
  box-shadow: 0 0 0 1px var(--gold-400), 0 14px 40px -16px rgba(227,179,65,0.7);
}
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--gold-300), 0 20px 50px -16px rgba(227,179,65,0.85); }
.btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-strong); background: rgba(125,180,242,0.03); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--blue-400); background: rgba(74,140,232,0.1); transform: translateY(-2px); }

/* ---------- chips / tags ---------- */
.chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 2px;
  background: rgba(74,140,232,0.1);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--blue-300);
}

/* =================================================================
   NAV
   ================================================================= */
.topbar {
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500));
  color: var(--navy-950);
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center; padding: 8px 16px;
  position: relative; z-index: 60;
}
.topbar a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,17,32,0.72);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
header.nav.scrolled { background: rgba(6,13,24,0.92); border-color: var(--line-strong); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--gold-400); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--slate-100); font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--gold-400); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions .login { font-family: var(--mono); font-size: 13px; color: var(--slate-100); }
.nav-actions .login:hover { color: var(--gold-400); }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--line-strong); border-radius: 2px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--cream); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--cream); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero h1 { font-size: clamp(44px, 6.6vw, 86px); font-weight: 700; line-height: 0.96; }
.hero h1 em { font-style: normal; color: var(--gold-400); position: relative; }
.hero h1 .stroke { -webkit-text-stroke: 1.5px var(--blue-400); color: transparent; }
.hero .lede { margin: 26px 0 34px; font-size: clamp(17px, 1.7vw, 21px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-family: var(--mono); font-size: 12.5px; color: var(--slate-400); margin-top: 22px; letter-spacing: 0.03em; }

/* route panel visual */
.route-panel {
  position: relative;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 50px 110px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(125,180,242,0.08);
}
.route-panel .panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--slate-300);
  background: rgba(6,13,24,0.5);
}
.route-panel .dots { display: flex; gap: 6px; }
.route-panel .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--navy-600); display: block; }
.route-panel .dots i:nth-child(3) { background: var(--gold-500); }
.route-map { position: relative; aspect-ratio: 4 / 3.2; background:
  radial-gradient(circle at 30% 30%, rgba(47,111,208,0.12), transparent 60%); }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel-foot {
  display: flex; gap: 0; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px;
}
.panel-foot div { flex: 1; padding: 12px 14px; border-right: 1px solid var(--line); }
.panel-foot div:last-child { border-right: none; }
.panel-foot span { display: block; color: var(--slate-400); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.panel-foot b { color: var(--gold-400); font-size: 16px; font-weight: 600; }

/* route line animation */
.route-line { fill: none; stroke: var(--gold-500); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 8 10; animation: dash 3.4s linear infinite; filter: drop-shadow(0 0 6px rgba(227,179,65,0.5)); }
.route-line-2 { fill: none; stroke: var(--blue-400); stroke-width: 2; stroke-dasharray: 5 8; opacity: 0.6; animation: dash 5s linear infinite reverse; }
@keyframes dash { to { stroke-dashoffset: -360; } }
.grid-street { stroke: rgba(125,180,242,0.16); stroke-width: 1; fill: none; }
.stop-node { fill: var(--navy-850); stroke: var(--gold-400); stroke-width: 2; }
.stop-node.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { r: 5; opacity: 1; } 50% { r: 7.5; opacity: 0.65; } }
.truck-dot { fill: var(--gold-400); filter: drop-shadow(0 0 8px var(--gold-400)); }

/* =================================================================
   MARQUEE / TRUST
   ================================================================= */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust p { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-400); }
.trust .logos { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
.trust .logos b { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--slate-300); opacity: 0.8; }

/* =================================================================
   SECTION HEADINGS
   ================================================================= */
.shead { max-width: 760px; margin-bottom: 56px; }
.shead h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 18px 0 0; line-height: 1.0; }
.shead .lede { margin-top: 20px; }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.shead.center .eyebrow { justify-content: center; }
.shead.center .lede { margin-left: auto; margin-right: auto; }

/* =================================================================
   PROBLEM (editorial)
   ================================================================= */
.problem { border-top: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.problem h2 { font-size: clamp(30px, 4vw, 50px); }
.legacy-list { display: grid; gap: 2px; }
.legacy-row {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.legacy-row .old { color: var(--slate-400); }
.legacy-row .old s { color: var(--slate-500); text-decoration-color: rgba(227,179,65,0.6); }
.legacy-row .new { font-family: var(--mono); font-size: 13.5px; color: var(--gold-400); display: inline-flex; align-items: center; gap: 8px; }
.legacy-row .new::before { content: "→"; color: var(--blue-400); }

/* =================================================================
   MODULE GRID
   ================================================================= */
.modules { background:
  linear-gradient(180deg, transparent, rgba(6,13,24,0.5) 50%, transparent); }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.mod {
  background: var(--navy-850); padding: 30px 28px 34px;
  position: relative; transition: background .35s var(--ease);
  min-height: 220px; display: flex; flex-direction: column;
}
.mod:hover { background: var(--navy-800); }
.mod::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold-500); transition: width .4s var(--ease); }
.mod:hover::after { width: 100%; }
.mod .ico { width: 42px; height: 42px; margin-bottom: 20px; color: var(--gold-400); }
.mod .num { position: absolute; top: 24px; right: 26px; font-family: var(--mono); font-size: 12px; color: var(--slate-500); }
.mod h3 { font-size: 21px; font-weight: 600; margin-bottom: 9px; }
.mod p { font-size: 14.5px; color: var(--slate-300); line-height: 1.55; }
.mod .tags { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mod .tags span { font-family: var(--mono); font-size: 10.5px; color: var(--slate-400); letter-spacing: 0.05em; }
.mod .tags span:not(:last-child)::after { content: "·"; margin-left: 6px; color: var(--slate-500); }

/* =================================================================
   FEATURE DEEP DIVES (alternating)
   ================================================================= */
.feature { border-top: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat-grid.flip .feat-text { order: 2; }
.feat-text h2 { font-size: clamp(28px, 3.6vw, 46px); margin: 16px 0 18px; }
.feat-list { margin-top: 26px; display: grid; gap: 16px; }
.feat-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.feat-list .tick { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold-400); }
.feat-list b { font-weight: 600; color: var(--cream); }
.feat-list span { color: var(--slate-300); font-size: 15px; }

/* visual cards used in features */
.viz {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.85);
}
.viz-head { padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--slate-300); display: flex; justify-content: space-between; align-items: center; }
.viz-head .live { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-400); }
.viz-head .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 0 rgba(227,179,65,0.6); animation: blip 2s infinite; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(227,179,65,0.6); } 70% { box-shadow: 0 0 0 9px rgba(227,179,65,0); } 100% { box-shadow: 0 0 0 0 rgba(227,179,65,0); } }

/* invoice mock */
.invoice { padding: 22px; font-family: var(--mono); font-size: 13px; }
.invoice .inv-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.invoice .inv-id { color: var(--gold-400); font-size: 15px; }
.invoice .inv-status { font-size: 11px; padding: 4px 9px; border-radius: 2px; background: rgba(74,140,232,0.14); color: var(--blue-300); box-shadow: inset 0 0 0 1px var(--line-strong); }
.invoice .line { display: grid; grid-template-columns: 1fr auto; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--slate-300); }
.invoice .line.tot { border-bottom: none; border-top: 2px solid var(--gold-500); margin-top: 6px; padding-top: 14px; color: var(--cream); font-weight: 600; }
.invoice .line.tot b { color: var(--gold-400); font-size: 18px; }
.invoice .line small { color: var(--slate-500); font-size: 11px; display: block; }

/* tablet mock */
.tablet { padding: 18px; }
.tablet .stop {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 13px 14px; border-radius: 4px; margin-bottom: 8px;
  background: var(--navy-800); box-shadow: inset 0 0 0 1px var(--line);
}
.tablet .stop .seq { font-family: var(--mono); font-size: 13px; font-weight: 600; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 3px; background: rgba(227,179,65,0.14); color: var(--gold-400); box-shadow: inset 0 0 0 1px rgba(227,179,65,0.3); }
.tablet .stop .addr { font-size: 13.5px; }
.tablet .stop .addr small { display: block; font-family: var(--mono); font-size: 11px; color: var(--slate-400); }
.tablet .stop .pin { width: 9px; height: 9px; border-radius: 50%; }
.tablet .stop.done { opacity: 0.55; }
.tablet .stop.done .seq { background: rgba(74,140,232,0.14); color: var(--blue-300); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pin.green { background: #5cc98c; } .pin.gold { background: var(--gold-400); } .pin.red { background: #e07a6a; } .pin.blue { background: var(--blue-400); }

/* =================================================================
   STATS BAND
   ================================================================= */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(6,13,24,0.5); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 16px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .n { font-family: var(--display); font-size: clamp(38px, 4.6vw, 58px); font-weight: 700; color: var(--gold-400); line-height: 1; letter-spacing: -0.03em; }
.stat .n small { font-size: 0.5em; color: var(--blue-300); }
.stat .l { font-family: var(--mono); font-size: 12px; color: var(--slate-300); margin-top: 12px; letter-spacing: 0.04em; }

/* =================================================================
   AUDIENCE / SOLUTIONS
   ================================================================= */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card {
  position: relative; padding: 38px 36px 36px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line-strong);
  transition: transform .4s var(--ease), border-color .4s;
}
.aud-card:hover { transform: translateY(-4px); border-color: var(--blue-400); }
.aud-card .tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--gold-400); text-transform: uppercase; }
.aud-card h3 { font-size: 27px; margin: 14px 0 12px; }
.aud-card p { color: var(--slate-300); font-size: 15px; }
.aud-card ul { margin-top: 22px; display: grid; gap: 11px; }
.aud-card li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--slate-100); }
.aud-card li::before { content: "▸"; color: var(--blue-400); font-size: 12px; }
.aud-card .glow { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(227,179,65,0.18), transparent 70%); pointer-events: none; }

/* =================================================================
   INTEGRATIONS
   ================================================================= */
.integ { border-top: 1px solid var(--line); }
.integ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.integ-cell { background: var(--navy-850); padding: 26px 22px; transition: background .3s; }
.integ-cell:hover { background: var(--navy-800); }
.integ-cell .k { font-family: var(--mono); font-size: 11px; color: var(--gold-500); letter-spacing: 0.08em; text-transform: uppercase; }
.integ-cell h4 { font-family: var(--display); font-size: 17px; font-weight: 600; margin: 10px 0 6px; }
.integ-cell p { font-size: 13px; color: var(--slate-400); }

/* =================================================================
   QUOTE
   ================================================================= */
.quote { border-top: 1px solid var(--line); }
.quote-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--display); font-size: clamp(26px, 3.4vw, 42px); font-weight: 500; line-height: 1.18; letter-spacing: -0.02em; }
.quote blockquote .gold { font-style: italic; }
.quote .by { margin-top: 30px; font-family: var(--mono); font-size: 13px; color: var(--slate-300); letter-spacing: 0.04em; }
.quote .by b { color: var(--gold-400); }

/* =================================================================
   CTA
   ================================================================= */
.cta { position: relative; overflow: hidden; }
.cta-box {
  position: relative;
  background: linear-gradient(150deg, var(--navy-750), var(--navy-850));
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: clamp(44px, 6vw, 80px); text-align: center;
  box-shadow: 0 50px 120px -60px rgba(0,0,0,0.9);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 300px at 50% 0%, rgba(227,179,65,0.16), transparent 65%); pointer-events: none; }
.cta-box h2 { font-size: clamp(32px, 5vw, 60px); position: relative; }
.cta-box .lede { margin: 20px auto 34px; text-align: center; }
.cta-box .hero-cta { justify-content: center; }

/* =================================================================
   FOOTER
   ================================================================= */
footer.site {
  border-top: 1px solid var(--line-strong);
  background: var(--navy-950);
  padding: 72px 0 36px;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--slate-400); font-size: 14px; max-width: 30ch; }
.foot-col h5 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--slate-300); font-size: 14px; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: var(--gold-400); }
.foot-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; }
.foot-bottom p { font-family: var(--mono); font-size: 12px; color: var(--slate-500); letter-spacing: 0.03em; }
.foot-bottom .route-code { color: var(--gold-500); }

/* =================================================================
   PAGE HERO (sub pages)
   ================================================================= */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line); position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; }
.page-hero .lede { margin-top: 22px; }
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--slate-400); letter-spacing: 0.05em; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { color: var(--gold-500); }

/* =================================================================
   PRICING
   ================================================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 34px 30px;
  position: relative; transition: transform .35s var(--ease), border-color .35s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: var(--gold-500); box-shadow: 0 0 0 1px var(--gold-500), 0 40px 90px -50px rgba(227,179,65,0.4); }
.price-card .badge { position: absolute; top: -12px; left: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold-500); color: var(--navy-950); padding: 5px 12px; border-radius: 2px; font-weight: 600; }
.price-card .tier { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-400); }
.price-card .price { font-family: var(--display); font-size: 52px; font-weight: 700; margin: 16px 0 4px; line-height: 1; }
.price-card .price small { font-family: var(--mono); font-size: 14px; color: var(--slate-400); font-weight: 400; }
.price-card .desc { color: var(--slate-300); font-size: 14px; margin-bottom: 24px; min-height: 42px; }
.price-card ul { display: grid; gap: 12px; margin-bottom: 28px; }
.price-card li { display: grid; grid-template-columns: auto 1fr; gap: 11px; font-size: 14px; color: var(--slate-100); }
.price-card li .tick { color: var(--gold-400); width: 18px; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* =================================================================
   FAQ
   ================================================================= */
.faq-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; max-width: 880px; margin: 0 auto; }
.faq { background: var(--navy-850); }
.faq summary { padding: 24px 26px; font-family: var(--display); font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-400); }
.faq summary .pl { font-family: var(--mono); color: var(--gold-500); transition: transform .3s; flex: none; }
.faq[open] summary .pl { transform: rotate(45deg); }
.faq .ans { padding: 0 26px 26px; color: var(--slate-300); font-size: 15px; max-width: 70ch; }

/* =================================================================
   CONTACT FORM
   ================================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-300); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--navy-850); color: var(--cream);
  border: 1px solid var(--line-strong); border-radius: 3px; padding: 13px 15px;
  font-family: var(--sans); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(227,179,65,0.14); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-side { background: linear-gradient(165deg, var(--navy-800), var(--navy-850)); border: 1px solid var(--line-strong); border-radius: 8px; padding: 34px; }
.contact-side h3 { font-size: 24px; margin-bottom: 18px; }
.contact-side .ci { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-side .ci:last-child { border-bottom: none; }
.contact-side .ci .ico { color: var(--gold-400); width: 22px; flex: none; margin-top: 2px; }
.contact-side .ci b { display: block; font-size: 15px; }
.contact-side .ci span { font-family: var(--mono); font-size: 13px; color: var(--slate-300); }

/* =================================================================
   GENERIC CONTENT
   ================================================================= */
.split-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.split-list .item { background: var(--navy-850); padding: 28px; transition: background .3s; }
.split-list .item:hover { background: var(--navy-800); }
.split-list .item .k { font-family: var(--mono); font-size: 12px; color: var(--gold-500); }
.split-list .item h4 { font-size: 19px; margin: 10px 0 8px; }
.split-list .item p { color: var(--slate-300); font-size: 14.5px; }

html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1000px) {
  .hero-grid, .problem-grid, .feat-grid, .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid.flip .feat-text { order: 0; }
  .mod-grid, .integ-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .aud-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-actions .login, .nav-actions .btn-gold { display: none; }
  .burger { display: flex; }
  .mod-grid, .integ-grid, .split-list, .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 22px; }
  .route-panel { margin-top: 8px; }
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .nav-mobile.open { display: flex; }
}

/* mobile menu */
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 16px 20px 24px; border-top: 1px solid var(--line); background: var(--navy-900); }
.nav-mobile a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); color: var(--slate-100); }
.nav-mobile .btn { margin-top: 14px; justify-content: center; }
