/* ============================================================
   VoiceAlerts Design System
   Colors: deep navy #0B1F3F, cyan #1EC4DD, coral #E0533D
   Type: Fraunces (display), Manrope (body), JetBrains Mono (eyebrows)
   ============================================================ */

:root {
  /* Brand palette */
  --navy: #0B1F3F;
  --navy-deep: #061533;
  --navy-soft: #142B52;
  --cyan: #1EC4DD;
  --cyan-bright: #4FD8EE;
  --cyan-pale: #E8F8FB;
  --coral: #E0533D;
  --coral-soft: #F46C57;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F7F8FB;
  --gray-100: #EEF1F6;
  --gray-200: #D9DFE8;
  --gray-300: #B6C0CF;
  --gray-500: #6B7891;
  --gray-700: #3D485E;
  --gray-900: #1A2236;

  /* Semantic */
  --bg: var(--white);
  --bg-subtle: var(--gray-50);
  --bg-accent: var(--cyan-pale);
  --bg-dark: var(--navy);
  --bg-dark-soft: var(--navy-soft);
  --text: var(--gray-900);
  --text-body: var(--gray-700);
  --text-muted: var(--gray-500);
  --border: var(--gray-200);
  --border-strong: var(--gray-300);

  /* Layout */
  --max-width: 1240px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  /* Type */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion */
  --t-fast: 180ms;
  --t-base: 280ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; color: var(--text); }
