/* ═══════════════════════════════════════════════════════════════
   HyperDCA — Landing. "Wealthsimple × Carbon Luxe":
   warm-coal hero → pure-white content. Calm, typography-driven,
   generous whitespace. Vanilla CSS, no framework.
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Hero (dark) */
  --hero-bg: #1C1A19;            /* warm coal */
  --hero-text: #E8E8E8;
  --hero-secondary: rgba(255, 255, 255, 0.4);
  /* Content (light) */
  --content-bg: #FFFFFF;         /* pure white */
  --content-surface: #F5F3F0;    /* Bone */
  --content-text: #32302F;       /* Dune */
  --content-secondary: rgba(50, 48, 47, 0.35);
  --content-border: rgba(50, 48, 47, 0.06);
  /* Shared */
  --copper: #C9956B;
  --copper-light: #8C693C;
  --green: #16A34A;
  --red: #FF4757;                /* dark-context red */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1200px;
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--content-bg);
  color: var(--content-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(201, 149, 107, 0.25); }
.mono { font-family: var(--font-mono); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; scroll-margin-top: 72px; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--copper-light); margin-bottom: 14px;
}
.section-title {
  font-size: 32px; font-weight: 600; letter-spacing: -0.5px; line-height: 1.2;
  max-width: 640px; margin-bottom: 56px;
}

/* ─── Logo ─── */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.logo svg { width: 22px; height: 20px; flex-shrink: 0; display: block; }

/* ─── Navigation ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav .logo { color: var(--hero-text); transition: color 0.3s ease; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 14.5px; color: var(--hero-secondary); transition: color 0.2s ease; font-weight: 500; }
.nav-link:hover { color: var(--hero-text); }
/* Solid state on scroll (over light content) */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--content-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.nav.scrolled .logo { color: var(--content-text); }
.nav.scrolled .nav-link { color: var(--content-secondary); }
.nav.scrolled .nav-link:hover { color: var(--content-text); }
/* Legal pages: nav starts solid (no dark hero behind it) */
.nav.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--content-border);
}
.nav.solid .logo { color: var(--content-text); }
.nav.solid .nav-link { color: var(--content-secondary); }

/* Download dropdown */
.download { position: relative; }
/* Primary nav pill. Default state sits transparent OVER the dark hero →
   white background + Dune text for contrast. Scrolled/solid (over white)
   inverts to a Dune pill + white text below. */
