/* ========================================
   OTTA — DESIGN SYSTEM v2 (DSP Edition)
   Amazon DSP / Trade Desk aesthetic
   Sharp typography · Structured grid · Data-forward
   ======================================== */

/* ----------------------------------------
   DESIGN TOKENS
   ---------------------------------------- */
:root {
  /* Primary palette — teal preserved, DSP-sharpened */
  --teal: #E53F21;
  --teal-dark: #C4341A;
  --teal-light: #F06A4A;
  --teal-muted: #f5c4b8;
  --teal-wash: #fef0ec;
  --teal-hero: #fce8e4;

  /* DSP accent — precision gold */
  --gold: #2B333F;
  --gold-light: #d4d8de;
  --gold-bright: #3d4758;

  /* Neutrals — slightly cooler, more structured */
  --white: #ffffff;
  --gray-50: #f7f8f9;
  --gray-100: #eef0f2;
  --gray-150: #e5e8ec;
  --gray-200: #dce0e5;
  --gray-300: #c2c8ce;
  --gray-400: #969ea4;
  --gray-500: #686f76;
  --gray-600: #474d52;
  --gray-700: #2c3036;
  --gray-800: #1a1e24;
  --gray-900: #0e1016;

  /* Dashboard / panel colors */
  --panel-dark: #1a1e24;
  --panel-darker: #111418;
  --panel-border: rgba(229, 63, 33, 0.15);
  --panel-accent: #F06A4A;

  /* Semantic */
  --text-primary: #111418;
  --text-secondary: #474d52;
  --text-tertiary: #686f76;
  --text-on-red: #ffffff;
  --bg-page: #f2f2f4;
  --bg-card: #ffffff;
  --bg-hero: #fce8e4;

  /* ── DSP-grade type scale (tighter, more structured) */
  --text-xs: 0.6875rem;   /* 11px */
  --text-sm: 0.8125rem;   /* 13px */
  --text-base: 0.9375rem; /* 15px */
  --text-lg: 1.0625rem;   /* 17px */
  --text-xl: 1.1875rem;   /* 19px */
  --text-2xl: 1.4375rem;  /* 23px */
  --text-3xl: 1.75rem;    /* 28px */
  --text-4xl: 2.125rem;   /* 34px */
  --text-5xl: 2.75rem;    /* 44px */
  --text-hero: 3.25rem;   /* 52px */

  /* ── Sharper radius scale (less rounded, more structured) */
  --r-xs: 3px;
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-full: 9999px;

  /* Spacing — tighter, more precise */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* ── DSP-grade borders */
  --border-light: #dce5e5;
  --border-card: #cdd8d8;
  --border-accent: rgba(229, 63, 33, 0.3);

  /* ── Elevated shadow system (more contrast, more structured) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05), 0 0 0 1px rgba(0,0,0,0.03);
  --shadow-md: 0 3px 10px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(13,115,119,0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --duration: 0.18s;
  --duration-slow: 0.3s;
}

/* ----------------------------------------
   BASE TYPOGRAPHY — DSP-grade
   ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv11' 1;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ----------------------------------------
   LAYOUT
   ---------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-20) 0;
}
.section--gray  { background: var(--gray-50); }
.section--white { background: var(--white); }
.section--teal-wash { background: var(--teal-wash); }

/* ----------------------------------------
   NAVIGATION — DSP-grade
   ---------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(224, 240, 239, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229, 63, 33, 0.12);
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}
.nav--scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--border-light), 0 2px 12px rgba(0,0,0,0.05);
  border-bottom-color: var(--border-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 60px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-primary);
}
.nav__logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

/* Nav links */
.nav__links {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav__link {
  padding: 6px var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.nav__link:hover {
  color: var(--text-primary);
  background: rgba(229, 63, 33, 0.07);
}
.nav__link--active {
  color: var(--teal);
  background: rgba(229, 63, 33, 0.08);
  font-weight: 600;
}

/* Nav actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* ----------------------------------------
   BUTTONS — DSP-grade (sharper, stronger)
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  padding: 9px var(--sp-5);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.btn--primary {
  background: var(--teal);
  color: var(--text-on-teal);
  box-shadow: 0 1px 3px rgba(13,115,119,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn--primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 2px 8px rgba(13,115,119,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-1px);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(13,115,119,0.25);
}
.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid rgba(13,115,119,0.4);
}
.btn--outline:hover {
  border-color: var(--teal);
  background: rgba(229, 63, 33, 0.05);
}
.btn--outline-dark {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-card);
}
.btn--outline-dark:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}
.btn--lg {
  padding: 11px var(--sp-8);
  font-size: var(--text-base);
  border-radius: var(--r-lg);
}
.btn--sm {
  padding: 5px var(--sp-3);
  font-size: var(--text-xs);
  border-radius: var(--r-sm);
}
.btn--white {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.btn--white:hover {
  background: var(--gray-50);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--white);
  padding: var(--sp-20) var(--sp-8) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease);
}
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav__link {
  font-size: var(--text-2xl);
  font-weight: 600;
  padding: var(--sp-3) 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  letter-spacing: -0.01em;
}
.mobile-nav__link:hover { color: var(--teal); }
.mobile-nav__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
#close-mobile-nav {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-6);
  font-size: var(--text-2xl);
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
}

/* ----------------------------------------
   HERO — DSP-grade
   ---------------------------------------- */
.hero {
  background: var(--bg-hero);
  padding: calc(60px + var(--sp-16)) 0 var(--sp-16);
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

/* Subtle grid overlay — Trade Desk signature */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 63, 33, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 63, 33, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
/* Accent circle — right */
.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(229, 63, 33, 0.1);
  pointer-events: none;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  position: relative;
  z-index: 1;
}

.hero__left { max-width: 560px; }

/* DSP-grade hero headline — strong weight contrast */
.hero__headline {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  max-width: 460px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Decorative stars */
.hero__star {
  position: absolute;
  color: var(--gray-300);
  opacity: 0.4;
}
.hero__star--gold {
  color: var(--gold);
  opacity: 0.6;
}

/* ----------------------------------------
   DASHBOARD ILLUSTRATION — DSP-refined
   ---------------------------------------- */
.hero__right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 520px;
}

/* Main dashboard panel — sharper, more Trade Desk */
.dash-main {
  background: var(--panel-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.04);
}

.dash-main__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-4);
}
.dash-main__title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.dash-main__tabs {
  display: flex;
  gap: 2px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--r-sm);
  padding: 2px;
}
.dash-tab {
  font-size: var(--text-xs);
  padding: 3px 8px;
  border-radius: 3px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.dash-tab--active {
  background: var(--teal);
  color: white;
}

/* Chart bars */
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 96px;
  margin-bottom: var(--sp-4);
  padding: 0 var(--sp-2);
}
.dash-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  min-width: 10px;
  transition: height 0.4s var(--ease);
}
.dash-bar--teal { background: var(--teal); }
.dash-bar--teal-light { background: var(--teal-light); opacity: 0.6; }
.dash-bar--gold { background: var(--gold); }

