/* =========================================================================
   FlyRegs Marketing Site — Design tokens matched exactly to
   ac-app/src/context/theme.tsx (darkTokens)
   ========================================================================= */

:root {
  /* Backgrounds */
  --bg: #07111E;
  --bg2: #0C1826;
  --bg3: #132030;
  --bg4: #1A2C42;
  --inp: #08121F;

  /* Text */
  --t1: #EDF2FF;
  --t2: #9DB7CE;
  --t3: #7A9AB8;
  --t4: #537A99;

  /* Blue (primary action) */
  --blu: #4B8EF5;
  --blu-dim: rgba(75,142,245,0.12);
  --blu-bdr: rgba(75,142,245,0.28);
  --blt: #93C5FD;

  /* Green */
  --grn: #34D399;
  --grn-dim: rgba(52,211,153,0.10);
  --grn-bdr: rgba(52,211,153,0.24);

  /* Amber / red */
  --amb: #F59E0B;
  --red: #F87171;

  /* Gold (wordmark / premium accent) */
  --gold: #C6A224;
  --gold-lt: rgba(198,162,36,0.12);
  --gold-bdr: rgba(198,162,36,0.30);

  /* Borders */
  --bdr: rgba(255,255,255,0.07);
  --bdr2: rgba(255,255,255,0.14);

  /* Type */
  --font-display: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--t1);
}
p { margin: 0 0 16px; color: var(--t2); }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; position: relative; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
}

