/* ─── Reset & Base ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/* ─── Skip Link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--primary);
  color: #f0fdf9;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 150ms ease-out;
}
.skip-link:focus {
  top: 0;
}

/* ─── Focus Visible ──────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline-offset: 3px;
}
.theme-toggle:focus-visible,
.hamburger:focus-visible {
  outline-offset: 2px;
}
.faq-q:focus-visible {
  outline-offset: -2px;
  border-radius: 12px;
}
body {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-kerning: normal;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

/* System preference fallback — prevents flash before JS sets data-theme */
@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-text: #0a7c72;
    --primary-light: #f0fdfa;
    --primary-glow: rgba(13, 148, 136, 0.06);
    --surface: #faf9f7;
    --surface-mid: #f0eeeb;
    --surface-raised: #eeecea;
    --surface-card: #fefdfb;
    --surface-card-alt: #f7f6f4;
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.04);
    --on-surface: #0d1117;
    --on-surface-sec: #4b5563;
    --on-surface-muted: #6b7280;
    --primary-dim: rgba(13, 148, 136, 0.07);
    --primary-border: rgba(13, 148, 136, 0.18);
    --shadow-sm: 0 1px 3px rgba(13, 17, 23, 0.05), 0 4px 16px -2px rgba(13, 17, 23, 0.04);
    --shadow-md: 0 2px 8px rgba(13, 17, 23, 0.07), 0 12px 32px -4px rgba(13, 17, 23, 0.06);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.08);
    --shadow-mock: 0 8px 60px -12px rgba(13, 148, 136, 0.06), 0 1px 8px rgba(13, 17, 23, 0.06);
    --section-alt: #f3f1ee;
    --surface-invert: #111827;
    --on-invert: #f0f2f5;
  }
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-text: #0d9488;
    --primary-light: rgba(13, 148, 136, 0.12);
    --primary-glow: rgba(13, 148, 136, 0.18);
    --surface: #0a0f1a;
    --surface-mid: #0e1525;
    --surface-raised: #111827;
    --surface-card: #151d2e;
    --surface-card-alt: #1a2332;
    --border: rgba(255, 255, 255, 0.07);
    --border-light: rgba(255, 255, 255, 0.04);
    --on-surface: #f0f2f5;
    --on-surface-sec: #9ca3af;
    --on-surface-muted: #6b7280;
    --primary-dim: rgba(13, 148, 136, 0.1);
    --primary-border: rgba(13, 148, 136, 0.22);
    --shadow-sm: 0 1px 3px rgba(10, 15, 40, 0.35), 0 4px 16px -2px rgba(10, 15, 40, 0.25);
    --shadow-md: 0 4px 16px rgba(10, 15, 40, 0.4), 0 12px 40px -4px rgba(10, 15, 40, 0.35);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
    --shadow-mock: 0 8px 60px -12px rgba(13, 148, 136, 0.12), 0 2px 12px rgba(10, 15, 40, 0.45);
    --section-alt: #0e1525;
    --surface-invert: #1a2744;
    --on-invert: #e2e8f0;
  }
  /* Prevent flash of light navbar before JS sets data-theme */
  html:not([data-theme]) .navbar {
    background: rgba(10, 15, 26, 0.82);
  }
}

/* ─── CSS Variables ─────────────────────────────────────────────────── */
[data-theme='dark'] {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-text: #0d9488;
  --primary-light: rgba(13, 148, 136, 0.12);
  --primary-glow: rgba(13, 148, 136, 0.18);
  --primary-dim: rgba(13, 148, 136, 0.1);
  --primary-border: rgba(13, 148, 136, 0.22);
  --surface: #0a0f1a;
  --surface-mid: #0e1525;
  --surface-raised: #111827;
  --surface-card: #151d2e;
  --surface-card-alt: #1a2332;
  --border: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.04);
  --on-surface: #f0f2f5;
  --on-surface-sec: #9ca3af;
  --on-surface-muted: #6b7280;
  --shadow-sm: 0 1px 3px rgba(10, 15, 40, 0.35), 0 4px 16px -2px rgba(10, 15, 40, 0.25);
  --shadow-md: 0 4px 16px rgba(10, 15, 40, 0.4), 0 12px 40px -4px rgba(10, 15, 40, 0.35);
  --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
  --shadow-mock: 0 8px 60px -12px rgba(13, 148, 136, 0.12), 0 2px 12px rgba(10, 15, 40, 0.45);
  --section-alt: #0e1525;
  --surface-invert: #1a2744;
  --on-invert: #e2e8f0;
}
[data-theme='light'] {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-text: #0a7c72;
  --primary-light: #f0fdfa;
  --primary-glow: rgba(13, 148, 136, 0.06);
  --primary-dim: rgba(13, 148, 136, 0.07);
  --primary-border: rgba(13, 148, 136, 0.18);
  --surface: #faf9f7;
  --surface-mid: #f0eeeb;
  --surface-raised: #eeecea;
  --surface-card: #fefdfb;
  --surface-card-alt: #f7f6f4;
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.04);
  --on-surface: #0d1117;
  --on-surface-sec: #4b5563;
  --on-surface-muted: #6b7280;
  --shadow-sm: 0 1px 3px rgba(13, 17, 23, 0.05), 0 4px 16px -2px rgba(13, 17, 23, 0.04);
  --shadow-md: 0 2px 8px rgba(13, 17, 23, 0.07), 0 12px 32px -4px rgba(13, 17, 23, 0.06);
  --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.08);
  --shadow-mock: 0 8px 60px -12px rgba(13, 148, 136, 0.06), 0 1px 8px rgba(13, 17, 23, 0.06);
  --section-alt: #f3f1ee;
  --surface-invert: #111827;
  --on-invert: #f0f2f5;
}

body {
  background: var(--surface);
  color: var(--on-surface);
}
/* Subtle grain texture — breaks digital flatness without affecting scroll perf */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}
[data-theme='light'] body::after {
  opacity: 0.04;
}

/* ─── Utility ────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-link.active {
  color: var(--primary-text, var(--primary));
}
.text-primary {
  color: var(--primary-text, var(--primary));
}
.link-primary {
  color: var(--primary-text, var(--primary));
  font-weight: 500;
  text-decoration: none;
}
/* ─── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background 300ms ease-out,
    border-color 300ms ease-out;
}
[data-theme='light'] .navbar {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}
[data-theme='dark'] .navbar {
  background: rgba(12, 18, 20, 0.82);
}
.navbar.scrolled {
  background: rgba(12, 18, 20, 0.94);
}
[data-theme='light'] .navbar.scrolled {
  background: rgba(246, 248, 251, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  padding: 16px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nav-logo-badge img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}
.nav-logo-text span {
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 16px;
}
.nav-link {
  color: var(--on-surface-sec);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition:
    color 0.15s,
    background 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--on-surface);
    background: var(--border);
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 180ms ease-out,
    color 180ms ease-out;
  color: var(--on-surface-sec);
  font-size: 18px;
  line-height: 0;
  padding: 0;
}
.hamburger:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.hamburger:active {
  transform: scale(0.92);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 200ms ease;
}
.menu-overlay.open {
  display: block;
  opacity: 1;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 67px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 16px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
  animation: fadeUp 0.25s ease both;
}
.mobile-menu.open {
  display: flex;
}
/* Safeguard: if the viewport grows past the mobile breakpoint while the
 drawer is open (resize, rotate), don't leak the drawer onto desktop. */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
  }
  .menu-overlay,
  .menu-overlay.open {
    display: none !important;
  }
}
.mobile-menu .nav-link {
  display: block;
  padding: 12px 14px;
  font-size: 0.9375rem;
  border-radius: 10px;
}
.mobile-menu .nav-link:active {
  background: var(--primary-light);
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 8px 18px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 160ms var(--ease-out),
    background 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    color 160ms var(--ease-out);
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-ghost {
  background: var(--surface-card);
  color: var(--on-surface);
  border: 1px solid var(--border);
  font-weight: 600;
}
.btn-ghost:hover {
  background: var(--surface-card);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-primary {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #f0fdf9;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.42);
  }
}
.btn-primary:active {
  transform: scale(0.97);
}
.btn-lg {
  padding: 14px 30px;
  font-size: 0.9375rem;
  border-radius: 11px;
}
.btn-outline {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--surface-card);
  border-color: rgba(13, 148, 136, 0.4);
}

/* Theme toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 180ms ease-out,
    color 180ms ease-out,
    transform 200ms ease-out;
  color: var(--on-surface-sec);
  font-size: 16px;
  line-height: 0;
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.theme-toggle:active {
  transform: scale(0.92);
}
.theme-toggle svg {
  transition: transform 300ms ease-out;
}
.theme-toggle:hover svg {
  transform: rotate(15deg);
}

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 48px;
  position: relative;
  overflow: hidden;
}
/* Ambient depth — subtle radial glow behind hero content */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at 60% 40%, rgba(13, 148, 136, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
[data-theme='light'] .hero::before {
  background: radial-gradient(ellipse at 60% 40%, rgba(13, 148, 136, 0.06) 0%, transparent 65%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: 'Figtree', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-text);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--on-surface);
  margin-bottom: 24px;
}
.hero-headline .hl {
  color: var(--primary);
}
.hero-sub {
  font-size: clamp(1.0625rem, 1.5vw + 0.25rem, 1.1875rem);
  color: var(--on-surface-sec);
  max-width: 520px;
  margin: 0 0 34px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-proof {
  font-size: 12px;
  color: var(--on-surface-muted);
  letter-spacing: 0.01em;
}
.hero-visual {
  position: relative;
}
.hero-banks {
  padding: 24px 0;
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-banks-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-banks-label {
  font-family: 'Figtree', sans-serif;
  font-size: 0.625rem;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-banks-list {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--on-surface-sec);
}
.hero-banks-list .sep {
  color: var(--on-surface-muted);
  font-weight: 300;
}
.hero-banks-list .more {
  color: var(--primary);
  font-weight: 600;
}
.bank-more-m {
  display: none;
}

/* ─── Dashboard Preview ───────────────────────────────────────────────── */
.preview-card {
  position: relative;
  z-index: 1;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-mock, var(--shadow-md));
  width: 640px;
  max-width: 100%;
}
.preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 10;
  background: var(--primary);
}
.preview-bar {
  background: var(--surface-mid);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.preview-bar-url {
  margin-left: 12px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--on-surface-muted);
  font-family: 'Figtree', sans-serif;
}
.mock-tabs {
  display: flex;
  gap: 2px;
  margin-left: auto;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 2px;
}
.mock-tab {
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--on-surface-muted);
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  background: none;
  font-family: 'Figtree', sans-serif;
}
.mock-tab.active {
  background: var(--primary-light);
  color: var(--primary);
}
.mock-tab:hover:not(.active) {
  color: var(--on-surface-sec);
}
.dashboard-mock {
  padding: 20px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  height: 420px;
  overflow: hidden;
}
.mock-sidebar {
  background: var(--surface-raised);
  border-radius: 12px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.mock-logo-badge {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  flex-shrink: 0;
}
.mock-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--on-surface);
}
.mock-nav-item {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--on-surface-sec);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}
.mock-nav-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.mock-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mock-hero-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 12px;
  padding: 20px 24px;
}
.mock-hero-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--on-surface-muted);
  margin-bottom: 14px;
}
.mock-hero-metrics {
  display: flex;
  gap: 24px;
}
.mock-metric {
  flex: 1;
  min-width: 0;
}
.mock-metric-val {
  font-family: 'Figtree', sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mock-metric-lbl {
  font-size: 10px;
  color: var(--on-surface-muted);
  margin-top: 2px;
}
.green {
  color: #0d9488;
}
.red {
  color: #dc2626;
}
.blue {
  color: #2563eb;
}
.mock-bar-wrap {
  margin-top: 14px;
  background: var(--border);
  border-radius: 4px;
  height: 5px;
}
.mock-bar-fill {
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 62%;
  animation: bar-fill 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}
@keyframes bar-fill {
  from {
    width: 0;
  }
}
.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.mock-kpi {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.mock-kpi-icon {
  margin-bottom: 8px;
  line-height: 1;
  color: var(--on-surface-sec);
}
.mock-kpi-val {
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--on-surface);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mock-kpi-lbl {
  font-size: 10px;
  color: var(--on-surface-muted);
  margin-top: 2px;
}
.mock-chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mock-chart {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  height: 100px;
  position: relative;
  overflow: hidden;
}
.mock-chart-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--on-surface-muted);
  margin-bottom: 12px;
}
.mock-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
}
.mock-chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--primary);
  opacity: 0.7;
}
.mock-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
}
.mock-donut {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: conic-gradient(
    #0d9488 0deg 133deg,
    #dc2626 133deg 205deg,
    #0c4a6e 205deg 255deg,
    #0e7490 255deg 300deg,
    #92400e 300deg 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-donut-hole {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-raised);
}
.mock-lines-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  padding: 4px 8px;
}
.mock-line-chart {
  width: 100%;
  height: 100%;
}

.mock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: var(--on-surface-muted);
  letter-spacing: 0.03em;
}
.mock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d9488;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.mock-status-text {
  color: var(--on-surface-sec);
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dashboard mock micro-interactions — chart bars grow, donut spins in */
@keyframes bar-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
.mock-chart-bar {
  transform-origin: bottom;
  animation: bar-grow 0.6s var(--ease-out) both;
}
.mock-chart-bar:nth-child(1) {
  animation-delay: 0.3s;
}
.mock-chart-bar:nth-child(2) {
  animation-delay: 0.4s;
}
.mock-chart-bar:nth-child(3) {
  animation-delay: 0.5s;
}
.mock-chart-bar:nth-child(4) {
  animation-delay: 0.6s;
}
.mock-chart-bar:nth-child(5) {
  animation-delay: 0.7s;
}
.mock-chart-bar:nth-child(6) {
  animation-delay: 0.8s;
}

@keyframes donut-spin {
  from {
    transform: rotate(-90deg);
    opacity: 0;
  }
  to {
    transform: rotate(0deg);
    opacity: 1;
  }
}
.mock-donut {
  animation: donut-spin 0.8s var(--ease-out) 0.4s both;
}

@keyframes metric-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mock-metric {
  animation: metric-fade 0.5s var(--ease-out) both;
}
.mock-metric:nth-child(1) {
  animation-delay: 0.15s;
}
.mock-metric:nth-child(2) {
  animation-delay: 0.25s;
}
.mock-metric:nth-child(3) {
  animation-delay: 0.35s;
}

/* ─── Section Common ───────────────────────────────────────────────────── */
section {
  padding: 96px 0;
}
.features {
  padding: 120px 0;
}
.how {
  padding: 100px 0;
}
.security {
  padding: 72px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-family: 'Figtree', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-text);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 14px;
  text-wrap: balance;
}
.section-sub {
  font-size: 1rem;
  color: var(--on-surface-sec);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ─── Features ────────────────────────────────────────────────────────── */
.features {
  position: relative;
}
.features .section-header {
  text-align: left;
}
.features .section-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
}
.features .section-sub {
  max-width: 440px;
  margin: 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feature-card {
  grid-column: span 4;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.4), transparent);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-2px);
    box-shadow:
      var(--shadow-md),
      0 0 30px rgba(13, 148, 136, 0.06);
    border-color: rgba(13, 148, 136, 0.25);
  }
  .feature-card:hover::after {
    opacity: 1;
  }
}
.feature-card:active {
  transform: scale(0.98);
}
.feature-tag {
  font-family: 'Figtree', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.feature-tag--invest {
  color: #0e7490;
}
.feature-tag--bills {
  color: #92400e;
}
.feature-tag--ai {
  color: #0c4a6e;
}
.feature-tag--networth {
  color: #047857;
}
.feature-tag--plan {
  color: #155e75;
}
[data-theme='dark'] .feature-tag--invest {
  color: #22d3ee;
}
[data-theme='dark'] .feature-tag--bills {
  color: #fbbf24;
}
[data-theme='dark'] .feature-tag--ai {
  color: #38bdf8;
}
[data-theme='dark'] .feature-tag--networth {
  color: #34d399;
}
[data-theme='dark'] .feature-tag--plan {
  color: #67e8f9;
}
.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.8125rem;
  color: var(--on-surface-sec);
  line-height: 1.65;
}
.feature-list {
  margin-top: 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.feature-list li {
  font-size: 0.75rem;
  color: var(--on-surface-sec);
  display: flex;
  align-items: center;
  gap: 7px;
}
.feature-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.feature-card--hero {
  grid-column: span 8;
  padding: 36px 34px;
  background: var(--surface-raised);
  border-color: var(--primary-border, rgba(13, 148, 136, 0.18));
}
.feature-card--hero .feature-title {
  font-size: 1.5rem;
  letter-spacing: -0.6px;
}
.feature-card--hero .feature-desc {
  font-size: 0.9375rem;
  max-width: 520px;
}
.feature-card--accent {
  grid-column: span 4;
  background: rgba(14, 116, 144, 0.06);
  border-color: rgba(14, 116, 144, 0.18);
}
[data-theme='dark'] .feature-card--accent {
  background: rgba(14, 116, 144, 0.1);
  border-color: rgba(14, 116, 144, 0.2);
}
.feature-card--wide {
  grid-column: span 7;
}
.feature-card--narrow {
  grid-column: span 5;
}
/* Break the banned 3-equal-column middle row into 5 + 3 + 4 asymmetry */
@media (min-width: 1025px) {
  .features-grid > .feature-card:nth-child(3) {
    grid-column: span 5;
  }
  .features-grid > .feature-card:nth-child(4) {
    grid-column: span 3;
  }
  .features-grid > .feature-card:nth-child(5) {
    grid-column: span 4;
  }
}
.card-visual {
  margin-top: 18px;
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 48px;
}
.card-visual span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--primary);
  opacity: 0.5;
}
.card-visual span.bar-red {
  background: #dc2626;
}
[data-theme='dark'] .card-visual span.bar-red {
  background: #f87171;
}
/* Investment purple line chart */
.card-line {
  margin-top: 18px;
  height: 48px;
}
.card-line svg {
  width: 100%;
  height: 100%;
}
.card-line path {
  fill: none;
  stroke-width: 2;
  opacity: 0.6;
}
.card-line .line-fill {
  opacity: 0.06;
  stroke: none;
  fill: #0e7490;
}
.card-line .line-stroke {
  stroke: #0e7490;
}
[data-theme='dark'] .card-line .line-fill {
  fill: #22d3ee;
}
[data-theme='dark'] .card-line .line-stroke {
  stroke: #22d3ee;
}
/* Net Worth stacked account bars */
.card-stack {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-stack-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-stack-label {
  width: 55px;
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  color: var(--on-surface-muted);
}
.card-stack-bar {
  height: 6px;
  border-radius: 3px;
  flex: 1;
}

/* Projection fan lines */
.card-fan {
  margin-top: 18px;
  height: 48px;
}
.card-fan svg {
  width: 100%;
  height: 100%;
}
.card-fan .fan-line {
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}
/* Bill timeline rows */
.card-bills {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card-bill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: var(--on-surface-muted);
}
.card-bill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.card-bill-name {
  flex: 1;
  min-width: 0;
}
.card-bill-amt {
  font-weight: 600;
  color: var(--on-surface-sec);
  font-variant-numeric: tabular-nums;
}
/* AI chat bubble */
.card-chat {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-chat-q,
.card-chat-a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  padding: 6px 10px;
  border-radius: 8px;
  max-width: 88%;
  line-height: 1.4;
}
.card-chat-q {
  background: var(--primary-dim, rgba(13, 148, 136, 0.07));
  color: var(--on-surface-sec);
  align-self: flex-end;
}
.card-chat-a {
  background: var(--surface-raised);
  color: var(--on-surface);
  font-weight: 600;
  align-self: flex-start;
}

/* ─── How it Works ────────────────────────────────────────────────────── */
.how {
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how .section-header {
  text-align: center;
}
.how .section-title,
.faq .section-title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
/* Connector line between steps (desktop only) */
@media (min-width: 769px) {
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-border), var(--primary-border), transparent);
    z-index: 0;
  }
}
.step {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--primary);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.8125rem;
  color: var(--on-surface-sec);
  line-height: 1.7;
  flex: 1;
}
.step-data {
  margin-top: 20px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--on-surface-muted);
  line-height: 1.8;
}
.step-data code {
  color: var(--primary);
}
/* Step visual progression */
.step-data--file {
  border-style: dashed;
  border-color: var(--border);
}
.step-data--process {
  background: rgba(13, 148, 136, 0.06);
  border-color: rgba(13, 148, 136, 0.15);
}
[data-theme='dark'] .step-data--process {
  background: rgba(13, 148, 136, 0.08);
}
.step-data--result {
  padding: 0;
  overflow: hidden;
}
.step-data--result .result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.step-data--result .result-row:last-child {
  border-bottom: none;
}
.step-data--result .result-val {
  font-weight: 600;
  color: var(--primary);
}

/* ─── Security Section (inverted band) ─────────────────────────────────── */
.security {
  background: var(--surface-invert);
  color: var(--on-invert);
  border: none;
  padding: 44px 0;
}
.security > .container {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 36px;
}
.security-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0;
}
.security-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-invert);
  letter-spacing: -0.02em;
}
.security-header p {
  font-size: 0.8125rem;
  color: var(--on-invert);
  opacity: 0.55;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(128, 128, 128, 0.15);
  border-radius: 10px;
  overflow: hidden;
}
.spec {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 16px;
  text-align: center;
}
.spec-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.spec-label {
  font-size: 0.625rem;
  color: var(--on-invert);
  opacity: 0.6;
  line-height: 1.4;
}

/* ─── FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
}
.faq-grid {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}
.faq-item[open] {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(13, 148, 136, 0.12);
}
.faq-q {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-surface);
  user-select: none;
  min-height: 44px;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  transition: transform 200ms var(--ease-out);
}
.faq-item[open] .faq-q-arrow {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 22px 20px 22px;
  font-size: 0.875rem;
  color: var(--on-surface-sec);
  line-height: 1.7;
}
.faq-a a {
  color: var(--primary-text, var(--primary));
  font-weight: 500;
  text-decoration: none;
}
.faq-a a:hover {
  text-decoration: underline;
}

/* ─── Guides Preview ─────────────────────────────────────────────────── */
.guides-preview {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.guides-preview .section-title {
  text-align: center;
}
.guides-preview .section-sub {
  text-align: center;
  margin-bottom: 48px;
}
.guides-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.guide-preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-card);
  text-decoration: none;
  color: var(--on-surface);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.guide-preview-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.1);
}
/* Featured treatment for first two guide cards */
.guides-preview-grid .guide-preview-card:nth-child(-n + 2) {
  background: var(--surface-raised);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}
.guides-preview-grid .guide-preview-card:nth-child(-n + 2) .guide-preview-tag {
  color: var(--primary);
}
.guides-preview-grid .guide-preview-card:nth-child(-n + 2):hover {
  box-shadow: var(--shadow-md);
}
.guide-preview-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-text, var(--primary));
  white-space: nowrap;
  flex-shrink: 0;
}
.guide-preview-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}
.guide-preview-arrow {
  color: var(--on-surface-muted);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.guides-preview-more {
  text-align: center;
  margin-top: 32px;
}
@media (max-width: 700px) {
  .guides-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CTA Section ─────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 120px 0 100px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 25% 20%, rgba(13, 148, 136, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
[data-theme='light'] .cta-section::before {
  background:
    radial-gradient(ellipse 60% 50% at 50% 80%, rgba(13, 148, 136, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 25% 20%, rgba(13, 148, 136, 0.03) 0%, transparent 60%);
}
.cta-section > * {
  position: relative;
  z-index: 1;
}
.cta-inner {
  max-width: 540px;
  margin: 0 auto;
}
.cta-inner .section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.cta-proof {
  font-size: 0.75rem;
  color: var(--on-surface-muted);
  margin-top: 16px;
}
.cta-inner .section-sub {
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
/* ─── Footer Email Form ──────────────────────────────────────────────── */
.footer-email-desc {
  font-size: 0.8125rem;
  color: var(--on-surface-sec);
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-email-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-email-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: var(--on-surface);
  font-size: 0.8125rem;
  font-family: 'Figtree', sans-serif;
  transition: border-color 0.2s;
}
.footer-email-input:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: -1px;
}
.footer-email-input.input-error {
  border-color: #dc2626;
  outline: 2px solid rgba(220, 38, 38, 0.25);
  outline-offset: -1px;
}
.footer-email-btn {
  padding: 9px 18px;
  font-size: 0.8125rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.footer-email-btn .spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #f0f2f5;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.footer-email-msg {
  display: none;
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
}
.footer-email-msg.msg-success {
  color: var(--primary);
}
.footer-email-msg.msg-error {
  color: #dc2626;
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
footer {
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
  padding: 52px 0 36px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--on-surface-sec);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 300px;
}
.footer-col-title {
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-muted);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  color: var(--on-surface-sec);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer-link:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--on-surface-muted);
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--on-surface-muted);
}
.footer-badge svg {
  color: var(--primary);
  flex-shrink: 0;
}
.footer-disclosure {
  margin-top: 16px;
  font-size: 0.6875rem;
  color: var(--on-surface-sec);
  line-height: 1.5;
  text-align: center;
}

/* ─── Custom Easings ──────────────────────────────────────────────────── */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ─── Animations ───────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  animation: fadeUp 0.45s var(--ease-out) both;
}
.delay-1 {
  animation-delay: 0.08s;
}
.delay-2 {
  animation-delay: 0.16s;
}
.delay-3 {
  animation-delay: 0.24s;
}
.delay-4 {
  animation-delay: 0.32s;
}

/* Hero background — static gradient, no animation */

/* ─── Scroll-triggered Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children (feature cards, steps, chips) */
.reveal-stagger > .reveal {
  --delay: 0ms;
}
.reveal-stagger > .reveal:nth-child(1) {
  --delay: 0ms;
}
.reveal-stagger > .reveal:nth-child(2) {
  --delay: 50ms;
}
.reveal-stagger > .reveal:nth-child(3) {
  --delay: 100ms;
}
.reveal-stagger > .reveal:nth-child(4) {
  --delay: 150ms;
}
.reveal-stagger > .reveal:nth-child(5) {
  --delay: 200ms;
}
.reveal-stagger > .reveal:nth-child(6) {
  --delay: 250ms;
}
.reveal-stagger > .reveal:nth-child(7) {
  --delay: 300ms;
}
.reveal-stagger > .reveal:nth-child(8) {
  --delay: 350ms;
}
.reveal-stagger > .reveal:nth-child(9) {
  --delay: 400ms;
}
.reveal-stagger > .reveal:nth-child(10) {
  --delay: 450ms;
}
.reveal-stagger > .reveal:nth-child(11) {
  --delay: 500ms;
}
.reveal-stagger > .reveal:nth-child(12) {
  --delay: 550ms;
}
.reveal-stagger > .reveal:nth-child(13) {
  --delay: 600ms;
}
.reveal-stagger > .reveal:nth-child(14) {
  --delay: 650ms;
}

/* ─── Reduced Motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    animation-duration: 0.01ms;
    animation-delay: 0ms;
  }
  .reveal {
    transition-duration: 0.01ms;
    transition-delay: 0ms;
    opacity: 1;
    transform: none;
  }
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
  .hero::before {
    display: none;
  }
  .mock-chart-bar,
  .mock-donut,
  .mock-metric {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card,
  .feature-card--hero,
  .feature-card--accent,
  .feature-card--wide,
  .feature-card--narrow {
    grid-column: span 1;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 640px;
  }
  .preview-card {
    width: auto;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-sub {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-banks-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }
  .hero-banks-list {
    justify-content: center;
  }
  .dashboard-mock {
    grid-template-columns: 1fr;
  }
  .mock-sidebar {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card,
  .feature-card--hero,
  .feature-card--accent,
  .feature-card--wide,
  .feature-card--narrow {
    grid-column: span 1;
  }
  .feature-card--hero {
    padding: 28px 24px;
  }
  .security > .container {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .security-header {
    align-items: center;
  }
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mock-tabs {
    display: none;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .mobile-menu-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero {
    padding: 100px 24px 44px;
  }
  .hero-headline {
    letter-spacing: -1px;
  }
  .container {
    padding: 0 20px;
  }
  section {
    padding: 56px 0;
  }
  .section-header {
    margin-bottom: 44px;
  }
  .mock-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-visual {
    margin: 0 -12px;
  }
  .bank-collapse {
    display: none;
  }
  .bank-more-d {
    display: none;
  }
  .bank-more-m {
    display: inline;
  }
  .dashboard-mock {
    padding: 16px;
    height: 280px;
    overflow: hidden;
  }
  .mock-hero-metrics {
    gap: 8px;
  }
  .mock-metric-val {
    font-size: 14px;
  }
  /* Tighter stagger on mobile so it doesn't feel slow */
  .reveal-stagger > .reveal:nth-child(n + 4) {
    --delay: 150ms;
  }
  /* Mobile section padding overrides */
  .features {
    padding: 72px 0;
  }
  .security {
    padding: 56px 0;
  }
  /* Steps: keep them readable */
  .step {
    padding: 0 16px;
  }
  /* Footer spacing */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .mock-grid {
    grid-template-columns: 1fr;
  }
  .mock-chart-row {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }
}
