/* ─────────────────────────────────────────────────────────────────────────
   PocketCache marketing site - shared design system
   Palette and treatment are taken from the product itself (src/index.css,
   CoinMark.jsx, the gate at /demo/?app=1 and the web surfaces at
   /demo/?npsignup=1). Navy is the primary action colour, gold belongs to the
   coin, logo teal #5EEAD4 is for the word "Cache" and accents on navy, and
   light surfaces are the app's cool #F6F8FB / white.

   Design language (2026-08 elevation pass): oversized tight-tracked display
   type, pill buttons, a 3-level shadow scale + 3 radii used everywhere, the
   coin-arrow as the one recurring motif (chips, markers, textures, ticks),
   and heroes built from layered floating UI fragments instead of flat
   screenshots. Loaded by every page in landing/. Page-specific layout lives
   in each page's own <style> block.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --navy: #0B2A4A;
  --navy-deep: #003865;
  --navy-900: #001A33;
  --gold: #FBBF24;
  --gold-deep: #E5A800;
  --gold-700: #D97706;
  --teal-logo: #5EEAD4;
  --teal-ui: #0D9488;
  --teal-700: #0F766E;
  --teal-50: #E8FBF7;
  --teal-100: #CCFBF1;
  --green: #059669;
  --green-700: #047857;
  --green-50: #ECFDF5;
  --surface: #F6F8FB;
  --line: #E6EBF2;
  --ink: #0F172A;
  --slate: #64748B;
  --slate-400: #667085;

  /* ── Depth scale: exactly three levels, used everywhere ── */
  --shadow-1: 0 1px 2px rgba(11,42,74,0.05);
  --shadow-2: 0 2px 6px rgba(11,42,74,0.05), 0 14px 36px rgba(11,42,74,0.09);
  --shadow-3: 0 8px 20px rgba(11,42,74,0.10), 0 32px 72px rgba(11,42,74,0.18);
  /* legacy aliases (older page styles reference these) */
  --card-shadow: var(--shadow-2);
  --card-shadow-lg: var(--shadow-3);

  /* ── Radii scale ── */
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* ── The coin-arrow, as a faint repeating texture for dark bands.
       Two arrows per tile, offset half a tile, so the field reads as a
       diagonal drift instead of regimented columns. ── */
  --coin-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cpolygon points='32,20 18,34 25,34 25,56 39,56 39,34 46,34' fill='%235EEAD4' fill-opacity='0.030'/%3E%3Cpolygon points='96,84 82,98 89,98 89,120 103,120 103,98 110,98' fill='%235EEAD4' fill-opacity='0.030'/%3E%3C/svg%3E");
  /* ── Faint dot grid for light editorial panels ── */
  --dot-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%230B2A4A' fill-opacity='0.06'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  color: var(--slate);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--teal-ui);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible { outline: 3px solid var(--gold); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--navy); color: #fff; padding: 12px 18px;
  border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ── Wordmark ── */