/* ---------- Background texture ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
}
.bg-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-glow::before, .bg-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.bg-glow::before {
  width: 560px; height: 560px;
  background: var(--blu);
  top: -180px; left: 50%;
  transform: translateX(-70%);
}
.bg-glow::after {
  width: 460px; height: 460px;
  background: var(--gold);
  top: 40px; right: 10%;
  opacity: 0.18;
}

/* =========================================================================
   Nav
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 30, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bdr);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}
.brand-wordmark {
  height: 76px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.footer-brand .brand-wordmark { height: 60px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--t2);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--t1); }
.nav-links a.is-active { color: var(--t1); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--t1);
  font-size: 24px;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .brand-wordmark { height: 40px; }
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--bg2);
    border-bottom: 1px solid var(--bdr); flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 18px; transform: translateY(-8px); opacity: 0;
    pointer-events: none; transition: all .18s ease; }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; }
  .nav-cta .btn-text { display: none; }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-primary { background: var(--blu); color: #fff; }
.btn-gold { background: var(--gold); color: #0C0900; }
.btn-outline { background: transparent; border-color: var(--bdr2); color: var(--t1); }
.btn-ghost { background: var(--blu-dim); border-color: var(--blu-bdr); color: var(--blt); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  padding: 88px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  gap: 8px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 20px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--gold-lt);
  border: 1px solid var(--gold-bdr);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 20px;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--t2);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-note {
  font-size: 13px;
  color: var(--t4);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--t1);
}
.hero-stat .lbl {
  font-size: 13px;
  color: var(--t3);
  margin-top: 2px;
}

/* ---------- QR mini card (hero) ---------- */
.qr-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 7px 14px 7px 7px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.qr-mini img { width: 46px; height: 46px; border-radius: 5px; display: block; }
.qr-mini .txt { text-align: left; line-height: 1.3; }
.qr-mini .txt .l1 { font-size: 11.5px; font-weight: 800; color: #07111E; }
.qr-mini .txt .l2 { font-size: 10.5px; color: #537A99; }

/* =========================================================================
   Phone stage (device showcase) — light "Apple stage" band
   ========================================================================= */
.stage-light {
  --stage-t1: #050E1F;
  --stage-t2: #14305A;
  --stage-t3: #3A5E8A;
  background:
    radial-gradient(ellipse 65% 55% at 50% 12%, #ffffff 0%, #eef1f6 55%, #e2e7ef 100%);
  padding: 64px 0 84px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.6);
}
.stage-eyebrow {
  text-align: center;
  color: var(--stage-t3);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stage-heading {
  text-align: center;
  color: var(--stage-t1);
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 0;
}

.phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  padding: 40px 0 20px;
  perspective: 1600px;
}
.phone-stage .phone-wrap {
  position: relative;
  transform-style: preserve-3d;
}
.phone-wrap.center { z-index: 3; transform: translateY(-14px) scale(1.05); }
.phone-wrap.left   { z-index: 2; margin-right: -58px; transform: rotateY(32deg) rotateX(3deg) translateY(28px); }
.phone-wrap.right  { z-index: 2; margin-left: -58px;  transform: rotateY(-32deg) rotateX(3deg) translateY(28px); }

.phone-wrap::after {
  /* grounding shadow */
  content: '';
  position: absolute;
  bottom: -18px; left: 10%;
  width: 80%; height: 26px;
  background: radial-gradient(ellipse, rgba(10,20,40,0.32), transparent 72%);
  filter: blur(4px);
  z-index: -1;
}

@media (max-width: 900px) {
  .phone-wrap.left, .phone-wrap.right { display: none; }
  .phone-wrap.center { transform: translateY(0) scale(1); }
}

.stage-stats {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stage-stat { text-align: center; }
.stage-stat .num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--stage-t1);
}
.stage-stat .lbl {
  font-size: 12.5px;
  color: var(--stage-t3);
  margin-top: 2px;
}

/* ---------- iPhone frame (pure CSS, thin metallic bezel) ---------- */
.iphone {
  width: 234px;
  height: 494px;
  border-radius: 34px;
  padding: 3px;
  position: relative;
  background: linear-gradient(128deg,
    #f6f6f8 0%, #cfd1d6 14%, #f2f3f5 26%, #a7aab1 42%,
    #eceef1 56%, #b6b9bf 72%, #f4f5f7 88%, #cbcdd3 100%);
  box-shadow:
    0 34px 60px -18px rgba(15,20,35,0.38),
    0 10px 22px -8px rgba(15,20,35,0.28),
    inset 0 0 0 1px rgba(255,255,255,0.5);
}
.iphone::before {
  /* diagonal light sweep — bezel/metal only, sits BEHIND the screen so it never glares over content */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg,
    rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 16%,
    rgba(255,255,255,0) 52%, rgba(255,255,255,0.4) 64%,
    rgba(255,255,255,0) 80%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}
.iphone::after {
  /* side buttons — thin titanium */
  content: '';
  position: absolute;
  left: -2px; top: 108px;
  width: 2px; height: 46px;
  background: linear-gradient(180deg, #d6d8dc, #8b8e95);
  border-radius: 2px 0 0 2px;
  box-shadow: 0 78px 0 0 #8b8e95, 0 -38px 0 0 #8b8e95;
  z-index: 2;
}
.iphone .screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 31px;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.iphone .screen .real-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ---------- Android frame (pure CSS, thin graphite bezel) ---------- */
.android {
  width: 228px;
  height: 494px;
  border-radius: 26px;
  padding: 3px;
  position: relative;
  background: linear-gradient(128deg,
    #4a4d54 0%, #212327 16%, #55585f 32%, #17181b 50%,
    #4a4d54 66%, #232529 82%, #55585f 100%);
  box-shadow:
    0 34px 60px -18px rgba(15,20,35,0.42),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}
.android::before {
  /* bezel-only sheen, sits behind the screen */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg,
    rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 18%,
    rgba(255,255,255,0) 55%, rgba(255,255,255,0.14) 68%,
    rgba(255,255,255,0) 82%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}
.android .screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 23px;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.android .punchhole {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: #000;
  border-radius: 50%;
  z-index: 20;
  border: 2px solid #1a1b1e;
}
.android-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: var(--bg2);
  border: 1.5px solid var(--gold-bdr);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 10px;
  z-index: 30;
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.android .screen-dim {
  position: absolute;
  inset: 0;
  background: rgba(7,17,30,0.55);
  z-index: 25;
}

/* =========================================================================
   "See it in action" — animated demo phone (pure CSS, no JS/video)
   Loop: tap an AC open -> detail view -> swipe back -> long-press ->
   add to folder -> confirmation toast. Falls back to a static Home
   screen for users with prefers-reduced-motion set.
   ========================================================================= */
.scene {
  position: absolute;
  top: 46px; left: 0; right: 0; bottom: 30px;
  overflow: hidden;
}
.tabbar-real {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 30px;
  object-fit: cover;
  object-position: bottom;
  display: block;
  z-index: 8;
}
.scene-home { opacity: 1; z-index: 1; }
.scene-detail { opacity: 0; z-index: 1; }

.swipe-cue {
  position: absolute;
  top: 50%; left: 14px;
  transform: translateY(-50%);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--t2);
  background: var(--bg3);
  border: 1px solid var(--bdr2);
  padding: 5px 10px;
  border-radius: 100px;
  opacity: 0;
  z-index: 10;
  white-space: nowrap;
}
.folder-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 30px;
  background: var(--bg3);
  border-top: 1px solid var(--bdr2);
  border-radius: 16px 16px 0 0;
  padding: 10px 14px 14px;
  z-index: 12;
  box-shadow: 0 -10px 24px rgba(0,0,0,0.35);
  transform: translateY(100%);
  opacity: 0;
}
.sheet-handle { width: 32px; height: 4px; background: var(--bdr2); border-radius: 3px; margin: 0 auto 8px; }
.sheet-title {
  font-size: 10px; font-weight: 700; color: var(--t3);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px;
}
.sheet-row {
  font-size: 11.5px; color: var(--t2);
  background: var(--bg2); border: 1px solid var(--bdr);
  border-radius: 9px; padding: 8px 10px; margin-bottom: 6px;
}
.demo-toast {
  position: absolute;
  left: 50%; bottom: 54px;
  transform: translate(-50%, 8px);
  background: var(--grn);
  color: #06331F;
  font-size: 11px; font-weight: 800;
  padding: 8px 14px;
  border-radius: 100px;
  opacity: 0;
  z-index: 15;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .scene-home       { animation: sceneHome 14s ease-in-out infinite; }
  .scene-detail     { animation: sceneDetail 14s ease-in-out infinite; }
  .tap-target-1     { animation: tapPulseGold 14s ease-in-out infinite; }
  .tap-target-2     { animation: tapPulseBlue 14s ease-in-out infinite; }
  .swipe-cue        { animation: swipeCue 14s ease-in-out infinite; }
  .folder-sheet     { animation: folderSheet 14s ease-in-out infinite; }
  .sheet-row.target { animation: sheetTargetFlash 14s ease-in-out infinite; }
  .demo-toast       { animation: demoToast 14s ease-in-out infinite; }

  @keyframes sceneHome {
    0%, 30%   { opacity: 1; transform: translateX(0); }
    34%       { opacity: 0; transform: translateX(-14px); }
    62%       { opacity: 0; transform: translateX(-14px); }
    66%, 100% { opacity: 1; transform: translateX(0); }
  }
  @keyframes sceneDetail {
    0%, 30%   { opacity: 0; transform: translateX(14px); }
    34%       { opacity: 1; transform: translateX(0); }
    62%       { opacity: 1; transform: translateX(0); }
    66%, 100% { opacity: 0; transform: translateX(14px); }
  }
  @keyframes tapPulseGold {
    0%, 22%   { box-shadow: 0 0 0 0 rgba(198,162,36,0); background: var(--gold-lt); }
    26%       { box-shadow: 0 0 0 6px rgba(198,162,36,0.28); background: rgba(198,162,36,0.24); }
    31%, 100% { box-shadow: 0 0 0 0 rgba(198,162,36,0); background: var(--gold-lt); }
  }
  @keyframes tapPulseBlue {
    0%, 68%   { box-shadow: 0 0 0 0 rgba(75,142,245,0); background: var(--bg2); }
    72%       { box-shadow: 0 0 0 7px rgba(75,142,245,0.22); background: rgba(75,142,245,0.14); }
    77%, 100% { box-shadow: 0 0 0 0 rgba(75,142,245,0); background: var(--bg2); }
  }
  @keyframes swipeCue {
    0%, 53%   { opacity: 0; transform: translateY(-50%) translateX(0); }
    56%       { opacity: 1; transform: translateY(-50%) translateX(6px); }
    61%, 100% { opacity: 0; transform: translateY(-50%) translateX(18px); }
  }
  @keyframes folderSheet {
    0%, 76%   { transform: translateY(100%); opacity: 0; }
    80%, 90%  { transform: translateY(0); opacity: 1; }
    94%, 100% { transform: translateY(100%); opacity: 0; }
  }
  @keyframes sheetTargetFlash {
    0%, 83%   { background: var(--bg2); border-color: var(--bdr); color: var(--t2); }
    87%       { background: var(--blu-dim); border-color: var(--blu-bdr); color: var(--blt); }
    91%, 100% { background: var(--bg2); border-color: var(--bdr); color: var(--t2); }
  }
  @keyframes demoToast {
    0%, 90%  { opacity: 0; transform: translate(-50%, 8px); }
    93%, 98% { opacity: 1; transform: translate(-50%, 0); }
    100%     { opacity: 0; transform: translate(-50%, 8px); }
  }
}

/* ---------- Mock screen content ---------- */
.mock-screen {
  position: absolute;
  inset: 0;
  padding-top: 46px;
  font-size: 10px;
  color: var(--t2);
  overflow: hidden;
}
.mock-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 20px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--t1);
  z-index: 15;
}
.mock-topbar {
  padding: 4px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--gold);
}
.mock-search-bar {
  margin: 0 16px 12px;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--t4);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-section-lbl {
  padding: 0 16px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--t4);
  text-transform: uppercase;
}
.mock-row {
  margin: 0 16px 8px;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-row .dot {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--blu-dim);
  border: 1px solid var(--blu-bdr);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: var(--blt);
}
.mock-row.gold .dot { background: var(--gold-lt); border-color: var(--gold-bdr); color: var(--gold); }
.mock-row .txt { flex: 1; min-width: 0; }
.mock-row .t-main {
  font-size: 10.5px; font-weight: 600; color: var(--t1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-row .t-sub {
  font-size: 9px; color: var(--t4); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-badge {
  font-size: 7.5px; font-weight: 800; padding: 2px 6px; border-radius: 5px;
  background: var(--grn-dim); color: var(--grn); border: 1px solid var(--grn-bdr);
  flex-shrink: 0;
}
.mock-tabbar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(12,24,38,0.9);
  border-top: 1px solid var(--bdr);
}
.mock-tabbar .tab {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--t4);
  opacity: 0.5;
}
.mock-tabbar .tab.active { background: var(--blu); opacity: 1; }

/* AC detail mock */
.mock-detail-hero {
  margin: 0 16px 10px;
  padding: 12px;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: 12px;
}
.mock-ac-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--blt);
}
.mock-ac-title {
  font-size: 10.5px;
  color: var(--t1);
  margin-top: 4px;
  line-height: 1.4;
}
.mock-toc {
  margin: 0 16px;
  border-top: 1px solid var(--bdr);
  padding-top: 8px;
}
.mock-toc-row {
  display: flex; justify-content: space-between;
  padding: 6px 2px;
  font-size: 9.5px;
  color: var(--t3);
  border-bottom: 1px dashed var(--bdr);
}
.mock-body-line {
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  margin: 8px 16px;
}
.mock-body-line.w60 { width: 60%; }
.mock-body-line.w80 { width: 80%; }
.mock-body-line.w40 { width: 40%; }

