/* =======================================
   MICROMAP CONSULTING — Landing Page
   ======================================= */

/* --- Design Tokens --- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

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

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Widths */
  --content-default: 960px;
  --content-wide: 1200px;

  /* Brand colors */
  --navy-950: #0F172A;
  --navy-900: #1E293B;
  --navy-800: #1E3A5F;
  --navy-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --color-accent: #0D9488;
  --color-accent-hover: #0F766E;
  --color-accent-light: #14B8A6;
  --color-accent-glow: rgba(13, 148, 136, 0.15);
  --color-accent-subtle: rgba(13, 148, 136, 0.08);
}

/* --- Light Mode --- */
:root, [data-theme="light"] {
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-2: #F1F5F9;
  --color-surface-offset: #E2E8F0;
  --color-text: #0F172A;
  --color-text-muted: #475569;
  --color-text-faint: #94A3B8;
  --color-border: rgba(15, 23, 42, 0.1);
  --color-divider: rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --hero-bg: #0F172A;
  --hero-text: #F8FAFC;
  --hero-muted: #94A3B8;
  --stat-bg: #0F172A;
  --stat-text: #F8FAFC;
  --stat-muted: #94A3B8;
  --cta-bg: #0F172A;
  --cta-text: #F8FAFC;
  --cta-muted: #94A3B8;
  --footer-bg: #0F172A;
  --footer-text: #CBD5E1;
  --footer-muted: #64748B;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --color-bg: #0B1120;
  --color-surface: #131C2E;
  --color-surface-2: #1A2640;
  --color-surface-offset: #1E293B;
  --color-text: #E2E8F0;
  --color-text-muted: #94A3B8;
  --color-text-faint: #64748B;
  --color-border: rgba(226, 232, 240, 0.08);
  --color-divider: rgba(226, 232, 240, 0.04);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  --hero-bg: #060D1B;
  --hero-text: #E2E8F0;
  --hero-muted: #94A3B8;
  --stat-bg: #060D1B;
  --stat-text: #E2E8F0;
  --stat-muted: #94A3B8;
  --cta-bg: #0D1525;
  --cta-text: #E2E8F0;
  --cta-muted: #94A3B8;
  --footer-bg: #060D1B;
  --footer-text: #94A3B8;
  --footer-muted: #475569;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0B1120;
    --color-surface: #131C2E;
    --color-surface-2: #1A2640;
    --color-surface-offset: #1E293B;
    --color-text: #E2E8F0;
    --color-text-muted: #94A3B8;
    --color-text-faint: #64748B;
    --color-border: rgba(226, 232, 240, 0.08);
    --color-divider: rgba(226, 232, 240, 0.04);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
    --hero-bg: #060D1B;
    --hero-text: #E2E8F0;
    --hero-muted: #94A3B8;
    --stat-bg: #060D1B;
    --stat-text: #E2E8F0;
    --stat-muted: #94A3B8;
    --cta-bg: #0D1525;
    --cta-text: #E2E8F0;
    --cta-muted: #94A3B8;
    --footer-bg: #060D1B;
    --footer-text: #94A3B8;
    --footer-muted: #475569;
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }

a, button, [role='button'], [role='link'], input, textarea, select {
  transition: color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

::selection {
  background: rgba(13, 148, 136, 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-10); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--hero-text, var(--color-text));
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.85);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}
.logo svg { display: inline-block; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: var(--space-1);
}
.main-nav a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.main-nav a:hover {
  color: var(--color-text);
  background: rgba(255,255,255,0.06);
}
[data-theme="light"] .main-nav a:hover {
  background: rgba(15, 23, 42, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

[data-theme-toggle] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
[data-theme-toggle]:hover {
  color: var(--color-text);
  background: rgba(255,255,255,0.08);
}
[data-theme="light"] [data-theme-toggle]:hover {
  background: rgba(15, 23, 42, 0.06);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--color-bg);
  padding: var(--space-8) var(--space-6);
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-nav.open {
  display: block;
  opacity: 1;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-nav a {
  display: block;
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.04); }
[data-theme="light"] .mobile-nav a:hover { background: rgba(15, 23, 42, 0.04); }

@media (max-width: 767px) {
  .main-nav, .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-menu-btn { display: flex; }
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  color: var(--hero-text);
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  max-width: 720px;
}

.hero-badge { margin-bottom: var(--space-6); }
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent-light);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--hero-muted);
  max-width: 560px;
  margin-bottom: var(--space-10);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.hero-trust-label {
  font-size: var(--text-xs);
  color: var(--hero-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hero-trust-items {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}
.dot-separator {
  width: 3px;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* --- Section shared --- */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* --- Products --- */
.products {
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.2);
}

.product-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.product-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.product-card > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.product-features li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 6px;
}

/* --- Stats --- */
.stats {
  background: var(--stat-bg);
  color: var(--stat-text);
}

.stats .section-header { color: var(--stat-text); }
.stats .section-label { color: var(--color-accent-light); }
.stats .section-desc { color: var(--stat-muted); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  text-align: left;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

[data-theme="light"] .stat-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-accent-light);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent-light);
  margin-left: var(--space-1);
}

.stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--stat-muted);
  margin-top: var(--space-2);
}

/* --- How It Works --- */
.how-it-works {
  background: var(--color-bg);
}

.flow-track {
  position: relative;
  max-width: 720px;
}

.flow-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.flow-step {
  display: flex;
  gap: var(--space-6);
  position: relative;
  padding: var(--space-5) 0;
}

.flow-step-marker {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  z-index: 1;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.flow-step-marker.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.flow-step-marker.active .flow-step-num {
  color: #fff;
}

.flow-step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.flow-step-content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.flow-step-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 440px;
}

/* --- Benefits --- */
.benefits {
  background: var(--color-surface-2);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

.benefit-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
}

.benefit-item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.benefit-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 400px;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--cta-bg);
  color: var(--cta-text);
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-5);
}

.cta-desc {
  font-size: var(--text-base);
  color: var(--cta-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-inline: auto;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--cta-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-interactive);
}
.cta-contact-item:hover {
  color: var(--color-accent-light);
}

.cta-btn {
  margin-top: var(--space-2);
}

/* --- Footer --- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-block: var(--space-16) var(--space-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

.footer-brand .logo { margin-bottom: var(--space-4); }
.footer-desc {
  font-size: var(--text-sm);
  color: var(--footer-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--footer-muted);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--footer-text);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-col a:hover { color: var(--color-accent-light); }

.footer-links {
  display: flex;
  gap: var(--space-12);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--footer-muted);
}
.footer-domain { color: var(--color-accent); font-weight: 500; }

/* --- Scroll Animations (IntersectionObserver) --- */
.fade-in {
  opacity: 1;
  transform: none;
}

.fade-in.animate-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.animate-ready.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in.animate-ready:nth-child(2) { transition-delay: 60ms; }
.fade-in.animate-ready:nth-child(3) { transition-delay: 120ms; }
.fade-in.animate-ready:nth-child(4) { transition-delay: 180ms; }
.fade-in.animate-ready:nth-child(5) { transition-delay: 240ms; }

/* --- Mobile Adjustments --- */
@media (max-width: 639px) {
  .stat-number {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .stat-suffix {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }
  .hero-content { padding-block: var(--space-12) var(--space-16); }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subtitle { font-size: var(--text-base); }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .hero-trust-items { flex-wrap: wrap; }

  .footer-links { flex-direction: column; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --- Stat number animation --- */
.stat-number {
  font-variant-numeric: tabular-nums;
}