.wordmark { font-weight: 800; white-space: nowrap; letter-spacing: -0.5px; display: inline-flex; align-items: center; line-height: 1; }
.coin { width: 0.8em; height: 0.8em; display: inline-block; margin: 0 0.02em; position: relative; top: 0.04em; }
.wordmark-cache { color: var(--teal-logo); }
.wordmark-dark { color: var(--navy); }
.wordmark-light { color: #fff; }

/* ── Header ── */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(11,42,74,0.06);
  transition: box-shadow 0.3s;
}
header.site.scrolled { box-shadow: 0 2px 20px rgba(11,42,74,0.07); }
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
}
.nav-brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.nav-brand .wordmark { font-size: 21px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  text-decoration: none; color: var(--slate); font-size: 15.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--navy); background: var(--surface); }
.nav-links a.active { color: var(--teal-700); background: var(--teal-50); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin { text-decoration: none; color: var(--slate); font-size: 15.5px; font-weight: 600; padding: 8px 6px; white-space: nowrap; }
.nav-signin:hover { color: var(--navy); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 18px; height: 2px; background: var(--navy);
  position: relative; transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-panel {
  display: none;
  max-height: 0; overflow: hidden;
  border-top: 1px solid var(--line);
  transition: max-height 0.25s ease;
}
.mobile-panel.open { max-height: 420px; }
.mobile-panel-inner { padding: 10px 20px 18px; display: grid; gap: 4px; }
.mobile-panel a {
  display: block; padding: 12px 10px; border-radius: 12px;
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: 16px;
}
.mobile-panel a:hover { background: var(--surface); }
.mobile-panel a.active { background: var(--teal-50); }
.mobile-panel .mp-divider { height: 1px; background: var(--line); margin: 8px 2px; }
/* The CTA is a .btn-navy (white text). Without this, `.mobile-panel a`'s navy
   color out-specifies the button and the label renders navy-on-navy. */
.mobile-panel a.mp-cta { color: #fff; }
.mobile-panel .mp-cta { margin-top: 8px; }

@media (max-width: 860px) {
  .nav-links, .nav-actions .nav-signin { display: none; }
  .nav-toggle { display: flex; }
  .mobile-panel { display: block; }
}

/* ── Buttons: pills, fintech-style ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; text-decoration: none;
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  line-height: 1.2; letter-spacing: -0.01em;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; box-shadow: 0 4px 14px rgba(11,42,74,0.18); }
.btn-navy:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(11,42,74,0.30); }
.btn-gold { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--navy); box-shadow: 0 4px 14px rgba(229,168,0,0.28), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(229,168,0,0.40), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-outline { background: #fff; color: var(--navy); border-color: #D5DDE7; }
.btn-outline:hover { background: var(--surface); border-color: #B9C5D4; transform: translateY(-1px); }
.btn-outline-dark { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.32); backdrop-filter: blur(4px); }
.btn-outline-dark:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.55); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ── Sections / type ── */
section { padding: 96px 20px; }
.container { max-width: 1180px; margin: 0 auto; }
.surface { background: var(--surface); }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-50); color: var(--teal-700);
  border: 1px solid rgba(13,148,136,0.16);
  padding: 6px 15px 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px;
}
/* Every badge leads with a tiny gold coin - the motif at its smallest. */
.badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold) 0%, var(--gold-deep) 90%);
  flex-shrink: 0;
}
.badge-dark { background: rgba(94,234,212,0.10); color: var(--teal-logo); border-color: rgba(94,234,212,0.24); }
h2.section-title {
  font-size: clamp(31px, 4.3vw, 46px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.12; color: var(--navy);
}
.on-dark h2.section-title, .on-dark h3,
.band h2.section-title, .cta-band h2.section-title { color: #fff; }
.band .section-sub, .cta-band .section-sub { color: rgba(255,255,255,0.78); }
.section-sub {
  font-size: 19px; color: var(--slate);
  line-height: 1.7; margin-top: 16px; max-width: 660px;
}
.on-dark .section-sub { color: rgba(255,255,255,0.72); }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Floating UI fragments (hero art vocabulary) ── */
.chip-float {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.94); border: 1px solid rgba(11,42,74,0.06);
  border-radius: 999px; padding: 10px 18px 10px 12px;
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14.5px; font-weight: 700; color: var(--navy); white-space: nowrap;
}
.chip-float .chip-coin { width: 26px; height: 26px; flex-shrink: 0; }
.chip-float .chip-amt { color: var(--green); font-weight: 800; }
.chip-float .chip-sub { display: block; font-size: 11.5px; font-weight: 600; color: var(--slate-400); letter-spacing: 0.02em; }

.mini-stat-card {
  background: #fff; border: 1px solid rgba(11,42,74,0.06);
  border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--shadow-3);
}
.mini-stat-card .ms-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-400); }
.mini-stat-card .ms-value { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: tabular-nums; margin-top: 2px; }
.mini-stat-card .ms-trend { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--green-700); background: var(--green-50); border-radius: 999px; padding: 2px 9px; margin-top: 6px; }
.mini-stat-card .ms-spark { display: block; margin-top: 8px; }

/* Gentle idle drift for floating fragments (staggered per element). */
@keyframes chip-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.drift   { animation: chip-drift 5.2s ease-in-out infinite; }
.drift-2 { animation: chip-drift 6.4s ease-in-out 0.9s infinite; }
.drift-3 { animation: chip-drift 7.1s ease-in-out 1.7s infinite; }

/* Concentric rounded-square "coin geometry" rings, for behind hero art. */
.ring-field { position: absolute; inset: 0; pointer-events: none; }
.ring-field span {
  position: absolute; left: 50%; top: 50%;
  border: 1.5px solid currentColor; border-radius: 30%;
  transform: translate(-50%, -50%) rotate(12deg);
  opacity: 0.14;
}

/* ── Shape: split (text / graphic, two columns) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.split-tight { gap: 40px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ── Shape: numbered steps (connected rail, not three equal boxes) ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 52px; position: relative; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px 28px; text-align: left; position: relative; overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
/* Oversized ghost number - editorial, breaks the equal-boxes monotony. */
.step::after {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 6px; right: 14px;
  font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: var(--navy); opacity: 0.05; pointer-events: none;
}
.step-icon {
  width: 52px; height: 52px; border-radius: 30%;
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  margin-bottom: 18px; background: var(--teal-50); border: 1px solid rgba(13,148,136,0.12);
}
.step-icon.alt { background: #E8EFF6; border-color: rgba(11,42,74,0.08); }
.step-num { font-size: 11.5px; font-weight: 800; color: var(--teal-700); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 7px; }
.step h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--navy); }
.step p { font-size: 15.5px; color: var(--slate); line-height: 1.7; }

/* ── Shape: stat band (full-bleed dark, coin-arrow texture) ── */
.band {
  background:
    radial-gradient(ellipse 70% 90% at 85% 10%, rgba(94,234,212,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 8% 100%, rgba(251,191,36,0.07) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-deep) 100%);
  color: #fff; position: relative;
}
.band::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--coin-pattern);
  pointer-events: none;
}
.band > * { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin-top: 48px; }
.stat-card { text-align: left; padding: 6px 28px; border-left: 1px solid rgba(94,234,212,0.16); }
.stat-card:first-child { border-left: none; padding-left: 0; }
.stat-num { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -0.025em; color: var(--teal-logo); font-variant-numeric: tabular-nums; line-height: 1.05; }
.stat-label { font-size: 14.5px; color: rgba(255,255,255,0.62); margin-top: 10px; font-weight: 500; line-height: 1.55; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px 0; }
}
@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── Shape: card grid ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 18px; margin-top: 44px; }
.feature-card { background: #fff; border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform 0.25s, box-shadow 0.25s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.feature-icon { width: 46px; height: 46px; border-radius: 30%; display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 15px; background: var(--teal-50); }
.feature-icon.alt { background: #E8EFF6; }
.feature-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 8px; color: var(--navy); }
.feature-card p { font-size: 15.5px; color: var(--slate); line-height: 1.7; }
.feature-card .fc-shot { margin: -6px -6px 16px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }

/* ── Shape: comparison strip (editorial, the "win" column visibly elevated) ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; align-items: stretch; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 32px; text-align: left; }
.compare-col.win {
  background: linear-gradient(150deg, #F0FDFA 0%, #fff 62%);
  border: 1px solid rgba(13,148,136,0.28);
  box-shadow: var(--shadow-2);
  position: relative;
}
.compare-col.win::before {
  content: 'THE POCKETCACHE WAY'; position: absolute; top: -12px; left: 28px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--navy);
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 999px;
}
.compare-who { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--slate-400); margin-bottom: 12px; }
.compare-col.win .compare-who { color: var(--teal-700); }
.compare-amount { font-size: clamp(34px, 3.4vw, 44px); font-weight: 800; color: var(--navy); letter-spacing: -0.025em; line-height: 1.08; font-variant-numeric: tabular-nums; }
.compare-amount span { display: block; font-size: 15px; font-weight: 600; color: var(--slate); letter-spacing: 0; margin-top: 6px; }
.compare-desc { font-size: 15.5px; color: var(--slate); line-height: 1.7; margin-top: 14px; }

/* ── Shape: vertical timeline (coin-arrow markers, gradient spine) ── */
.vtimeline { max-width: 720px; margin: 48px auto 0; }
.vt-item { display: flex; gap: 24px; padding-bottom: 40px; position: relative; }
.vt-item:last-child { padding-bottom: 0; }
.vt-item:not(:last-child)::before {
  content: ''; position: absolute; left: 25px; top: 56px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, rgba(13,148,136,0.35) 0%, rgba(13,148,136,0.10) 100%);
}
.vt-marker {
  width: 52px; height: 52px; border-radius: 30%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--teal-logo);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; z-index: 1;
  box-shadow: 0 6px 16px rgba(11,42,74,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
}
.vt-marker.gold { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--navy); box-shadow: 0 6px 16px rgba(229,168,0,0.30), inset 0 1px 0 rgba(255,255,255,0.4); }
.vt-body { padding-top: 8px; }
.vt-body h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 6px; }
.vt-body p { font-size: 16px; color: var(--slate); line-height: 1.7; max-width: 480px; }

/* ── Shape: flow diagram (horizontal, with arrows) ── */
.flow { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 48px; flex-wrap: wrap; }
.flow-node { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; text-align: center; width: 200px; box-shadow: var(--shadow-1); }
.flow-node .fn-icon { font-size: 26px; margin-bottom: 10px; }
.flow-node strong { display: block; font-size: 15.5px; color: var(--navy); font-weight: 800; }
.flow-node span { display: block; font-size: 13.5px; color: var(--slate); margin-top: 4px; line-height: 1.5; }
.flow-arrow { color: var(--line); font-size: 26px; padding: 0 14px; flex-shrink: 0; }
.flow-arrow.teal { color: var(--teal-ui); }
@media (max-width: 760px) { .flow { flex-direction: column; } .flow-arrow { transform: rotate(90deg); padding: 6px 0; } }

/* ── Device frames ──
   Chrome for showing product surfaces without a photographed screenshot -
   phone-screen and browser-frame both host hand-drawn HTML/CSS mock content
   (see the "mock UI panels" shapes below). phone-screen locks a 390:844
   ratio with aspect-ratio rather than a fixed pixel height, so sizing stays
   width-driven and every phone mock stays undistorted at any column width.
   The img rule below is kept for any real screenshot dropped in later;
   object-fit:cover + object-position:top crops instead of stretching if
   that image isn't captured at exactly 390:844. */
.phone-frame {
  width: 100%; max-width: 300px; margin: 0 auto;
  background: linear-gradient(160deg, #10314f 0%, var(--navy-900) 70%);
  border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255,255,255,0.10);
}
.phone-frame .phone-screen {
  aspect-ratio: 390 / 844;
  border-radius: 32px; overflow: hidden; background: #fff; position: relative;
}
.phone-frame .phone-screen img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.phone-frame .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: var(--navy-900); border-radius: 0 0 16px 16px; z-index: 2; }

.browser-frame {
  width: 100%; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-3); border: 1px solid var(--line);
}
.browser-frame .browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #EEF1F6; border-bottom: 1px solid var(--line); }
.browser-frame .browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #D6DCE5; }
.browser-frame .browser-bar .url { flex: 1; margin-left: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 11.5px; color: var(--slate-400); font-family: -apple-system, sans-serif; }
.browser-frame img { width: 100%; display: block; }

