/* ============================================================
   Suppli — CFO Landing Page  v2
   Coverbase 5-section structure, Suppli-homepage light visual style
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Pinyon+Script&display=swap');

:root {
  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display-script: 'Pinyon Script', cursive;

  /* Brand */
  --primary-200: #FEF2EF;
  --primary-300: #FDCDC3;
  --primary-700: #F85737;
  --primary-800: #BA6532;

  /* Accent (Tweaks-overridable) */
  --accent: var(--primary-700);
  --accent-hover: var(--primary-800);
  --accent-wash: var(--primary-200);
  --accent-deep: var(--primary-800);

  /* Neutrals */
  --black-100: #F9FAFB;
  --black-200: #F3F4F6;
  --black-300: #E5E7EB;
  --black-400: #D1D5DB;
  --black-500: #6B7280;
  --black-600: #1F2937;
  --black-700: #111827;
  --warm-black-300: #555555;
  --warm-black-400: #9CA3AF;
  --warm-black-500: #7A7982;
  --warm-black-600: #374151;

  /* Status */
  --success-500: #10B981;
  --success-600: #27AE60;
  --warning-400: #FBBF24;
  --warning-500: #F59E0B;
  --warning-600: #92400E;
  --danger-500: #EF4444;
  --dark-red-600: #CD2525;

  /* Semantic */
  --bg-app: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: var(--black-100);
  --bg-muted: var(--black-200);
  --fg-primary: var(--black-700);
  --fg-secondary: var(--warm-black-600);
  --fg-tertiary: var(--black-500);
  --fg-muted: var(--warm-black-400);

  --border-subtle: var(--black-300);
  --border-default: var(--black-400);

  /* Dark-section tokens (opt-in via [data-dark-sections="true"]) */
  --dark-bg: #0B0C10;
  --dark-bg-elev: #131419;
  --dark-border: #25272E;
  --dark-border-strong: #34373F;
  --dark-fg: #F4F5F7;
  --dark-fg-secondary: #B6B9C2;
  --dark-fg-tertiary: #8A8E99;
  --dark-fg-muted: #5F6470;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  /* Shadows */
  --shadow-xs: 0px 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0px 1px 2px rgba(0,0,0,0.06), 0px 1px 3px rgba(0,0,0,0.10);
  --shadow-md: 0px 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0px 4px 22px rgba(0,0,0,0.12);
  --shadow-xl: 0px 24px 60px rgba(17,24,39,0.10);

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;

  /* Density (Tweaks-overridable) */
  --section-y: 112px;
  --section-y-sm: 80px;
}

[data-density="compact"] {
  --section-y: 80px;
  --section-y-sm: 56px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-app);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--fg-primary); letter-spacing: -0.02em; }
p { margin: 0; }

