/* =========================================================================
   ZappExpense — Landing styles
   Warm, tactile, editorial. Cream paper · espresso ink · terracotta/peach/gold.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Cool editorial paper */
  --paper:        #F7F6F2;
  --paper-deep:   #ECEBE6;
  --surface:      #FDFDFC;
  --surface-2:    #F4F3EF;
  --line:         #E4E2DB;
  --line-strong:  #CFCCC4;

  /* Ink — near-black, faintly warm */
  --ink:          #15120F;
  --ink-soft:     #565249;
  --ink-faint:    #6E6A62;

  /* Accent — electric tangerine + cobalt */
  --terra:        #FF4D14;  /* vivid accent (fills, on dark) */
  --terra-deep:   #C23303;  /* accent as TEXT on light (AA) */
  --accent-soft:  #FFD9C9;  /* pale tangerine highlight */
  --cobalt:       #1A5FD0;  /* links on light */
  --cobalt-light: #6FA1FF;  /* links on dark */
  --peach:        #ECA876;
  --peach-soft:   #F7D4B6;
  --gold:         #F2C960;
  --gold-soft:    #F9E4A2;

  /* Envelope category accents */
  --c-spend:      #D87056;
  --c-fixed:      #E79F69;
  --c-save:       #3DA876;
  --c-income:     #4E96C8;
  --c-buffer:     #9B7BC4;

  /* Near-black (inverted editorial bands) */
  --espresso:     #14110E;
  --espresso-2:   #1B1815;
  --cream:        #F5F5F2;
  --cream-soft:   #B9B7B0;

  /* Shadows — soft, warm-tinted, low contrast */
  --sh-sm: 0 1px 2px rgba(74,42,28,.05), 0 2px 6px rgba(74,42,28,.05);
  --sh-md: 0 8px 22px -8px rgba(74,42,28,.16), 0 3px 8px -4px rgba(74,42,28,.10);
  --sh-lg: 0 28px 60px -22px rgba(74,42,28,.30), 0 10px 26px -14px rgba(74,42,28,.18);
  --sh-phone: 0 60px 100px -34px rgba(45,22,12,.50), 0 24px 56px -24px rgba(45,22,12,.34);
  --sh-soft-inset: inset 0 1px 0 rgba(255,255,255,.7);

  /* Radii — generous & puffy to echo the clay logo */
  --r-xs: 10px; --r-sm: 14px; --r-md: 20px; --r-lg: 28px; --r-xl: 40px; --r-pill: 999px;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: clamp(16px, 1.05vw, 17.5px);
  font-weight: 420;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* warm grain / paper wash behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(110% 70% at 92% -12%, rgba(255,77,20,.06), transparent 55%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--terra); color: var(--ink); }

:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 460;
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
}
h1.display { font-size: clamp(2.7rem, 6.6vw, 5rem); }
h2.display { font-size: clamp(2.05rem, 4.2vw, 3.3rem); line-height: 1.05; }
h3 { font-family: var(--font-display); font-weight: 480; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.01em; line-height: 1.15; }

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra-deep);
}
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
em.ink { font-style: italic; color: var(--terra-deep); }
mark.hl {
  background: linear-gradient(transparent 56%, var(--accent-soft) 56%);
  color: inherit; padding: 0 .06em;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 46ch; }
.measure-wide { max-width: 62ch; }

.band-paper-deep { background: var(--paper-deep); }
.band-espresso {
  background:
    radial-gradient(80% 120% at 82% 0%, rgba(255,77,20,.14), transparent 55%),
    var(--espresso);
  color: var(--cream);
}
.band-espresso .lead, .band-espresso .ink-soft { color: var(--cream-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.5em;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: .98rem; letter-spacing: .005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--terra);
  color: var(--ink);
  font-weight: 800; letter-spacing: .01em;
  box-shadow: 0 8px 20px -8px rgba(255,77,20,.5);
}
.btn-primary:hover { transform: translateY(-2px); background: #FF5E2A; box-shadow: 0 16px 30px -10px rgba(255,77,20,.55); }
.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--terra); color: var(--terra-deep); }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.05rem; }

