﻿/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --blue: #5bc8f5;
  --blue-mid: #2aaee0;
  --blue-deep: #1880b0;
  --purple: #9b7ee8;
  --purple-mid: #7b5ea7;
  --purple-deep: #5b3f8a;
  --green: #22c87a;
  --orange: #f5a623;
  --red: #f05a5a;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --grad-h: linear-gradient(135deg, #7de8ff 0%, #bba5ff 100%);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

[data-theme="dark"] {
  --bg: #05050e;
  --bg2: #0a0a1a;
  --bg3: #0f0f22;
  --bg4: #141430;
  --surface: rgba(255, 255, 255, 0.042);
  --surface-hov: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.075);
  --border-md: rgba(255, 255, 255, 0.14);
  --border-acc: rgba(91, 200, 245, 0.28);
  --text: #eeeeff;
  --text-2: rgba(238, 238, 255, 0.62);
  --text-3: rgba(238, 238, 255, 0.35);
  --text-inv: #0d0d1a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
  --card-bg: #0f0f22;
  --nav-bg: rgba(5, 5, 14, 0.88);
  --grid-color: rgba(255, 255, 255, 0.028);
}

[data-theme="light"] {
  --bg: #f6f6fc;
  --bg2: #ffffff;
  --bg3: #f0f0f8;
  --bg4: #e8e8f2;
  --surface: rgba(0, 0, 0, 0.032);
  --surface-hov: rgba(0, 0, 0, 0.058);
  --border: rgba(0, 0, 0, 0.085);
  --border-md: rgba(0, 0, 0, 0.14);
  --border-acc: rgba(42, 174, 224, 0.3);
  --text: #0b0b1e;
  --text-2: rgba(11, 11, 30, 0.58);
  --text-3: rgba(11, 11, 30, 0.35);
  --text-inv: #ffffff;
  --shadow: 0 24px 80px rgba(11, 11, 30, 0.1);
  --shadow-sm: 0 4px 20px rgba(11, 11, 30, 0.07);
  --card-bg: #ffffff;
  --nav-bg: rgba(246, 246, 252, 0.92);
  --grid-color: rgba(0, 0, 0, 0.038);
  --blue: #1e9fd4;
  --blue-mid: #1880b0;
  --purple: #7b5ea7;
  --purple-mid: #5b3f8a;
  --grad: linear-gradient(135deg, #1e9fd4 0%, #7b5ea7 100%);
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  transition:
    background 0.45s,
    color 0.45s;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  height: 2px;
  width: 0%;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(91, 200, 245, 0.55);
  pointer-events: none;
}

* {
  cursor: none !important;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(91, 200, 245, 0.28);
  color: var(--text);
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-inv);
  background: var(--blue);
  border-radius: 0 0 var(--radius-sm) 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  outline: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px var(--blue);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.theme-toggle:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.social-btn:focus-visible {
  outline-offset: 2px;
}

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

html.reduce-motion * {
  cursor: auto !important;
}

html.reduce-motion #dot,
html.reduce-motion #ring {
  display: none !important;
}

html.reduce-motion .r {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.reduce-motion .btn::after {
  display: none;
}

/* ── CURSOR ── */
#dot,
#ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

#dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  transition:
    transform 0.12s,
    background 0.2s,
    width 0.2s,
    height 0.2s;
}

#ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(91, 200, 245, 0.45);
  transition:
    transform 0.38s cubic-bezier(0.23, 1, 0.32, 1),
    width 0.25s,
    height 0.25s,
    border-color 0.25s,
    opacity 0.25s;
}

[data-theme="light"] #ring {
  border-color: rgba(30, 159, 212, 0.4);
}