p { color: var(--text-body); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.accent { color: var(--cyan); }
.coral { color: var(--coral); }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section--subtle { background: var(--bg-subtle); }
.section--dark {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark .eyebrow { color: var(--white); }
.section--dark .eyebrow { color: var(--cyan-bright); }
.section--dark p { color: rgba(255,255,255,0.75); }

.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head h2 { margin-top: 1rem; margin-bottom: 1rem; }
.section-head p { font-size: 1.0625rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn--sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn--primary {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
}
.btn--primary:hover { background: var(--cyan-bright); border-color: var(--cyan-bright); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--ghost-inverse {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost-inverse:hover { border-color: var(--cyan-bright); color: var(--cyan-bright); }
.btn--coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn--coral:hover { background: var(--coral-soft); border-color: var(--coral-soft); }
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn .ext-icon { width: 14px; height: 14px; opacity: 0.85; }

/* ---------- Header ---------- */
/* Skip-to-content link (visible on keyboard focus) */
.skip-link {
  position: absolute;
  left: 0;
  top: -120px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              backdrop-filter var(--t-base) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
/* Interior / non-hero pages can opt into the white header from page load */
.site-header.is-light {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  position: relative;
}
.brand-logo {
  width: auto;
  display: block;
  transition: opacity var(--t-base) var(--ease);
}
.brand-logo--white { height: 44px; }
.brand-logo--dark { height: 44px; position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }

/* On scroll or on light-mode pages, swap to dark logo */
.site-header.is-scrolled .brand-logo--white,
.site-header.is-light .brand-logo--white { opacity: 0; }
.site-header.is-scrolled .brand-logo--dark,
.site-header.is-light .brand-logo--dark { opacity: 1; }

/* Nav link states change with header state */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-link.is-active { color: var(--white); background: rgba(255,255,255,0.12); }

.site-header.is-scrolled .nav-link,
.site-header.is-light .nav-link {
  color: var(--text-body);
}
.site-header.is-scrolled .nav-link:hover,
.site-header.is-light .nav-link:hover {
  color: var(--navy);
  background: var(--gray-50);
}
.site-header.is-scrolled .nav-link.is-active,
.site-header.is-light .nav-link.is-active {
  color: var(--navy);
  background: var(--cyan-pale);
}

/* ===== Nav dropdowns (desktop) ===== */
.nav-item { position: relative; }
.nav-caret {
  margin-left: 0.28rem;
  opacity: 0.7;
  transition: transform var(--t-base) var(--ease);
}
.nav-item--dropdown:hover .nav-caret,
.nav-item--dropdown:focus-within .nav-caret { transform: rotate(180deg); }

/* invisible hover bridge so the panel doesn't close when crossing the gap */
.nav-item--dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1.4rem;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1.05rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 286px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px -12px rgba(11,31,63,0.28), 0 4px 14px -6px rgba(11,31,63,0.14);
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
  z-index: 50;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  transition: background var(--t-fast) var(--ease);
}
.nav-dropdown-link:hover { background: var(--cyan-pale); }
.nav-dropdown-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.nav-dropdown-link:hover .nav-dropdown-title { color: var(--navy); }
.nav-dropdown-desc {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}
.nav-login {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.4rem 0.75rem;
  transition: color var(--t-fast);
}
.nav-login:hover { color: var(--cyan-bright); }
.site-header.is-scrolled .nav-login,
.site-header.is-light .nav-login {
  color: var(--text-body);
}
.site-header.is-scrolled .nav-login:hover,
.site-header.is-light .nav-login:hover {
  color: var(--cyan);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}
.site-header.is-scrolled .nav-toggle,
.site-header.is-light .nav-toggle {
  border-color: var(--border);
  background: var(--white);
}
.site-header.is-scrolled .nav-toggle span,
.site-header.is-light .nav-toggle span {
  background: var(--navy);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-main {
  display: none;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 84px;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 1.5rem var(--pad) 2rem;
  z-index: 99;
  transform: translateY(-100%);
  visibility: hidden;
  opacity: 0;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease), visibility var(--t-base);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateY(0); visibility: visible; opacity: 1; }
.mobile-drawer .nav-link { display: block; padding: 0.9rem 0.5rem; font-size: 1.0625rem; border-bottom: 1px solid var(--border); border-radius: 0; color: var(--text-body); background: none; }
.mobile-drawer .nav-link:hover,
.mobile-drawer .nav-link:active { color: var(--navy); background: var(--gray-50); }
.mobile-drawer .nav-link.is-active { color: var(--cyan); background: none; font-weight: 600; }
.mobile-drawer-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.mobile-drawer-actions .btn { width: 100%; justify-content: center; }

/* Mobile drawer submenus */
.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-row .nav-link { flex: 1; border-bottom: none; }
.mobile-submenu-toggle {
  background: none;
  border: none;
  padding: 0.9rem 0.6rem;
  margin: 0;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-submenu-toggle svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease); }
.mobile-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.mobile-submenu.is-open { grid-template-rows: 1fr; }
.mobile-submenu-inner { overflow: hidden; min-height: 0; }
.mobile-submenu-inner a {
  display: block;
  padding: 0.8rem 0.5rem 0.8rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.mobile-submenu-inner a:last-child { border-bottom: none; }
.mobile-submenu-inner a:hover,
.mobile-submenu-inner a:active { color: var(--cyan); }
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,31,63,0.4);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(30,196,221,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(30,196,221,0.08) 0%, transparent 50%),
    var(--bg-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-top: -84px;
  padding-top: 84px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 680px; }
.hero h1 { color: var(--white); margin-bottom: 1.75rem; }
.hero h1 .line { display: block; }
.hero h1 .line + .line { margin-top: 0.1em; }
.hero .lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-meta {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.hero-meta-item { display: flex; align-items: center; gap: 0.5rem; }
.hero-meta-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 8px var(--cyan-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Hero visual — threat dashboard */
.hero-visual { position: relative; width: 100%; }
.hero-visual-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(30,196,221,0.25);
  box-shadow:
    0 30px 70px -18px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 60px rgba(30,196,221,0.15);
  padding: 1.25rem;
}
.hero-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-dash-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-dash-title::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
  animation: pulse 1.4s ease-in-out infinite;
}
.hero-dash-time {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.45);
}
.hero-dash-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.hero-dash-stat {
  padding: 0.75rem 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.hero-dash-stat-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.35rem;
}
.hero-dash-stat-value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-dash-stat-value .unit {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-left: 0.15rem;
}
.hero-dash-alerts { display: flex; flex-direction: column; gap: 0.5rem; }
.hero-dash-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.875rem;
  background: rgba(224,83,61,0.08);
  border: 1px solid rgba(224,83,61,0.2);
  border-radius: 8px;
}
.hero-dash-alert--info {
  background: rgba(30,196,221,0.06);
  border-color: rgba(30,196,221,0.18);
}
.hero-dash-alert-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(224,83,61,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--coral);
}
.hero-dash-alert--info .hero-dash-alert-icon {
  background: rgba(30,196,221,0.12);
  color: var(--cyan-bright);
}
.hero-dash-alert-icon svg { width: 14px; height: 14px; }
.hero-dash-alert-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.hero-dash-alert-text-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}
.hero-dash-alert-time {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

@media (min-width: 1024px) {
  .nav-main, .nav-actions { display: flex; }
  .nav-toggle { display: none; }
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }
}

