/* =========================================================================
   SaveWallet — Landing page styles
   Fonts: Inter (UI) · JetBrains Mono (numbers)
   ========================================================================= */

/* ---- Fonts ---------------------------------------------------------------*/
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/JetBrainsMono-Variable.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
  font-style: normal;
}

/* ---- Tokens (dark-first; light via [data-theme="light"]) -----------------*/
:root {
  /* brand */
  --accent: #fcd535;
  --accent-pressed: #f0b90b;
  --on-accent: #181a20;
  --accent-text: #fcd535;          /* yellow safe as text on dark */
  --accent-subtle: rgba(252, 213, 53, 0.12);

  /* neutral (dark) */
  --canvas: #0b0e11;
  --surface: #1e2329;
  --surface-elevated: #2b3139;
  --hairline: #2b3139;

  /* text ramp (dark) */
  --text-primary: #ffffff;
  --text-body: #eaecef;
  --text-secondary: #aeb4be;
  --text-tertiary: #848a95;

  /* semantic (dark) */
  --up: #16c784;
  --down: #f6465d;
  --warning: #f5a623;
  --info: #4d9dff;

  /* spacing scale (4-pt base) */
  --xxs: 4px;  --xs: 8px;  --sm: 12px;  --md: 16px;
  --lg: 24px;  --xl: 32px; --xxl: 48px;

  /* radius (continuous) */
  --r-sm: 8px;  --r-md: 12px; --r-lg: 20px;
  --r-xl: 28px; --r-hero: 24px; --r-pill: 999px;

  /* type */
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* depth (sheets/floating only) */
  --shadow-float: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-phone: 0 50px 120px -30px rgba(0, 0, 0, 0.7);

  --maxw: 1140px;
  --header-h: 68px;
  color-scheme: dark;
}

[data-theme="light"] {
  --accent-text: #7e5e00;          /* dark-gold: yellow fails on light */
  --accent-subtle: rgba(252, 213, 53, 0.18);
  --canvas: #f1f2f4;
  --surface: #ffffff;
  --surface-elevated: #f5f5f5;
  --hairline: #eaecef;
  --text-primary: #0a0b0d;
  --text-body: #181a20;
  --text-secondary: #53565e;
  --text-tertiary: #66696f;
  --up: #047a4a;
  --down: #c92a41;
  --warning: #9a5b00;
  --info: #0b61cc;
  --shadow-float: 0 24px 60px -20px rgba(16, 18, 22, 0.22);
  --shadow-phone: 0 50px 120px -30px rgba(16, 18, 22, 0.28);
  color-scheme: light;
}

/* ---- Reset ---------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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;
  }
}

body {
  font-family: var(--font-ui);
  background: var(--canvas);
  color: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---- Layout helpers ------------------------------------------------------*/
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--lg); }
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--xs);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-text);
  padding: var(--xxs) var(--sm);
  background: var(--accent-subtle);
  border-radius: var(--r-pill);
}
.section-head { max-width: 720px; margin: 0 auto var(--xxl); text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--text-primary); font-weight: 800;
  margin: var(--md) 0 var(--sm);
}
.section-head p { font-size: 1.1rem; color: var(--text-secondary); }

/* ---- Buttons -------------------------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--xs);
  font-family: var(--font-ui); font-size: 1rem; font-weight: 600;
  padding: 0.85rem 1.5rem; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-pressed); box-shadow: 0 10px 30px -10px rgba(252, 213, 53, 0.5); }
.btn-secondary { background: var(--surface-elevated); color: var(--text-primary); border-color: var(--hairline); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-ghost { background: transparent; color: var(--text-body); }
.btn-ghost:hover { color: var(--accent-text); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ---- Header / nav --------------------------------------------------------*/
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--canvas) 72%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: var(--xs); font-weight: 800; font-size: 1.12rem; color: var(--text-primary); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { color: var(--accent-text); }
.nav-links { display: flex; align-items: center; gap: var(--lg); }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: var(--sm); }

.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface-elevated); border: 1px solid var(--hairline); color: var(--text-body);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--accent-text); border-color: var(--accent); }
.theme-toggle:active { transform: rotate(40deg) scale(0.9); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
[data-theme="light"] .theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .moon { display: block; }

.menu-btn { display: none; }

/* ---- Hero ----------------------------------------------------------------*/
.hero { position: relative; padding: calc(var(--header-h) + var(--xxl)) 0 var(--xxl); overflow: hidden; }
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center,
              rgba(252, 213, 53, 0.16), rgba(252, 213, 53, 0.05) 40%, transparent 70%);
  filter: blur(20px);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--xxl); align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 4.1rem); line-height: 1.04;
  letter-spacing: -0.03em; font-weight: 800; color: var(--text-primary);
  margin: var(--md) 0 var(--md); overflow-wrap: break-word;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent) 10%, #ffe478 50%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Yellow fails as text on light (1.43:1) — shift the gradient to legible dark-gold. */