/* Paywall mock */
.mock-paywall {
  padding: 10px 16px 0;
}
.mock-paywall .headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--t1);
  text-align: center;
  margin-bottom: 10px;
}
.mock-tier-toggle {
  display: flex;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: 9px;
  padding: 2px;
  margin-bottom: 10px;
}
.mock-tier-toggle .seg {
  flex: 1; text-align: center; padding: 6px 0;
  font-size: 10px; font-weight: 700; border-radius: 7px; color: var(--t3);
}
.mock-tier-toggle .seg.active { background: var(--gold); color: #0C0900; }
.mock-plan-row { display: flex; gap: 8px; margin-bottom: 10px; }
.mock-plan-card {
  flex: 1;
  border: 1.5px solid var(--bdr);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}
.mock-plan-card.sel { border-color: var(--gold); background: var(--gold-lt); }
.mock-plan-card .p-lbl { font-size: 8px; color: var(--t3); text-transform: uppercase; }
.mock-plan-card .p-price { font-size: 14px; font-weight: 800; color: var(--t1); margin-top: 2px; }
.mock-cta-btn {
  background: var(--gold);
  color: #0C0900;
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  padding: 10px;
  border-radius: 10px;
}

/* =========================================================================
   Sections: features / audience / how-it-works
   ========================================================================= */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  color: var(--blt);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head p { font-size: 16.5px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--bdr2); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--blu-dim);
  border: 1px solid var(--blu-bdr);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.card.gold .card-icon { background: var(--gold-lt); border-color: var(--gold-bdr); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; color: var(--t3); }