/* Y-axis gridlines (DSP signature) */
.dash-chart-wrap {
  position: relative;
}
.dash-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.dash-grid-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.04);
}

/* Chart legend */
.dash-legend {
  display: flex;
  gap: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.dash-legend__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}
.dash-legend__dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

/* Floating panels — sharper */
.float-panel {
  position: absolute;
  background: var(--panel-dark);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  padding: var(--sp-4);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Donut chart panel */
.float-panel--donut {
  left: -30px;
  bottom: -20px;
  width: 128px;
}
.donut-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto var(--sp-2);
  position: relative;
}
.donut-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
}

/* Line chart panel */
.float-panel--line {
  right: -20px;
  top: 20px;
  width: 155px;
}
.float-panel__title {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}
.mini-chart { height: 40px; }
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
}
.mini-bars span {
  flex: 1;
  border-radius: 1px;
  min-width: 6px;
}

/* Map panel */
.float-panel--map {
  right: -40px;
  bottom: 30px;
  width: 175px;
  padding: var(--sp-3);
}
.map-placeholder {
  height: 68px;
  background: linear-gradient(135deg, rgba(17,153,158,0.12), rgba(13,115,119,0.06));
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, var(--teal-light) 2px, transparent 2px),
    radial-gradient(circle at 55% 60%, var(--teal-light) 2px, transparent 2px),
    radial-gradient(circle at 75% 35%, var(--gold) 2px, transparent 2px),
    radial-gradient(circle at 45% 25%, var(--teal-light) 2px, transparent 2px);
}