/* App store badge link */
.badge-store { display: inline-block; transition: transform .25s var(--ease), filter .25s var(--ease); }
.badge-store:hover { transform: translateY(-2px); filter: brightness(1.04); }
.badge-store img { height: 54px; width: auto; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -16px rgba(74,42,28,.5);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 30px; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a { font-weight: 560; font-size: .96rem; color: var(--ink-soft); transition: color .2s; white-space: nowrap; }
.nav__links a:hover { color: var(--terra-deep); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__burger svg { width: 24px; height: 24px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); overflow: clip; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero h1 { margin: 18px 0 0; }
.hero h1 .swash { font-style: italic; color: var(--terra); }
.hero .lead { margin-top: 22px; max-width: 50ch; }
.hero .btn-row { margin-top: 32px; }
.hero__micro { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: .9rem; font-weight: 520; }
.hero__micro span { display: inline-flex; align-items: center; gap: 7px; }
.hero__micro svg { width: 16px; height: 16px; color: var(--terra-deep); flex: none; }

.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
/* soft warm blob behind phone */
.hero__visual::before {
  content: "";
  position: absolute;
  width: 115%; height: 115%;
  background: radial-gradient(closest-side, rgba(255,77,20,.16), rgba(255,77,20,.05) 60%, transparent 75%);
  filter: blur(8px);
  z-index: 0;
}

/* floating clay tokens */
.float-token {
  position: absolute; z-index: 3;
  filter: drop-shadow(0 18px 26px rgba(74,42,28,.30));
  animation: bob 7s ease-in-out infinite;
}
.float-token.coin { width: 92px; top: 6%; right: 4%; animation-delay: -1.5s; }
.float-token.env { width: 132px; bottom: 2%; left: -2%; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(-8px) rotate(-3deg);} 50% { transform: translateY(10px) rotate(3deg);} }

/* ---------- Phone / app mockup ---------- */
.device {
  position: relative; z-index: 2;
  width: clamp(266px, 25vw, 322px);
  aspect-ratio: 322 / 668;
  background: linear-gradient(150deg, #2b1d15, #15100c);
  border-radius: 48px;
  padding: 13px;
  box-shadow: var(--sh-phone);
}
.device::before { /* notch */
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 26px; background: #15100c; border-radius: 0 0 16px 16px; z-index: 5;
}
.device--tilt { transform: rotate(2.2deg); }
.device--tilt-l { transform: rotate(-2.6deg); }
.screen {
  height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--paper);
  position: relative;
}

/* App UI (recreated from real design tokens) */
/* The phone depicts the REAL app, which is warm clay — keep its own palette,
   isolated from the editorial page chrome. */
.appui {
  --paper: #FBF3EC; --paper-deep: #F4E6D9; --surface: #FFFCF9; --surface-2: #FCF5EF;
  --line: #EDDBCE; --line-strong: #E2C9B8;
  --ink: #33261E; --ink-soft: #6F5A4D; --ink-faint: #9C8576;
  --terra: #D87056; --terra-deep: #B9543C;
  --cream: #FBEFE3; --cream-soft: #D9C3B4;
  background: var(--paper);
  font-size: 13px; height: 100%; display: flex; flex-direction: column; color: var(--ink);
}
.appui__status { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 6px; font-size: 12px; font-weight: 700; }
.appui__status .dots { display: inline-flex; gap: 4px; align-items: center; }
.appui__status .dots svg { width: 15px; height: 15px; }
.appui__scroll { padding: 8px 16px 0; overflow: hidden; flex: 1; }

.appui__hello { color: var(--ink-soft); font-weight: 600; font-size: 12px; }
.appui__total { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.appui__total b { font-family: var(--font-display); font-weight: 520; font-size: 30px; letter-spacing: -.02em; }
.appui__total .delta { color: var(--c-save); font-weight: 700; font-size: 12px; }

.well-card {
  margin-top: 14px; padding: 14px 16px; border-radius: 20px;
  background: linear-gradient(135deg, #34211A, #4a2c1f);
  color: var(--cream); display: flex; align-items: center; gap: 14px;
  box-shadow: var(--sh-md);
}
.well-ring {
  --p: 78; width: 50px; height: 50px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--gold) calc(var(--p)*1%), rgba(255,255,255,.16) 0);
  display: grid; place-items: center;
}
.well-ring span { width: 38px; height: 38px; border-radius: 50%; background: #3a2419; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--gold); }
.well-card .t { font-weight: 700; font-size: 13px; }
.well-card .s { font-size: 11px; color: var(--cream-soft); }

.sect-label { margin: 16px 2px 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

.env-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 12px 13px; margin-bottom: 10px;
  box-shadow: var(--sh-sm);
}
.env-card__top { display: flex; align-items: center; gap: 10px; }
.env-ic { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; }
.env-ic svg { width: 18px; height: 18px; color: #fff; }
.env-card__name { font-weight: 700; font-size: 13px; flex: 1; }
.env-card__amt { font-weight: 700; font-size: 12.5px; }
.env-card__amt small { color: var(--ink-faint); font-weight: 600; }
.bar { height: 7px; border-radius: 99px; background: var(--paper-deep); margin-top: 9px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; }

.appui__tabs {
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.appui__tabs a { display: grid; place-items: center; gap: 3px; color: var(--ink-faint); font-size: 9.5px; font-weight: 700; }
.appui__tabs a svg { width: 21px; height: 21px; }
.appui__tabs a.active { color: var(--terra); }
.appui__fab {
  position: absolute; right: 16px; bottom: 70px; z-index: 6;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(180deg, #E27C61, var(--terra-deep));
  display: grid; place-items: center;
  box-shadow: 0 14px 26px -8px rgba(185,84,60,.7);
}
.appui__fab svg { width: 26px; height: 26px; color: #fff; }

/* ---------- Trust strip ("the four no's") ---------- */
.nostrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.nochip { display: flex; gap: 13px; align-items: flex-start; }
.nochip__x {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  background: color-mix(in srgb, var(--terra) 12%, var(--surface));
  display: grid; place-items: center; color: var(--terra-deep);
  box-shadow: var(--sh-sm);
}
.nochip__x svg { width: 20px; height: 20px; }
.nochip b { display: block; font-weight: 700; font-size: 1rem; }
.nochip span { font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Section heading block ---------- */
.shead { max-width: 60ch; }
.shead .eyebrow { display: block; margin-bottom: 14px; }
.shead h2 { margin-bottom: 16px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px); margin-top: clamp(36px, 5vw, 64px); counter-reset: step; }
.step { position: relative; }
.step__n {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--terra-deep); background: var(--surface);
  border: 1.5px solid var(--line-strong); box-shadow: var(--sh-sm);
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .98rem; }
.step__art { margin-bottom: 18px; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(36px, 5vw, 60px); }
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--sh-sm);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: .96rem; }
.tile__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--sh-sm); }
.tile__ic svg { width: 24px; height: 24px; color: #fff; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }

/* feature tile with envelope chips */
.env-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.env-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-pill); font-weight: 650; font-size: .85rem; background: var(--surface-2); border: 1px solid var(--line); }
.env-chip i { width: 9px; height: 9px; border-radius: 50%; }