[data-theme="light"] .hero h1 .grad {
  background: linear-gradient(120deg, #7e5e00 5%, #b8860b 50%, #7e5e00 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.2rem; color: var(--text-secondary); max-width: 520px; margin-bottom: var(--lg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sm); margin-bottom: var(--lg); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--lg); }
.hero-trust .ti { display: flex; align-items: center; gap: var(--xs); font-size: 0.9rem; color: var(--text-secondary); }
.hero-trust .ti svg { width: 18px; height: 18px; color: var(--up); flex: none; }

/* trust ticker strip */
.ticker {
  margin-top: var(--xl); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  padding: var(--md) 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; gap: var(--xxl); width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: var(--xs); font-size: 0.92rem; color: var(--text-tertiary); font-weight: 500; white-space: nowrap; }
.ticker-track b { color: var(--accent-text); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- Phone mockup (recreates the wallet home) ----------------------------*/
.phone-stage { position: relative; display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative; width: 320px; aspect-ratio: 320 / 660;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2b3139, #0b0e11);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.phone:hover { transform: rotateY(-6deg) rotateX(3deg); }
.phone-screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--canvas); display: flex; flex-direction: column;
  border: 1px solid var(--hairline);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #0b0e11; border-radius: var(--r-pill); z-index: 5;
}
.scr { padding: 0 16px; }
.scr-top { padding: 42px 16px 10px; display: flex; align-items: center; justify-content: space-between; }
.acct-chip { display: flex; align-items: center; gap: 8px; }
.acct-dot { width: 30px; height: 30px; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--accent), var(--accent-pressed)); display: grid; place-items: center; color: var(--on-accent); font-weight: 800; font-size: 0.8rem; }
.acct-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.acct-name small { display: block; font-size: 0.68rem; color: var(--text-tertiary); font-weight: 500; }
.net-chip { font-size: 0.68rem; font-weight: 600; color: var(--accent-text); background: var(--accent-subtle); padding: 5px 10px; border-radius: var(--r-pill); display: flex; align-items: center; gap: 5px; }
.net-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--up); }

/* balance hero (gold gradient — the one allowed gradient) */
.bal-hero {
  margin: 12px 16px 0; padding: 20px; border-radius: var(--r-hero);
  background: linear-gradient(150deg, #ffe478, var(--accent) 45%, var(--accent-pressed));
  color: var(--on-accent); position: relative; overflow: hidden;
}
.bal-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% -10%, rgba(255,255,255,0.45), transparent 50%); }
.bal-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; opacity: 0.7; text-transform: uppercase; }
.bal-amt { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 6px; }
.bal-delta { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 700; font-family: var(--font-mono); background: rgba(24,26,32,0.14); padding: 3px 9px; border-radius: var(--r-pill); }

/* action pills */
.pills { display: flex; justify-content: space-between; gap: 8px; padding: 16px; }
.pill { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pill .ic { width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--accent-text); transition: transform 0.2s, background 0.2s; }
.pill:hover .ic { transform: translateY(-3px); background: var(--surface-elevated); }
.pill .ic svg { width: 20px; height: 20px; }
.pill span { font-size: 0.68rem; font-weight: 600; color: var(--text-secondary); }

