/*
 * EarnWhileGaming.ca — V3 Premium Monochrome Rebuild
 * Dark fintech SaaS aesthetic inspired by PassFlow/Chronic Coin/Webtrix
 * Swiss grid system, micro-typography, subtle animations
 */

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS — MONOCHROME SYSTEM
   ═══════════════════════════════════════════════════════════ */
:root {
  /* ─── Background Colors (Pure Black to Dark Gray) ─── */
  --black-pure: #000000;
  --black-soft: #050505;
  --black-matte: #0a0a0a;
  --surface-1: #0f0f0f;
  --surface-2: #141414;
  --surface-3: #1a1a1a;
  --surface-4: #222222;
  --surface-5: #2a2a2a;

  /* ─── Border/Stroke Colors ─── */
  --stroke-subtle: rgba(255,255,255,0.06);
  --stroke-soft: rgba(255,255,255,0.10);
  --stroke-medium: rgba(255,255,255,0.15);
  --stroke-strong: rgba(255,255,255,0.22);

  /* ─── Text Hierarchy ─── */
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.60);
  --text-dim: rgba(255,255,255,0.40);
  --text-ghost: rgba(255,255,255,0.25);

  /* ─── Inset/Glow Effects ─── */
  --inset-light: inset 0 1px 0 rgba(255,255,255,0.05);
  --inset-dark: inset 0 -1px 0 rgba(0,0,0,0.5);
  --glow-soft: 0 0 40px rgba(255,255,255,0.03);
  --glow-medium: 0 0 60px rgba(255,255,255,0.05);

  /* ─── Shadows ─── */
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.6);
  --shadow-xl: 0 40px 100px rgba(0,0,0,0.7);

  /* ─── Swiss Grid ─── */
  --grid-columns: 12;
  --grid-gutter: 24px;
  --grid-margin: 48px;
  --grid-max-width: 1440px;

  /* ─── Spacing Scale ─── */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 96px;
  --space-11: 128px;
  --space-12: 160px;
  --space-13: 200px;

  /* ─── Type Scale ─── */
  --text-10: 10px;
  --text-11: 11px;
  --text-12: 12px;
  --text-13: 13px;
  --text-14: 14px;
  --text-16: 16px;
  --text-18: 18px;
  --text-20: 20px;
  --text-24: 24px;
  --text-32: 32px;
  --text-40: 40px;
  --text-48: 48px;
  --text-56: 56px;
  --text-64: 64px;
  --text-80: 80px;
  --text-96: 96px;

  /* ─── Letter Spacing ─── */
  --tracking-tighter: -0.04em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.15em;

  /* ─── Border Radii ─── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ─── Transitions ─── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* ─── Focus Ring ─── */
  --ring: rgba(255,255,255,0.4);

  /* ─── Sticky Safe Area ─── */
  --sticky-safe-area: 84px;
}

/* ═══════════════════════════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--text-16);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--black-pure);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: var(--sticky-safe-area);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/* ═══════════════════════════════════════════════════════════
   NOISE OVERLAY (disabled globally; hero-only noise below)
   ═══════════════════════════════════════════════════════════ */
body::before { content: none; }

/* ═══════════════════════════════════════════════════════════
   SWISS GRID SYSTEM
   ═══════════════════════════════════════════════════════════ */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
  max-width: var(--grid-max-width);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

.container {
  max-width: var(--grid-max-width);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

/* Column spans */
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
h1 {
  font-size: clamp(var(--text-48), 8vw, var(--text-80));
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: var(--tracking-tighter);
  color: var(--text-primary);
}

h2 {
  font-size: clamp(var(--text-32), 5vw, var(--text-48));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h3 {
  font-size: var(--text-24);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h4 {
  font-size: var(--text-18);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-11);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.subhead {
  font-size: var(--text-18);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-14);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--black-pure);
  border: 1px solid var(--text-primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--stroke-medium);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

/* Size variants */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-13);
}

.btn-lg {
  padding: var(--space-5) var(--space-8);
  font-size: var(--text-16);
}