.card-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px;
  margin-bottom: 12px;
}
.card-tag.free { color: var(--grn); background: var(--grn-dim); border: 1px solid var(--grn-bdr); }
.card-tag.pro { color: var(--blt); background: var(--blu-dim); border: 1px solid var(--blu-bdr); }
.card-tag.plus { color: var(--amb); background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.28); }
.card-tag.premium { color: var(--gold); background: var(--gold-lt); border: 1px solid var(--gold-bdr); }

.audience-card {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
}
.audience-card .emoji {
  font-size: 30px;
  margin-bottom: 12px;
}
.audience-card h3 { font-size: 16px; }
.audience-card p { font-size: 13.5px; color: var(--t3); margin: 0; }

/* =========================================================================
   Download / QR band
   ========================================================================= */
.download-band {
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border: 1px solid var(--bdr);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 40px;
}
@media (max-width: 800px) {
  .download-band { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
}
.download-band h2 { font-size: 28px; margin-bottom: 10px; }
.qr-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  width: 168px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 20px 44px rgba(0,0,0,0.35);
}
.qr-card img { border-radius: 6px; }
.qr-card .cap {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #07111E;
  letter-spacing: 0.03em;
}

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan-card {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: var(--gold-bdr);
  background: linear-gradient(180deg, rgba(198,162,36,0.06), var(--bg2) 40%);
  position: relative;
}
.plan-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: #0C0900;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 100px;
}
.plan-name { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--blt); }
.plan-card.featured .plan-name { color: var(--gold); }
.plan-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.plan-price { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--t1); }
.plan-period { font-size: 15px; color: var(--t3); }
.plan-price-row .save {
  display: inline-block;
  font-size: 14px; font-weight: 800;
  color: var(--grn); background: var(--grn-dim); border: 1px solid var(--grn-bdr);
  padding: 3px 10px; border-radius: 100px;
}
.plan-annual { font-size: 14.5px; color: var(--t3); margin-bottom: 22px; }
.plan-annual strong { color: var(--t2); font-weight: 600; }
.plan-features { flex: 1; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--t2);
}
.plan-features li::before {
  content: '✓';
  color: var(--blu);
  font-weight: 800;
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blu-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}
.plan-card.featured .plan-features li::before { color: var(--gold); background: var(--gold-lt); }
.plan-features li.divider {
  border-top: 1px solid var(--bdr);
  padding-top: 12px;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--t4);
}
.plan-features li.divider::before { content: none; }