/* ----------------------------------------
   STATS BAR — DSP data-metric styling
   ---------------------------------------- */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--sp-8) 0;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1);
}

/* Data-metric card — Trade Desk flavor */
.stat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  border: 1px solid var(--border-light);
  position: relative;
  transition: border-color var(--duration) var(--ease);
}
.stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: var(--teal);
  border-radius: 0 2px 2px 0;
  opacity: 0.7;
}
.stat-card:hover {
  border-color: var(--border-accent);
}
.stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--teal-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

/* DSP-grade metric number */
.stat-card__value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-card__label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ----------------------------------------
   SECTION HEADINGS — DSP-grade
   ---------------------------------------- */
.section-heading {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.section-heading--white { color: var(--white); }
.section-subhead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 600px;
  font-weight: 400;
}
.section-subhead--light { color: rgba(255,255,255,0.6); }

/* ----------------------------------------
   EYEBROW — DSP-grade (tighter, sharper)
   ---------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
}
.eyebrow--white { color: rgba(255,255,255,0.45); }
.eyebrow__line {
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ----------------------------------------
   FEATURE CARDS — DSP-grade structured
   ---------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--sp-5);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Card — sharper, more structured, data-forward */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: box-shadow var(--duration-slow) var(--ease),
              border-color var(--duration-slow) var(--ease),
              transform var(--duration) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(13,115,119,0.2);
  transform: translateY(-2px);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--teal-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}
.card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}
.card__body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Dark card variant */
.card--dark {
  background: var(--panel-dark);
  border-color: rgba(255,255,255,0.05);
}
.card--dark:hover {
  border-color: rgba(17,153,158,0.2);
}
.card--dark .card__title { color: white; }
.card--dark .card__body  { color: rgba(255,255,255,0.55); }
.card--dark .card__icon  { background: rgba(13,115,119,0.18); }
.card--dark .card__icon svg { color: var(--teal-light); }

/* ----------------------------------------
   FEATURE SPLIT — Text + Visual
   ---------------------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.feature-text {}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.feature-list__item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: var(--teal-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}
.feature-list__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}
.feature-list__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ----------------------------------------
   DARK SECTION
   ---------------------------------------- */
.section--dark {
  background: var(--panel-dark);
  padding: var(--sp-20) 0;
}
.section--teal {
  background: var(--teal);
  padding: var(--sp-20) 0;
}

/* ----------------------------------------
   PROCESS STEPS — DSP-grade
   ---------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.step {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  transition: border-color var(--duration-slow) var(--ease),
              box-shadow var(--duration-slow) var(--ease);
}
.step:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--teal-wash);
  color: var(--teal);
  font-weight: 800;
  font-size: var(--text-lg);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}
.step__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}
.step__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Dark variant steps */
.section--dark .step {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.05);
}
.section--dark .step:hover {
  border-color: rgba(17,153,158,0.25);
  background: rgba(255,255,255,0.04);
}
.section--dark .step__num {
  background: rgba(13,115,119,0.22);
  color: var(--teal-light);
}
.section--dark .step__title { color: white; }
.section--dark .step__body  { color: rgba(255,255,255,0.5); }