/* big showcase tile */
.tile--show { background: linear-gradient(150deg, var(--surface), var(--surface-2)); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.mini-goal { margin-top: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.mini-goal__row { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 650; margin-bottom: 9px; }
.mini-goal__row span:last-child { color: var(--terra-deep); }

/* ---------- Split showcase (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { display: flex; justify-content: center; position: relative; }
.split__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.split__list li { display: flex; gap: 13px; align-items: flex-start; font-size: 1rem; }
.split__list .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--terra) 14%, var(--surface)); display: grid; place-items: center; color: var(--terra-deep); margin-top: 1px; }
.split__list .tick svg { width: 16px; height: 16px; }
.split__list b { font-weight: 700; }
.split__list span.d { color: var(--ink-soft); }

/* ---------- Privacy band ---------- */
.privacy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.privacy-points { display: grid; gap: 22px; margin-top: 30px; }
.pp { display: flex; gap: 15px; }
.pp__ic { flex: none; width: 44px; height: 44px; border-radius: 13px; background: rgba(255,77,20,.12); border: 1px solid rgba(255,77,20,.30); display: grid; place-items: center; color: var(--terra); }
.pp__ic svg { width: 22px; height: 22px; }
.pp b { font-weight: 700; font-size: 1.05rem; }
.pp p { color: var(--cream-soft); font-size: .95rem; margin-top: 3px; }
.vault {
  aspect-ratio: 1; max-width: 380px; margin-inline: auto; width: 100%;
  border-radius: var(--r-xl);
  background: radial-gradient(circle at 50% 38%, rgba(255,77,20,.18), transparent 60%), rgba(255,255,255,.03);
  border: 1px solid rgba(245,245,242,.14);
  display: grid; place-items: center; position: relative;
}
.vault__lock { width: 40%; filter: drop-shadow(0 18px 28px rgba(0,0,0,.4)); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; margin-top: clamp(30px, 4vw, 48px); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font-family: var(--font-display); font-weight: 480; font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--ink);
}
.qa__q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.qa__q .ic svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.qa[open] .qa__q .ic { background: var(--terra); border-color: var(--terra); color: var(--ink); transform: rotate(180deg); }
.qa__a { overflow: hidden; }
.qa__a-inner { padding: 0 4px 26px; color: var(--ink-soft); max-width: 68ch; }
.qa__a-inner a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
/* native details animation fallback */
.qa { transition: background .3s; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }
.cta-band .lead { color: var(--cream-soft); margin-inline: auto; }
.cta-coin { width: 84px; margin: 0 auto 22px; filter: drop-shadow(0 18px 26px rgba(0,0,0,.4)); animation: bob 7s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso-2); color: var(--cream); padding-block: clamp(54px, 7vw, 84px) 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 30px; margin-bottom: 16px; }
.footer__brand p { color: var(--cream-soft); max-width: 34ch; font-size: .96rem; }
.footer__col h3 { font-family: var(--font-sans); font-size: .78rem; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: 16px; font-weight: 800; }
.footer__col a, .footer__col p { display: block; color: var(--cream-soft); font-size: .96rem; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--cream); }
.footer__store { margin-top: 22px; }
.footer__store img { height: 46px; }
.footer__legal { margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(251,239,227,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--cream-soft); font-size: .85rem; }
.footer__legal a { color: var(--cream-soft); }
.footer__legal a:hover { color: var(--cream); }

