/* EchoVault Studio — echovaultstudio.com
   Built to the landing-page-design skill: one typeface (Poppins, self-hosted), named text styles on Tailwind's type
   scale, spacing and radius from fixed tokens only, flat backgrounds from the dark palette, one motion curve.
   The vault's layers share the logo's 512-unit grid: positions are (logo units / 512) as percentages. */

@font-face { font-family: "Poppins"; src: url("/poppins-regular.woff2?v=34c2b604") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/poppins-medium.woff2?v=6f2fdc6e") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* No SemiBold cut ships here: semibold text (600) renders with the Bold file, the nearest allowed weight. */
@font-face { font-family: "Poppins"; src: url("/poppins-bold.woff2?v=395a8e26") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  /* Backgrounds: the skill's dark palette only. */
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1F1F1F;
  --surface-3: #272727;
  --line: #313131;
  --inside: #131209;

  --text: #F5F5F5;
  --muted: #9B9B9B;
  --amber: #E8A55A;
  --amber-ink: #131209;
  --steel: #C9D6E1;

  /* Spacing tokens (B2). Nothing between them. */
  --s-25: 2px;  --s-50: 4px;  --s-75: 8px;  --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* Radius: Tailwind's steps (B3). */
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* Motion (B7). */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 500ms;
  --dur-fast: 300ms;

  --gutter: var(--s-200);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: var(--s-300); } }