/* ═══════════════════════════════════════════════════════════
   TAGS / CHIPS
   ═══════════════════════════════════════════════════════════ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--surface-2);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-11);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface-1);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--stroke-medium);
  transform: translateY(-4px);
  box-shadow: var(--glow-soft);
}

.card-elevated {
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════
   FIXED NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.site-nav[data-scrolled="false"] {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-nav[data-scrolled="true"] {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--grid-max-width);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-logo {
  width: 32px;
  height: 32px;
}

.nav-name {
  font-size: var(--text-16);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.nav-links a {
  font-size: var(--text-14);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-menu-btn {
  display: none;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-12);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  color: var(--text-primary);
  border: 1px solid var(--stroke-medium);
  border-radius: var(--radius-sm);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black-pure);
  z-index: 999;
  padding: var(--space-10) var(--space-6);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.mobile-menu.open {
  display: flex;
}

body.mobile-menu-open .site-nav {
  visibility: hidden;
}

.mobile-menu a:not(.btn) {
  font-size: var(--text-24);
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: var(--text-24);
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-11) 0 var(--space-10);
  background:
    /* Primary glow - top left, very large and soft */
    radial-gradient(ellipse 120% 80% at 10% 20%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 40%, transparent 70%),
    /* Secondary glow - bottom right, subtle */
    radial-gradient(ellipse 100% 70% at 90% 80%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 35%, transparent 65%),
    /* Center fill - very subtle to prevent pure black */
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,255,255,0.008) 0%, transparent 60%),
    #000;
}

/* Hero-only noise (keeps gray sections clean) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Hero particles canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.78;
}

/* HERO layering (explicit; prevents canvas being washed out by other hero children) */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Actual hero content always above */
.hero-inner,
.hero-scroll {
  position: relative;
  z-index: 1;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  mix-blend-mode: screen;
  will-change: opacity;
}

.ambient-glow-1 {
  width: 80%;
  height: 70%;
  top: -25%;
  left: -15%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 40%, transparent 70%);
  animation: ambient-drift-1 45s ease-in-out infinite;
}

.ambient-glow-2 {
  width: 70%;
  height: 60%;
  bottom: -20%;
  right: -15%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 40%, transparent 70%);
  animation: ambient-drift-2 60s ease-in-out infinite;
}

@keyframes ambient-drift-1 {
  0%, 100% { opacity: 0.06; transform: translate(0, 0) scale(1); }
  50% { opacity: 0.1; transform: translate(5%, 3%) scale(1.05); }
}

@keyframes ambient-drift-2 {
  0%, 100% { opacity: 0.05; transform: translate(0, 0) scale(1); }
  50% { opacity: 0.08; transform: translate(-3%, -2%) scale(1.03); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  max-width: var(--grid-max-width);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

.hero-content {
  max-width: 600px;
}

.hero-eyebrow {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-headline {
  margin-bottom: var(--space-5);
}

.hero-headline .typing-line {
  display: block;
  white-space: nowrap;
}

.hero-headline .static-line {
  display: block;
  opacity: 1;
}

.hero-subhead {
  font-size: clamp(var(--text-16), 2vw, var(--text-20));
  color: var(--text-muted);
  margin-bottom: var(--space-7);
  max-width: 480px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-dim);
  font-size: var(--text-12);
  letter-spacing: var(--tracking-wide);
  animation: float 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION SPACING
   ═══════════════════════════════════════════════════════════ */
.section {
  padding: var(--space-11) 0;
  position: relative;
  min-height: fit-content; /* Prevent CLS from reveal animations */
}

.section-header {
  margin-bottom: var(--space-9);
}

.section-header.centered {
  text-align: center;
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header .subhead {
  max-width: 540px;
}

.section-header.centered .subhead {
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   PROOF SECTION
   ═══════════════════════════════════════════════════════════ */
.proof-section {
  padding: var(--space-9) 0;
  border-bottom: 1px solid var(--stroke-subtle);
}

.proof-drawer {
  max-width: 700px;
  margin: 0 auto;
}

.proof-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-14);
  font-weight: 500;
  color: var(--text-muted);
  list-style: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.proof-toggle::-webkit-details-marker {
  display: none;
}

.proof-toggle:hover {
  color: var(--text-primary);
}

.proof-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.proof-drawer[open] .proof-toggle svg {
  transform: rotate(180deg);
}

.proof-content {
  margin-top: var(--space-6);
}

.proof-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
}

.proof-card {
  margin: 0;
  text-align: center;
}

.proof-card img {
  max-width: 100%;
  height: auto;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter var(--duration-normal) var(--ease-out), opacity var(--duration-normal) var(--ease-out);
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-subtle);
}

.proof-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.proof-card figcaption {
  font-size: var(--text-12);
  color: var(--text-dim);
  margin-top: var(--space-3);
}

.proof-disclaimer {
  font-size: var(--text-12);
  color: var(--text-dim);
  text-align: center;
  margin-top: var(--space-6);
}

/* ═══════════════════════════════════════════════════════════
   FEATURE ROW (3-UP)
   ═══════════════════════════════════════════════════════════ */
.features-row {
  padding: var(--space-11) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--stroke-medium);
  transform: translateY(-4px);
  box-shadow: var(--glow-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: var(--text-20);
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: var(--text-14);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   ALTERNATING FEATURE SECTIONS
   ═══════════════════════════════════════════════════════════ */
.feature-section {
  padding: var(--space-11) 0;
}

.feature-text {
  min-width: 280px; /* Prevent skinny collapse on intermediate widths */
}

.feature-text .eyebrow {
  margin-bottom: var(--space-5);
}

.feature-text h2 {
  margin-bottom: var(--space-5);
}

.feature-text > p {
  margin-bottom: var(--space-6);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-15);
  color: var(--text-secondary);
}

.feature-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  stroke: var(--text-primary);
  stroke-width: 2;
}

.feature-list strong {
  color: var(--text-primary);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-14);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.link-arrow:hover {
  color: var(--text-primary);
}

/* Feature visual - container for step indicators and device stacks */
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step indicator - 01 → 02 → 03 */
.step-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--stroke-medium);
  border-radius: 50%;
  font-size: var(--text-20);
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.step:hover .step-number {
  border-color: var(--text-primary);
  background: var(--surface-2);
}