/* ---------- Legal pages ---------- */
.legal-hero { padding-block: clamp(48px, 7vw, 90px) clamp(20px, 3vw, 40px); }
.legal-hero .eyebrow { display:block; margin-bottom: 14px; }
.legal-hero .updated { color: var(--ink-faint); font-size: .9rem; margin-top: 14px; }
.legal-body { padding-bottom: clamp(60px, 9vw, 120px); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: 100px; font-size: .92rem; }
.legal-toc h2 { font-family: var(--font-sans); font-size: .74rem; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; font-weight: 800; }
.legal-toc a { display: block; color: var(--ink-soft); padding: 6px 0; border-left: 2px solid var(--line); padding-left: 14px; margin-left: -2px; transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--terra-deep); border-color: var(--terra); }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); font-weight: 480; font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 44px 0 14px; letter-spacing: -.01em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul { color: var(--ink-soft); margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.prose .callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--terra);
  border-radius: var(--r-sm); padding: 18px 22px; margin: 22px 0; color: var(--ink);
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 700; }
.prose td { color: var(--ink-soft); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* hero load stagger */
.hero .load { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero .load.d1 { animation-delay: .05s; }
.hero .load.d2 { animation-delay: .15s; }
.hero .load.d3 { animation-delay: .25s; }
.hero .load.d4 { animation-delay: .35s; }
.hero .load.d5 { animation-delay: .45s; }
.hero__visual.load { animation-delay: .2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero .load, .hero__visual.load { animation: none !important; opacity: 1 !important; transform: none !important; }
  .float-token, .cta-coin { animation: none !important; }
}

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--terra); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  /* Collapse nav to the burger here — full nav + CTAs won't fit below this width */
  .nav__links, .nav__cta .btn-ghost { display: none; }
  .nav__burger { display: inline-flex; }
  .nav.menu-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--surface); padding: 16px var(--gutter) 26px;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-md);
  }
  .nav.menu-open .nav__links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 1.05rem; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 640px; }
  .hero__visual { order: -1; min-height: 0; margin-bottom: 8px; }
  .privacy-grid, .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
  .col-2, .col-3, .col-4 { grid-column: span 3; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nostrip { grid-template-columns: 1fr 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .bento { grid-template-columns: 1fr; }
  .col-2, .col-3, .col-4, .col-6 { grid-column: span 1; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 460px) {
  .nostrip { grid-template-columns: 1fr; }
  .hero__micro { font-size: .85rem; }
  .badge-store img { height: 50px; }
}
