/* ==========================================================================
   ADVANTAGE LEADS LLC — Apple-inspired Design System
   Palette: Clean white + near-black + vibrant orange CTA
   Font: Inter (system-native SF Pro fallback)
   ========================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display',
               'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-body);

  /* Type scale (fluid) */
  --text-xs:   clamp(0.72rem,  0.68rem + 0.2vw,  0.8rem);
  --text-sm:   clamp(0.85rem,  0.8rem  + 0.25vw, 0.95rem);
  --text-base: clamp(0.95rem,  0.9rem  + 0.25vw, 1.05rem);
  --text-lg:   clamp(1.1rem,   1rem    + 0.5vw,  1.35rem);
  --text-xl:   clamp(1.4rem,   1.1rem  + 1.5vw,  2.2rem);
  --text-2xl:  clamp(2.2rem,   1.4rem  + 3.5vw,  4.2rem);
  --text-hero: clamp(2.8rem,   1.8rem  + 5vw,    6rem);

  /* Spacing */
  --sp-1:  0.25rem;  --sp-2:  0.5rem;   --sp-3:  0.75rem;
  --sp-4:  1rem;     --sp-5:  1.25rem;  --sp-6:  1.5rem;
  --sp-8:  2rem;     --sp-10: 2.5rem;   --sp-12: 3rem;
  --sp-16: 4rem;     --sp-20: 5rem;     --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container: 1120px;
  --container-narrow: 740px;

  /* Radius */
  --r-sm:  0.5rem;  --r-md: 0.875rem;
  --r-lg:  1.25rem; --r-xl:  2rem;
  --r-full: 9999px;

  /* Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --transition: 200ms var(--ease-spring);
}

/* ── LIGHT MODE (default) ───────────────────────────────────────────────── */
:root, [data-theme="light"] {
  --bg:            #ffffff;
  --bg-alt:        #f5f5f7;
  --bg-dark:       #1d1d1f;
  --surface:       #ffffff;
  --surface-raised:#f5f5f7;
  --border:        rgba(0,0,0,0.08);
  --divider:       rgba(0,0,0,0.06);

  --text:          #1d1d1f;
  --text-muted:    #6e6e73;
  --text-faint:    #a1a1a6;
  --text-inv:      #ffffff;

  --accent:        #ff6b2c;
  --accent-hover:  #e85a1e;
  --accent-light:  rgba(255,107,44,0.1);

  --nav-bg: rgba(255,255,255,0.72);
  --nav-border: rgba(0,0,0,0.1);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 16px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.12);
}

/* ── DARK MODE ──────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:            #000000;
  --bg-alt:        #111111;
  --bg-dark:       #000000;
  --surface:       #1c1c1e;
  --surface-raised:#2c2c2e;
  --border:        rgba(255,255,255,0.1);
  --divider:       rgba(255,255,255,0.06);

  --text:          #f5f5f7;
  --text-muted:    #98989d;
  --text-faint:    #636366;
  --text-inv:      #1d1d1f;

  --nav-bg: rgba(0,0,0,0.72);
  --nav-border: rgba(255,255,255,0.1);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 16px 40px rgba(0,0,0,0.5);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.6);
}

/* ── BASE ───────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-32));
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: var(--text-inv);
}
.section-dark h2 { color: var(--text-inv); }

/* ── SKIP LINK ──────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: var(--sp-4); left: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  background: var(--accent); color: white;
  border-radius: var(--r-sm); font-weight: 600; font-size: var(--text-sm);
  z-index: 9999; transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition),
              backdrop-filter var(--transition);
}
.header.scrolled {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--nav-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: var(--sp-2);
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.logo--footer { color: var(--text-muted); }
.logo-text span { color: var(--accent); }
.hero .logo, .hero ~ * .logo { }

/* Nav desktop */
.nav-desktop {
  display: flex; align-items: center; gap: var(--sp-8);
}
.nav-desktop a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  letter-spacing: 0;
  transition: color var(--transition);
}
.nav-desktop a:hover { color: var(--text); }