/* ── BG GRID ── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 20%,
    black 0%,
    transparent 100%
  );
}

/* ── ORBS ── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  transition: opacity 0.45s;
  will-change: transform;
}

[data-theme="dark"] .orb-a {
  width: 700px;
  height: 700px;
  background: rgba(91, 200, 245, 0.065);
  top: -200px;
  right: -150px;
  animation: orbA 20s ease-in-out infinite;
}

[data-theme="dark"] .orb-b {
  width: 600px;
  height: 600px;
  background: rgba(155, 126, 232, 0.07);
  bottom: 0;
  left: -150px;
  animation: orbB 25s ease-in-out infinite;
}

[data-theme="dark"] .orb-c {
  width: 400px;
  height: 400px;
  background: rgba(91, 200, 245, 0.04);
  top: 55%;
  left: 48%;
  animation: orbC 18s ease-in-out infinite;
}

[data-theme="light"] .orb-a {
  width: 700px;
  height: 700px;
  background: rgba(30, 159, 212, 0.07);
  top: -200px;
  right: -150px;
  animation: orbA 20s ease-in-out infinite;
}

[data-theme="light"] .orb-b {
  width: 600px;
  height: 600px;
  background: rgba(123, 94, 167, 0.07);
  bottom: 0;
  left: -150px;
  animation: orbB 25s ease-in-out infinite;
}

[data-theme="light"] .orb-c {
  width: 400px;
  height: 400px;
  background: rgba(30, 159, 212, 0.05);
  top: 55%;
  left: 48%;
  animation: orbC 18s ease-in-out infinite;
}

@keyframes orbA {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-60px, 80px);
  }
}

@keyframes orbB {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(70px, -50px);
  }
}

@keyframes orbC {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.4);
  }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s,
    border-color 0.4s,
    backdrop-filter 0.4s;
}

nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-mark-sm {
  width: 32px;
  height: 32px;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav-wordmark em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-center {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-link.is-active {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-acc);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
  width: 52px;
  height: 28px;
  background: var(--bg4);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}

.theme-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] .theme-toggle::after {
  transform: translateX(24px);
}

.toggle-icons {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  pointer-events: none;
}

.toggle-icons svg {
  width: 12px;
  height: 12px;
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  padding: 0.55rem 1.35rem;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn:hover::after {
  left: 160%;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-md);
  color: var(--text-2);
}

.btn-outline:hover {
  background: var(--surface);
  color: var(--text);
}

.btn-solid {
  background: var(--grad);
  color: #fff;
}

.btn-solid:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 2.1rem;
  font-size: 0.96rem;
  border-radius: 14px;
}

.btn-xl {
  padding: 1rem 2.4rem;
  font-size: 1.02rem;
  border-radius: 16px;
}

/* ── SHARED SECTION STYLES ── */
section {
  position: relative;
  z-index: 2;
  padding: 7rem 5%;
}

.inner {
  max-width: 1180px;
  margin: 0 auto;
}

.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-acc);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.s-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.s-body {
  font-size: 1.02rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 580px;
}

.g {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-acc);
  border-radius: 100px;
  padding: 0.38rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 2rem;
  animation: riseIn 0.9s 0.1s both;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: blink 2.2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 920px;
  animation: riseIn 0.9s 0.2s both;
}

.hero-h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-2);
  max-width: 620px;
  line-height: 1.75;
  animation: riseIn 0.9s 0.35s both;
}

.hero-actions {
  margin-top: 2.8rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: riseIn 0.9s 0.5s both;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-3);
  animation: riseIn 0.9s 0.6s both;
}

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: riseIn 0.9s 0.65s both;
}

.trust-avatars {
  display: flex;
}

.trust-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-av:first-child {
  margin-left: 0;
}