/* ---------- Mission band (problem statement) ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.problem-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(224,83,61,0.08);
  color: var(--coral);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.problem-icon svg { width: 22px; height: 22px; }
.problem-card h3 { margin-bottom: 0.6rem; }
.problem-card p { font-size: 0.9375rem; line-height: 1.55; }

/* ---------- Capabilities grid (5 pillars) ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}
.cap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.cap-card:hover {
  border-color: rgba(30,196,221,0.4);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}
.cap-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--cyan-bright);
  text-transform: uppercase;
}
.cap-card h3 {
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-family: var(--font-display);
}
.cap-tagline {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--coral-soft);
  text-transform: uppercase;
  margin-top: -0.4rem;
}
.cap-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  flex: 1;
}
.cap-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cyan-bright);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  transition: gap var(--t-fast);
}
.cap-link:hover { gap: 0.6rem; }

@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* PSA banner */
.psa-banner {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(90deg, rgba(224,83,61,0.12) 0%, rgba(224,83,61,0.04) 100%);
  border: 1px solid rgba(224,83,61,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.psa-banner-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--coral);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.psa-banner-icon svg { width: 22px; height: 22px; }
.psa-banner-text { flex: 1; min-width: 220px; }
.psa-banner-text h4 { color: var(--white); margin-bottom: 0.2rem; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; }
.psa-banner-text p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; margin: 0; }
.psa-banner-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-soft);
}

/* ---------- Evidence band ---------- */
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .evidence-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.evidence-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.evidence-stat {
  padding: 1.25rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.evidence-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.evidence-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.evidence-viz {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
  border: 1px solid var(--navy-soft);
  box-shadow: 0 30px 60px -18px rgba(11,31,63,0.3);
}
.evidence-viz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.evidence-viz-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.evidence-viz-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--coral);
  text-transform: uppercase;
}
.evidence-brands { display: flex; flex-direction: column; gap: 0.625rem; }
.evidence-brand-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}
.evidence-brand-row-track {
  position: relative;
  height: 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
}
.evidence-brand-row-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(30,196,221,0.7), rgba(30,196,221,0.3));
  border-right: 2px solid var(--cyan-bright);
  z-index: 0;
}
.evidence-brand-row-name {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 500;
}
.evidence-brand-row-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ---------- Audience cards ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }

.audience-card {
  padding: 2rem 1.75rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), transform var(--t-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}
.audience-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.audience-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.audience-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.audience-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
}
.audience-card .cap-link { color: var(--cyan); margin-top: 1rem; }

