/* ==========================================================================
   CRUX Consulting — Website Build 015
   Design system: "Command Deep Modern" (Build 015 MD spec)
   Colours: approved CRUX brand palette v1.2 (22 Oct 2026) mapped onto the
   015 roles — Ink, Electric (interactive), Purple (kicker / tertiary).
   ========================================================================== */

:root {
  /* Core brand */
  --ink: #0B0F29;            /* Deep Navy — primary text & headings */
  --navy: #1A2347;           /* Slate Navy — secondary dark surfaces */
  --purple: #7B2CFF;         /* Vivid Purple — kickers, emphasis, GROWTH. */
  --blue: #3468FF;           /* Electric Blue — CTAs, active, metrics */
  --blue-deep: #1B31C2;      /* Facet Deep Blue */
  --orchid: #B656FD;         /* Facet Orchid */
  --lilac: #C68EFF;          /* Facet Lilac */

  /* Neutrals */
  --bg: #F6F7FB;             /* Soft Off-White page base */
  --surface: #FFFFFF;
  --surface-soft: #F8F8FF;   /* metric cards */
  --table-head: #EEF0FB;
  --line: #E3E6F2;
  --muted: #5C6280;
  --body: #2A2F4A;

  /* Status */
  --success: #2E7D55;
  --warning: #B7771A;
  --error: #A84232;

  /* Type */
  --font-head: "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Shape — nested rounding */
  --r-card: 18px;
  --r-metric: 16px;
  --r-lane: 14px;
  --r-btn: 12px;
  --r-input: 10px;
  --r-pill: 999px;

  /* Elevation */
  --shadow: 0 14px 34px rgba(11, 15, 41, 0.09);
  --shadow-sm: 0 4px 14px rgba(11, 15, 41, 0.06);
  --glow: radial-gradient(600px 360px at 100% 0%, rgba(52, 104, 255, 0.16), transparent 70%);
  --grad-progress: linear-gradient(90deg, #3468FF, #7B2CFF);
  --grad-brand: linear-gradient(135deg, #1B31C2 0%, #3468FF 45%, #7B2CFF 100%);

  /* Layout */
  --max: 1320px;
  --gutter: 16px;
  --pad-x: 32px;
  --section-y: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-btn);
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); max-width: 64ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.accent { color: var(--purple); }
.accent-blue { color: var(--blue); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 850;
  letter-spacing: 0.18em; text-transform: uppercase; line-height: 1;
  color: var(--purple); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .kicker { color: var(--lilac); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.white { background: var(--surface); }
.section.glow { background-image: var(--glow); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }

.on-dark { background: var(--ink); color: #C9CCE0; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lead, .on-dark .muted { color: #A9AEC9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 650; font-size: 15px; color: var(--ink);
}
.nav-links a:hover { background: var(--table-head); text-decoration: none; }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--r-btn);
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 22px; border-radius: var(--r-btn);
  font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(52, 104, 255, 0.28); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.on-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-secondary:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 11px 18px; font-size: 14px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { font-family: var(--font-head); font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: 13px; font-weight: 650; line-height: 1;
  background: #E8EDFF; color: var(--navy);
}
.pill.dark { background: var(--navy); color: #fff; }
.pill.live { background: #E3F3EA; color: var(--success); }
.pill.progress { background: #FBF0DE; color: var(--warning); }
.pill.pilot { background: #F1E8FF; color: var(--purple); }
.pill.concept { background: var(--table-head); color: var(--muted); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
}
.card.lift { box-shadow: var(--shadow); border-color: transparent; }
.card.link-card { transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; color: inherit; }
.card.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.card.link-card .text-link { margin-top: auto; padding-top: 16px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--r-lane); display: grid; place-items: center;
  background: #EEF1FF; color: var(--blue); margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card-num {
  font-family: var(--font-head); font-weight: 850; font-size: 13px; letter-spacing: .14em; color: var(--purple); margin-bottom: 14px;
}
.emphasis { border-left: 4px solid var(--blue); padding: 20px 24px; background: var(--surface); border-radius: 0 var(--r-lane) var(--r-lane) 0; }
.emphasis p { margin: 0; font-size: 17px; color: var(--ink); }

/* Metric cards */
.metric {
  background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--r-metric); padding: 20px;
}
.metric .num { font-family: var(--font-head); font-size: 34px; font-weight: 850; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.metric .num.blue { color: var(--blue); }
.metric .lbl { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: #EEF1FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%233468FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.on-dark .check-list li::before { background-color: rgba(52,104,255,.18); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; background: var(--surface); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 460px at 92% -10%, rgba(52, 104, 255, 0.16), transparent 70%),
    radial-gradient(520px 380px at 70% 110%, rgba(123, 44, 255, 0.10), transparent 70%);
}
.hero .wrap { position: relative; }
.hero h1 .accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 8px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 36px; font-size: 14px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }

.page-hero { padding: 72px 0 64px; background: var(--surface); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; font-family: var(--font-head); font-weight: 600; }
.crumbs a { color: var(--muted); }

/* Command panel (hero visual) */
.command {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 22px; position: relative;
}
.command-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.command-title { font-family: var(--font-head); font-weight: 850; font-size: 12px; letter-spacing: .18em; color: var(--navy); text-transform: uppercase; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.lanes { display: grid; gap: 10px; }
.lane {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: var(--r-lane); background: var(--bg); border: 1px solid var(--line);
}
.lane-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 14px; }
.lane-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.2; }
.lane-sub { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.bar { height: 8px; border-radius: var(--r-pill); background: var(--table-head); overflow: hidden; width: 92px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-progress); }
.command-foot { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.command-foot .metric { padding: 14px; }
.command-foot .num { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 4px; }
.command-foot .lbl { font-size: 12px; }
.command-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- C.R.U.X journey ---------- */
.crux-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.crux-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 24px; position: relative; box-shadow: var(--shadow-sm); }
.crux-letter {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 850; font-size: 30px; margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(52,104,255,.25);
}
.crux-step:nth-child(1) .crux-letter { background: linear-gradient(140deg, #9A4DFF, #7B2CFF); }
.crux-step:nth-child(2) .crux-letter { background: linear-gradient(140deg, #5A4BFF, #3A35E0); }
.crux-step:nth-child(3) .crux-letter { background: linear-gradient(140deg, #4F7BFF, #1B31C2); }
.crux-step:nth-child(4) .crux-letter { background: linear-gradient(140deg, #2FB8D6, #1688A8); }
.crux-step h3 { font-size: 22px; margin-bottom: 6px; }
.crux-step .what { font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.crux-step .we { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin: 0; }
.crux-step:not(:last-child)::after {
  content: "›"; position: absolute; right: -16px; top: 46px; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--purple); display: grid; place-items: center;
  font-weight: 800; font-size: 16px; line-height: 1;
}

/* ---------- Operational Engine ---------- */
.engine { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 28px; align-items: center; }
.engine-side { display: grid; gap: 12px; }
.engine-wheel { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; }
.engine-wheel svg { width: 100%; height: 100%; overflow: visible; }
.engine-wheel .seg { cursor: pointer; transition: opacity .2s, transform .2s; transform-origin: 50% 50%; }
.engine-wheel .seg:hover, .engine-wheel .seg.active { transform: scale(1.035); }
.engine-wheel .seg-label { font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .05em; fill: #fff; pointer-events: none; text-transform: uppercase; }
.engine-center { position: absolute; inset: 30%; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; text-align: center; padding: 10px; }
.engine-center img { width: 62%; margin: 0 auto 6px; }
.engine-center strong { display: block; font-family: var(--font-head); font-size: 11px; letter-spacing: .14em; color: var(--ink); text-transform: uppercase; }
.engine-center span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; margin-top: 4px; }
.engine-detail { min-height: 220px; }
.engine-detail .card-num { margin-bottom: 8px; }
.engine-tabs { display: none; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th { text-align: left; background: var(--table-head); color: var(--navy); font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 14px 18px; }
td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
td strong { color: var(--ink); font-family: var(--font-head); }

/* ---------- Considerations / lenses ---------- */
.consider { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.consider div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lane); padding: 16px; text-align: center; }
.consider strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.consider span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }

/* Problem cards */
.problem { display: flex; gap: 16px; align-items: flex-start; }
.problem .card-icon { flex: 0 0 48px; margin: 0; }

/* Pathways */
.path { display: flex; flex-direction: column; height: 100%; }
.path .pill { align-self: flex-start; margin-bottom: 18px; }
.path ul { margin: 6px 0 22px; }
.path .btn { margin-top: auto; align-self: flex-start; }
.path.featured { background: var(--ink); color: #C9CCE0; border-color: var(--ink); background-image: var(--glow); }
.path.featured h3 { color: #fff; }
.path.featured .check-list li::before { background-color: rgba(52,104,255,.22); }

/* Funnel (Conversion Infrastructure) */
.funnel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.funnel-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lane); padding: 20px; position: relative; overflow: hidden; }
.funnel-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-progress); }
.funnel-step .card-num { margin-bottom: 8px; }
.funnel-step h3 { font-size: 20px; margin-bottom: 8px; }
.funnel-step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Case studies */
.case { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; padding: 0; overflow: hidden; }
.case-side { background: var(--ink); color: #C9CCE0; padding: 32px; background-image: var(--glow); display: flex; flex-direction: column; }
.case-side h3 { color: #fff; font-size: 24px; }
.case-side .metric { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); margin-top: auto; }
.case-side .metric .num { color: #fff; }
.case-side .metric .lbl { color: #A9AEC9; }
.case-body { padding: 32px; }
.case-body h4 { font-family: var(--font-head); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin: 22px 0 8px; }
.case-body h4:first-child { margin-top: 0; }
.case-body p { font-size: 15px; }

/* Founders */
.founder { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.founder img { width: 160px; height: 190px; object-fit: cover; border-radius: var(--r-metric); background: var(--table-head); }
.founder .role { font-family: var(--font-head); font-weight: 700; color: var(--purple); font-size: 14px; margin-bottom: 10px; }

.verify-note {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--warning);
  background: #FBF4E6; border: 1px dashed #E3C48C; border-radius: var(--r-input); padding: 10px 14px; margin-top: 16px;
}

/* CTA band */
.cta-band { background: var(--ink); border-radius: 26px; padding: 64px; color: #C9CCE0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 340px at 100% 0%, rgba(52,104,255,.35), transparent 70%), radial-gradient(420px 300px at 0% 100%, rgba(123,44,255,.28), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { max-width: 60ch; color: #B9BED8; font-size: 18px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-family: var(--font-head); font-weight: 650; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-input); padding: 13px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(52,104,255,.14); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.choice span { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-input); font-size: 15px; background: #fff; transition: .15s; }
.choice input:checked + span { border-color: var(--blue); background: #F0F4FF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: 0 0 20px; }
.form-status { display: none; }
.form-status.show { display: block; }

/* Steps list */
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.steps li::before {
  content: counter(s); width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
}
.steps { padding: 0; margin: 0; }
.steps strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 2px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lane); padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Insight cards */
.insight .meta { display: flex; gap: 8px; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9AEC9; padding: 72px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img.logo { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer img.tag { height: 14px; width: auto; margin-bottom: 18px; opacity: .95; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9CCE0; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* Draft banner */
.draft-banner { background: var(--navy); color: #C9CCE0; font-size: 13px; text-align: center; padding: 8px 16px; }
.draft-banner strong { color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 10px 10px; font-size: 14px; }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .funnel { grid-template-columns: repeat(3, 1fr); }
  .consider { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 16px 20px 24px; display: none; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-open .nav-menu { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { padding: 14px 16px; font-size: 17px; border-radius: var(--r-btn); }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; }
  .engine { grid-template-columns: 1fr; }
  .engine-side.left { order: 2; }
  .engine-side.right { order: 3; }
}
@media (max-width: 900px) {
  :root { --pad-x: 20px; --section-y: 64px; }
  .g2, .g3, .g4, .split, .footer-grid, .case { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .crux-steps { grid-template-columns: 1fr 1fr; }
  .crux-step:not(:last-child)::after { display: none; }
  .hero { padding: 56px 0 64px; }
  .cta-band { padding: 40px 24px; border-radius: 20px; }
  .form-row, .choice-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 640px) {
  .g5, .funnel, .consider, .crux-steps { grid-template-columns: 1fr; }
  .consider { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder img { width: 100%; height: 260px; }
  .btn-row .btn { width: 100%; }
  .command-foot { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 34px 1fr; }
  .lane .bar { display: none; }
  .card, .case-body, .case-side { padding: 22px; }
  .brand img { height: 36px; }
  h1 { font-size: 34px; line-height: 1.1; }
}

/* Grid children may shrink below their content width (prevents mobile overflow) */
.grid > *, .split > *, .form-row > *, .choice-grid > * { min-width: 0; }
.form .btn { white-space: normal; text-align: center; line-height: 1.25; }
.nav-links a.btn { display: inline-flex; color: #fff; border-radius: var(--r-btn); padding: 11px 18px; }
.nav-links a.btn:hover { background: var(--blue-deep); }
@media (max-width: 1060px) { .nav-links a.btn { display: flex; padding: 14px 18px; } }