.numeric { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: 'tnum'; }
.script { font-family: var(--font-display-script); font-weight: 400; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: var(--section-y-sm) 0; }

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent-wash);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Type */
.display {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--fg-primary);
}
.display em {
  font-style: normal;
  color: var(--accent);
}
.h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-primary);
}
.h2 em { font-style: normal; color: var(--accent); }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 60ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  background: transparent;
  color: var(--fg-primary);
  border-color: var(--border-default);
}
.btn--ghost:hover { background: var(--bg-subtle); }
.btn--lg { padding: 14px 22px; font-size: 15px; }
.btn .arrow { display: inline-block; transition: transform var(--dur-fast) var(--ease-standard); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo svg { display: block; height: 26px; width: auto; }
.nav__center { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-secondary);
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav__link:hover { color: var(--fg-primary); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__login {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  color: var(--fg-secondary);
  border-radius: 8px;
}
.nav__login:hover { color: var(--fg-primary); }
@media (max-width: 860px) { .nav__center { display: none; } }

/* ============================================================
   HERO — light, Suppli-style (matches uploaded HTML aesthetic)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFB 100%);
  padding: 72px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(17,24,39,0.05) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 60% at 80% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 80% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  gap: 56px;
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero__title { margin-top: 22px; text-wrap: balance; }
.hero__sub {
  margin-top: 22px;
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 48ch;
}
.hero__points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-secondary);
}
.hero__points li .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.hero__points li .check svg { width: 11px; height: 11px; }
.hero__formcol { display: flex; flex-direction: column; }
.hero__cta { display: flex; align-items: center; gap: 12px; margin-top: 28px; }

/* Hero form (Coverbase-style boxed lead capture) */
.hero-form {
  margin-top: 0;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-md);
}
.hero-form__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--fg-primary);
  margin-bottom: 6px;
}
.hero-form__sub {
  font-size: 13px;
  color: var(--fg-tertiary);
  margin-bottom: 16px;
}
.hero-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-form__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hero-form__field--full { grid-column: span 2; }
.hero-form__label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--fg-tertiary);
}
.hero-form__input {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  color: var(--fg-primary);
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
  width: 100%;
  min-width: 0;
  transition: border-color var(--dur-fast) var(--ease-standard),
              background var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard);
}
.hero-form__input::placeholder { color: var(--fg-muted); }
.hero-form__input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent);
}
.hero-form__submit {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.hero-form__finep {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.hero-form__finep a { color: var(--fg-tertiary); text-decoration: underline; }

/* Hero stage — abstract product mock (Suppli style) */
.hero__stage { position: relative; height: 480px; }
.hero-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-xl);
}
.hero-card--kpi   { top: 0;    right: 4%;   width: 320px; }
.hero-card--agent { top: 200px; left: 0;    width: 360px; }
.hero-card--match { bottom: 0; right: 12%;  width: 300px; }

.hkpi-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hkpi-label { font-size: 12px; color: var(--fg-tertiary); font-weight: 500; }
.hkpi-chip {
  font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px;
  background: color-mix(in oklab, var(--success-500) 14%, transparent);
  color: var(--success-600);
}
.hkpi-val {
  font-size: 30px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
}
.hkpi-sub { font-size: 12px; color: var(--fg-tertiary); margin-top: 4px; }
.hkpi-spark { display: block; margin-top: 12px; width: 100%; height: 36px; color: var(--accent); }

.hagent-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hagent-title { font-size: 13px; font-weight: 600; color: var(--fg-primary); display: flex; align-items: center; gap: 8px; }
.hagent-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success-500);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--success-500) 30%, transparent);
  animation: pulse 1.8s infinite var(--ease-standard);
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--success-500) 30%, transparent); }
  50% { box-shadow: 0 0 0 7px color-mix(in oklab, var(--success-500) 5%, transparent); }
}
.hagent-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-tertiary);
}
.hagent-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hagent-list li {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 10px;
  align-items: start;
  font-size: 12.5px;
  color: var(--fg-secondary);
  line-height: 1.45;
}
.hagent-list li .icon { color: var(--accent); margin-top: 1px; }
.hagent-list li strong { color: var(--fg-primary); font-weight: 600; }
.hagent-list li .when {
  font-size: 11px;
  color: var(--fg-muted);
  white-space: nowrap;
  font-family: var(--font-mono);
}