/* Nav CTA */
.btn-nav-cta {
  display: inline-flex; align-items: center;
  padding: 0.45em 1.1em;
  background: var(--accent); color: white !important;
  border-radius: var(--r-full);
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(255,107,44,0.35);
}
.btn-nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,107,44,0.4);
}

/* Header actions */
.header-actions {
  display: flex; align-items: center; gap: var(--sp-3);
}
.theme-toggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.theme-toggle:hover { background: var(--bg-alt); color: var(--text); }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  width: 36px; height: 36px;
  place-items: center;
  border-radius: var(--r-sm);
  color: var(--text);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--sp-4) clamp(1.25rem, 5vw, 3rem);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--nav-border);
  gap: var(--sp-1);
}
.nav-mobile a {
  display: block; padding: var(--sp-3) 0;
  font-size: 1rem; font-weight: 500; color: var(--text);
  text-decoration: none; border-bottom: 1px solid var(--divider);
  transition: color var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile.is-open { display: flex; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-menu-toggle { display: grid; }
}

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(var(--sp-16), 8vw, var(--sp-24));
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
  transform: scale(1.03);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.82) 80%,
    rgba(0,0,0,0.9) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-sm); font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.01em;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 3px rgba(48,209,88,0.25);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(48,209,88,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(48,209,88,0.1); }
}
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: var(--sp-6);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: var(--sp-8);
  font-weight: 400;
}
.hero-cta {
  display: flex; align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Primary button */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85em 1.9em;
  background: var(--accent);
  color: white;
  border-radius: var(--r-full);
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(255,107,44,0.4);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,44,0.45);
}

/* Ghost button (on dark bg) */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85em 1.6em;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute; bottom: var(--sp-8); left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block; width: 1.5px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  margin: 0 auto;
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Reveal animations */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-spring),
              transform 0.7s var(--ease-spring);
}
.reveal-up.revealed,
.hero .reveal-up {
  opacity: 1;
  transform: none;
}
.hero .reveal-up:nth-child(1) { transition-delay: 0.1s; }
.hero .reveal-up:nth-child(2) { transition-delay: 0.22s; }
.hero .reveal-up:nth-child(3) { transition-delay: 0.34s; }
.hero .reveal-up:nth-child(4) { transition-delay: 0.46s; }

/* Stagger delays for revealed */
.industries-grid .reveal-up:nth-child(2) { transition-delay: 0.08s; }
.industries-grid .reveal-up:nth-child(3) { transition-delay: 0.14s; }
.industries-grid .reveal-up:nth-child(4) { transition-delay: 0.2s; }
.industries-grid .reveal-up:nth-child(5) { transition-delay: 0.26s; }
.industries-grid .reveal-up:nth-child(6) { transition-delay: 0.32s; }
.features-grid .reveal-up:nth-child(2)   { transition-delay: 0.08s; }
.features-grid .reveal-up:nth-child(3)   { transition-delay: 0.16s; }
.features-grid .reveal-up:nth-child(4)   { transition-delay: 0.24s; }
.testimonials-grid .reveal-up:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal-up:nth-child(3) { transition-delay: 0.2s; }
.how-steps .reveal-up:nth-child(2) { transition-delay: 0.06s; }
.how-steps .reveal-up:nth-child(3) { transition-delay: 0.12s; }
.how-steps .reveal-up:nth-child(4) { transition-delay: 0.18s; }

/* ── STATS BAND ─────────────────────────────────────────────────────────── */
.stats-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(var(--sp-10), 4vw, var(--sp-16));
}
.stats-grid {
  display: flex; align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1; min-width: 130px;
  text-align: center;
  padding: var(--sp-4) var(--sp-8);
}
.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.stat-unit { font-size: 0.6em; color: var(--accent); }
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--sp-1);
  font-weight: 500;
}
.stat-divider {
  width: 1px; height: 60px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .stat-divider { display: none; }
  .stats-grid { gap: var(--sp-4); }
  .stat-item { min-width: calc(50% - var(--sp-4)); }
}