.btn-copper {
  background: #fff; color: var(--content-text); border: none; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  padding: 11px 22px; border-radius: 24px; transition: filter 0.15s ease, transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-copper:hover { filter: brightness(0.96); }
.btn-copper:active { transform: translateY(1px); }
/* Over white content, the nav pill becomes Dune-on-white. */
.nav.scrolled .btn-copper,
.nav.solid .btn-copper { background: var(--content-text); color: #fff; }
.nav.scrolled .btn-copper:hover,
.nav.solid .btn-copper:hover { filter: brightness(1.15); }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px;
  background: #fff; border: 1px solid var(--content-border); border-radius: 12px;
  box-shadow: var(--shadow-soft); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.download.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; color: var(--content-text); font-weight: 500;
}
.dropdown a:hover { background: rgba(201, 149, 107, 0.08); color: var(--copper-light); }
.dropdown svg { width: 16px; height: 16px; }

/* Hamburger (mobile) */
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--hero-text);
}
.nav.scrolled .hamburger, .nav.solid .hamburger { color: var(--content-text); }
.hamburger svg { width: 24px; height: 24px; display: block; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 12px 24px 20px;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--content-border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; font-size: 16px; font-weight: 500; color: var(--content-text); border-bottom: 1px solid var(--content-border); }
.mobile-menu a:last-child { border-bottom: none; }
/* Mobile menu panel is always white → keep its CTA a Dune pill regardless of nav state. */
.mobile-menu .btn-copper { margin-top: 12px; justify-content: center; background: var(--content-text); color: #fff; border-bottom: none; }

/* ─── Hero ─── */
.hero {
  position: relative; background: var(--hero-bg); color: var(--hero-text);
  overflow: hidden; padding: 80px 0 100px;
}
.hero-grid {
  position: absolute; inset: -50%; pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 149, 107, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 149, 107, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift { from { transform: translate(0, 0); } to { transform: translate(56px, 56px); } }
@media (prefers-reduced-motion: reduce) { .hero-grid { animation: none; } }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.headline {
  font-size: 48px; font-weight: 600; letter-spacing: -1px; line-height: 1.08;
  margin-bottom: 20px; color: #fff;
}
.headline .accent { color: var(--copper); }
.subhead { font-size: 20px; color: rgba(255, 255, 255, 0.5); max-width: 520px; margin: 0 auto 36px; line-height: 1.5; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
/* Primary hero button sits on the dark coal → white pill + Dune text for contrast.
   (Do NOT use a near-black Dune pill here — it would vanish into the hero.) */
.btn-hero {
  background: #fff; color: var(--content-text); font-weight: 600; font-size: 15.5px;
  padding: 15px 32px; border-radius: 24px; transition: filter 0.15s ease, transform 0.15s ease;
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-hero:hover { filter: brightness(0.94); }
.btn-hero:active { transform: translateY(1px); }
/* Secondary hero button stays a ghost/outline on the dark hero. */
.btn-hero.ghost { background: rgba(255, 255, 255, 0.06); color: var(--hero-text); border: 1px solid rgba(255, 255, 255, 0.14); }
.btn-hero.ghost:hover { filter: none; background: rgba(255, 255, 255, 0.1); }
.btn-hero svg { width: 17px; height: 17px; }
/* Primary CTA on WHITE content sections → Dune pill + white text. */
.btn-dune {
  background: var(--content-text); color: #fff; font-weight: 600; font-size: 15.5px;
  padding: 15px 32px; border-radius: 24px; transition: filter 0.15s ease, transform 0.15s ease;
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-dune:hover { filter: brightness(1.15); }
.btn-dune:active { transform: translateY(1px); }
.btn-dune svg { width: 17px; height: 17px; }
.trust-line { font-size: 13px; color: rgba(255, 255, 255, 0.28); letter-spacing: 0.2px; }

/* Phone mockup (legacy 6.1 — kept for any other reference) */
.phone-wrap { display: flex; justify-content: center; margin-top: 64px; position: relative; z-index: 1; will-change: transform; }
.phone { width: 290px; max-width: 80vw; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)); }

/* ═══ Interactive DCA simulator (Session 6.1.1) ═══ */
.sim {
  position: relative; z-index: 1; max-width: 960px; margin: 52px auto 0; text-align: left;
  background: rgba(20, 21, 24, 0.55); border: 1px solid rgba(201, 149, 107, 0.16);
  border-radius: 22px; padding: 24px; backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.sim-controls { display: flex; flex-direction: column; gap: 12px; }
.sim-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sim-row-label {
  width: 84px; flex-shrink: 0; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(201, 149, 107, 0.75);
}
.pills { display: flex; gap: 7px; flex-wrap: wrap; }
.pills.scrollx { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pills.scrollx::-webkit-scrollbar { display: none; }
.pill {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.6);
  font-family: inherit; font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 9px;
  cursor: pointer; white-space: nowrap; transition: all 0.15s ease;
}
.pill:hover { border-color: rgba(201, 149, 107, 0.5); color: #fff; }
.pill.active { background: var(--copper); border-color: var(--copper); color: #1a1208; }
.pill-custom { border-style: dashed; }
.pill-input { display: inline-flex; align-items: center; gap: 2px; padding: 7px 11px; color: rgba(255, 255, 255, 0.6); }
.pill-input input {
  width: 56px; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; font-family: var(--font-mono); font-size: 12.5px; padding: 1px 2px; outline: none; text-align: center;
}
.pill-input input:focus { border-bottom-color: var(--copper); }
.pill-input.active { color: var(--copper); border: 1px solid var(--copper); border-radius: 9px; }

/* Custom scenario panel */
.sim-custom {
  margin-top: 16px; background: #1C1A19; border: 1px solid rgba(201, 149, 107, 0.18);
  border-radius: 14px; padding: 18px 20px;
}
.sim-custom-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--copper); margin-bottom: 16px; }
.sim-custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.sim-custom-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: rgba(201, 149, 107, 0.7); }
.sim-custom-grid .cf { display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, 0.5); font-size: 14px; font-family: var(--font-mono); }
.sim-custom-grid .cf input {
  flex: 1; min-width: 0; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-family: var(--font-mono); font-size: 15px; padding: 4px 2px; outline: none;
}
.sim-custom-grid .cf input:focus { border-bottom-color: var(--copper); }
.sim-custom-calc { margin: 16px 0; font-family: var(--font-mono); font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.sim-custom-calc .dn { color: #FF4757; } .sim-custom-calc .up { color: #4ADE80; }
.sim-custom-patterns { margin-bottom: 16px; }
.sim-custom-patterns .sim-row-label { display: block; width: auto; margin-bottom: 8px; }

/* Visualization */
.sim-viz { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; margin-top: 22px; align-items: stretch; }
.sim-chart { display: flex; flex-direction: column; }
.sim-scn-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.sim-scn-label { font-size: 14px; font-weight: 600; color: #fff; }
.sim-scn-period { font-size: 11.5px; color: rgba(255, 255, 255, 0.35); font-family: var(--font-mono); }
.sim-svg { width: 100%; height: auto; display: block; border-radius: 12px; background: rgba(0, 0, 0, 0.18); }
.sim-cur { animation: simPulse 1.6s ease-in-out infinite; }
@keyframes simPulse { 0%, 100% { r: 4; opacity: 1; } 50% { r: 6.5; opacity: 0.55; } }
.sim-buy { animation: simPop 0.3s ease both; transform-box: fill-box; transform-origin: center; }
@keyframes simPop { from { opacity: 0; transform: scale(0); } to { opacity: 0.85; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .sim-buy { animation: none; opacity: 0.85; } .sim-cur { animation: none; } }
.sim-timeline { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11px; font-family: var(--font-mono); color: rgba(255, 255, 255, 0.4); }
.sim-tl-bar { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; overflow: hidden; }
.sim-tl-fill { height: 100%; width: 0%; background: var(--copper); border-radius: 2px; transition: width 0.2s linear; }

/* Numbers panel */
.sim-numbers { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.num { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.num:last-child { border-bottom: none; }
.num .nl { font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.num .nv { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: #fff; }
.num .nv.pos { color: #4ADE80; } .num .nv.neg { color: #FF4757; } .num .nv.cop { color: var(--copper); }

/* Result + CTA */
.sim-result { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sim-result-text { font-size: 14.5px; color: rgba(255, 255, 255, 0.8); line-height: 1.5; }
.sim-result-text b { color: #fff; } .sim-result-text .pos { color: #4ADE80; font-weight: 700; } .sim-result-text .neg { color: #FF4757; font-weight: 700; }
.sim-result-actions { display: flex; align-items: center; gap: 12px; }
.sim-cta { background: var(--copper); }
.sim-cta.pulse { animation: ctaGlow 1.8s ease-in-out infinite; }
@keyframes ctaGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 149, 107, 0); } 50% { box-shadow: 0 0 22px 2px rgba(201, 149, 107, 0.55); } }
.sim-replay { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.7); font-family: inherit; font-size: 13px; font-weight: 600; padding: 11px 18px; border-radius: 10px; cursor: pointer; }
.sim-replay:hover { color: #fff; border-color: var(--copper); }
.sim-disclaimer { margin-top: 16px; font-size: 11px; color: rgba(255, 255, 255, 0.28); line-height: 1.5; }

@media (max-width: 767px) {
  .sim { padding: 18px; margin-top: 40px; }
  .sim-row { align-items: flex-start; }
  .sim-row-label { width: 100%; margin-bottom: -4px; }
  .pills.wrap2 { flex-wrap: wrap; }
  .sim-viz { grid-template-columns: 1fr; gap: 18px; }
  .sim-custom-grid { grid-template-columns: 1fr; gap: 12px; }
  .sim-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .num { flex-direction: column; align-items: flex-start; gap: 2px; border-bottom: none; padding: 4px 0; }
  .num .nv { font-size: 16px; }
  .sim-result { flex-direction: column; align-items: stretch; }
  .sim-result-actions { justify-content: space-between; }
}

/* ─── Features (icon-free; typography does the work) ─── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  padding: 32px 28px; border-radius: 16px; background: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); background: var(--content-surface); box-shadow: var(--shadow-soft); }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.2px; }
.feature-card p { font-size: 14.5px; color: var(--content-secondary); line-height: 1.65; }

/* ─── How it works ─── */
.steps { display: flex; flex-direction: column; gap: 72px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.step:nth-child(even) .step-illust { order: -1; }
.step-num { font-family: var(--font-mono); font-size: 52px; font-weight: 600; color: rgba(201, 149, 107, 0.22); line-height: 1; margin-bottom: 12px; }
.step-text h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.step-text p { font-size: 16px; color: var(--content-secondary); max-width: 440px; }
.step-illust { display: flex; justify-content: center; }
.illust {
  width: 100%; max-width: 380px; aspect-ratio: 4 / 3; border-radius: 18px;
  background: var(--content-surface); border: 1px solid var(--content-border);
  box-shadow: var(--shadow-soft); overflow: hidden;
}

/* ─── Security ─── */
.security { background: #fff; border-top: 1px solid var(--content-border); border-bottom: 1px solid var(--content-border); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.security-item .sec-icon { width: 40px; height: 40px; margin-bottom: 16px; }
.security-item .sec-icon svg { width: 40px; height: 40px; stroke: var(--copper); fill: none; stroke-width: 1.5; }
.security-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.security-item p { font-size: 14.5px; color: var(--content-secondary); }

/* ─── Pricing ─── */
.pricing { text-align: center; }
.pricing .section-title { margin: 0 auto 20px; }
.pricing p { font-size: 17px; color: var(--content-secondary); max-width: 540px; margin: 0 auto 14px; }
.pricing .support-btn { margin-top: 28px; }
.big-free { font-size: 64px; font-weight: 700; letter-spacing: -2px; color: var(--copper); margin-bottom: 8px; }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--content-border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--content-text); text-align: left;
}
.faq-q .chev { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--copper); fill: none; stroke-width: 2; transition: transform 0.25s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { font-size: 15.5px; color: var(--content-secondary); padding: 0 0 22px; max-width: 680px; }

/* ─── Footer ─── */
.footer { background: var(--hero-bg); color: var(--hero-text); padding: 64px 0 40px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-tag { color: var(--hero-secondary); font-size: 14.5px; margin-bottom: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 28px; }
.footer-links a { color: rgba(255, 255, 255, 0.55); font-size: 14px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--copper); }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; font-size: 13px; transition: border-color 0.2s ease;
}
.store-badge:hover { border-color: var(--copper); }
.store-badge svg { width: 18px; height: 18px; }
.store-badge .b-top { font-size: 9px; color: var(--hero-secondary); line-height: 1; text-transform: uppercase; letter-spacing: 0.5px; }
.store-badge .b-main { font-size: 14px; font-weight: 600; line-height: 1.2; }
.footer-copy { color: rgba(255, 255, 255, 0.3); font-size: 12.5px; border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 24px; }

/* ─── Legal / content pages ─── */
.legal { padding: 112px 0 80px; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.5px; margin-bottom: 8px; }
.legal .updated { color: var(--content-secondary); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 21px; font-weight: 600; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 16px; color: var(--content-text); line-height: 1.75; margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--copper-light); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal .callout {
  background: rgba(201, 149, 107, 0.07); border-left: 3px solid var(--copper);
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.coming-soon { text-align: center; padding: 140px 24px; }
.coming-soon .big-free { margin-bottom: 16px; }
.coming-soon p { color: var(--content-secondary); font-size: 17px; max-width: 460px; margin: 0 auto 28px; }

/* ─── Scroll animations ─── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 28px; }
}
@media (max-width: 767px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .headline { font-size: 32px; letter-spacing: -0.5px; }
  .subhead { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step:nth-child(even) .step-illust { order: 0; }
  .step-illust { order: 0; }
  .big-free { font-size: 48px; }
  .legal h1 { font-size: 28px; }
  .section-title { margin-bottom: 40px; }
}
