/* ============================================================
   CDO Global — s-dist.ru / edtech4.ai
   Премиальный B2B/B2G стиль: темный hero, глубокий синий/графит,
   lime-green CDO акцент, типографика как носитель экспертности.
   ============================================================ */

/* ---------- Fonts (Fontshare) ---------- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@500,600,700&f[]=general-sans@400,500,600&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --lime: #74D414;
  --lime-dark: #5cb00a;
  --teal: #1f9aa6;
  --teal-deep: #0c4e54;
  --blue-accent: #4f93c7;

  /* Dark (hero / accent sections) */
  --ink: #070d1e;          /* deepest navy-graphite */
  --ink-2: #0b1428;
  --ink-3: #111d36;
  --ink-card: #131f3a;
  --ink-border: #25324f;

  /* Light (content sections) — default theme */
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-softer: #eef1f7;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --border: #e2e7f0;
  --border-strong: #cdd5e3;

  /* Text */
  --text: #0f1b30;
  --text-muted: #51607a;
  --text-faint: #8a96ab;
  --text-on-dark: #eef2fb;
  --text-on-dark-muted: #9fb0cc;
  --text-on-dark-faint: #6c7c9c;

  /* Type */
  --font-display: 'Clash Display', Georgia, serif;
  --font-body: 'General Sans', system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(15,27,48,.06), 0 2px 8px rgba(15,27,48,.04);
  --shadow-md: 0 8px 30px rgba(15,27,48,.10);
  --shadow-lg: 0 24px 60px rgba(7,13,30,.16);

  --header-h: 72px;
}

/* ---------- Dark theme overrides ---------- */
[data-theme="dark"] {
  --bg: #070d1e;
  --bg-soft: #0b1428;
  --bg-softer: #0e1830;
  --surface: #111d36;
  --surface-alt: #0d1730;
  --border: #25324f;
  --border-strong: #34466b;
  --text: #eef2fb;
  --text-muted: #9fb0cc;
  --text-faint: #6c7c9c;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--dark .section-kicker { color: var(--lime); }
.section--dark .section-title { color: #fff; }
.section--dark .section-lead { color: var(--text-on-dark-muted); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep); margin: 0 0 16px;
}
[data-theme="dark"] .section-kicker { color: var(--lime); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0; color: var(--text); }
.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.section-lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-muted); line-height: 1.6; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }

.lime { color: var(--lime); }
.accent-teal { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: #08260a; border-color: var(--lime); box-shadow: 0 8px 24px rgba(116,212,20,.28); }
.btn-primary:hover { background: var(--lime-dark); border-color: var(--lime-dark); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 17px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, border-color .3s ease;
}
[data-theme="dark"] .site-header { background: rgba(7,13,30,.82); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg { height: 30px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text); }
.brand-name span { font-size: 11px; color: var(--text-faint); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--text-muted);
  padding: 9px 13px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--bg-soft); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted); display: grid; place-items: center;
  transition: color .15s, border-color .15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--bg); padding: 24px; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1); overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-size: 19px; font-weight: 500; padding: 14px 8px; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav .btn { margin-top: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 12%, rgba(31,154,166,.16), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(116,212,20,.08), transparent 60%),
    linear-gradient(165deg, #060b1a 0%, #0a1428 55%, #0c1a36 100%);
  color: var(--text-on-dark);
  padding: 84px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 500px at 70% 30%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; }