.pricing-note {
  text-align: center;
  max-width: 560px;
  margin: 40px auto 0;
  font-size: 13px;
  color: var(--t4);
}

.compare-table-wrap { overflow-x: auto; margin-top: 72px; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
table.compare th, table.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bdr);
  font-size: 14px;
}
table.compare th { color: var(--t3); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
table.compare td.feat { color: var(--t1); }
table.compare td.center, table.compare th.center { text-align: center; }
table.compare .yes { color: var(--blu); font-weight: 800; }
table.compare .yes.gold { color: var(--gold); }
table.compare .no { color: var(--t4); }

/* =========================================================================
   FAQ accordion
   ========================================================================= */
.faq-list { max-width: 760px; margin: 0 auto; border: 1px solid var(--bdr); border-radius: var(--radius-md); overflow: hidden; background: var(--bg2); }
.faq-item { border-bottom: 1px solid var(--bdr); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--t1);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  padding: 20px 22px;
  cursor: pointer;
}
.faq-q .chev { color: var(--t3); transition: transform .18s ease; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 20px; }
.faq-a p { font-size: 14.5px; color: var(--t2); margin: 0; }

/* =========================================================================
   Prose (privacy / terms / support / about)
   ========================================================================= */
.prose-page { padding: 64px 0 100px; }
.prose-header { max-width: 720px; margin: 0 auto 48px; }
.prose-header h1 { font-size: clamp(30px, 4vw, 42px); }
.prose-updated { font-size: 13px; color: var(--t4); margin-bottom: 18px; }
.prose-intro { font-size: 16px; color: var(--t2); }
.prose-body { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.prose-section h2 { font-size: 20px; margin-bottom: 12px; color: var(--blt); }
.prose-section p { font-size: 15.5px; color: var(--t2); }
.prose-section p:last-child { margin-bottom: 0; }

/* =========================================================================
   Support page specifics
   ========================================================================= */
.support-hero {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 64px;
}
@media (max-width: 700px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-md);
  padding: 28px;
}
.support-card h3 { font-size: 16.5px; }
.support-card p { font-size: 14px; color: var(--t3); }
.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blu-dim);
  border: 1px solid var(--blu-bdr);
  color: var(--blt);
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 16px;
  border-radius: 10px;
  margin-top: 6px;
}