.step-label {
  font-size: var(--text-12);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--stroke-medium), var(--stroke-subtle));
  margin-bottom: var(--space-6);
}

/* Device stack - phone, tablet, laptop icons */
.device-stack {
  display: flex;
  align-items: flex-end;
  gap: var(--space-6);
}

.device {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.device:hover {
  color: var(--text-primary);
  transform: translateY(-4px);
}

.device-phone svg {
  width: 48px;
  height: 48px;
}

.device-tablet svg {
  width: 64px;
  height: 64px;
}

.device-laptop svg {
  width: 80px;
  height: 80px;
}

/* Feature mockup base styles - grid handled via media queries below */

/* Mockup card styling */
.mockup-card {
  background: var(--surface-2);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--stroke-subtle);
  margin-bottom: var(--space-5);
}

.mockup-dots {
  display: flex;
  gap: var(--space-2);
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-4);
}

.mockup-title {
  font-size: var(--text-12);
  color: var(--text-dim);
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: var(--surface-3);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-md);
}

.mockup-row-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mockup-avatar {
  width: 32px;
  height: 32px;
  background: var(--surface-4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-avatar img,
.mockup-avatar svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mockup-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mockup-text-main {
  font-size: var(--text-14);
  font-weight: 500;
  color: var(--text-primary);
}

.mockup-text-sub {
  font-size: var(--text-12);
  color: var(--text-dim);
}

.mockup-badge {
  padding: var(--space-1) var(--space-3);
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-12);
  font-weight: 600;
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════
   LOGO WALL
   ═══════════════════════════════════════════════════════════ */
.logo-wall {
  padding: var(--space-11) 0;
  background: var(--surface-1);
  border-top: 1px solid var(--stroke-subtle);
  border-bottom: 1px solid var(--stroke-subtle);
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  filter: grayscale(100%) brightness(0.6);
  opacity: 0.7;
  transition: all var(--duration-normal) var(--ease-out);
}

.logo-item:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.logo-item svg,
.logo-item img {
  height: 32px;
  width: auto;
}

/* More breathing room above payout logos */
.payout-logo-row {
  margin-top: var(--space-9); /* bump up from space-6/8 */
  gap: var(--space-8);
  align-items: center;
}

/* Remove chip look */
.payout-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  opacity: 0.65; /* subtle by default */
  transition: opacity 160ms ease, transform 160ms ease;
}

.payout-logo img,
.payout-logo svg {
  height: 22px;
  width: auto;
  display: block;
}

.payout-logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .payout-logo-row {
    margin-top: var(--space-8);
    gap: var(--space-6);
  }
  .payout-logo img,
  .payout-logo svg {
    height: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════════════════════ */
.pricing {
  padding: var(--space-11) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-9);
}

.pricing-card {
  background: var(--surface-1);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
  border-color: var(--stroke-medium);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--stroke-strong);
  background: var(--surface-2);
  box-shadow: var(--glow-medium);
  position: relative;
}

.pricing-card.featured::before {
  content: "POPULAR";
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  padding: var(--space-1) var(--space-3);
  background: var(--text-primary);
  color: var(--black-pure);
  font-size: var(--text-10);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  border-radius: var(--radius-full);
}

.pricing-header {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--stroke-subtle);
  margin-bottom: var(--space-6);
}