.av-1 {
  background: linear-gradient(135deg, #5bc8f5, #9b7ee8);
}

.av-2 {
  background: linear-gradient(135deg, #9b7ee8, #1880b0);
}

.av-3 {
  background: linear-gradient(135deg, #2aaee0, #5b3f8a);
}

.av-4 {
  background: linear-gradient(135deg, #22c87a, #2aaee0);
}

.av-5 {
  background: linear-gradient(135deg, #f5a623, #9b7ee8);
}

.trust-text {
  font-size: 0.8rem;
  color: var(--text-2);
}

.trust-text strong {
  color: var(--text);
}

.trust-sep {
  width: 1px;
  height: 20px;
  background: var(--border-md);
}

.trust-stars {
  color: #f5a623;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.trust-rate {
  font-size: 0.8rem;
  color: var(--text-2);
}

/* ── HERO DASHBOARD ── */
.hero-dashboard {
  margin-top: 5rem;
  position: relative;
  max-width: 1040px;
  width: 100%;
  animation: riseIn 1s 0.7s both;
}

.dash-window {
  background: var(--card-bg);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dash-titlebar {
  background: var(--bg4);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dot-row {
  display: flex;
  gap: 7px;
}

.dot-r {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #28ca41;
}

.dash-url {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.28rem 1rem;
  max-width: 380px;
  margin: 0 auto;
}

.dash-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  min-height: 400px;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin: 0.7rem 0 0.25rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s;
}

.sidebar-item.active {
  background: var(--surface-hov);
  color: var(--text);
}

.si-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}

.sidebar-item.active .si-dot {
  background: var(--blue);
}

.dash-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Attribution header row */
.dash-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.dash-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.date-range {
  font-size: 0.7rem;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.22rem 0.65rem;
}

/* Channel metrics */
.ch-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.ch-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
}

.ch-platform {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.ch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ch-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
}

.ch-roas {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.ch-roas.good {
  color: var(--green);
}

.ch-roas.warn {
  color: var(--orange);
}

.ch-roas.info {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ch-sub {
  font-size: 0.66rem;
  color: var(--text-3);
  margin-top: 0.2rem;
}

.ch-delta {
  font-size: 0.66rem;
  margin-top: 0.15rem;
}

.ch-delta.up {
  color: var(--green);
}

.ch-delta.dn {
  color: var(--red);
}

/* Attribution chart area */
.dash-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  overflow: hidden;
}

.chart-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ct-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(34, 200, 122, 0.12);
  color: var(--green);
  padding: 0.15rem 0.45rem;
  border-radius: 100px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 65px;
}

.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--surface-hov);
  min-height: 5px;
}

.bar.hi {
  background: linear-gradient(180deg, var(--blue), var(--blue-mid));
}

.bar.med {
  background: linear-gradient(180deg, var(--purple), var(--purple-mid));
}

.bar.lo {
  background: var(--surface-hov);
}

/* Donut chart replacement */
.funnel-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.funnel-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.funnel-label {
  font-size: 0.68rem;
  color: var(--text-2);
  width: 72px;
  flex-shrink: 0;
}

.funnel-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--surface-hov);
  border-radius: 3px;
  overflow: hidden;
}

.funnel-bar-fill {
  height: 100%;
  border-radius: 3px;
}

.funnel-pct {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}

.ai-insight {
  background: linear-gradient(
    135deg,
    rgba(91, 200, 245, 0.07),
    rgba(155, 126, 232, 0.07)
  );
  border: 1px solid var(--border-acc);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: var(--text-2);
  line-height: 1.55;
}

.ai-chip {
  flex-shrink: 0;
  background: var(--grad);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.05rem;
}

/* ── MARQUEE ── */
.marquee-wrap {
  position: relative;
  z-index: 2;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
}

.marquee-fade-l,
.marquee-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-l {
  left: 0;
  background: linear-gradient(90deg, var(--bg2), transparent);
}

.marquee-fade-r {
  right: 0;
  background: linear-gradient(-90deg, var(--bg2), transparent);
}

.marquee-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  white-space: nowrap;
  z-index: 3;
  background: var(--bg2);
  padding: 0 0.75rem;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  align-items: center;
  padding: 0 2rem;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-3);
  white-space: nowrap;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.marquee-item:hover {
  color: var(--text);
}

.marquee-sep {
  color: var(--text-3);
  opacity: 0.4;
  font-size: 0.6rem;
}

.m-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ── CAPABILITIES ── */
.cap-section {
  background: var(--bg);
}

.cap-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.cap-header .s-h2 {
  max-width: 700px;
  margin: 0 auto 1.25rem;
}

.cap-header .s-body {
  margin: 0 auto;
  text-align: center;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cap-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: transparent;
  transition: background 0.3s;
}

.cap-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.cap-card:hover::before {
  background: var(--grad);
}

.cap-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.ci-blue {
  background: linear-gradient(
    135deg,
    rgba(91, 200, 245, 0.15),
    rgba(91, 200, 245, 0.05)
  );
  border: 1px solid rgba(91, 200, 245, 0.2);
}

.ci-purple {
  background: linear-gradient(
    135deg,
    rgba(155, 126, 232, 0.15),
    rgba(155, 126, 232, 0.05)
  );
  border: 1px solid rgba(155, 126, 232, 0.2);
}

.ci-mix {
  background: linear-gradient(
    135deg,
    rgba(91, 200, 245, 0.08),
    rgba(155, 126, 232, 0.12)
  );
  border: 1px solid rgba(155, 126, 232, 0.15);
}