@media (min-width: 1024px) { :root { --gutter: var(--s-400); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--s-900); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, summary, .tagline-text { text-wrap: balance; }
p, li { text-wrap: pretty; }
code { font-family: inherit; }
b { font-weight: 600; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: var(--s-25); border-radius: var(--r-md); }

/* ---------- Text styles (B1), defined once by name ---------- */
.heading-1 { font-size: 3.75rem;  line-height: 1;       font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 3rem;     line-height: 1;       font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 2.25rem;  line-height: 2.5rem;  font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-5 { font-size: 1.5rem;   line-height: 2rem;    font-weight: 600; }
.heading-6 { font-size: 1.25rem;  line-height: 1.75rem; font-weight: 600; }
.title-1 { font-size: 1.25rem;  line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem;     line-height: 1.5rem;  font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-3 { font-size: 1rem;     line-height: 1.5rem;  font-weight: 400; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.button-md { font-size: 1rem;     line-height: 1.5rem;  font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem;  line-height: 1rem;    font-weight: 600; }
.caption-5 { font-size: 0.75rem;  line-height: 1rem;    font-weight: 400; }

@media (min-width: 1024px) {
  .lg-heading-3 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; }
  .lg-heading-1 { font-size: 3.75rem; line-height: 1; letter-spacing: -0.02em; }
  .lg-heading-2 { font-size: 3rem;    line-height: 1; letter-spacing: -0.02em; }
  .lg-title-1   { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
}
.lg-break { display: none; }
@media (min-width: 1024px) { .lg-break { display: inline; } }

.muted { color: var(--muted); }

/* Hero heading: the one gradient, on text only (B5). */
.hero-title {
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons (B2 padding, B9 states) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: #F0BC80; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--surface-3); }

.skip {
  position: absolute;
  left: var(--s-200);
  top: calc(var(--s-900) * -1);
  z-index: 50;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}
.skip:focus { top: var(--s-200); }

/* ---------- Navigation (B7) ---------- */
.nav-shell {
  position: fixed;
  top: var(--s-200);
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav {
  position: relative;
  z-index: 2; /* above the open menu panel, so the close button stays visible */
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(24, 24, 24, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav-brand { display: inline-flex; align-items: center; gap: var(--s-75); text-decoration: none; white-space: nowrap; }
.nav-links { display: none; gap: var(--s-50); }
.nav-link {
  display: block;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  color: var(--muted);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--surface-3); }
.nav-link[aria-current] { color: var(--text); background: var(--surface-3); }

.nav-toggle {
  position: relative;
  width: var(--s-500);
  height: var(--s-500);
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.nav-toggle:hover { background: var(--surface-3); }
.nav-toggle-line {
  position: absolute;
  left: var(--s-100);
  right: var(--s-100);
  height: var(--s-25);
  border-radius: var(--r-full);
  background: var(--text);
  transition: transform var(--dur) var(--ease);
}
.nav-toggle-line:first-child { top: 15px; } /* centred in 40px: 15 + 2 + 6 + 2 + 15 */
.nav-toggle-line:last-child  { top: 23px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child  { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  padding: var(--s-900) var(--gutter) var(--s-600);
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  pointer-events: auto;
}
.menu ul { display: grid; gap: var(--s-200); }
.menu-link { display: block; padding: var(--s-75) 0; text-decoration: none; }
.menu.is-open .menu-link { animation: link-in var(--dur) var(--ease) both; }
.menu.is-open li:nth-child(2) .menu-link { animation-delay: 60ms; }
.menu.is-open li:nth-child(3) .menu-link { animation-delay: 120ms; }
.menu.is-open li:nth-child(4) .menu-link { animation-delay: 180ms; }
@keyframes link-in { from { opacity: 0; transform: translateY(var(--s-300)); } to { opacity: 1; transform: none; } }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle, .menu { display: none !important; }
}

/* ---------- Hero + vault ---------- */
/* The hero fills exactly one screen. The vault takes whatever room the copy leaves (size containment + container
   units), so it never runs below the fold: stacked on phones and tablets, side by side from 1024px. */
.hero {
  position: relative;
  overflow: clip; /* the waves pulse past the frame; never past the screen */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-400);
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--s-900) + env(safe-area-inset-top)) var(--gutter) var(--s-300);
  text-align: center;
}
.hero-copy { display: grid; justify-items: center; gap: var(--s-200); max-width: 680px; flex: none; }
.hero-title, .hero-sub { max-width: 680px; }
.hero-sub { color: var(--muted); }
.hero-actions { display: grid; justify-items: center; gap: var(--s-100); margin-top: var(--s-75); }

.vault-stage {
  flex: 1 1 0;
  width: 100%;
  min-height: 15rem;
  container-type: size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-200);
}

/* Short phone screens (an iPhone SE with Safari's bars is about 553px tall): smaller supporting line, no repeat of
   the GPL line or the hint, and the vault may shrink further so the whole frame stays on the first screen. */
@media (max-width: 1023px) and (max-height: 700px) {
  .hero { gap: var(--s-300); padding-top: calc(var(--s-800) + var(--s-75) + env(safe-area-inset-top)); padding-bottom: var(--s-200); }
  .hero-copy { gap: var(--s-100); }
  .hero-sub { font-size: 0.875rem; line-height: 1.25rem; } /* Body 6 */
  .hero-proof, .vault-hint { display: none; }
  .vault-stage { min-height: 8rem; }
  .vault-stage .vault { width: min(100cqw, 100cqh, 520px); }
}

/* Tiny screens (the first iPhone SE in Safari, about 460px tall): just the headline and the button above the vault. */
@media (max-width: 1023px) and (max-height: 520px) {
  .hero-sub { display: none; }
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: var(--s-700);
    max-width: 1280px;
    margin: 0 auto;
    padding: calc(var(--s-900) + var(--s-200)) var(--s-400) var(--s-600);
    text-align: left;
  }
  .hero-copy { flex: 1.25 1 0; align-content: center; justify-items: start; max-width: 640px; }
  .hero-actions { justify-items: start; }
  .vault-stage { flex: 1 1 0; min-height: 0; }
}
@media (min-width: 1280px) {
  .xl-heading-1 { font-size: 3.75rem; line-height: 1; letter-spacing: -0.02em; }
}

/* The vault sits on the 400 unit grid of its drawing: the frame spans 44–356 (11%–89%), the aperture r 124
   (62% across, centred). */
.vault {
  --ease-open: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  /* Room is left in the stage for the hint line under the vault. */
  width: min(100cqw, calc(100cqh - 2.5rem), 520px);
  aspect-ratio: 1;
  container-type: inline-size;
}
.vault-art { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Echo waves: thin lines the shape of the frame travel out to a faint outer wall, glint it amber as they hit,
   then reverberate back inward, fading. Five run staggered, so outgoing and returning lines pass through each other.
   One element per wave: out fast (base curve), back slow. */
/* Each line is a rounded square with a soft ripple all round its edge (16 bumps, 1.1% deep), each at its own phase. */
.wave, .wave-wall { position: absolute; inset: 11%; width: 78%; height: 78%; overflow: visible; pointer-events: none; }
.wave path, .wave-wall path { fill: none; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.wave path { stroke: #AFC2D3; }
.wave-wall path { stroke: #E8A55A; }
.wave {
  opacity: 0;
  animation: wave 4s infinite;
}
.wave:nth-child(2) { animation-delay: .8s; }
.wave:nth-child(3) { animation-delay: 1.6s; }
.wave:nth-child(4) { animation-delay: 2.4s; }
.wave:nth-child(5) { animation-delay: 3.2s; }
@keyframes wave {
  0%   { opacity: 0;   transform: scale(1);    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  6%   { opacity: .9; }
  40%  { opacity: .55; transform: scale(1.3);  animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  100% { opacity: 0;   transform: scale(1.05); }
}
/* The wall the waves hit: a hairline that glints each time one arrives (every 0.8s, first hit at 1.6s). */
.wave-wall {
  transform: scale(1.3);
  opacity: .06;
  animation: wall .8s cubic-bezier(0.22, 1, 0.36, 1) 1.6s infinite;
}
@keyframes wall {
  0%   { opacity: .45; }
  100% { opacity: .06; }
}
.vault.is-paused .wave-wall { animation-play-state: paused; }
.vault.is-paused .wave { animation-play-state: paused; }

/* The mechanism. Each part has its own timing, so the opening reads as one choreographed sequence:
   the hub retracts, the dial turns, the blades twist and slide into the rim, then the apps rise. */
.hub, .dial, .blade { transform-box: view-box; transform-origin: 200px 200px; }
.hub  { transition: transform 450ms var(--ease-open), opacity 300ms var(--ease-open); }
.dial { transition: transform 1400ms var(--ease-open); }
.blade { transition: transform 1100ms var(--ease-open) 150ms; }
.b1 { --bx: .5;  --by: -.866; }
.b2 { --bx: 1;   --by: 0; }
.b3 { --bx: .5;  --by: .866; }
.b4 { --bx: -.5; --by: .866; }
.b5 { --bx: -1;  --by: 0; }
.b6 { --bx: -.5; --by: -.866; }

.vault.is-open .hub   { transform: scale(.4); opacity: 0; transition-delay: 0s; }
.vault.is-open .dial  { transform: rotate(60deg); }
.vault.is-open .blade { transform: rotate(50deg) translate(calc(var(--bx) * 132px), calc(var(--by) * 132px)); }

/* Closing runs the same steps in reverse: blades first, the hub last. */
.vault:not(.is-open) .hub { transition-delay: 700ms; }
.vault:not(.is-open) .blade { transition-delay: 0s; }

/* The apps inside: a row centred in the aperture, rising in one after another once the blades clear. */
.vault-apps {
  position: absolute;
  inset: 19%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3cqw;
}
.vault-app {
  width: 16cqw;
  aspect-ratio: 1;
  border-radius: 22%;
  overflow: hidden;
  opacity: 0;
  transform: translateY(4cqw) scale(.85);
  transition: opacity 500ms var(--ease-open), transform 700ms var(--ease-open);
  box-shadow: 0 0 0 1px rgba(242, 246, 249, .12);
}
.vault-app img { width: 100%; height: 100%; object-fit: cover; }
.vault-app:hover { box-shadow: 0 0 0 2px var(--amber); }
.vault-app:active { transform: scale(.96); }
.vault-app-more { display: grid; place-items: center; background: transparent; box-shadow: none; border: 2px dashed #5E6F7F; }
.vault-app-more span { position: relative; width: 36%; aspect-ratio: 1; }
.vault-app-more span::before, .vault-app-more span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; border-radius: 2px; background: #8A9CAD;
  transform: translate(-50%, -50%);
}
.vault-app-more span::after { transform: translate(-50%, -50%) rotate(90deg); }
.vault-app-more:hover { border-color: var(--amber); box-shadow: none; }
.vault.is-open .vault-app { opacity: 1; transform: none; }
.vault.is-open .vault-app:nth-child(1) { transition-delay: 450ms; }
.vault.is-open .vault-app:nth-child(2) { transition-delay: 530ms; }
.vault.is-open .vault-app:nth-child(3) { transition-delay: 610ms; }

/* Tapping the closed vault opens it; once open, the button steps aside for the app links. */
.vault-open {
  position: absolute;
  inset: 19%;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  cursor: pointer;
}
.vault.is-open .vault-open { display: none; }

.vault-hint { flex: none; transition: opacity var(--dur-fast) var(--ease); }
.hero.is-open .vault-hint { opacity: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--s-700) 0; }
@media (min-width: 1024px) { .section { padding: var(--s-900) 0; } }
.container { width: min(100%, 1120px); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { width: min(100%, 768px); }
.section-head { display: grid; gap: var(--s-100); max-width: 680px; margin-bottom: var(--s-500); }
.section-head h2 { color: var(--text); }

/* Apps: the first section under the vault. */
.apps { padding-top: var(--s-400); }
.app-list { display: grid; gap: var(--s-400); }
.app {
  display: grid;
  gap: var(--s-75);
  padding: var(--s-75);
  border-radius: var(--r-3xl);
  background: var(--surface-2);
  scroll-margin-top: var(--s-900);
}
/* Nested radius: 24 outer − 8 gap = 16. */
.app-shot { border-radius: var(--r-2xl); overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.app-shot-sk { background: #13343A; }
.app-shot img, .app-shot picture { width: 100%; height: auto; }
.app-body { display: grid; align-content: center; gap: var(--s-300); padding: var(--s-300) var(--s-200) var(--s-200); }
@media (min-width: 768px) { .app-body { padding: var(--s-400); } }
.app-body > p { max-width: 34em; }
.app-id { display: flex; align-items: center; gap: var(--s-200); }
.app-icon { width: var(--s-600); height: var(--s-600); border-radius: var(--r-xl); flex: none; }
.facts { display: grid; gap: var(--s-75); color: var(--muted); }
.facts li { display: flex; gap: var(--s-100); align-items: baseline; }
.facts li::before { content: ""; flex: none; width: var(--s-75); height: var(--s-75); border-radius: var(--s-25); background: var(--amber); }
.app-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); }
@media (min-width: 1024px) {
  .app { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .app:nth-child(2) .app-shot { order: 2; }
}
@media (max-width: 480px) { .app-actions .btn { flex: 1 1 100%; } }

/* Tagline reveal (B11): each word lights up as it crosses the trigger line. */
.tagline { padding: var(--s-900) 0; }
@media (min-width: 1024px) { .tagline { padding: calc(var(--s-900) * 2) 0; } }
.tagline-text { max-width: 680px; color: var(--text); }
.tagline-text .line { display: block; text-wrap: balance; }
.tagline-text .w { opacity: 0.3; transition: opacity var(--dur) var(--ease); }
.tagline-text .w.on { opacity: 1; }

.benefits { display: grid; gap: var(--s-200); }
@media (min-width: 768px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit { display: grid; gap: var(--s-75); align-content: start; padding: var(--s-300); border-radius: var(--r-2xl); background: var(--surface); }

/* Siansa's tester call-out: a link card in the app's text column. */
.callout {
  display: flex;
  align-items: center;
  gap: var(--s-100);
  padding: var(--s-100) var(--s-200);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.callout > span:last-child { display: grid; }
.callout:hover { background: var(--surface-3); }
.callout:active { transform: scale(0.98); }
.callout-dot { flex: none; width: var(--s-75); height: var(--s-75); border-radius: var(--r-full); background: var(--amber); }

/* Goals: Google Play, and the testers it needs. */
.goal { display: grid; gap: var(--s-400); }
@media (min-width: 1024px) { .goal { grid-template-columns: 1.3fr 1fr; align-items: center; gap: var(--s-700); } }
.goal-copy { display: grid; gap: var(--s-200); max-width: 640px; }
.goal-copy h2 { color: var(--text); margin-bottom: var(--s-75); }
.goal-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-100); }
@media (max-width: 480px) { .goal-actions .btn { flex: 1 1 100%; } }
.goal-card { display: grid; gap: var(--s-300); padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface); }
@media (min-width: 768px) { .goal-card { padding: var(--s-400); } }
.goal-rule { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200); margin: 0; }
/* Nested radius: 24 card − 24 padding < 2, so the tiles keep their own 16. */
.goal-rule > div { display: grid; gap: var(--s-50); padding: var(--s-200); border-radius: var(--r-2xl); background: var(--surface-3); }
.goal-rule dd { margin: 0; color: var(--amber); }

/* Donate: a quiet band, so it never competes with the main call to action. */
.donate {
  display: grid;
  gap: var(--s-300);
  padding: var(--s-400) var(--s-300);
  border-radius: var(--r-3xl);
  background: var(--surface);
}
@media (min-width: 768px) {
  .donate { grid-template-columns: 1fr auto; align-items: center; gap: var(--s-600); padding: var(--s-600); }
}
.donate-copy { display: grid; gap: var(--s-100); max-width: 640px; }
.donate-copy h2 { color: var(--text); }
.donate-action { display: grid; justify-items: start; gap: var(--s-75); }
@media (min-width: 768px) { .donate-action { justify-items: center; } }

.proof { display: grid; gap: var(--s-200); }
@media (min-width: 768px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof-item {
  display: grid;
  gap: var(--s-50);
  height: 100%;
  padding: var(--s-300);
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.proof-item:hover { background: var(--surface); }
.proof-item:active { transform: scale(0.98); }

.faq { display: grid; gap: var(--s-100); }
.faq details { border-radius: var(--r-2xl); background: var(--surface); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-200);
  padding: var(--s-200) var(--s-300);
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-2xl);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: var(--s-75);
  height: var(--s-75);
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 var(--s-300) var(--s-300); }
.faq details[open] p { animation: fade-up var(--dur) var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(var(--s-75)); } to { opacity: 1; transform: none; } }

.final-inner { display: grid; justify-items: center; gap: var(--s-300); text-align: center; }
.final-inner h2 { max-width: 680px; }

.footer { padding: var(--s-600) 0 calc(var(--s-600) + env(safe-area-inset-bottom)); border-top: 1px solid var(--surface-3); }
.footer-inner { display: grid; justify-items: center; gap: var(--s-200); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-300); }
.footer-links a { color: var(--muted); text-underline-offset: var(--s-50); }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--text); }

/* ---------- Scroll reveals (B7) ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(var(--s-400)); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Plain pages ---------- */
.doc { width: min(100%, 720px); margin: 0 auto; padding: calc(var(--s-900) + var(--s-400)) var(--gutter) var(--s-800); display: grid; gap: var(--s-200); }
.doc h1 { margin-bottom: var(--s-50); }
.doc h2 { margin-top: var(--s-300); }
.doc a { color: var(--text); text-underline-offset: var(--s-50); }
.not-found { min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: var(--s-300); padding: var(--s-700) var(--gutter); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-property: opacity !important; }
  .wave-wall { opacity: .15; }
  .wave { opacity: .4; transform: scale(1.06); }
  .wave:nth-child(2) { transform: scale(1.12); opacity: .3; }
  .wave:nth-child(3) { transform: scale(1.18); opacity: .2; }
  .wave:nth-child(4) { transform: scale(1.24); opacity: .12; }
  .wave:nth-child(5) { transform: scale(1.3); opacity: .06; }
  .vault.is-open .blade { opacity: 0; }
}