/* =========================================================================
   About page
   ========================================================================= */
.about-hero { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.disclaimer-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  font-size: 13.5px;
  color: var(--t3);
  line-height: 1.7;
}
.disclaimer-box strong { color: var(--t2); }

/* =========================================================================
   CTA band (generic)
   ========================================================================= */
.cta-band {
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(75,142,245,0.14), transparent 70%), var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-lg);
  padding: 64px 24px;
}
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { max-width: 480px; margin: 0 auto 28px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--bdr);
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: var(--t4); max-width: 260px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--t4); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--t2); }
.footer-col a:hover { color: var(--t1); }
.footer-bottom {
  border-top: 1px solid var(--bdr);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 12.5px; color: var(--t4); margin: 0; }
.footer-disclaimer {
  font-size: 12px;
  color: var(--t4);
  max-width: 780px;
  margin: 0 auto 24px;
  text-align: center;
  line-height: 1.7;
}

/* =========================================================================
   Page hero (non-home pages)
   ========================================================================= */
.page-hero {
  padding: 72px 0 24px;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); max-width: 760px; margin: 0 auto 16px; }
.page-hero p { max-width: 560px; margin: 0 auto; font-size: 16.5px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-inline {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--gold-lt);
  border: 1px solid var(--gold-bdr);
  color: var(--gold);
  margin-left: 8px;
  vertical-align: middle;
}

/* NEW/UPD/VER badge pills -- same three colors as the app's own
   getBadgeStyle() (green/blue/amber), for the FAQ answer that explains them. */
.badge-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: 5px;
  vertical-align: middle;
  margin-right: 6px;
}
.badge-pill.badge-new { background: var(--grn-dim); border: 1px solid var(--grn-bdr); color: var(--grn); }
.badge-pill.badge-upd { background: var(--blu-dim); border: 1px solid var(--blu-bdr); color: var(--blu); }
.badge-pill.badge-ver { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.28); color: var(--amb); }