/* ----------------------------------------
   LOGO MARQUEE
   ---------------------------------------- */
.marquee-section {
  padding: var(--sp-8) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-5);
}
.marquee-track {
  display: flex;
  gap: var(--sp-12);
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-logo {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-tertiary);
  white-space: nowrap;
  opacity: 0.45;
  letter-spacing: 0.02em;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------------------------------------
   CTA SECTION — DSP-grade
   ---------------------------------------- */
.cta-section {
  background: var(--teal);
  padding: var(--sp-20) 0;
  position: relative;
  overflow: hidden;
}
/* Subtle grid texture on CTA */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-section__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-heading {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cta-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--sp-8);
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ----------------------------------------
   PAGE HERO (Interior pages)
   ---------------------------------------- */
.page-hero {
  background: var(--bg-hero);
  padding: calc(60px + var(--sp-16)) 0 var(--sp-16);
  position: relative;
  overflow: hidden;
}
/* Grid overlay on page heroes */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 63, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 63, 33, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-hero__inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.page-hero__eyebrow {
  margin-bottom: var(--sp-5);
}
.page-hero__headline {
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: var(--sp-5);
}
.page-hero__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  max-width: 580px;
  font-weight: 400;
}

/* ----------------------------------------
   FOOTER — DSP-grade
   ---------------------------------------- */
.footer {
  background: var(--gray-800);
  padding: var(--sp-16) 0 var(--sp-10);
  border-top: 3px solid var(--teal-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.footer__logo-text {
  font-size: var(--text-lg);
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
}
.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  max-width: 260px;
}
.footer__col-head {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--sp-4);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--duration);
}
.footer__link:hover { color: white; }
.footer__bottom {
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}
.footer__legal {
  display: flex;
  gap: var(--sp-6);
}
.footer__legal-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  transition: color var(--duration);
}
.footer__legal-link:hover { color: rgba(255,255,255,0.55); }

/* ----------------------------------------
   LINK ARROW
   ---------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--duration) var(--ease), color var(--duration) var(--ease);
}
.link-arrow:hover {
  gap: var(--sp-3);
  color: var(--teal-dark);
}
.link-arrow svg {
  width: 13px;
  height: 13px;
}

/* ----------------------------------------
   SCROLL REVEAL
   ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

/* ----------------------------------------
   PACKAGE CARDS — DSP-grade
   ---------------------------------------- */
.package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  max-width: 900px;
  margin: 0 auto;
}
.package-card {
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--duration-slow) var(--ease),
              border-color var(--duration-slow) var(--ease);
}
.package-card--light {
  background: var(--white);
  border: 1px solid var(--border-card);
}
.package-card--light:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}
.package-card--dark {
  background: var(--panel-dark);
  border: 1px solid rgba(255,255,255,0.05);
}
.package-card--dark:hover {
  border-color: rgba(17,153,158,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.package-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px var(--sp-3);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-5);
  width: fit-content;
}
.package-badge--teal {
  background: var(--teal-wash);
  color: var(--teal);
  border: 1px solid rgba(13,115,119,0.15);
}
.package-badge--white {
  background: var(--gray-100);
  color: var(--text-tertiary);
  border: 1px solid var(--border-light);
}
.package-name {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.015em;
}
.package-card--dark .package-name { color: white; }
.package-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}
.package-card--dark .package-desc { color: rgba(255,255,255,0.55); }
.package-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.package-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.package-card--dark .package-feature { color: rgba(255,255,255,0.5); }
.check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}
.check-icon svg { width: 100%; height: 100%; }

/* ----------------------------------------
   TARGETING GRID — DSP-grade (6-card)
   ---------------------------------------- */