/* ── SECTION HEADERS ────────────────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(var(--sp-12), 5vw, var(--sp-20));
}
.section-header.center { text-align: center; }
.section-header.center .section-sub {
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.eyebrow--light { color: rgba(255,255,255,0.5); }

.section-header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
}
.section-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
  font-weight: 400;
}

/* ── INDUSTRIES GRID ────────────────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.industry-card {
  background: var(--surface);
  display: flex; flex-direction: column;
  transition: background var(--transition);
}
.industry-card:hover { background: var(--surface-raised); }

.card-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}
.industry-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-body {
  padding: var(--sp-6) var(--sp-8);
  flex: 1; display: flex; flex-direction: column;
}
.card-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.card-icon--light {
  background: rgba(255,255,255,0.12);
  color: white;
}
.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.card-body p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* Dark card variant */
.industry-card--dark {
  background: var(--bg-dark);
  color: white;
}
.industry-card--dark .card-body h3 { color: white; }
.industry-card--dark .card-body p  { color: rgba(255,255,255,0.6); }
.industry-card--dark:hover         { background: #2a2a2c; }

.card-cta {
  display: inline-flex; align-items: center;
  margin-top: auto; padding-top: var(--sp-6);
  font-size: 0.9rem; font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--transition);
  gap: 4px;
}
.card-cta:hover { gap: 8px; }

@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* ── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: center;
}

/* Visual side */
.how-visual { position: relative; }
.how-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.how-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.how-img-badge {
  position: absolute; bottom: var(--sp-6); left: var(--sp-6);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-5);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .how-img-badge {
  background: rgba(30,30,32,0.95);
}
.badge-number {
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--accent);
}
.badge-text {
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-muted);
}

/* Steps */
.how-content .section-header { margin-bottom: var(--sp-10); }

.how-steps {
  list-style: none;
  display: flex; flex-direction: column; gap: 0;
}
.how-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--divider);
  margin-bottom: var(--sp-8);
}
.how-step:last-child {
  border-bottom: none; margin-bottom: 0; padding-bottom: 0;
}
.step-num {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  padding-top: 0.3rem;
  flex-shrink: 0;
}
.step-body h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: var(--sp-2);
}
.step-body p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 800px) {
  .how-layout {
    grid-template-columns: 1fr;
  }
  .how-visual { order: -1; }
}

/* ── FEATURES GRID ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: clamp(var(--sp-12), 5vw, var(--sp-16));
}
.feature-card {
  background: var(--bg-alt);
  padding: var(--sp-8) var(--sp-8) var(--sp-10);
  display: flex; flex-direction: column;
  gap: var(--sp-4);
  transition: background var(--transition);
}
.feature-card:hover { background: var(--surface); }
.feature-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--bg);
  border-radius: var(--r-md);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
[data-theme="dark"] .feature-icon { background: var(--surface-raised); }
.feature-card h4 {
  font-size: 1rem; font-weight: 700; margin: 0;
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ── TESTIMONIALS ───────────────────────────────────────────────────────── */
.section-dark .section-header h2 { color: #f5f5f7; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: clamp(var(--sp-10), 4vw, var(--sp-16));
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-5);
  transition: background var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.09); }

.t-stars {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #ffd60a;
}
.testimonial-card blockquote {
  font-size: 1.0rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-weight: 400;
  flex: 1;
}
.t-author {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-top: auto;
}
.t-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}
.t-name {
  font-size: 0.875rem; font-weight: 700; color: #f5f5f7;
}
.t-role {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* ── CTA / CONTACT ──────────────────────────────────────────────────────── */
.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: start;
}

/* Left side */
.cta-left { padding-top: var(--sp-4); }
.cta-left h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
}
.cta-left > p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}
.cta-checklist {
  list-style: none;
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.cta-checklist li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: 0.9rem; font-weight: 500; color: var(--text);
}
.cta-checklist svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }

.cta-testimonial-mini {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.cta-testimonial-mini img {
  width: 44px; height: 44px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.cta-testimonial-mini p {
  font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 2px;
}
.cta-testimonial-mini span {
  font-size: 0.75rem; color: var(--text-muted);
}

/* ── FORM ───────────────────────────────────────────────────────────────── */
.lead-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-6), 4vw, var(--sp-10));
  box-shadow: var(--shadow-xl);
}
.form-header {
  margin-bottom: var(--sp-8);
}
.form-header h3 {
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: var(--sp-1);
}
.form-header p {
  font-size: var(--text-sm); color: var(--text-muted);
}

/* Progress bar */
.step-progress {
  height: 3px;
  background: var(--border);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: var(--sp-6);
}
.step-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: var(--r-full);
  transition: width 0.4s var(--ease-spring);
}

.step-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-6);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
}
.form-group {
  display: flex; flex-direction: column; gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.form-group label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7em 1em;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-group input.input-error,
.form-group select.input-error {
  border-color: #ff3b30;
  box-shadow: 0 0 0 3px rgba(255,59,48,0.15);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.optional { font-weight: 400; color: var(--text-faint); font-size: 0.85em; }

.btn-form-primary {
  width: 100%; padding: 0.85em;
  background: var(--accent); color: white;
  border: none; border-radius: var(--r-full);
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; letter-spacing: -0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(255,107,44,0.35);
}
.btn-form-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,44,0.4);
}
.btn-form-primary:disabled {
  opacity: 0.6; transform: none; cursor: not-allowed;
}

.btn-form-secondary {
  padding: 0.85em 1.5em;
  background: transparent; color: var(--text-muted);
  border: 1.5px solid var(--border); border-radius: var(--r-full);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-form-secondary:hover { border-color: var(--text-muted); color: var(--text); }

.form-nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-4);
}
.form-nav .btn-form-primary { flex: 1; }

.form-note {
  font-size: var(--text-xs); color: var(--text-faint);
  text-align: center; margin-top: var(--sp-4);
}

/* Form success */
.form-success {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-12), 6vw, var(--sp-16));
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.success-icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  margin: 0 auto var(--sp-6);
}
.form-success h3 {
  font-size: 1.5rem; font-weight: 800; margin-bottom: var(--sp-3);
}
.form-success p {
  color: var(--text-muted); line-height: 1.65;
}

@media (max-width: 900px) {
  .cta-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: clamp(var(--sp-12), 5vw, var(--sp-20));
  padding-bottom: clamp(var(--sp-8), 3vw, var(--sp-12));
}
.footer-top {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-tagline {
  font-size: var(--text-sm); color: var(--text-muted); max-width: 340px;
}
.footer-mid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-10);
  padding-block: var(--sp-10);
  border-bottom: 1px solid var(--border);
}
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: var(--sp-5);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col ul a {
  font-size: 0.9rem; color: var(--text-muted); text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--text); }

.btn-footer-cta {
  display: inline-flex; align-items: center;
  padding: 0.7em 1.4em;
  background: var(--accent); color: white;
  border-radius: var(--r-full);
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-footer-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.footer-bottom {
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--sp-8);
  font-size: var(--text-xs); color: var(--text-faint);
}

@media (max-width: 768px) {
  .footer-mid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-mid { grid-template-columns: 1fr; }
}

/* ── MISC ───────────────────────────────────────────────────────────────── */
/* Remove old unused classes that might be referenced */
.btn, .btn-accent, .btn-outline, .btn-submit,
.hero-badge, .hero-stats, .stat-card,
.section-header .section-eyebrow,
.industries-grid-old, .industry-icon,
.how-grid, .how-image, .features-row, .feature-item,
.testimonials-grid-old, .testimonial-avatar, .testimonial-stars,
.cta-grid, .cta-text, .cta-benefits,
.form-step .step-indicator, .step-dot, .form-nav-row {
  /* legacy classes — no styles needed */
}

/* Scrollbar (subtle) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }
