/* ============================================================
   FINTREST.AI — DESIGN SYSTEM (complete)
   "your money in your interest — Fintrest"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Blue + Light Blue — single-family palette. No accents in other hues.
       Canvas = white
       Soft surface = palest blue tint
       Primary CTAs / headings / structure = deep blue
       Light-blue accent = links, active nav, .ai, kicker dots, highlights
     Inside the blue family the depth carries the hierarchy. */
  --bg: #FFFFFF;
  --bg-soft: #F0F7FF;
  --bg-purple: #E6F0FA;     /* kept as var name; pale blue tint */
  --bg-lavender: #DBE9F7;   /* kept as var name; soft blue tint */
  --surface-2: #FFFFFF;

  /* Navy-ink stack — pairs with the primary deep blue. */
  --ink: #0F1B2D;
  --ink-2: #2C3E5C;
  --ink-3: #6B7585;
  --ink-4: #9CA3AF;
  --ink-5: #C8CDD6;

  --line: rgba(15, 27, 45, 0.08);
  --line-2: rgba(15, 27, 45, 0.14);

  /* Blue scale — every step is a shade of blue. Variable names kept as
     `--purple-N` so the legacy 90+ references resolve automatically.
       500/600  = deep blue   (primary CTAs, buttons, headings)
       700      = darker blue (gradient endpoints, deep emphasis)
       400/300  = mid blue    (chart accents, illustration mid-tones)
       50–200   = pale blue   (badge bg, hover surfaces)
       800–950  = near-navy anchors (logo coin, deepest text) */
  --purple-50:  #EFF6FF;
  --purple-100: #DBEAFE;
  --purple-200: #BFDBFE;
  --purple-300: #93C5FD;
  --purple-400: #60A5FA;
  --purple-500: #1E40AF;
  --purple-600: #1E3A8A;
  --purple-700: #1D3478;
  --purple-800: #172A60;
  --purple-900: #0F1B2D;
  --purple-950: #050810;

  /* Bright-blue accent — the "light blue" half of the brand. Used at the
     few specific selectors that should pop against the deeper blue
     structure: .nav-link.active, .kicker-dot, .logo-name .ai. */
  --accent: #3B82F6;
  --accent-deep: #2563EB;
  --accent-soft: #DBEAFE;

  --green: #16A34A;
  --green-soft: #DCFCE7;
  --red: #DC2626;
  --red-soft: #FEE2E2;
  --amber: #D97706;
  --amber-soft: #FEF3C7;

  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo { display: inline-flex; align-items: center; gap: 10px; }

.logo-coin {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4A6285 0%, #0F1B2D 35%, #081222 70%, #050810 100%);
  box-shadow:
    0 8px 18px rgba(30, 64, 175, 0.35),
    0 2px 4px rgba(15, 27, 45, 0.30),
    inset 0 -2px 4px rgba(15, 27, 45, 0.4),
    inset 0 1px 1px rgba(255,255,255,0.35);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.logo-coin::before {
  content: ''; position: absolute;
  top: 5px; left: 9px;
  width: 12px; height: 6px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%; filter: blur(1px);
}
.logo-coin svg {
  width: 20px; height: 20px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 1px 1px rgba(15, 27, 45, 0.35));
}
.logo-coin.sm { width: 28px; height: 28px; }
.logo-coin.sm svg { width: 16px; height: 16px; }
.logo-coin.sm::before { top: 4px; left: 7px; width: 10px; height: 5px; }

.logo-name {
  font-family: var(--sans);
  font-size: 19px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.logo-name .ai {
  color: var(--accent); font-weight: 500;
  font-size: 13px; vertical-align: super;
  letter-spacing: 0.02em; margin-left: 1px;
  font-family: var(--mono);
}

/* ============================================================
   PROMO BAR (top of page on some templates)
   ============================================================ */
.promo-bar {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: white;
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}
.promo-bar a { color: white; text-decoration: underline; }

/* ============================================================
   NAV
   ============================================================ */
/* Monarch-style floating pill nav. Sits on the canvas with a subtle
   shadow, not glued to the top edge. Scrolls naturally with the page
   so it doesn't interrupt content while reading. */
.nav {
  position: relative; z-index: 100;
  padding: 0 20px;
  margin-top: 16px;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 14px 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: white;
  border-radius: 999px;
  border: 1px solid rgba(15, 27, 45, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 27, 45, 0.04),
    0 6px 20px rgba(15, 27, 45, 0.06),
    0 16px 48px -16px rgba(15, 27, 45, 0.10);
}
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link {
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: all 0.15s ease;
  position: relative;
}
.nav-link:hover { color: var(--purple-500); background: var(--purple-50); }
.nav-link.active { color: var(--purple-500); background: var(--purple-50); font-weight: 600; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-actions .btn-text {
  /* Sign in — outlined pill, matches Monarch's pattern */
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 18px;
  background: white;
  font-weight: 500;
  font-size: 14px;
}
.nav-actions .btn-text:hover {
  background: var(--purple-50);
  border-color: var(--purple-200);
}
.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
}
.mobile-toggle svg { width: 24px; height: 24px; color: var(--ink); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 56px 0 0;
  background: white;
  z-index: 99;
  padding: 24px 28px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px;
  font-size: 17px; font-weight: 600;
  color: var(--ink);
  border-radius: var(--r-md);
}
.mobile-menu a:hover { background: var(--purple-50); color: var(--purple-700); }
.mob-cta {
  margin-top: 16px;
  padding: 14px;
  background: var(--purple-500) !important;
  color: white !important;
  text-align: center;
  border-radius: var(--r-pill);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--purple-500); color: white;
  box-shadow: 0 1px 2px rgba(30, 64, 175, 0.25), 0 4px 12px -4px rgba(30, 64, 175, 0.4);
}
.btn-primary:hover {
  background: var(--purple-600);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(30, 64, 175, 0.25), 0 8px 18px -4px rgba(30, 64, 175, 0.5);
}
.btn-secondary { background: white; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--purple-300); color: var(--purple-700); }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: var(--purple-950); }
.btn-text { color: var(--ink-2); padding: 11px 14px; background: transparent; }
.btn-text:hover { color: var(--purple-600); }
.btn-light { background: white; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); color: var(--purple-700); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ============================================================
   ATMOSPHERE
   ============================================================ */
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.aurora::before {
  content: '';
  position: absolute;
  top: -60px; right: -100px;
  width: 480px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.20), transparent 65%);
  filter: blur(50px);
}
.aurora::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -100px;
  width: 420px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 65%);
  filter: blur(50px);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--purple-700);
  font-weight: 600;
  background: var(--purple-50);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--purple-100);
}
.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

h1, h2, h3, h4, h5 { letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
h5 { font-size: 14px; font-weight: 600; }

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-3);
  line-height: 1.55;
  font-weight: 400;
}

/* ============================================================
   PAGE HEADERS (sub-pages)
   ============================================================ */
.page-header {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-header-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  margin: 16px 0 18px;
  line-height: 1.05;
}
.page-header h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--purple-600); }
.page-header .lede { max-width: 520px; margin-bottom: 28px; }
.ph-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; position: relative; }
.section.tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-purple { background: var(--bg-purple); }
.section-dark {
  background: var(--purple-950);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.30), transparent 60%);
  filter: blur(60px); pointer-events: none;
}
.section-dark::after {
  content: ''; position: absolute;
  bottom: -100px; left: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.20), transparent 60%);
  filter: blur(60px); pointer-events: none;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-dark .lede { color: var(--purple-200); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--purple-600); }
.section-head .lede { font-size: 17px; }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  padding: 64px 0 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero:has(.hero-split-grid) {
  /* Split-hero variant: left-aligned text, more breathing room */
  text-align: left;
  padding: 80px 0 72px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background:
    radial-gradient(ellipse at center, rgba(30, 64, 175, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 60%, rgba(59, 130, 246, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(216, 180, 254, 0.16) 0%, transparent 50%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* Abstract financial pattern behind the hero text — data grid +
   ascending sparkline curves + bright data dots. Sits above the aurora
   glow but below the headline (z-index: 0 vs container's z-index: 1).
   Pointer-events disabled so it never intercepts clicks. */
.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Fade the bottom so the pattern hands off cleanly into the proof strip. */
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0.6) 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0.6) 90%, rgba(0,0,0,0) 100%);
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-radius: var(--r-pill);
  font-size: 13px; color: var(--purple-700);
  font-weight: 500; margin-bottom: 24px;
}
.hero-pill .badge {
  background: var(--purple-500); color: white;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  max-width: 920px; margin: 0 auto 8px;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--purple-600);
}
.hero-sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--purple-600);
  margin: -4px 0 24px;
  letter-spacing: 0.01em;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-3);
  max-width: 580px; margin: 0 auto 32px;
  line-height: 1.5;
}
.hero-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-secondary-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.hero-secondary-link:hover { color: var(--purple-500); }
.hero-trust {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(15, 15, 26, 0.04), 0 8px 24px -12px rgba(30, 64, 175, 0.15);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-100), var(--purple-200));
  color: var(--purple-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--purple-200);
}
.trust-badge svg {
  width: 12px;
  height: 12px;
  display: block;
}
.trust-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  font-family: var(--sans);
  letter-spacing: -0.005em;
  text-transform: none;
  white-space: nowrap;
}
.trust-sep {
  width: 1px;
  height: 14px;
  background: var(--line-2);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .hero-trust {
    padding: 10px 16px;
    gap: 12px;
    border-radius: var(--r-lg);
  }
  .trust-sep { display: none; }
  .trust-label { font-size: 11px; }
}

/* ============================================================
   SPLIT HERO — text left, floating card stack right.
   Replaces the centered-headline-with-graphic-below pattern.
   Cards (.hgm-card-*) are absolutely positioned within
   .hero-graphic-merged so they read as a layered composition.
   ============================================================ */
.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  text-align: left;
}
.hero-text { text-align: left; }
.hero-split-grid h1 {
  text-align: left;
  margin: 0 0 8px;
  max-width: none;
  font-size: clamp(36px, 4.8vw, 64px);
}
.hero-split-grid .hero-sig {
  text-align: left;
  margin: -4px 0 18px;
}
.hero-split-grid .hero-sub {
  text-align: left;
  margin: 0 0 28px;
  max-width: 480px;
}
.hero-split-grid .hero-actions { justify-content: flex-start; }
.hero-split-grid .hero-secondary-link { margin-top: 18px; }

.hero-graphic-merged {
  position: relative;
  height: 480px;
  width: 100%;
}

.hgm-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 2px rgba(15, 27, 45, 0.04),
    0 18px 36px -10px rgba(15, 27, 45, 0.18),
    0 4px 12px -2px rgba(30, 64, 175, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hgm-card:hover {
  transform: translateY(-4px) rotate(0deg) !important;
  z-index: 10;
}

.hgm-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Card 1 — portfolio chart (top, large, tilted left) */
.hgm-card-chart {
  top: 0;
  left: 0;
  right: 40px;
  padding: 18px 20px;
  transform: rotate(-2.5deg);
  z-index: 3;
}
.hgm-card-chart .hgm-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.hgm-card-chart .hgm-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hgm-card-chart .hgm-delta {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  font-family: var(--mono);
}
.hgm-tabs { display: flex; gap: 4px; }
.hgm-tabs span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hgm-tabs span.active {
  background: var(--purple-50);
  color: var(--purple-500);
}

/* Card 2 — signal alert (right middle, tilted right, overlaps card 1) */
.hgm-card-signal {
  top: 218px;
  right: -10px;
  width: 280px;
  padding: 16px 18px;
  transform: rotate(2.5deg);
  z-index: 4;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: white;
  border-color: transparent;
}
.hgm-signal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hgm-signal-tag {
  background: var(--green);
  color: white;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.hgm-signal-sym {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: white;
}
.hgm-signal-score {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  color: white;
}
.hgm-signal-msg {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

/* Card 3 — Athena chat (bottom, tilted slightly left, peeks from below) */
.hgm-card-athena {
  bottom: 0;
  left: 20px;
  width: 320px;
  padding: 14px 16px;
  transform: rotate(-1.5deg);
  z-index: 5;
}
.hgm-athena-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.hgm-athena-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
}
.hgm-athena-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.hgm-athena-status {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hgm-athena-msg {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  font-style: italic;
}

/* Mobile: stack vertically; hide the cards (dashboard mockup below covers it) */
@media (max-width: 960px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .hero-text, .hero-split-grid h1, .hero-split-grid .hero-sig, .hero-split-grid .hero-sub {
    text-align: center;
  }
  .hero-split-grid .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-split-grid .hero-actions { justify-content: center; }
  .hero-graphic-merged { display: none; }
}

/* ============================================================
   HERO GRAPHIC BANNER — money cards collage (LEGACY, hidden)
   Kept in CSS in case the legacy section is re-enabled, but the
   new .hgm-* split-hero above is the active treatment.
   ============================================================ */
.hero-graphic-wrap {
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.hero-graphic {
  position: relative;
  height: 460px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(30, 64, 175, 0.08), transparent 70%),
    linear-gradient(180deg, var(--purple-50) 0%, white 100%);
  border: 1px solid var(--purple-100);
  box-shadow:
    0 1px 2px rgba(30, 64, 175, 0.08),
    0 24px 48px -16px rgba(30, 64, 175, 0.18),
    0 8px 16px -8px rgba(15, 15, 26, 0.08);
}

/* Background atmospheric glows */
.hg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hg-glow-1 {
  width: 320px; height: 320px;
  top: -80px; left: -60px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.30), transparent 65%);
}
.hg-glow-2 {
  width: 360px; height: 360px;
  bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 65%);
}
.hg-glow-3 {
  width: 240px; height: 240px;
  top: 40%; left: 45%;
  background: radial-gradient(circle, rgba(216, 180, 254, 0.22), transparent 65%);
}

/* Floating ticker text in background */
.hg-ticker {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-4);
  letter-spacing: 0.05em;
  pointer-events: none;
  opacity: 0.55;
  white-space: nowrap;
}
.hg-ticker-1 { top: 28px; left: 36%; }
.hg-ticker-2 { top: 70px; right: 12%; }
.hg-ticker-3 { bottom: 40px; left: 28%; }
.hg-ticker-4 { top: 200px; left: 8%; }

/* Card base */
.hg-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 2px rgba(15, 15, 26, 0.04),
    0 12px 28px -8px rgba(15, 15, 26, 0.12),
    0 4px 8px -4px rgba(30, 64, 175, 0.10);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hg-card:hover {
  transform: translateY(-4px) rotate(0deg) !important;
  z-index: 10;
}

.hg-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Card 1 — chart (left, large) */
.hg-card-chart {
  top: 60px;
  left: 56px;
  width: 420px;
  padding: 18px 20px;
  transform: rotate(-1.5deg);
  z-index: 3;
}
.hg-card-chart .hg-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.hg-card-chart .hg-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hg-card-chart .hg-delta {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  font-family: var(--mono);
}
.hg-tabs {
  display: flex;
  gap: 4px;
}
.hg-tabs span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hg-tabs span.active {
  background: var(--purple-50);
  color: var(--purple-700);
}

/* Card 2 — donut (top right) */
.hg-card-donut {
  top: 32px;
  right: 64px;
  width: 220px;
  padding: 16px 18px;
  transform: rotate(2deg);
  z-index: 4;
}
.hg-donut-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hg-donut-amt {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.hg-donut-of {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 2px;
}
.hg-donut-trend {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Card 3 — signal (right middle) */
.hg-card-signal {
  top: 200px;
  right: 32px;
  width: 240px;
  padding: 14px 16px;
  transform: rotate(-1.5deg);
  z-index: 5;
}
.hg-signal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.hg-signal-tag {
  background: var(--green);
  color: white;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 5px;
}
.hg-signal-sym {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  flex: 1;
}
.hg-signal-score {
  background: var(--purple-50);
  color: var(--purple-700);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
}
.hg-signal-msg {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* Card 4 — round-up coins (bottom right) */
.hg-card-roundup {
  bottom: 36px;
  right: 100px;
  width: 240px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(1.5deg);
  z-index: 4;
}
.hg-roundup-coins {
  position: relative;
  width: 48px;
  height: 44px;
  flex-shrink: 0;
}
.hg-coin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4A6285 0%, #0F1B2D 35%, #081222 70%, #050810 100%);
  box-shadow:
    0 4px 8px rgba(30, 64, 175, 0.30),
    inset 0 -1px 2px rgba(15, 27, 45, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.40);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--mono);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hg-coin-1 { top: 0; left: 0; transform: rotate(-8deg); }
.hg-coin-2 { top: 6px; left: 10px; transform: rotate(4deg); z-index: 2; }
.hg-coin-3 { top: 12px; left: 20px; transform: rotate(-3deg); z-index: 3; }
.hg-roundup-amt {
  font-size: 15px;
  font-weight: 800;
  color: var(--purple-700);
  letter-spacing: -0.01em;
  font-family: var(--mono);
}

/* Card 5 — Athena chat (bottom left) */
.hg-card-athena {
  bottom: 50px;
  left: 100px;
  width: 280px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0F1B2D 0%, #1F2B40 100%);
  border-color: rgba(30, 64, 175, 0.35);
  color: white;
  transform: rotate(-2deg);
  z-index: 5;
}
.hg-athena-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hg-athena-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-300), var(--purple-700));
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.hg-athena-name {
  font-size: 12px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
}
.hg-athena-status {
  font-size: 9px;
  font-family: var(--mono);
  color: #4ADE80;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 2px;
}
.hg-athena-msg {
  font-size: 12px;
  color: var(--purple-200);
  line-height: 1.5;
  font-family: var(--serif);
  font-style: italic;
}

/* Hero graphic — responsive */
@media (max-width: 1100px) {
  .hero-graphic { height: 420px; }
  .hg-card-chart { width: 360px; left: 24px; }
  .hg-card-donut { right: 24px; width: 200px; }
  .hg-card-signal { right: 16px; width: 220px; top: 180px; }
  .hg-card-roundup { right: 40px; width: 220px; }
  .hg-card-athena { left: 32px; width: 260px; }
}
@media (max-width: 840px) {
  .hero-graphic { height: 380px; padding: 0; overflow: hidden; }
  .hg-card-chart {
    width: 280px; left: 16px; top: 30px;
    padding: 12px 14px;
  }
  .hg-card-chart svg { height: 80px !important; }
  .hg-card-donut { right: 16px; top: 18px; width: 170px; padding: 12px 14px; }
  .hg-card-donut svg { width: 56px; height: 56px; }
  .hg-card-donut .hg-donut-amt { font-size: 14px; }
  .hg-card-signal { right: 16px; top: 160px; width: 200px; padding: 11px 13px; }
  .hg-card-signal .hg-signal-msg { font-size: 11px; }
  .hg-card-roundup { bottom: 24px; right: 24px; width: 200px; padding: 11px 13px; }
  .hg-card-athena { left: 24px; bottom: 30px; width: 220px; padding: 11px 13px; }
  .hg-ticker { font-size: 10px; }
}
@media (max-width: 640px) {
  .hero-graphic-wrap { display: none; } /* fall back to dashboard mock below */
}

/* ============================================================
   DASHBOARD MOCK FRAME (visual-frame)
   ============================================================ */
.visual-frame {
  margin-top: 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow:
    0 32px 64px -20px rgba(15, 15, 26, 0.18),
    0 12px 24px -12px rgba(30, 64, 175, 0.20);
  overflow: hidden;
  position: relative;
}
.visual-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.visual-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-5); }
.visual-bar .dot:nth-child(1) { background: #FF5F57; }
.visual-bar .dot:nth-child(2) { background: #FEBC2E; }
.visual-bar .dot:nth-child(3) { background: #28C840; }
.url-bar {
  flex: 1; margin-left: 14px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3);
  background: white;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
}
.url-bar svg { width: 12px; height: 12px; color: var(--green); }

/* ============================================================
   FEATURE ROWS (alternating image/text)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row-text { padding: 0 8px; }
.feature-row-text h2 { margin-bottom: 14px; }
.feature-row-text h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--purple-600); }
.feature-row-text .lede { margin-bottom: 20px; }
.feature-row-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--purple-600);
  margin-top: 16px;
}
.feature-row-link:hover { color: var(--purple-700); }
.feature-row-visual {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: 0 24px 48px -16px rgba(30,64,175,0.18);
}

/* ============================================================
   FEATURE GRID-4 (4 column feature cards)
   ============================================================ */
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-grid-4 .card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: all 0.2s ease;
}
.feature-grid-4 .card:hover {
  border-color: var(--purple-200);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(30, 64, 175, 0.20);
}
.feature-grid-4 .card.gradient {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: white;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.feature-grid-4 .card.gradient::before {
  content: ''; position: absolute;
  top: -30px; right: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  border-radius: 50%;
}
.feature-grid-4 .card.gradient h4 { color: white; position: relative; }
.feature-grid-4 .card.gradient p { color: rgba(255,255,255,0.85); position: relative; }

.icon-box {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--purple-50);
  color: var(--purple-600);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.icon-box svg { width: 22px; height: 22px; }
.gradient .icon-box {
  background: rgba(255,255,255,0.18);
  color: white;
  position: relative;
}

/* ============================================================
   BUDGET ROW (used in budget visuals)
   ============================================================ */
.budget-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.budget-row:last-child { border-bottom: none; }
.budget-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--purple-50); color: var(--purple-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.budget-icon svg { width: 14px; height: 14px; }
.budget-info { flex: 1; min-width: 0; }
.budget-info .nm { font-size: 13px; font-weight: 600; color: var(--ink); }
.budget-info .pct { font-size: 11px; color: var(--ink-3); }
.budget-bar {
  width: 80px; height: 6px;
  background: var(--bg-lavender);
  border-radius: 3px; overflow: hidden;
  flex-shrink: 0;
}
.budget-bar > div { height: 100%; background: var(--purple-500); border-radius: 3px; }
.budget-amt {
  font-family: var(--mono); font-weight: 700;
  color: var(--ink); font-size: 13px;
  min-width: 56px; text-align: right;
}

/* ============================================================
   STAT TILE
   ============================================================ */
.stat-tile {
  background: var(--bg-lavender);
  border-radius: var(--r-md);
  padding: 16px 18px;
}
.stat-tile .label {
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600; margin-bottom: 6px;
}
.stat-tile .value {
  font-size: 24px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.025em;
  line-height: 1; margin-bottom: 6px;
  font-family: var(--sans);
}
.stat-tile .delta {
  font-size: 11px; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}
.stat-tile .delta.up { color: var(--green); }
.stat-tile .delta.dn { color: var(--red); }
.stat-tile .delta.neu { color: var(--ink-3); font-weight: 500; }

/* ============================================================
   TABS
   ============================================================ */
.tab {
  font-size: 11px; font-family: var(--mono);
  color: var(--ink-3); padding: 4px 10px;
  border-radius: var(--r-sm); font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tab.active { background: var(--purple-50); color: var(--purple-700); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head {
  background: var(--bg-soft);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; color: var(--ink-3);
}
.compare-row.featured { background: var(--purple-50); }
.compare-cell {
  padding: 14px 18px;
  font-size: 13px;
  display: flex; align-items: center;
  border-right: 1px solid var(--line);
  color: var(--ink-2);
}
.compare-cell:last-child { border-right: none; }
.compare-cell.label {
  font-weight: 600; color: var(--ink);
  font-family: var(--sans); text-transform: none;
  letter-spacing: 0; font-size: 13px;
}
.compare-cell .check { color: var(--green); font-weight: 700; }
.compare-cell .x { color: var(--red); }
.compare-cell .dash { color: var(--ink-4); }
.compare-cell.fintrest {
  background: var(--purple-50);
  color: var(--purple-700);
  font-weight: 600;
}

/* ============================================================
   BETA PROMO BANNER (pricing page)
   ============================================================ */
.beta-promo {
  margin: 32px 0 0;
  position: relative;
  background: linear-gradient(135deg, var(--purple-950) 0%, #0F1B2D 50%, var(--purple-700) 100%);
  border-radius: var(--r-xl);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  color: white;
  overflow: hidden;
  box-shadow: 0 16px 32px -16px rgba(30, 64, 175, 0.30);
  border: 1px solid rgba(30, 64, 175, 0.25);
}
.beta-promo-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.beta-promo-glow::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.40), transparent 65%);
  filter: blur(40px);
}
.beta-promo-glow::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.30), transparent 65%);
  filter: blur(40px);
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(30, 64, 175, 0.18);
  border: 1px solid rgba(30, 64, 175, 0.40);
  border-radius: var(--r-pill);
  color: var(--purple-200);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.beta-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
  animation: beta-pulse 2s infinite;
}
@keyframes beta-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.10); }
}

.beta-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.beta-headline {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.beta-percent {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: white;
  line-height: 1;
  font-family: var(--sans);
  background: linear-gradient(135deg, #FFFFFF 0%, var(--purple-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.beta-text {
  font-size: 16px;
  color: var(--purple-100);
  line-height: 1.4;
}
.beta-text strong {
  color: white;
  font-weight: 700;
}
.beta-cta {
  margin-top: 4px;
}

.beta-counter {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(30, 64, 175, 0.30);
  border-radius: var(--r-md);
  flex-shrink: 0;
  min-width: 100px;
}
.beta-counter-num {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1;
  font-family: var(--mono);
  margin-bottom: 4px;
}
.beta-counter-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-300);
  font-weight: 700;
}

@media (max-width: 760px) {
  .beta-promo {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
    gap: 18px;
  }
  .beta-counter {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .beta-counter-num { margin-bottom: 0; }
  .beta-headline { gap: 8px; margin-bottom: 12px; }
  .beta-percent { font-size: 26px; }
  .beta-text { font-size: 14px; width: 100%; }
}

/* 2-column pricing variant (without Free tier) */
.pricing-grid-2 {
  grid-template-columns: 1fr 1fr !important;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .pricing-grid-2 { grid-template-columns: 1fr !important; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
}
.price-card.featured {
  border-color: var(--purple-300);
  border-width: 2px;
  background: linear-gradient(180deg, var(--purple-50) 0%, white 30%);
  transform: scale(1.02);
  box-shadow: 0 16px 32px -16px rgba(30, 64, 175, 0.30);
}
.feat-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--purple-500); color: white;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.price-tier {
  font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3); font-weight: 600;
  margin-bottom: 8px;
}
.price-tag {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 6px;
}
.price-tag .num {
  font-size: 48px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink);
  line-height: 1;
}
.price-tag .num em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--purple-600); }
.price-tag .per { font-size: 14px; color: var(--ink-3); }
.price-tagline {
  font-size: 14px; color: var(--ink-3);
  line-height: 1.5; margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.price-features { padding: 0; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--ink-2);
}
.price-features li svg {
  width: 16px; height: 16px;
  color: var(--purple-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-features li.muted { color: var(--ink-4); }
.price-features li.muted svg { color: var(--ink-5); }
.price-cta { margin-top: 24px; width: 100%; justify-content: center; }

/* Check-list (general) */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-2);
  line-height: 1.5;
}
.check-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center;
  font-weight: 800; font-size: 11px;
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.stars { color: var(--purple-500); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 16px;
}
.testimonial .author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.testimonial .av,
.author .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-700));
  color: white;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.testimonial .author .label,
.testimonial .author .nm {
  font-size: 13px; font-weight: 700; color: var(--ink);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
}
.faq-item h4 {
  font-size: 15px; font-weight: 700;
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 13px; color: var(--ink-3);
  line-height: 1.6;
}

/* ============================================================
   CLOSING CTA (homepage)
   ============================================================ */
.closing-cta {
  background: linear-gradient(135deg, var(--purple-950) 0%, #0F1B2D 50%, var(--purple-700) 100%);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-cta::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.40), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.closing-cta::after {
  content: ''; position: absolute;
  bottom: -100px; left: 30%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.20), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.closing-cta > * { position: relative; z-index: 1; }
.closing-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 14px;
  color: white;
  font-weight: 800;
}
.closing-cta h2 em {
  font-family: var(--serif);
  font-style: italic; font-weight: 400;
  color: var(--purple-300);
}
.closing-cta p {
  font-size: 17px;
  color: var(--purple-200);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer, .footer {
  background: var(--purple-950);
  color: var(--purple-200);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before, .footer::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.18), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  position: relative; z-index: 1;
  margin-bottom: 48px;
}
.footer-brand .logo-name { color: white; }
.footer-brand h4 {
  margin-top: 18px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1.25;
  max-width: 320px;
}
.footer-brand h4 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--purple-300);
}
.footer-tagline {
  margin-top: 18px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1.25;
  max-width: 320px;
}
.footer-tagline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--purple-300);
}
.footer-tagline .sig,
.footer-sig {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--purple-400);
  letter-spacing: 0.01em;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--purple-200);
  line-height: 1.5;
  max-width: 320px;
}
.footer-app-buttons {
  margin-top: 18px;
  display: flex; gap: 8px;
}
.footer-app-buttons a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(30, 64, 175, 0.30);
  border-radius: var(--r-sm);
  font-size: 12px; font-weight: 600;
  color: var(--purple-200);
  background: rgba(255,255,255,0.05);
}
.footer-app-buttons a:hover {
  background: rgba(30, 64, 175, 0.15);
  color: white;
}
.footer-col h6,
.site-footer h6,
.footer h6 {
  font-family: var(--mono);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-400);
  margin-bottom: 16px; font-weight: 600;
}
.footer-col ul,
.site-footer ul,
.footer ul {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-col ul a,
.site-footer ul a,
.footer ul a {
  font-size: 14px; color: var(--purple-200);
  transition: color 0.15s;
}
.footer-col ul a:hover,
.site-footer ul a:hover,
.footer ul a:hover { color: white; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(30, 64, 175, 0.20);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: var(--purple-300);
  position: relative; z-index: 1;
  flex-wrap: wrap; gap: 16px;
}

/* ============================================================
   GENERIC HELPERS
   ============================================================ */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Mark up classes */
.label, .value, .delta, .num, .per, .nm, .pct {
  /* contextual — already styled in their parents */
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions .btn-text { display: none; }
  .mobile-toggle { display: flex; }

  .hero { padding: 40px 0 20px; }
  .hero-trust { gap: 18px; font-size: 11px; }

  .page-header-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-header { padding: 48px 0 40px; }

  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .feature-row.reverse { direction: ltr; }

  .feature-grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid .price-card.featured { transform: none; }

  .testimonial-wall { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1.5fr repeat(4, 1fr); font-size: 12px; }
  .compare-cell { padding: 10px 8px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-grid { grid-template-columns: 1fr; }
  .closing-cta { padding: 48px 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .hero h1 { font-size: 38px; }
  .hero-sig { font-size: 18px; }
  .feature-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: 11px; }
  .compare-row { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .compare-cell:nth-child(n+4) { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Aliases / additional utilities */
.bg-soft { background: var(--bg-soft); }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-700));
  color: white;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
  font-family: var(--sans);
}