/* ---------- Book a demo (lead form) ---------- */
.lead-section {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(30,196,221,0.18) 0%, transparent 50%),
    var(--bg-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.lead-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .lead-grid { grid-template-columns: 1.05fr 1fr; gap: 5rem; align-items: center; }
}
.lead-content h2 { color: var(--white); margin-bottom: 1.25rem; }
.lead-content .lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 540px;
}
.lead-bullets { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.lead-bullets li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.9375rem;
}
.lead-bullets svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--cyan-bright);
  margin-top: 3px;
}
.lead-aux {
  margin-top: 2rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column;
  gap: 0.875rem; align-items: flex-start;
}
@media (min-width: 640px) {
  .lead-aux { flex-direction: row; align-items: center; justify-content: space-between; }
}
.lead-aux-text { font-size: 0.9375rem; color: rgba(255,255,255,0.7); }
.lead-aux-text strong { color: var(--white); font-weight: 600; }

.lead-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.lead-form-header { margin-bottom: 1.5rem; }
.lead-form h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text); }
.lead-form-sub { font-size: 0.875rem; color: var(--text-muted); }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field label .req { color: var(--coral); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(30,196,221,0.15);
}
.form-field textarea { min-height: 80px; resize: vertical; }
.lead-form-actions { margin-top: 1.5rem; }
.lead-form-actions .btn { width: 100%; justify-content: center; padding: 0.875rem 1.25rem; }
.lead-form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}
.lead-form-privacy a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-text { color: var(--white); }
.footer-tag {
  font-family: var(--font-display);
  color: var(--cyan-bright);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.55); max-width: 320px; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--cyan-bright); }
.footer-contact { font-size: 0.9375rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--cyan-bright); }

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--t-fast), color var(--t-fast);
}
.footer-social:hover { background: var(--cyan); color: var(--navy); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--cyan-bright); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 90;
  font-size: 0.875rem;
}
@media (min-width: 640px) { .cookie-banner { flex-direction: row; align-items: center; } }
.cookie-text { flex: 1; color: var(--text-body); }
.cookie-text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* Visually hidden but accessible */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Hide hero visual on very narrow */
@media (max-width: 539px) {
  .hero-visual { display: none; }
  .hero-inner { padding-top: 3rem; padding-bottom: 3rem; }
}

/* ====================== Interior page: Platform ====================== */
.page-hero {
  padding: clamp(7rem, 12vw, 9.5rem) 0 clamp(3rem, 6vw, 4.25rem);
  background: linear-gradient(180deg, var(--cyan-pale) 0%, rgba(232,248,251,0) 100%);
  position: relative;
}
.page-hero-inner { max-width: 760px; }
.page-hero h1 { margin: 1rem 0 1.25rem; font-size: clamp(2.1rem, 4.6vw, 3.25rem); letter-spacing: -0.03em; }
.page-hero .lead { font-size: 1.15rem; color: var(--text-body); line-height: 1.6; max-width: 640px; }

.jump-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.25rem; }
.jump-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 500; color: var(--text-body);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.jump-chip:hover { border-color: var(--cyan); color: var(--navy); box-shadow: 0 6px 16px -8px rgba(11,31,63,0.25); }
.jump-chip .num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--cyan); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* Offering deep-dives */
.offering { scroll-margin-top: 92px; }
.offering-body { display: grid; gap: 2rem; margin-top: 2.5rem; align-items: start; }
@media (min-width: 900px) { .offering-body { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }
.offering-prose p { font-size: 1.0625rem; color: var(--text-body); line-height: 1.65; }

.feature-list { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.95rem; color: var(--text-body); }
.feature-list svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }

.offering-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 16px 44px -20px rgba(11,31,63,0.2);
}
.offering-card h4 {
  font-size: 0.75rem; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--cyan); margin-bottom: 1.15rem;
}
.offering-card ul { display: grid; gap: 0.85rem; }
.offering-card li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9375rem; color: var(--text); line-height: 1.5; }
.offering-card li strong { color: var(--navy); font-weight: 600; }
.offering-card li svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--cyan); margin-top: 4px; }

/* End-to-end stack flow (dark section) */
.stack-flow { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 768px) { .stack-flow { grid-template-columns: repeat(4, 1fr); } }
.stack-step {
  padding: 1.5rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
}
.stack-step-num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--cyan-bright); letter-spacing: 0.14em; }
.stack-step h4 { color: var(--white); margin: 0.55rem 0 0.5rem; font-size: 1.05rem; }
.stack-step p { font-size: 0.875rem; color: rgba(255,255,255,0.72); line-height: 1.55; }