.hero-kicker { color: var(--text-on-dark-faint); letter-spacing: .16em; font-size: 13px; font-weight: 600; text-transform: uppercase; margin: 0 0 24px; display: flex; align-items: center; gap: 12px; }
.hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--lime); display: inline-block; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 66px);
  line-height: 1.06; letter-spacing: -.02em; color: #fff;
  margin: 0 0 26px; font-weight: 600;
}
.hero h1 .h-rfd { color: var(--teal); }
.hero h1 .h-fos { color: var(--lime); }
.hero h1 .h-opop { color: var(--blue-accent); }
.hero-sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-on-dark-muted); max-width: 660px; line-height: 1.55; margin: 0 0 30px; }
.hero-sub b { color: #fff; font-weight: 600; }

.hero-guarantee {
  display: flex; align-items: center; gap: 12px;
  background: rgba(116,212,20,.08); border: 1px solid rgba(116,212,20,.28);
  border-radius: 999px; padding: 12px 22px; margin-bottom: 30px; max-width: fit-content;
  font-size: 15px; color: var(--text-on-dark);
}
.hero-guarantee b { color: var(--lime); }
.hero-guarantee .check { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: #08260a; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat b { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: #fff; line-height: 1; }
.hero-stat span { font-size: 14px; color: var(--text-on-dark-muted); }

/* ============================================================
   TRUST / LOGOS
   ============================================================ */
.trust { padding: 48px 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.trust-label { text-align: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 30px; font-weight: 600; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 52px; }
.logo-row img {
  height: 38px; width: auto; opacity: .55;
  filter: grayscale(1) contrast(.9) brightness(.4);
  transition: opacity .2s, filter .2s;
}
[data-theme="dark"] .logo-row img { filter: grayscale(1) brightness(0) invert(1); opacity: .5; }
.logo-row img:hover { opacity: .95; }
.logo-row img.tall { height: 46px; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 16px; margin: 0; }
.card-num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--lime-dark); letter-spacing: .06em; margin-bottom: 14px; }
[data-theme="dark"] .card-num { color: var(--lime); }

.section--dark .card { background: var(--ink-card); border-color: var(--ink-border); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: var(--text-on-dark-muted); }
.section--dark .card:hover { border-color: #3a4d75; }

/* feature row: task -> tool -> result */
.flow-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.flow-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--teal-deep), var(--teal)); display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.flow-card .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--teal-deep); background: rgba(31,154,166,.1); padding: 3px 10px; border-radius: 6px; margin-bottom: 10px; }
[data-theme="dark"] .flow-card .tag { color: var(--lime); background: rgba(116,212,20,.1); }

/* audience split */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.audience-card { border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--ink-border); background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); color: var(--text-on-dark); }
.audience-card h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.audience-card .aud-sub { color: var(--lime); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.audience-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.audience-card li { display: flex; gap: 11px; color: var(--text-on-dark-muted); font-size: 16px; }
.audience-card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-top: 9px; flex-shrink: 0; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--border); }
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num { counter-increment: step; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--lime-dark); }
[data-theme="dark"] .step-num { color: var(--lime); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 16px; margin: 0; }
.section--dark .step { border-color: var(--ink-border); }
.section--dark .step h3 { color: #fff; }
.section--dark .step p { color: var(--text-on-dark-muted); }

/* AP5 scale table */
.scale-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.scale-table th, .scale-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 16px; }
.scale-table th { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.scale-table td b { font-family: var(--font-display); }
.section--dark .scale-table th, .section--dark .scale-table td { border-color: var(--ink-border); color: var(--text-on-dark); }

/* pill list / checklist */
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--text-muted); }
.check-list .ic { width: 24px; height: 24px; border-radius: 50%; background: rgba(116,212,20,.15); color: var(--lime-dark); display: grid; place-items: center; flex-shrink: 0; font-size: 13px; font-weight: 700; margin-top: 2px; }
[data-theme="dark"] .check-list .ic { color: var(--lime); }
.section--dark .check-list li { color: var(--text-on-dark-muted); }

/* knowledge base cards */
.kb-card { display: flex; flex-direction: column; }
.kb-card .kb-cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }
[data-theme="dark"] .kb-card .kb-cat { color: var(--lime); }
.kb-card h3 { font-size: 19px; margin-bottom: 10px; }
.kb-card .kb-more { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--teal-deep); font-size: 15px; }
[data-theme="dark"] .kb-card .kb-more { color: var(--lime); }

/* formats */
.format-card { padding: 38px; border-radius: var(--radius-lg); }
.format-card.svc { background: var(--bg-soft); border: 1px solid var(--border); }
.format-card.turnkey { background: var(--ink); color: var(--text-on-dark); border: 1px solid var(--ink-border); }
.format-card h3 { font-size: 24px; margin-bottom: 12px; }
.format-card.turnkey h3 { color: #fff; }
.format-card p { color: var(--text-muted); margin-bottom: 20px; }
.format-card.turnkey p { color: var(--text-on-dark-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--text); }
.faq-q .tog { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform .25s; }
.faq-q .tog::before, .faq-q .tog::after { content: ""; position: absolute; background: var(--teal-deep); border-radius: 2px; }
[data-theme="dark"] .faq-q .tog::before, [data-theme="dark"] .faq-q .tog::after { background: var(--lime); }
.faq-q .tog::before { width: 16px; height: 2px; top: 12px; left: 5px; }
.faq-q .tog::after { width: 2px; height: 16px; top: 5px; left: 12px; transition: transform .25s; }
.faq-item.open .tog::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 24px; color: var(--text-muted); font-size: 16px; line-height: 1.65; }

/* ============================================================
   FORM / FINAL CTA
   ============================================================ */