.pricing-tier {
  display: block;
  font-size: var(--text-14);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.price-amount {
  font-size: var(--text-40);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

.price-period {
  font-size: var(--text-14);
  color: var(--text-dim);
}

.pricing-desc {
  font-size: var(--text-14);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

.pricing-features {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-14);
  color: var(--text-secondary);
}

.pricing-features svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--text-primary);
  stroke-width: 2;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-disclaimer {
  text-align: center;
  font-size: var(--text-13);
  color: var(--text-dim);
  margin-top: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════ */
.faq {
  padding: var(--space-11) 0;
}

.faq .grid {
  align-items: start;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 96px);
}

.faq-header {
  grid-column: 1;
  position: sticky;
  top: 100px;
}

.faq-header h2 {
  margin-bottom: var(--space-4);
}

.faq-list {
  grid-column: 2;
  max-width: 920px;
}

.faq-item {
  border-bottom: 1px solid var(--stroke-subtle);
}

.faq-item:first-child {
  border-top: 1px solid var(--stroke-subtle);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--text-18);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--duration-fast) var(--ease-out);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--text-secondary);
}

.faq-item summary::after {
  content: '+';
  font-size: var(--text-24);
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 0 var(--space-5);
}

.faq-answer p {
  font-size: var(--text-16);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--text-secondary);
}

.faq-answer ul {
  margin: var(--space-3) 0 var(--space-4) var(--space-6);
  list-style: disc;
}

.faq-answer li {
  font-size: var(--text-16);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.final-cta {
  padding: var(--space-12) 0;
  text-align: center;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-10);
  background: var(--surface-1);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-2xl);
}

.cta-card h2 {
  font-size: clamp(var(--text-32), 5vw, var(--text-48));
  margin-bottom: var(--space-4);
}

.cta-card > p {
  font-size: var(--text-18);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-7);
  font-size: var(--text-13);
  color: var(--text-dim);
}

.cta-disclaimer svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  padding: var(--space-10) 0 var(--space-8);
  border-top: 1px solid var(--stroke-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-logo span {
  font-size: var(--text-14);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: var(--text-14);
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: var(--text-12);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-14);
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-cta .btn {
  white-space: nowrap;
}

.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--stroke-subtle);
}

.footer-disclosure {
  font-size: var(--text-12);
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto var(--space-5);
}

.footer-copyright {
  font-size: var(--text-12);
  color: var(--text-ghost);
}

/* ═══════════════════════════════════════════════════════════
   STICKY CTA BAR
   ═══════════════════════════════════════════════════════════ */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--stroke-subtle);
  transition: transform var(--duration-slow) var(--ease-out),
              opacity var(--duration-slow) var(--ease-out);
}

.sticky-bar.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-inner {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  padding-right: 72px;
  max-width: var(--grid-max-width);
  margin: 0 auto;
}

/* Sticky copy: single unified style */
.sticky-copy {
  margin: 0;
  text-align: center;
  max-width: 820px;
}

.sticky-text {
  font-size: var(--text-14);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  font-family: inherit;
}

.sticky-sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--text-dim);
  font-weight: 400;
}

.sticky-muted {
  color: var(--text-dim);
  font-weight: 600;
}

.back-to-top {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--stroke-subtle);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.back-to-top:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-50%) translateY(-2px);
}

.back-to-top:active {
  transform: translateY(-50%) scale(0.98);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1000px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-xl);
}

.lb-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  background: var(--surface-3);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-24);
  display: grid;
  place-items: center;
  transition: background var(--duration-fast) var(--ease-out);
}