.ci-green {
  background: linear-gradient(
    135deg,
    rgba(34, 200, 122, 0.15),
    rgba(34, 200, 122, 0.05)
  );
  border: 1px solid rgba(34, 200, 122, 0.2);
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cap-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.cap-tag {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

/* ── WHY DIFFERENT — BENTO ── */
.diff-section {
  background: var(--bg2);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-acc);
}

.bc-1 {
  grid-column: 1/3;
}

.bc-2 {
  grid-column: 3/4;
}

.bc-3 {
  grid-column: 1/2;
}

.bc-4 {
  grid-column: 2/4;
}

.bento-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.bento-card p {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.bento-tag {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
  border: 1px solid var(--border-acc);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

.bv-bar {
  height: 6px;
  background: var(--surface-hov);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.3rem 0 0.6rem;
}

.bv-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--grad);
}

.bv-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-2);
}

/* Competitor comparison table */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.cmp-table th {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  padding: 0 0.5rem 0.5rem;
  text-align: left;
}

.cmp-table td {
  font-size: 0.76rem;
  color: var(--text-2);
  padding: 0.38rem 0.5rem;
  border-top: 1px solid var(--border);
}

.cmp-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.cmp-check {
  color: var(--green);
  font-weight: 700;
}

.cmp-cross {
  color: var(--text-3);
}

.cmp-table tr.hl td {
  background: rgba(91, 200, 245, 0.04);
}

[data-theme="light"] .cmp-table tr.hl td {
  background: rgba(30, 159, 212, 0.04);
}

/* Automation pipeline visual */
.auto-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.auto-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--text-2);
}

.auto-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.asn-1 {
  background: rgba(91, 200, 245, 0.15);
  color: var(--blue);
}

.asn-2 {
  background: rgba(155, 126, 232, 0.15);
  color: var(--purple);
}

.asn-3 {
  background: rgba(34, 200, 122, 0.15);
  color: var(--green);
}

.asn-4 {
  background: rgba(245, 166, 35, 0.15);
  color: var(--orange);
}

.auto-arrow {
  font-size: 0.55rem;
  color: var(--text-3);
  padding-left: 1.25rem;
}

/* ── PROCESS ── */
.process-section {
  background: var(--bg);
}

.process-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 1rem;
}

.process-steps {
  padding-top: 0.5rem;
}

.p-step {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.p-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 56px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--border-acc), transparent);
}

.p-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-acc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  z-index: 1;
}

.p-content {
  padding-top: 0.5rem;
}

.p-content h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.p-content p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 380px;
}

.process-visual {
  position: sticky;
  top: 120px;
}