/* token rows */
.tok-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 8px; }
.tok-head h4 { font-size: 0.82rem; color: var(--text-secondary); font-weight: 600; }
.tok-head a { font-size: 0.72rem; color: var(--accent-text); font-weight: 600; }
.tok-list { padding: 0 12px; display: flex; flex-direction: column; gap: 4px; }
.tok-row { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: var(--r-md); transition: background 0.2s; }
.tok-row:hover { background: var(--surface); }
.tok-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.72rem; flex: none; color: #fff; }
.tok-av.usdt { background: #26a17b; }
.tok-av.trx { background: #eb0029; }
.tok-meta { flex: 1; min-width: 0; }
.tok-meta b { display: block; font-size: 0.88rem; color: var(--text-primary); font-weight: 600; }
.tok-meta small { font-size: 0.72rem; color: var(--text-tertiary); }
.spark { width: 42px; height: 22px; flex: none; }
.tok-val { text-align: right; }
.tok-val b { display: block; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-primary); font-weight: 600; }
.tok-val small { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; }
.tok-val .up { color: var(--up); }
.tok-val .down { color: var(--down); }

/* fee saver chip in phone */
.fee-card { margin: 10px 16px 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hairline); display: flex; align-items: center; gap: 10px; }
.fee-card .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-subtle); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.fee-card .ic svg { width: 18px; height: 18px; }
.fee-card .t b { display: block; font-size: 0.8rem; color: var(--text-primary); }
.fee-card .t small { font-size: 0.7rem; color: var(--text-secondary); }
.fee-card .save { margin-left: auto; font-family: var(--font-mono); font-weight: 700; color: var(--up); font-size: 0.9rem; }

/* tab bar */
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 8px 18px; border-top: 1px solid var(--hairline); background: var(--surface); }
.tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.6rem; font-weight: 600; color: var(--text-tertiary); }
.tabbar .tab.active { color: var(--accent-text); }
.tabbar .tab svg { width: 22px; height: 22px; }

/* floating chips around phone */
.float-chip {
  position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 10px 14px; box-shadow: var(--shadow-float);
  display: flex; align-items: center; gap: 10px; animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float-chip b { font-size: 0.82rem; color: var(--text-primary); display: block; }
.float-chip small { font-size: 0.68rem; color: var(--text-secondary); }
.fc-1 { top: 14%; left: -8%; animation-delay: 0s; }
.fc-1 .ic { background: rgba(22,199,132,0.15); color: var(--up); }
.fc-2 { bottom: 16%; right: -10%; animation-delay: 1.4s; }
.fc-2 .ic { background: var(--accent-subtle); color: var(--accent-text); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Logos / stats band --------------------------------------------------*/
.stats { padding: var(--xxl) 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--lg); text-align: center; }
.stat .n { font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.stat .n b { color: var(--accent-text); }
.stat .l { font-size: 0.92rem; color: var(--text-secondary); margin-top: var(--xxs); }

/* ---- Features (bento) ----------------------------------------------------*/
.features { padding: var(--xxl) 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--md); }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--lg); position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, var(--hairline)); }
.card .ic-box { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent-subtle); color: var(--accent-text); display: grid; place-items: center; margin-bottom: var(--md); }
.card .ic-box svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; color: var(--text-primary); font-weight: 700; margin-bottom: var(--xs); letter-spacing: -0.01em; }
.card p { color: var(--text-secondary); font-size: 0.96rem; }
.card.wide { grid-column: span 4; }
.card.narrow { grid-column: span 2; }
.card.half { grid-column: span 3; }
.card.full { grid-column: span 6; }

/* fee comparison bars inside a feature card */
.fee-compare { margin-top: var(--md); display: flex; flex-direction: column; gap: var(--sm); }
.fc-row { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: var(--sm); }
.fc-row .lab { font-size: 0.82rem; color: var(--text-secondary); }
.fc-bar { height: 12px; border-radius: var(--r-pill); background: var(--surface-elevated); overflow: hidden; }
.fc-bar i { display: block; height: 100%; border-radius: var(--r-pill); width: 0; transition: width 1.1s cubic-bezier(0.22,1,0.36,1); }
.fc-bar.them i { background: var(--down); }
.fc-bar.us i { background: var(--up); }
.fc-row .v { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }

/* ---- How it works --------------------------------------------------------*/
.how { padding: var(--xxl) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--lg); counter-reset: step; }
.step { position: relative; padding: var(--lg); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--on-accent);
  width: 38px; height: 38px; border-radius: var(--r-pill); background: var(--accent);
  display: grid; place-items: center; margin-bottom: var(--md);
}
.step h3 { font-size: 1.15rem; color: var(--text-primary); margin-bottom: var(--xs); font-weight: 700; }
.step p { color: var(--text-secondary); font-size: 0.95rem; }
.steps-line { position: absolute; }