.cta-final { background: linear-gradient(165deg, #060b1a 0%, #0a1428 60%, #0c1a36 100%); color: var(--text-on-dark); position: relative; overflow: hidden; }
.cta-final::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 500px at 85% 20%, rgba(31,154,166,.18), transparent 60%); pointer-events:none; }
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-grid h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.cta-grid .section-lead { color: var(--text-on-dark-muted); margin-bottom: 28px; }
.cta-list { display: flex; flex-direction: column; gap: 14px; }
.cta-list li { display: flex; gap: 12px; align-items: center; color: var(--text-on-dark); font-size: 16px; }
.cta-list .ic { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: #08260a; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }

.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
[data-theme="dark"] .form-card { background: var(--ink-card); border: 1px solid var(--ink-border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 7px; }
.field label .req { color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: var(--bg); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,154,166,.15); }
.form-note { font-size: 13px; color: var(--text-faint); margin-top: 6px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: #08260a; display: grid; place-items: center; margin: 0 auto 20px; font-size: 30px; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }
.form-card.done .form-fields { display: none; }

.thank-you-section { min-height: 50vh; display: flex; align-items: center; padding: 80px 0; }
.thank-you-card { max-width: 560px; margin: 0 auto; text-align: center; background: var(--surface); border-radius: var(--radius-lg); padding: 56px 40px; box-shadow: var(--shadow-lg); }
[data-theme="dark"] .thank-you-card { background: var(--ink-card); border: 1px solid var(--ink-border); }
.thank-you-card .ic { width: 72px; height: 72px; border-radius: 50%; background: var(--lime); color: #08260a; display: grid; place-items: center; margin: 0 auto 24px; font-size: 34px; }
.thank-you-card h1 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 14px; }
.thank-you-card p { color: var(--text-muted); font-size: 17px; line-height: 1.6; margin-bottom: 32px; }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs { padding: 20px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-faint); }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--text-faint); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a:hover { color: var(--teal-deep); }
.breadcrumbs li[aria-current] { color: var(--text-muted); }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(165deg, #060b1a 0%, #0a1428 60%, #0c1a36 100%); color: var(--text-on-dark); padding: 24px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(600px 400px at 75% 40%, #000, transparent 75%); }
.page-hero .breadcrumbs ol { color: var(--text-on-dark-faint); }
.page-hero .breadcrumbs li::after { color: var(--text-on-dark-faint); }
.page-hero .breadcrumbs a:hover { color: var(--lime); }
.page-hero-inner { position: relative; max-width: 820px; padding-top: 30px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 20px; line-height: 1.08; }
.page-hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-on-dark-muted); max-width: 680px; line-height: 1.55; margin-bottom: 28px; }
.page-hero .hero-cta { margin-bottom: 0; }

/* prose */
.prose { max-width: 760px; }
.prose p { color: var(--text-muted); margin: 0 0 18px; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin: 44px 0 16px; }
.prose h3 { font-size: 21px; margin: 28px 0 12px; }
.prose ul.bullets { display: flex; flex-direction: column; gap: 12px; margin: 0 0 18px; }
.prose ul.bullets li { display: flex; gap: 12px; color: var(--text-muted); }
.prose ul.bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-top: 10px; flex-shrink: 0; }

/* callout */
.callout { border-left: 3px solid var(--lime); background: var(--bg-soft); padding: 22px 26px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.callout p { margin: 0; color: var(--text); }
.callout b { color: var(--teal-deep); }
[data-theme="dark"] .callout b { color: var(--lime); }

/* internal links cluster */
.linkcluster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.linkcluster a { display: block; padding: 20px 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); transition: border-color .2s, transform .2s; }
.linkcluster a:hover { border-color: var(--teal); transform: translateY(-2px); }
.linkcluster a b { font-family: var(--font-display); display: block; margin-bottom: 4px; font-size: 17px; }
.linkcluster a span { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--ink-border); }
.footer-brand svg { height: 30px; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; line-height: 1.6; max-width: 320px; color: var(--text-on-dark-muted); }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer-col a { display: block; padding: 6px 0; font-size: 15px; color: var(--text-on-dark-muted); transition: color .15s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 14px; color: var(--text-on-dark-faint); }

/* mobile sticky CTA */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(7,13,30,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--ink-border); }
.mobile-cta .btn { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-actions .btn { display: none; }
  .audience { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  body { font-size: 16px; }
  .hero { padding: 56px 0 84px; }
  .hero-stats { gap: 18px 32px; }
  .mobile-cta { display: block; }
  .mobile-cta + * , body { padding-bottom: 0; }
}