.pv-card {
  background: var(--card-bg);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pv-header {
  background: var(--bg4);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pv-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.pv-badge {
  background: var(--grad);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pv-body {
  padding: 1.5rem;
}

/* Attribution waterfall visual */
.attr-waterfall {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.aw-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.aw-label {
  font-size: 0.7rem;
  color: var(--text-2);
  width: 68px;
  flex-shrink: 0;
  text-align: right;
}

.aw-bar-wrap {
  flex: 1;
  height: 22px;
  background: var(--surface);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.aw-bar-fill {
  height: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
}

.aw-bar-fill span {
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
}

.aw-credits {
  font-size: 0.68rem;
  color: var(--text-3);
  width: 38px;
  text-align: right;
}

.spend-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.ss-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  text-align: center;
}

.ss-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.ss-val.g {
  color: var(--green);
}

.ss-val.w {
  color: var(--orange);
}

.ss-val.b {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ss-lbl {
  font-size: 0.6rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

/* ── METRICS STRIP ── */
.metrics-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
  padding: 5rem 5%;
}

.metrics-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 700px 300px at 50% 50%,
    rgba(91, 200, 245, 0.04),
    transparent
  );
}

[data-theme="light"] .metrics-strip::before {
  background: radial-gradient(
    ellipse 700px 300px at 50% 50%,
    rgba(30, 159, 212, 0.05),
    transparent
  );
}

.metrics-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.m-tile {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background 0.3s;
}

.m-tile:hover {
  background: var(--surface-hov);
}

.m-val {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.m-lbl {
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 500;
}

.m-desc {
  font-size: 0.7rem;
  color: var(--text-3);
  margin-top: 0.2rem;
}

/* ── INTEGRATIONS ── */
.integrations-section {
  background: var(--bg);
}

.int-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.int-header .s-h2 {
  max-width: 600px;
  margin: 0 auto 1rem;
}

.int-header .s-body {
  margin: 0 auto;
  text-align: center;
}

.int-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.int-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.int-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.int-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.int-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

.int-cat {
  font-size: 0.62rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.int-more {
  grid-column: 1/-1;
  text-align: center;
  margin-top: 1.5rem;
}

.int-more p {
  font-size: 0.85rem;
  color: var(--text-2);
}

.int-more a {
  color: var(--blue);
}

/* ── TESTIMONIALS ── */
.test-section {
  background: var(--bg2);
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.test-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.test-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.test-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.star {
  color: #f5a623;
  font-size: 0.85rem;
}

.test-quote {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.test-quote strong {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.test-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.av-blue {
  background: linear-gradient(135deg, var(--blue-mid), var(--purple-mid));
}

.av-purple {
  background: linear-gradient(135deg, var(--purple-mid), var(--blue-deep));
}

.av-mix {
  background: linear-gradient(135deg, var(--blue-deep), var(--purple-deep));
}

.av-green {
  background: linear-gradient(135deg, #22c87a, var(--blue-mid));
}

.test-info {
  flex: 1;
}

.test-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.test-role {
  font-size: 0.75rem;
  color: var(--text-3);
}

.test-metric {
  margin-left: auto;
  text-align: right;
}

.tm-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green);
}

.tm-lbl {
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── INVESTOR STRIP ── */
.investor-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.inv-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.5rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.inv-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-align: center;
}

.inv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.inv-stat {
  text-align: center;
}

.inv-stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.inv-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-2);
  margin-top: 0.25rem;
}

.inv-quote {
  max-width: 600px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
}

.inv-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ── PRICING ── */
.pricing-section {
  background: var(--bg2);
  position: relative;
}

.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 800px 400px at 50% 0%,
    rgba(155, 126, 232, 0.04),
    transparent
  );
}

[data-theme="light"] .pricing-section::before {
  background: radial-gradient(
    ellipse 800px 400px at 50% 0%,
    rgba(123, 94, 167, 0.05),
    transparent
  );
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-header .s-tag {
  justify-content: center;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  margin: 1.5rem auto;
}

.pt-opt {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.25rem;
  border-radius: 100px;
  color: var(--text-3);
  transition: all 0.2s;
}

.pt-opt.active {
  background: var(--card-bg);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.save-badge {
  background: rgba(34, 200, 122, 0.15);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--border-acc);
  background: linear-gradient(
    135deg,
    rgba(91, 200, 245, 0.05),
    rgba(155, 126, 232, 0.05)
  );
}

[data-theme="light"] .price-card.featured {
  background: linear-gradient(
    135deg,
    rgba(30, 159, 212, 0.05),
    rgba(123, 94, 167, 0.05)
  );
}

.price-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
}

.featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--grad);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

.plan-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 0.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 1rem 0 0.3rem;
}

.price-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 0.82rem;
  color: var(--text-3);
}

.plan-sub {
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-2);
}

.feat-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 200, 122, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  color: var(--green);
}

.feat-x {
  background: var(--surface);
  color: var(--text-3);
}

.plan-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.8rem;
  font-size: 0.92rem;
}

.plan-btn.outline {
  border: 1px solid var(--border-md);
  color: var(--text-2);
  background: transparent;
}

.plan-btn.outline:hover {
  background: var(--surface);
  color: var(--text);
}

/* ── CTA ── */
.cta-section {
  background: var(--bg);
  padding: 7rem 5%;
}

.cta-box {
  background: var(--card-bg);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  padding: 5rem 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
}

.cta-box::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(91, 200, 245, 0.06),
    transparent 70%
  );
  pointer-events: none;
}

[data-theme="light"] .cta-box::after {
  background: radial-gradient(
    ellipse,
    rgba(30, 159, 212, 0.08),
    transparent 70%
  );
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta-box p {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-footnote {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-fn-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fn-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 2;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2.5rem;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-3);
  margin-top: 0.75rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.84rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-3);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-3);
  transition: all 0.2s;
}

.social-btn:hover {
  border-color: var(--border-acc);
  color: var(--blue);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border-acc);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
  margin-top: 1rem;
}

.fb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}

/* ── SCROLL REVEAL ── */
.r {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.r.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.16s;
}

.d3 {
  transition-delay: 0.24s;
}

.d4 {
  transition-delay: 0.32s;
}

.d5 {
  transition-delay: 0.4s;
}