.targeting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.target-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: background var(--duration-slow) var(--ease),
              border-color var(--duration-slow) var(--ease);
}
.target-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(17,153,158,0.2);
}
.target-card__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: rgba(13,115,119,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}
.target-card__icon svg {
  width: 16px;
  height: 16px;
  color: var(--teal-light);
}
.target-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.005em;
}
.target-card__body {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ----------------------------------------
   TEAM CARDS — DSP-grade (About page)
   ---------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* 4th card centering when grid is 3-col */
.team-grid .team-card:nth-child(4) {
  grid-column: 2;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
  transition: border-color var(--duration-slow) var(--ease),
              box-shadow var(--duration-slow) var(--ease);
  position: relative;
  overflow: hidden;
}
/* Teal top accent bar */
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease);
}
.team-card:hover {
  border-color: rgba(13,115,119,0.2);
  box-shadow: var(--shadow-card-hover);
}
.team-card:hover::before {
  opacity: 1;
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal-wash);
  margin: 0 auto var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--teal);
  border: 2px solid rgba(13,115,119,0.12);
}
.team-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.team-card__role {
  font-size: var(--text-xs);
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}
.team-card__bio {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* NeuLion tag on team cards */
.team-card__tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  background: var(--gray-100);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xs);
  padding: 2px 6px;
  margin-bottom: var(--sp-3);
}

/* ----------------------------------------
   CONTACT FORM — DSP-grade
   ---------------------------------------- */
.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-input,
.form-textarea {
  padding: 10px var(--sp-4);
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  font-size: var(--text-base);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  font-family: inherit;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.1);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ----------------------------------------
   DATA DIVIDER — DSP signature element
   New component: horizontal rule with data label
   ---------------------------------------- */
.data-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: var(--sp-8) 0;
}
.data-divider::before,
.data-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}
.data-divider__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  white-space: nowrap;
}

/* ----------------------------------------
   METRIC BADGE — DSP inline KPI
   New component
   ---------------------------------------- */
.metric-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  background: var(--teal-wash);
  border: 1px solid rgba(13,115,119,0.15);
  border-radius: var(--r-sm);
  padding: 3px var(--sp-3);
}
.metric-badge__val {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.metric-badge__unit {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal-light);
}

/* ----------------------------------------
   SECTION RULE — Precision accent
   ---------------------------------------- */
.section-rule {
  width: 40px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: var(--sp-6);
}
.section-rule--white {
  background: rgba(255,255,255,0.4);
}
.section-rule--center {
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------
   UTILITY CLASSES
   ---------------------------------------- */
.text-center { text-align: center; }
.mb-2  { margin-bottom: var(--sp-2); }
.mb-3  { margin-bottom: var(--sp-3); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-5  { margin-bottom: var(--sp-5); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-10 { margin-bottom: var(--sp-10); }
.mb-12 { margin-bottom: var(--sp-12); }
.mb-16 { margin-bottom: var(--sp-16); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .hero__right { display: none; }
  .hero__headline { font-size: var(--text-5xl); }
  .feature-split { grid-template-columns: 1fr; gap: var(--sp-10); }
  .feature-split > * { order: unset !important; }
  .card-grid--3 { grid-template-columns: 1fr 1fr; }
  .stats-bar__inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .steps { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .package-grid { grid-template-columns: 1fr; }
  .targeting-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid .team-card:nth-child(4) { grid-column: unset; }
  .page-hero__headline { font-size: var(--text-5xl); }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__actions { display: none; }
  .nav-toggle { display: flex; }
  .hero {
    padding: calc(60px + var(--sp-10)) 0 var(--sp-10);
  }
  .hero__headline { font-size: var(--text-4xl); }
  .page-hero__headline { font-size: var(--text-4xl); }
  .section { padding: var(--sp-16) 0; }
  .section-heading { font-size: var(--text-3xl); }
  .cta-heading { font-size: var(--text-3xl); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }
  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid .team-card:nth-child(4) { grid-column: unset; }
  .stats-bar__inner { grid-template-columns: 1fr; }
}