/* ====================== Platform detail pages ====================== */
/* Breadcrumb */
.breadcrumb { padding-top: 0.5rem; margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; font-size: 0.8rem; font-family: var(--font-mono); letter-spacing: 0.03em; color: var(--text-muted); }
.breadcrumb li { display: flex; align-items: center; gap: 0.45rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--navy); }
.breadcrumb .sep { color: var(--gray-300); }

/* CTA microcopy */
.btn-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.85rem; }
.price-anchor { font-size: 0.95rem; color: var(--text-body); margin: 0 0 1.1rem; }
.price-anchor strong { color: var(--navy); font-weight: 700; }
.price-anchor a { color: var(--cyan); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.price-anchor a:hover { color: var(--coral); }

/* FAQ — native details/summary, no JS */
.faq { display: grid; gap: 0.75rem; margin-top: 2.5rem; max-width: 840px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); overflow: hidden; transition: border-color var(--t-fast) var(--ease); }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.15rem 1.35rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform var(--t-base) var(--ease); flex-shrink: 0; margin-top: -3px; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.faq-item .faq-a { padding: 0 1.35rem 1.35rem; color: var(--text-body); font-size: 0.95rem; line-height: 1.65; }
.faq-item .faq-a p { margin-bottom: 0.75rem; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* "How it works" step cards (light) */
.how-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-step { padding: 1.6rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.section--subtle .how-step { background: var(--white); }
.how-step-num { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--cyan-pale); color: var(--navy); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.9rem; }
.how-step h4 { color: var(--navy); margin-bottom: 0.45rem; font-size: 1.05rem; }
.how-step p { font-size: 0.9rem; color: var(--text-body); line-height: 1.55; }

/* Platform hub — offering cards (light, clickable) */
.hub-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
.hub-card {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.85rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.hub-card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 16px 42px -18px rgba(11,31,63,0.22); }
.hub-card-num { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; color: var(--cyan); text-transform: uppercase; }
.hub-card h3 { font-size: 1.15rem; color: var(--navy); font-family: var(--font-display); letter-spacing: -0.015em; }
.hub-card-tagline { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--coral); text-transform: uppercase; margin-top: -0.25rem; }
.hub-card p { font-size: 0.9375rem; line-height: 1.55; color: var(--text-body); flex: 1; margin-top: 0.3rem; }
.hub-card-cta { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--cyan); font-weight: 600; font-size: 0.9rem; margin-top: 0.65rem; }
.hub-card-cta svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.hub-card:hover .hub-card-cta svg { transform: translateX(3px); }

/* Two-column page hero (interior pages with a visual) */
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: 1fr 0.82fr; gap: 3.25rem; } }
.page-hero-visual { min-width: 0; }
.page-hero-visual svg { width: 100%; height: auto; max-width: 540px; display: block; margin-left: auto; }
@media (max-width: 979px) { .page-hero-visual { display: none; } }

/* ============================================================
   Legal / policy pages (Cookie, Privacy, Terms)
   ============================================================ */
.legal-grid { display: grid; gap: 2rem; }
.legal-content { max-width: 760px; min-width: 0; }
.legal-updated { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.03em; color: var(--text-muted); margin-top: 1rem; }
.legal-toc {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.legal-toc-title {
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.85rem;
}
.legal-toc ol { list-style: none; display: grid; gap: 0.45rem; counter-reset: toc; margin: 0; padding: 0; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: inline-flex; gap: 0.55rem; font-size: 0.9rem; color: var(--text-body); line-height: 1.4; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan); }
.legal-toc a:hover { color: var(--navy); }