.lb-close:hover {
  background: var(--surface-4);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS (JS-gated)
   ═══════════════════════════════════════════════════════════ */
/* Progressive enhancement:
   - No-JS: content is visible (no blank screen)
   - JS: we can animate reveals safely
*/
[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}

.js [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Stagger delays (JS-gated) */
.js [data-reveal-delay="1"] { transition-delay: 100ms; }
.js [data-reveal-delay="2"] { transition-delay: 200ms; }
.js [data-reveal-delay="3"] { transition-delay: 300ms; }
.js [data-reveal-delay="4"] { transition-delay: 400ms; }
.js [data-reveal-delay="5"] { transition-delay: 500ms; }

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-headline .typing-line {
    width: 100%;
    border: none;
    animation: none;
  }

  .hero-headline .static-line {
    opacity: 1;
    animation: none;
  }

  /* Disable ambient background animations */
  .ambient-glow {
    animation: none !important;
    opacity: 0.06;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (standardized feature section grid)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1025px) {
  .feature-section .grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 96px);
    align-items: center;
  }

  .feature-text,
  .feature-mockup,
  .feature-visual {
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: none;
    margin: 0;
  }

  .feature-text {
    max-width: 62ch; /* consistent readable line length */
  }

  .feature-section.reversed .feature-text { order: 2; }
  .feature-section.reversed .feature-mockup { order: 1; }
  .feature-section.reversed .feature-visual { order: 1; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --grid-margin: 32px;
    --grid-gutter: 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .nav-menu-btn {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  /* Stack feature sections at tablet (grid-based, not flex) */
  .feature-section .grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--space-8);
  }

  .feature-text,
  .feature-mockup,
  .feature-visual {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    grid-column: auto;
    grid-row: auto;
  }

  .feature-section.reversed .feature-mockup,
  .feature-section.reversed .feature-visual {
    order: 1;
  }

  .feature-section.reversed .feature-text {
    order: 2;
  }

  /* Responsive step indicator */
  .step-indicator {
    gap: var(--space-3);
  }

  .step-number {
    width: 56px;
    height: 56px;
    font-size: var(--text-18);
  }

  .step-connector {
    width: 24px;
  }

  /* Responsive device stack */
  .device-phone svg {
    width: 40px;
    height: 40px;
  }

  .device-tablet svg {
    width: 52px;
    height: 52px;
  }

  .device-laptop svg {
    width: 64px;
    height: 64px;
  }

  /* Stack FAQ section at tablet */
  .faq .grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
  }

  .faq-header {
    position: static;
    text-align: center;
  }

  .faq-list {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --grid-margin: 16px;
    --grid-gutter: 16px;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-name {
    font-size: var(--text-14);
  }

  .hero {
    min-height: auto;
    padding: var(--space-10) 0 var(--space-8);
  }

  .hero-headline {
    font-size: clamp(var(--text-32), 10vw, var(--text-48));
  }

  .hero-subhead {
    font-size: var(--text-16);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: var(--space-10) 0;
  }

  .section-header {
    margin-bottom: var(--space-7);
  }

  .features-row {
    padding: var(--space-9) 0;
  }

  .feature-card {
    padding: var(--space-5);
  }

  .feature-section {
    padding: var(--space-10) 0;
  }

  .mockup-card {
    padding: var(--space-4);
  }

  .pricing {
    padding: var(--space-10) 0;
  }

  .pricing-card {
    padding: var(--space-5);
  }

  .faq {
    padding: var(--space-10) 0;
  }

  .faq-item summary {
    font-size: var(--text-16);
    padding: var(--space-4) 0;
  }

  .final-cta {
    padding: var(--space-10) 0;
  }

  .cta-card {
    padding: var(--space-7);
    border-radius: var(--radius-xl);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-cta {
    grid-column: auto;
  }

  :root {
    --sticky-safe-area: 112px;
  }

  .sticky-inner {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
  }

  .sticky-copy {
    text-align: center;
  }

  .back-to-top {
    display: none;
  }

  .sticky-bar .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOCUS STATES
   ═══════════════════════════════════════════════════════════ */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES STYLING
   ═══════════════════════════════════════════════════════════ */
.legal-page {
  padding: var(--space-11) 0 var(--space-10);
}

.legal-page .container {
  max-width: 800px;
}

.legal-content {
  background: var(--surface-1);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.legal-content h1 {
  font-size: clamp(var(--text-32), 5vw, var(--text-40));
  margin-bottom: var(--space-4);
}

.legal-content h2 {
  font-size: var(--text-24);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--stroke-subtle);
}

.legal-content h3 {
  font-size: var(--text-18);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p {
  margin: var(--space-4) 0;
  line-height: 1.75;
}

.legal-content ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
  list-style: disc;
}

.legal-content li {
  margin: var(--space-2) 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content .subtitle {
  color: var(--text-muted);
  font-size: var(--text-16);
}

/* TOC */
.toc {
  margin: var(--space-6) 0;
  padding: var(--space-5);
  background: var(--surface-2);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-md);
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin: var(--space-2) 0;
}

.toc a {
  font-size: var(--text-14);
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.toc a:hover {
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.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;
}

/* =========================================
   AUTO-ALTERNATING SECTION BACKGROUNDS
   Applies to all sections AFTER the HERO (inside <main>)
   Pattern: odd = surface (gray), even = black
   ========================================= */

main > section {
  background: var(--black-pure);
}

main > section:nth-child(odd) {
  background: var(--surface-1);
  border-top: 1px solid var(--stroke-subtle);
  border-bottom: 1px solid var(--stroke-subtle);
}