/* ---- Security ------------------------------------------------------------*/
.security { padding: var(--xxl) 0; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--xxl); align-items: center; }
.sec-list { display: flex; flex-direction: column; gap: var(--md); }
.sec-item { display: flex; gap: var(--md); padding: var(--md); border-radius: var(--r-md); transition: background 0.2s; }
.sec-item:hover { background: var(--surface); }
.sec-item .ic { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--accent-subtle); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.sec-item .ic svg { width: 22px; height: 22px; }
.sec-item h3 { font-size: 1.05rem; color: var(--text-primary); margin-bottom: 2px; font-weight: 700; }
.sec-item p { color: var(--text-secondary); font-size: 0.92rem; }
.sec-visual { display: grid; place-items: center; }
.shield {
  width: 100%; max-width: 360px; aspect-ratio: 1; border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--hairline); position: relative;
  display: grid; place-items: center; overflow: hidden;
}
.shield::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 30%, var(--accent-subtle), transparent 60%); }
.shield svg { width: 130px; height: 130px; color: var(--accent-text); position: relative; z-index: 1; }
.shield .ring { position: absolute; border: 1px solid var(--hairline); border-radius: 50%; }
.shield .ring.r1 { width: 60%; height: 60%; animation: spin 18s linear infinite; }
.shield .ring.r2 { width: 85%; height: 85%; animation: spin 26s linear infinite reverse; }
.shield .ring i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- FAQ -----------------------------------------------------------------*/
.faq { padding: var(--xxl) 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sm); }
.faq-item { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--hairline)); }
.faq-item summary { list-style: none; cursor: pointer; padding: var(--md) var(--lg); display: flex; align-items: center; justify-content: space-between; gap: var(--md); font-size: 1.05rem; font-weight: 600; color: var(--text-primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 22px; height: 22px; flex: none; color: var(--text-tertiary); transition: transform 0.3s; }
.faq-item[open] summary .chev { transform: rotate(180deg); color: var(--accent-text); }
.faq-item .ans { padding: 0 var(--lg) var(--md); color: var(--text-secondary); font-size: 0.98rem; }

/* ---- CTA -----------------------------------------------------------------*/
.cta { padding: var(--xxl) 0; }
.cta-box {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(150deg, #ffe478, var(--accent) 50%, var(--accent-pressed));
  color: var(--on-accent); text-align: center; padding: var(--xxl) var(--lg);
}
.cta-box::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,0.4), transparent 45%); pointer-events: none; }
.cta-box h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--sm); position: relative; }
.cta-box p { font-size: 1.15rem; opacity: 0.85; max-width: 540px; margin: 0 auto var(--lg); position: relative; }
.cta-box .btn { position: relative; }
.btn-dark { background: var(--on-accent); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4); }
.store-row { display: flex; gap: var(--sm); justify-content: center; flex-wrap: wrap; position: relative; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 0.7rem 1.2rem; border-radius: var(--r-md); background: var(--on-accent); color: #fff; transition: transform 0.18s, box-shadow 0.2s; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 0.62rem; opacity: 0.8; }
.store-badge b { display: block; font-size: 0.98rem; line-height: 1.1; }

/* ---- Footer --------------------------------------------------------------*/
.site-footer { padding: var(--xxl) 0 var(--lg); border-top: 1px solid var(--hairline); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--xl); margin-bottom: var(--xl); }
.foot-brand p { color: var(--text-secondary); font-size: 0.92rem; max-width: 280px; margin: var(--sm) 0 var(--md); }
.foot-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); margin-bottom: var(--sm); }
.foot-col a { display: block; font-size: 0.92rem; color: var(--text-secondary); padding: 4px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent-text); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--md); padding-top: var(--lg); border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.foot-bottom p { font-size: 0.85rem; color: var(--text-tertiary); }
.foot-bottom .disc { max-width: 620px; }

/* ---- Scroll reveal -------------------------------------------------------*/
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---- Responsive ----------------------------------------------------------*/
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--xl); }
  .hero-copy { max-width: none; text-align: center; margin: 0 auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .sec-grid { grid-template-columns: 1fr; }
  .sec-visual { order: -1; }
  .card.wide, .card.narrow, .card.half { grid-column: span 3; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--lg); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--surface-elevated); border: 1px solid var(--hairline); cursor: pointer; color: var(--text-body); }
  .menu-btn svg { width: 22px; height: 22px; }
  .nav-links.open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: var(--md) var(--lg); background: var(--canvas); border-bottom: 1px solid var(--hairline); }
  .nav-links.open a { padding: var(--sm) 0; width: 100%; border-bottom: 1px solid var(--hairline); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--xl); }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card.wide, .card.narrow, .card.half, .card.full { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); overflow-wrap: break-word; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 var(--md); }
  .phone { width: 290px; }
  .hero-cta .btn { width: 100%; }
}