.legal-section { scroll-margin-top: 96px; }
.legal-section + .legal-section { margin-top: 2.75rem; }
.legal-section h2 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 0.9rem; }
.legal-section h3 { font-size: 1.075rem; margin: 1.6rem 0 0.55rem; }
.legal-section p { font-size: 1rem; line-height: 1.75; color: var(--text-body); margin-bottom: 1rem; }
.legal-section ul { margin: 0 0 1.25rem; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.legal-section li { font-size: 1rem; line-height: 1.7; color: var(--text-body); }
.legal-section a { color: var(--coral); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover { color: var(--coral-soft); }

.legal-table-wrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table thead th {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--navy); background: var(--cyan-pale);
}
.legal-table td:first-child { font-family: var(--font-mono); font-size: 0.8rem; color: var(--navy); }

.legal-callout {
  background: var(--cyan-pale); border: 1px solid var(--border); border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin: 1.5rem 0;
  font-size: 0.95rem; line-height: 1.65; color: var(--text-body);
}
.legal-callout p:last-child { margin-bottom: 0; }

@media (min-width: 980px) {
  .legal-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  .legal-toc { position: sticky; top: 96px; }
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 1.75rem; }
.pricing-toggle { display: inline-flex; align-items: center; background: var(--gray-100); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px; }
.pricing-toggle button { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--text-body); padding: 0.5rem 1.15rem; border-radius: var(--radius-pill); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.pricing-toggle button.is-active { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px -2px rgba(11,31,63,0.22); }
.pricing-save { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); background: var(--cyan-pale); border-radius: var(--radius-pill); padding: 0.25rem 0.7rem; }

.pricing-grid { display: grid; gap: 1.25rem; margin-top: 2.75rem; align-items: stretch; }
@media (min-width: 760px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }

.price-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.85rem 1.55rem; position: relative; }
.price-card--featured { border-color: var(--cyan); box-shadow: 0 24px 60px -28px rgba(30,196,221,0.55); }
@media (min-width: 1100px) { .price-card--featured { transform: translateY(-10px); } }
.price-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.32rem 0.8rem; border-radius: var(--radius-pill); white-space: nowrap; }
.price-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.price-for { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; min-height: 2.5em; line-height: 1.4; }
.price-amount { display: flex; align-items: baseline; gap: 0.3rem; margin: 1.2rem 0 0.2rem; min-height: 2.6rem; }
.price-amount .num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price-amount .custom { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price-amount .per { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.price-sub { font-size: 0.78rem; color: var(--text-muted); min-height: 1.2em; }
.price-divider { height: 1px; background: var(--border); margin: 1.35rem 0 1.1rem; }
.price-includes { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.85rem; }
.price-features { display: grid; gap: 0.6rem; margin: 0 0 1.6rem; padding: 0; list-style: none; flex: 1; }
.price-features li { display: flex; gap: 0.55rem; font-size: 0.875rem; color: var(--text-body); line-height: 1.45; }
.price-features svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--cyan); margin-top: 2px; }
.price-cta { display: grid; gap: 0.5rem; }
.price-cta .btn { width: 100%; justify-content: center; }
.price-microcopy { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 0.1rem; }
.price-microcopy a { color: var(--cyan); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.price-microcopy a:hover { color: var(--coral); }

/* Comparison matrix */
.compare-wrap { overflow-x: auto; margin-top: 2.75rem; border: 1px solid var(--border); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); text-align: center; }
.compare-table thead th { font-family: var(--font-display); font-size: 0.95rem; color: var(--navy); background: var(--gray-50); }
.compare-table thead th small { display: block; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0.04em; margin-top: 0.2rem; }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--navy); font-size: 0.9rem; }
.compare-table thead th:first-child { text-align: left; }
.compare-table .col-featured { background: rgba(30,196,221,0.06); }
.compare-yes { color: var(--cyan); display: inline-flex; }
.compare-no { color: var(--gray-300); font-weight: 600; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-price td, .compare-price th { font-family: var(--font-mono); color: var(--navy); font-weight: 600; background: var(--gray-50); }