.d6 {
  transition-delay: 0.48s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── INTERIOR PAGES (pages/*.html) ── */
.hz-chrome-mount {
  min-height: 68px;
}

.hz-chrome-mount--footer {
  min-height: 0;
}

/* Interior shell matches landing: section padding + .inner max-width */
.page-main.inner,
main.page-main.inner {
  position: relative;
  z-index: 2;
  padding: 7rem 5%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.page-main:focus {
  outline: none;
}

.page-hero {
  max-width: 100%;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 1.25rem;
}

.page-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.page-breadcrumb a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-bc-sep {
  opacity: 0.45;
  font-weight: 500;
  user-select: none;
}

.page-bc-current {
  color: var(--text-2);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Same visual language as landing .s-tag */
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-acc);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

/* Same scale as landing section titles .s-h2 */
.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--text);
}

/* Same as .s-body */
.page-lead {
  font-size: 1.02rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 580px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.page-actions--compact {
  margin-top: 1.25rem;
}

.page-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  max-width: 580px;
}

.page-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 0.85rem;
}

.page-section h2 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-section p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.page-section ul {
  margin: 0 0 1rem 1.15rem;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-section li {
  margin-bottom: 0.45rem;
}

.page-highlight {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue);
  max-width: 580px;
}

.page-highlight p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.7;
}

.page-highlight code {
  font-family:
    ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  background: var(--bg4);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 0.84em;
}

.page-footnote--inline {
  display: inline;
  margin: 0;
}

.page-footnote {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.6;
  margin-top: 1.25rem;
  max-width: 580px;
}

.page-block {
  margin-top: 2.75rem;
  max-width: 580px;
}

.page-block h2 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-block h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.page-block p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.page-block ul,
.page-block ol {
  margin: 0 0 1rem 1.15rem;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-block li {
  margin-bottom: 0.45rem;
}

.page-block a {
  color: var(--blue);
}

.page-block a:hover {
  text-decoration: underline;
}

.page-pull {
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-size: 1.02rem;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  max-width: 580px;
}

.page-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 1180px;
}

/* Match landing capability cards .cap-card */
.page-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.page-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: transparent;
  transition: background 0.3s;
}

.page-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.page-card:hover::before {
  background: var(--grad);
}

.page-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.page-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

.page-card--full {
  grid-column: 1 / -1;
}

.page-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 2.5rem 0;
  max-width: 1100px;
}

.page-metric {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background 0.3s;
}

.page-metric:hover {
  background: var(--surface-hov);
}

.page-metric-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-metric-lbl {
  font-size: 0.7rem;
  color: var(--text-3);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.page-quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  margin: 2rem 0;
  max-width: 580px;
}

.page-quote p {
  font-size: 0.95rem;
  color: var(--text-2);
  font-style: italic;
  margin: 0;
  line-height: 1.75;
}

.page-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-3);
}

/* Bottom CTA matches landing .cta-box */
.page-cta {
  margin-top: 4rem;
  padding: 4rem 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.page-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
}

.page-cta::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(91, 200, 245, 0.06),
    transparent 70%
  );
  pointer-events: none;
}

[data-theme="light"] .page-cta::after {
  background: radial-gradient(
    ellipse,
    rgba(30, 159, 212, 0.08),
    transparent 70%
  );
}

.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.page-cta p {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.page-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.page-pill {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-3);
  background: var(--card-bg);
}

.page-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 1180px;
  background: var(--card-bg);
}

.page-table-caption {
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}

.page-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.page-table th {
  text-align: left;
  padding: 0.65rem 1rem;
  background: var(--bg4);
  color: var(--text-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
}

.page-table td {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-2);
}

.page-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.page-table tr:hover td {
  background: var(--surface);
}

.legal-meta {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 2rem;
}

.legal-h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .cap-grid,
  .pricing-grid,
  .test-grid,
  .int-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento {
    display: flex;
    flex-direction: column;
  }

  .process-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dash-body {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .ch-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-inner {
    grid-template-columns: 1fr 1fr;
  }

  nav .nav-center {
    display: none;
  }

  .inv-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cap-grid,
  .pricing-grid,
  .test-grid,
  .int-grid,
  .dash-charts-row {
    grid-template-columns: 1fr;
  }

  .hero-h1 {
    font-size: 2.6rem;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }

  .page-grid-2 {
    grid-template-columns: 1fr;
  }

  .page-metric-row {
    grid-template-columns: 1fr;
  }

  .page-cta {
    padding: 3rem 1.5rem;
  }
}