.hmatch-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hmatch-pip {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--success-500) 14%, transparent);
  color: var(--success-600);
  display: flex; align-items: center; justify-content: center;
}
.hmatch-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-tertiary);
}
.hmatch-title { font-size: 13.5px; font-weight: 600; color: var(--fg-primary); margin-top: 1px; }
.hmatch-rows { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
.hmatch-row { display: flex; justify-content: space-between; font-size: 12px; font-variant-numeric: tabular-nums; }
.hmatch-row .inv { color: var(--fg-tertiary); font-family: var(--font-mono); font-size: 11.5px; }
.hmatch-row .amt { color: var(--fg-primary); font-weight: 600; }

/* Hero variants */
.hero[data-variant="form"]    .hero__stage { display: none; }
.hero[data-variant="product"] .hero-form  { display: none; }
.hero[data-variant="form-product"] .hero__cta { display: none; }
.hero[data-variant="centered"] .hero-form,
.hero[data-variant="centered"] .hero__stage { display: none; }
.hero--centered .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.hero--centered .hero__copy { max-width: 820px; }
.hero--centered .hero__sub { margin-left: auto; margin-right: auto; }
.hero--centered .hero__cta { justify-content: center; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__stage { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .hero-card { position: relative; top: auto; bottom: auto; left: auto; right: auto; width: auto; }
}

/* ============================================================
   TRUST BAR — real customer logos
   ============================================================ */
.trustbar {
  padding: 48px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trustbar__inner { display: flex; flex-direction: column; gap: 28px; align-items: center; }
.trustbar__label {
  font-size: 12px;
  color: var(--fg-tertiary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}
.trustbar__logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.trustbar__logos img {
  display: block;
  flex: 1 1 0;
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  transition: transform var(--dur-base) var(--ease-standard);
}
.trustbar__logos img:hover { transform: translateY(-1px); }
/* Chaney PNG has little internal padding — cap it so it reads the same size as the rest */
.trustbar__logos img[alt="Chaney Enterprises"] { max-height: 44px; }
@media (max-width: 1100px) { .trustbar__logos { gap: 24px; } }
@media (max-width: 560px)  {
  .trustbar__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    justify-items: center;
    align-items: center;
  }
  .trustbar__logos img { flex: 0 0 auto; justify-self: center; margin: 0 auto; }
}

/* ============================================================
   "Why this is different" — Coverbase pattern (3 features)
   ============================================================ */
.why {
  padding: var(--section-y) 0;
}
.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 72px;
  align-items: start;
}
.why__head { position: sticky; top: 96px; }
.why__head .h2 { margin-top: 18px; }
.why__head .lede { margin-top: 22px; font-size: 16px; max-width: 38ch; }

.why__features { display: flex; flex-direction: column; }
.why__feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}
.why__feature:first-child { padding-top: 0; }
.why__feature:last-child { border-bottom: none; padding-bottom: 0; }
.why__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
}
.why__icon svg { width: 28px; height: 28px; }
.why__name {
  font-size: 19px;
  font-weight: 600;
  color: var(--fg-primary);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.why__desc {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.6;
}
.why__desc strong { color: var(--fg-primary); font-weight: 600; }
.why__metric {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-secondary);
}
.why__metric .v {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

@media (max-width: 980px) {
  .why__inner { grid-template-columns: 1fr; gap: 36px; }
  .why__head { position: static; }
}

/* ============================================================
   Quotes (light, Suppli-style)
   ============================================================ */
.quotes {
  background: #FAFAFB;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.quotes__head { text-align: center; margin-bottom: 56px; }
.quotes__head .h2 { margin-top: 18px; max-width: 30ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
.quotes__head .lede { margin: 22px auto 0; }

.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.story {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.story:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.story__logo {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 22px;
}
.story__logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.story__quote {
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg-primary);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.story__meta { margin-top: auto; padding-top: 24px; }
.story__name { font-size: 14px; font-weight: 700; color: var(--fg-primary); }
.story__role { font-size: 13px; color: var(--fg-tertiary); margin-top: 2px; line-height: 1.5; }

.stories__grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .stories__grid { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA — light w/ orange wash gradient, copy + form split
   ============================================================ */
.finalcta {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, #fff 0%, var(--accent-wash) 100%);
  border-top: 1px solid var(--border-subtle);
}
.finalcta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 520px);
  gap: 48px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--shadow-xl);
}
.finalcta__left { position: relative; display: flex; flex-direction: column; }
.finalcta__left .h2 { margin-top: 22px; max-width: 22ch; text-wrap: balance; }
.finalcta__left .lede { margin-top: 20px; font-size: 16px; max-width: 38ch; }
.finalcta__bullets {
  margin-top: 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.finalcta__bullets li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-secondary);
  align-items: center;
}
.finalcta__bullets li .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.finalcta__bullets li .check svg { width: 10px; height: 10px; }

.finalcta__form {
  position: relative;
  align-self: start;
  margin-top: 48px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
  max-width: none;
  box-shadow: none;
}
.finalcta__form-title { font-size: 16px; font-weight: 600; color: var(--fg-primary); margin-bottom: 4px; }
.finalcta__form-sub { font-size: 13px; color: var(--fg-tertiary); margin-bottom: 22px; }
.finalcta__form .hero-form__input { background: #fff; }

@media (max-width: 980px) {
  .finalcta__inner { grid-template-columns: 1fr; padding: 32px; }
  .finalcta__form { margin-top: 0; }
}

/* ============================================================
   Footer — dark (matches homepage)
   ============================================================ */
.footer {
  background: var(--fg-primary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer a { color: rgba(255,255,255,0.7); transition: color var(--dur-fast) var(--ease-standard); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 56px;
  padding-bottom: 0;
  border-bottom: none;
}
.footer__brand svg { height: 28px; width: auto; }
.footer__logo { display: inline-flex; }
.footer__tag {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  max-width: 30ch;
  line-height: 1.45;
}
.footer__soc2 { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; }
.footer__soc2 img { display: block; width: 96px; height: 96px; border-radius: 999px; object-fit: contain; }
.footer__col h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer__social { margin-top: 18px; display: flex; gap: 10px; }
.footer__social a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.footer__social a:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.5); color: #fff; }
.footer__bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}
.footer__bottom-links { display: flex; gap: 20px; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-row: 1 / span 3; }
  .footer__soc2 { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   DARK SECTIONS — opt-in via [data-dark-sections="true"]
   Flips hero, quotes, finalcta, footer to Coverbase-style dark
   ============================================================ */
body[data-dark-sections="true"] {
  background: var(--dark-bg);
}
body[data-dark-sections="true"] .nav {
  background: rgba(11,12,16,0.65);
  border-bottom-color: rgba(255,255,255,0.06);
}
body[data-dark-sections="true"] .nav__logo svg path[fill="#555555"] { fill: #FFFFFF; }
body[data-dark-sections="true"] .nav__link,
body[data-dark-sections="true"] .nav__login { color: rgba(255,255,255,0.72); }
body[data-dark-sections="true"] .nav__link:hover,
body[data-dark-sections="true"] .nav__login:hover { color: #fff; }

body[data-dark-sections="true"] .hero {
  background: var(--dark-bg);
  color: var(--dark-fg);
}
body[data-dark-sections="true"] .hero::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
}
body[data-dark-sections="true"] .hero::after {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 24%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
body[data-dark-sections="true"] .display { color: #fff; }
body[data-dark-sections="true"] .display em {
  background: linear-gradient(180deg, #fff 0%, color-mix(in oklab, var(--accent) 80%, #fff) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body[data-dark-sections="true"] .hero__sub { color: rgba(255,255,255,0.72); }
body[data-dark-sections="true"] .eyebrow {
  background: color-mix(in oklab, var(--accent) 18%, var(--dark-bg-elev));
  color: var(--accent);
}
body[data-dark-sections="true"] .hero-form {
  background: var(--dark-bg-elev);
  border-color: var(--dark-border);
  box-shadow: none;
}
body[data-dark-sections="true"] .hero-form__title { color: #fff; }
body[data-dark-sections="true"] .hero-form__sub { color: rgba(255,255,255,0.6); }
body[data-dark-sections="true"] .hero-form__label { color: rgba(255,255,255,0.55); }
body[data-dark-sections="true"] .hero-form__input {
  background: rgba(255,255,255,0.04);
  border-color: var(--dark-border);
  color: #fff;
}
body[data-dark-sections="true"] .hero-form__input::placeholder { color: rgba(255,255,255,0.3); }
body[data-dark-sections="true"] .hero-form__input:focus { background: rgba(255,255,255,0.06); }
body[data-dark-sections="true"] .hero-form__finep { color: rgba(255,255,255,0.42); }
body[data-dark-sections="true"] .hero-form__finep a { color: rgba(255,255,255,0.65); }
body[data-dark-sections="true"] .hero-card {
  background: var(--dark-bg-elev);
  border-color: var(--dark-border);
  color: var(--dark-fg);
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}
body[data-dark-sections="true"] .hkpi-label,
body[data-dark-sections="true"] .hkpi-sub,
body[data-dark-sections="true"] .hagent-tag,
body[data-dark-sections="true"] .hmatch-label { color: var(--dark-fg-tertiary); }
body[data-dark-sections="true"] .hkpi-val,
body[data-dark-sections="true"] .hagent-title,
body[data-dark-sections="true"] .hmatch-title { color: #fff; }
body[data-dark-sections="true"] .hagent-list li { color: var(--dark-fg-secondary); }
body[data-dark-sections="true"] .hagent-list li strong { color: #fff; }
body[data-dark-sections="true"] .hagent-list li .when { color: var(--dark-fg-muted); }
body[data-dark-sections="true"] .hmatch-rows { border-top-color: var(--dark-border); }
body[data-dark-sections="true"] .hmatch-row .inv { color: var(--dark-fg-tertiary); }
body[data-dark-sections="true"] .hmatch-row .amt { color: #fff; }

body[data-dark-sections="true"] .quotes {
  background: var(--dark-bg);
  border-top-color: var(--dark-border);
  border-bottom-color: var(--dark-border);
}
body[data-dark-sections="true"] .quotes__head .h2 { color: #fff; }
body[data-dark-sections="true"] .quotes__head .lede { color: var(--dark-fg-secondary); }
body[data-dark-sections="true"] .story {
  background: var(--dark-bg-elev);
  border-color: var(--dark-border);
}
body[data-dark-sections="true"] .story:hover { border-color: var(--dark-border-strong); }
body[data-dark-sections="true"] .story__quote { color: #fff; }
body[data-dark-sections="true"] .story__meta { border-top-color: var(--dark-border); }
body[data-dark-sections="true"] .story__name { color: #fff; }
body[data-dark-sections="true"] .story__role { color: var(--dark-fg-tertiary); }

body[data-dark-sections="true"] .finalcta {
  background: var(--dark-bg);
  border-top-color: var(--dark-border);
}
body[data-dark-sections="true"] .finalcta__inner {
  background: linear-gradient(135deg, #14151B 0%, #0E0F14 100%);
  border-color: var(--dark-border);
  box-shadow: none;
}
body[data-dark-sections="true"] .finalcta__left .h2 { color: #fff; }
body[data-dark-sections="true"] .finalcta__left .lede { color: var(--dark-fg-secondary); }
body[data-dark-sections="true"] .finalcta__bullets li { color: var(--dark-fg-secondary); }
body[data-dark-sections="true"] .finalcta__form {
  background: rgba(255,255,255,0.02);
  border-color: var(--dark-border);
}
body[data-dark-sections="true"] .finalcta__form-title { color: #fff; }
body[data-dark-sections="true"] .finalcta__form-sub { color: rgba(255,255,255,0.6); }
body[data-dark-sections="true"] .finalcta__form .hero-form__input { background: rgba(255,255,255,0.04); color: #fff; }

body[data-dark-sections="true"] .footer {
  background: var(--dark-bg);
  border-top-color: var(--dark-border);
  color: var(--dark-fg-secondary);
}
body[data-dark-sections="true"] .footer__grid { border-bottom-color: var(--dark-border); }
body[data-dark-sections="true"] .footer__brand svg path[fill="#FFFFFF"] { fill: #FFFFFF; }
body[data-dark-sections="true"] .footer__tag,
body[data-dark-sections="true"] .footer__col h5,
body[data-dark-sections="true"] .footer__bottom { color: var(--dark-fg-tertiary); }
body[data-dark-sections="true"] .footer__col a { color: var(--dark-fg-secondary); }
body[data-dark-sections="true"] .footer__col a:hover { color: #fff; }
body[data-dark-sections="true"] .trustbar {
  background: #0F1015;
  border-color: var(--dark-border);
}
body[data-dark-sections="true"] .trustbar__label,
body[data-dark-sections="true"] .trustbar__footnote { color: var(--dark-fg-tertiary); }
body[data-dark-sections="true"] .trustbar__logo { color: var(--dark-fg-secondary); }
body[data-dark-sections="true"] .why { background: transparent; }