/* ── Shape: mock UI panels ──
   Drawn stand-ins for a nonprofit's giving page, the embeddable widget, and
   the donor app, built from the same tokens/type as the rest of the site
   instead of a photographed screenshot. They sit inside the existing
   .browser-frame / .phone-frame / .widget-mock chrome above. */
.mock-browser-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 30px 28px 36px; position: relative; overflow: hidden;
}
.mock-browser-hero::after { content: ''; position: absolute; inset: 0; background-image: var(--coin-pattern); background-size: 48px 48px; }
.mock-browser-logo {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--navy); font-size: 16px; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.mock-browser-bar { height: 11px; border-radius: 6px; background: rgba(255,255,255,0.9); margin-bottom: 9px; max-width: 68%; position: relative; z-index: 1; }
.mock-browser-bar.sub { background: rgba(255,255,255,0.42); max-width: 44%; height: 9px; }
.mock-browser-btn {
  display: inline-block; margin-top: 18px; background: var(--gold); color: var(--navy);
  font-weight: 800; font-size: 12.5px; padding: 10px 20px; border-radius: 999px;
  position: relative; z-index: 1;
}
.mock-browser-body { padding: 22px 28px 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #fff; }
.mock-browser-stat { background: var(--surface); border-radius: 12px; padding: 12px 10px; text-align: center; }
.mock-browser-stat b { display: block; color: var(--navy); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-browser-stat span { display: block; color: var(--slate); font-size: 10.5px; margin-top: 3px; }

.mock-widget-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.mock-widget-head { display: flex; align-items: center; gap: 10px; }
.mock-widget-head .coin { width: 30px; height: 30px; flex-shrink: 0; margin: 0; }
.mock-widget-title { font-size: 13.5px; font-weight: 800; color: var(--navy); }
.mock-widget-sub { font-size: 11px; color: var(--slate); margin-top: 2px; }
.mock-widget-row { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border-radius: 10px; padding: 11px 13px; }
.mock-widget-amt { font-size: 16px; font-weight: 800; color: var(--teal-700); font-variant-numeric: tabular-nums; }
.mock-widget-toggle { width: 38px; height: 21px; border-radius: 999px; background: var(--teal-ui); position: relative; flex-shrink: 0; }
.mock-widget-toggle::after { content: ''; position: absolute; top: 2px; right: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; }
.mock-widget-cta { text-align: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 12.5px; padding: 10px; border-radius: 999px; }

.mock-dash, .mock-activity { width: 100%; height: 100%; padding: 26px 20px 20px; display: flex; flex-direction: column; background: #fff; }
.mock-dash-top { display: flex; align-items: center; justify-content: space-between; }
.mock-dash-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-50); }
.mock-dash-bell { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); }
.mock-dash-balance { text-align: center; margin-top: 22px; }
.mock-dash-balance .amt { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.mock-dash-balance .lbl { font-size: 11.5px; color: var(--slate); margin-top: 4px; }
.mock-dash-row { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border-radius: 12px; padding: 12px 14px; margin-top: 20px; }
.mock-dash-row b { color: var(--navy); font-size: 13px; }
.mock-dash-row span { color: var(--slate); font-size: 10.5px; display: block; margin-top: 2px; }
.mock-dash-bars { display: flex; align-items: flex-end; gap: 7px; height: 60px; margin-top: auto; }
.mock-dash-bars span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--teal-logo) 0%, #8AF0DE 100%); }

.mock-activity-title { font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.mock-activity-chart { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.mock-activity-chart span { flex: 1; border-radius: 5px 5px 0 0; background: var(--gold); }
.mock-activity-list { display: grid; gap: 8px; margin-top: 16px; }
.mock-activity-item { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border-radius: 10px; padding: 9px 12px; }
.mock-activity-item b { font-size: 12px; color: var(--navy); font-weight: 700; }
.mock-activity-item span { font-size: 12px; color: var(--teal-700); font-weight: 700; }

/* ── Chooser cards (used on /start/, referenced elsewhere) ── */
.chooser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 44px; }
.chooser-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 38px 34px 34px; box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.chooser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
/* Signature top edge: teal for the donor door, gold for the nonprofit door. */
.chooser-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--teal-ui), var(--teal-logo)); }
.chooser-card.gold-edge::before { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.chooser-card .cc-icon { width: 58px; height: 58px; border-radius: 30%; display: flex; align-items: center; justify-content: center; font-size: 27px; margin-bottom: 18px; background: var(--teal-50); border: 1px solid rgba(13,148,136,0.12); }
.chooser-card .cc-icon.alt { background: #FEF3C7; border-color: rgba(217,119,6,0.16); }
.chooser-card h2 { font-size: 25px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.chooser-card p.cc-copy { font-size: 16.5px; line-height: 1.7; color: var(--slate); margin-top: 12px; }
.chooser-list { list-style: none; margin: 18px 0 26px; display: grid; gap: 10px; }
.chooser-list li { display: flex; gap: 10px; font-size: 15.5px; color: var(--slate); line-height: 1.6; }
.chooser-list li .tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.chooser-card .cc-actions { margin-top: auto; display: grid; gap: 10px; }
.chooser-note { font-size: 14px; color: var(--slate); text-align: center; margin-top: 8px; }

/* ── CTA band ── */
.cta-band {
  background:
    radial-gradient(ellipse 60% 90% at 90% 0%, rgba(94,234,212,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 80% at 5% 100%, rgba(251,191,36,0.08) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-900) 100%);
  color: #fff; position: relative;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: var(--coin-pattern); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-actions.center { justify-content: center; }

/* ── Waitlist ── */
.waitlist-box { max-width: 580px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 38px 32px; box-shadow: var(--shadow-2); text-align: center; }
.waitlist-box h3 { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.waitlist-box p.wl-copy { font-size: 15px; color: var(--slate); margin-top: 8px; line-height: 1.65; }
.waitlist-form { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.waitlist-form input { flex: 1; min-width: 220px; padding: 14px 20px; border-radius: 999px; border: 1px solid #D5DDE7; font-size: 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit; color: var(--ink); background: #fff; }
.waitlist-form input::placeholder { color: var(--slate-400); }
.waitlist-form input:focus { border-color: var(--teal-ui); box-shadow: 0 0 0 4px rgba(13,148,136,0.10); }
.waitlist-note { font-size: 13.5px; color: var(--slate-400); margin-top: 14px; }
.waitlist-success { display: none; background: var(--green-50); color: var(--green-700); border: 1px solid #A7F3D0; padding: 16px; border-radius: 14px; font-weight: 600; margin-top: 16px; font-size: 14px; }

/* ── Footer ── */
footer { background: var(--navy-900); color: rgba(255,255,255,0.55); padding: 56px 20px 40px; position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold) 30%, var(--teal-logo) 70%, var(--teal-ui)); opacity: 0.85; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 28px; }
.footer-brand .wordmark { font-size: 19px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.62); margin-top: 10px; max-width: 280px; line-height: 1.6; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.footer-col a { display: block; color: rgba(255,255,255,0.66); text-decoration: none; font-size: 14.5px; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-logo); }
.footer-copy { max-width: 1180px; margin: 34px auto 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.58); padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); line-height: 1.7; }

/* ── Reveal on scroll (staggered inside .stagger groups) ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s cubic-bezier(0.22, 0.9, 0.3, 1), transform 0.65s cubic-bezier(0.22, 0.9, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

@media (max-width: 520px) {
  section { padding: 64px 18px; }
  .nav-inner { padding: 10px 16px; }
  .nav-brand .wordmark { font-size: 18px; }
}
