/* ===========================================================================
   TLCDesk — landing page. Hand-crafted, dependency-free.
   Brand tokens ported from the app/portal (lib/theme.ts, portal theme.css).
   =========================================================================== */

:root {
  /* Brand palette */
  --slate: #283237;
  --slate-deep: #1c2427;
  --slate-ink: #0e1416;
  --brand: #f5c518;
  --brand-deep: #e6b50f;
  --brand-ink: #0a0a0a;
  --paper: #fafaf7;
  --canvas: #f1efe8;
  --ink: #0a0a0a;
  --white: #ffffff;
  --card: #ffffff;
  --bg: #fafaf7;
  --text: #0a0a0a;

  /* On-light */
  --muted: rgba(10, 10, 10, 0.56);
  --faint: rgba(10, 10, 10, 0.40);
  --line: rgba(10, 10, 10, 0.09);
  --line-strong: rgba(10, 10, 10, 0.16);

  /* On-dark (slate surfaces) */
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(255, 255, 255, 0.62);
  --on-dark-faint: rgba(255, 255, 255, 0.40);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-dark-strong: rgba(255, 255, 255, 0.22);

  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 2px 8px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 10, 10, 0.08), 0 2px 6px rgba(10, 10, 10, 0.05);
  --shadow-lg: 0 24px 60px rgba(10, 10, 10, 0.14), 0 6px 16px rgba(10, 10, 10, 0.08);
  --shadow-slate: 0 24px 70px rgba(14, 20, 22, 0.45);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Inter Tight', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 132px);
}

* { 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; } }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand); color: var(--brand-ink); }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.eyebrow.on-dark { color: var(--brand); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
.h-display { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.07; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.015em; }
.lead { font-size: clamp(1rem, 1.25vw, 1.18rem); color: var(--muted); max-width: 56ch; }
.lead.on-dark { color: var(--on-dark-muted); }

.section-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .h2 { margin-top: 12px; }
.section-head .lead { margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  padding: 13px 22px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 20px rgba(245, 197, 24, 0.32); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 10px 28px rgba(245, 197, 24, 0.42); transform: translateY(-1px); }
.btn-dark { background: var(--slate); color: #fff; }
.btn-dark:hover { background: var(--slate-ink); transform: translateY(-1px); }
.btn-ghost-dark { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: var(--line-dark-strong); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.12); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(10, 10, 10, 0.04); }
.btn-link { background: none; padding: 13px 4px; color: inherit; font-weight: 600; }
.btn-link .arrow { transition: transform 0.18s ease; }
.btn-link:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 500; padding: 7px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--muted); background: rgba(255,255,255,0.5);
}
.chip svg { width: 14px; height: 14px; color: var(--success, #0a7f3f); }
.chip.on-dark { border-color: var(--line-dark-strong); color: var(--on-dark-muted); background: rgba(255,255,255,0.04); }
.chip.on-dark svg { color: var(--brand); }

/* ===========================================================================
   HEADER
   =========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a.navlink { font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.nav a.navlink:hover { color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
/* Flag-based language menu (mirrors the mobile app's LanguageMenu) — scales to
   more languages without the cramped two-pill toggle. */
.lang-menu { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: 6px 9px; background: var(--card); cursor: pointer; line-height: 0;
  transition: border-color 0.15s, background 0.15s;
}
.lang-trigger:hover { border-color: var(--faint); background: var(--bg); }
.lang-chevron { width: 15px; height: 15px; color: var(--muted); transition: transform 0.2s ease; }
.lang-trigger[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.flag {
  width: 22px; height: 15px; border-radius: 3px; overflow: hidden; display: block;
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.1); flex: none;
}
.flag svg { width: 100%; height: 100%; display: block; }

.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 188px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 6px; z-index: 70;
  transform-origin: top right; animation: lang-pop 0.14s ease;
}
.lang-dropdown[hidden] { display: none; }
@keyframes lang-pop { from { opacity: 0; transform: scale(0.96) translateY(-4px); } to { opacity: 1; transform: none; } }
.lang-option {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 12px; border: none; background: none; cursor: pointer;
  border-radius: var(--r-sm); font-family: var(--font); color: var(--text); text-align: left;
  transition: background 0.12s;
}
.lang-option:hover { background: var(--bg); }
.lang-label { flex: 1; font-size: 0.94rem; font-weight: 500; }
.lang-check { width: 17px; height: 17px; color: var(--success, #0a7f3f); opacity: 0; flex: none; }
.lang-option[aria-checked="true"] .lang-check { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lang-dropdown { animation: none; } }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); }
.menu-btn svg { width: 24px; height: 24px; }

/* mobile nav drawer */
.mobile-nav { display: none; }

/* ===========================================================================
   SPLIT HERO
   =========================================================================== */
/* ===========================================================================
   3D WEBGL HERO
   =========================================================================== */
.hero3d {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center; color: #fff;
  background: radial-gradient(130% 90% at 72% 6%, #2b373c 0%, #1a2225 44%, #11171a 100%);
}
.hero3d-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero3d-canvas.is-ready { opacity: 1; }
.hero3d-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(52% 46% at 50% 47%, rgba(13, 18, 21, 0.62), transparent 72%),
    radial-gradient(70% 55% at 50% 118%, rgba(245, 197, 24, 0.14), transparent 62%);
}
.hero3d-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw);
  margin-inline: auto; padding: clamp(96px, 13vh, 150px) var(--pad) 0; text-align: center;
}
.hero3d-inner .eyebrow { display: inline-block; color: var(--brand); margin-bottom: 24px; }
.hero3d-inner h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  font-size: clamp(2.7rem, 7vw, 5.6rem); max-width: 15ch; margin-inline: auto; color: #fff;
  padding-bottom: 0.14em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero3d-inner h1 {
    background: linear-gradient(180deg, #ffffff 0%, #c9d3d6 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    /* background-clip:text clips descenders unless the box has room */
    line-height: 1.1; padding-bottom: 0.18em;
  }
}
.hero3d-inner > p {
  margin: 24px auto 0; max-width: 54ch; font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  color: rgba(255, 255, 255, 0.74); line-height: 1.62;
}
.hero3d-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.btn-glass {
  background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.34); transform: translateY(-1px); }
.hero3d-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.38); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero3d-scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--brand); animation: scroll-cue 1.9s ease-in-out infinite; }
@keyframes scroll-cue { 0%, 100% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 65% { opacity: 1; transform: translateY(11px); } }
@media (prefers-reduced-motion: reduce) { .hero3d-scroll span { animation: none; opacity: 1; } .hero3d-canvas { transition: none; } }

.hero { position: relative; }
.hero-tagline {
  text-align: center; padding: clamp(28px, 4vw, 44px) var(--pad) clamp(20px, 3vw, 28px);
}
.hero-tagline .eyebrow { display: inline-block; }
.hero-tagline h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-top: 14px; max-width: 18ch; margin-inline: auto; }
.hero-tagline p { color: var(--muted); margin-top: 12px; max-width: 50ch; margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; position: relative; align-items: stretch; }
.split-side { padding: clamp(40px, 5vw, 76px) clamp(28px, 4.5vw, 72px) clamp(56px, 6vw, 88px); display: flex; flex-direction: column; }
.split-side .inner { max-width: 520px; margin-inline: auto; width: 100%; display: flex; flex-direction: column; height: 100%; }
.side-driver { background: var(--slate); color: #fff; position: relative; overflow: hidden; }
.side-driver::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 20% 0%, rgba(245,197,24,0.10), transparent 60%);
  pointer-events: none;
}
.side-owner { background: var(--canvas); color: var(--ink); position: relative; overflow: hidden; }
.side-owner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(245,197,24,0.18), transparent 55%);
  pointer-events: none;
}
.split-side .eyebrow { margin-bottom: 16px; }
.side-driver .eyebrow { color: var(--brand); }
.side-owner .eyebrow { color: var(--brand-deep); }
.split-side h2 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); }
.split-side .side-sub { margin-top: 16px; font-size: 1.05rem; }
.side-driver .side-sub { color: var(--on-dark-muted); }
.side-owner .side-sub { color: var(--muted); }
.split-side .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; }
.split-side .chips { margin-top: 26px; }
.split-side .mockup-slot { margin-top: auto; padding-top: clamp(36px, 5vw, 52px); }

/* center divider medallion with the helmet mark */
.split-medallion {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 5; width: clamp(64px, 7vw, 88px); height: clamp(64px, 7vw, 88px);
  border-radius: 50%; background: var(--white); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.split-medallion img { width: 56%; height: 56%; }

/* faint helmet watermark on the slate side */
.side-driver .watermark {
  position: absolute; right: -8%; bottom: -10%; width: 46%; opacity: 0.07; pointer-events: none; z-index: 0;
}
.side-owner .watermark {
  position: absolute; left: -10%; top: -12%; width: 42%; opacity: 0.05; pointer-events: none; z-index: 0;
}
.split-side .inner, .split-side .eyebrow { position: relative; z-index: 1; }

/* ---------- product mockups (pure CSS) ---------- */
.phone {
  width: 232px; max-width: 70%; aspect-ratio: 232 / 470; border-radius: 30px;
  background: #0a0a0a; padding: 9px; box-shadow: var(--shadow-slate); position: relative;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 22px; background: var(--paper); overflow: hidden;
  display: flex; flex-direction: column;
}
.phone .notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 76px; height: 18px; background: #0a0a0a; border-radius: 12px; z-index: 2; }
.app-top { padding: 26px 16px 12px; }
.app-top .t-eyebrow { font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.app-top .t-title { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; margin-top: 3px; }
.veh-card { margin: 4px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.veh-photo { height: 86px; background: linear-gradient(135deg, #cfd8dc, #aeb9bd); position: relative; }
.veh-photo .vtag { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 9px; font-weight: 700; background: rgba(10,10,10,0.78); color: #fff; padding: 3px 7px; border-radius: 6px; letter-spacing: 0.05em; }
.veh-body { padding: 10px 12px 12px; }
.veh-name { font-weight: 600; font-size: 12.5px; }
.veh-loc { font-size: 10px; color: var(--muted); margin-top: 1px; }
.veh-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 9px; }
.veh-price { font-family: var(--mono); font-weight: 700; font-size: 14px; }
.veh-price span { color: var(--muted); font-weight: 500; font-size: 10px; }
.veh-cta { font-size: 10px; font-weight: 700; background: var(--brand); color: var(--brand-ink); padding: 6px 12px; border-radius: 999px; }

/* owner earnings card mockup */
.earn-card {
  width: 300px; max-width: 84%; background: #fff; border-radius: var(--r-xl); padding: 4px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.earn-hero { background: var(--brand); border-radius: 20px; padding: 18px 20px 20px; color: var(--brand-ink); }
.earn-hero .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.earn-hero .amt { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; margin-top: 4px; }
.earn-hero .sub { font-size: 11px; opacity: 0.72; margin-top: 2px; }
.earn-rows { padding: 12px 16px 14px; }
.earn-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.earn-row:last-child { border-bottom: none; }
.earn-row .er-l { display: flex; align-items: center; gap: 9px; }
.earn-row .er-dot { width: 28px; height: 28px; border-radius: 8px; background: var(--canvas); display: grid; place-items: center; font-family: var(--mono); font-size: 9px; font-weight: 700; color: var(--slate); }
.earn-row .er-name { font-size: 11.5px; font-weight: 600; }
.earn-row .er-meta { font-size: 9.5px; color: var(--muted); }
.earn-row .er-amt { font-family: var(--mono); font-weight: 700; font-size: 12px; color: var(--success, #0a7f3f); }

/* ===========================================================================
   TRUST / STATS bar
   =========================================================================== */
.statbar { background: var(--slate-ink); color: #fff; }
.statbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: clamp(36px, 4vw, 52px); }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
.stat .num .accent { color: var(--brand); }
.stat .cap { font-size: 0.82rem; color: var(--on-dark-muted); margin-top: 4px; }

/* ===========================================================================
   HOW IT WORKS
   =========================================================================== */
.how-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.how-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.how-col .tag { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.tag-driver { background: var(--slate); color: #fff; }
.tag-owner { background: var(--brand); color: var(--brand-ink); }
.steps { display: flex; flex-direction: column; gap: 4px; }
.step { display: flex; gap: 16px; padding: 16px; border-radius: var(--r-md); transition: background 0.15s; }
.step:hover { background: rgba(10,10,10,0.025); }
.step .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 13px; border: 1px solid var(--line-strong); }
.how-col.driver .step .n { background: var(--slate); color: #fff; border-color: var(--slate); }
.how-col.owner .step .n { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.step .st-title { font-weight: 600; font-size: 1.02rem; }
.step .st-body { color: var(--muted); font-size: 0.92rem; margin-top: 3px; }

/* ===========================================================================
   FEATURES grid
   =========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transform-style: preserve-3d; will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.45), 0 18px 40px rgba(245, 197, 24, 0.10);
  transition: opacity 0.3s ease;
}
.feature:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::after { opacity: 1; }
.feature .ic {
  width: 46px; height: 46px; border-radius: 13px; background: var(--slate); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature:hover .ic { transform: scale(1.08) rotate(-3deg); }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }

/* ===========================================================================
   AUDIENCE deep sections
   =========================================================================== */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.audience.reverse .a-media { order: -1; }
.a-copy .h2 { margin: 14px 0 16px; }
.bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 26px 0; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.bullets li .bdot { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.bullets li .bdot svg { width: 14px; height: 14px; }
.a-driver .bdot { background: var(--slate); color: var(--brand); }
.a-owner .bdot { background: var(--brand); color: var(--brand-ink); }
.a-media { display: grid; place-items: center; }
.media-panel {
  width: 100%; border-radius: var(--r-2xl); padding: clamp(32px, 4vw, 56px);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.media-panel.dark { background: var(--slate); box-shadow: var(--shadow-slate); }
.media-panel.warm { background: linear-gradient(160deg, #fff6d6, #f3ead0); border: 1px solid var(--line); box-shadow: var(--shadow-md); }

/* ===========================================================================
   SECURITY band
   =========================================================================== */
.secure { background: var(--slate); color: #fff; border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.secure::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 100% 0%, rgba(245,197,24,0.12), transparent 55%); pointer-events: none; }
.secure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
.secure .eyebrow { color: var(--brand); }
.secure .h2 { margin: 14px 0 14px; }
.secure .lead { color: var(--on-dark-muted); }
.secure-points { display: flex; flex-direction: column; gap: 18px; }
.spoint { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line-dark); border-radius: var(--r-md); background: rgba(255,255,255,0.03); }
.spoint .ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(245,197,24,0.14); color: var(--brand); display: grid; place-items: center; }
.spoint .ic svg { width: 20px; height: 20px; }
.spoint .sp-title { font-weight: 600; }
.spoint .sp-body { color: var(--on-dark-muted); font-size: 0.9rem; margin-top: 3px; }

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq-list { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink);
}
.faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform 0.25s ease, background 0.2s; }
.faq-q .pm svg { width: 14px; height: 14px; }
.faq-item[open] .faq-q .pm { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); }
.faq-a { padding: 0 4px 24px; color: var(--muted); max-width: 64ch; font-size: 0.98rem; }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ===========================================================================
   FINAL CTA
   =========================================================================== */
.final-cta { text-align: center; background: var(--brand); border-radius: clamp(20px, 3vw, 32px); padding: clamp(48px, 6vw, 88px) var(--pad); position: relative; overflow: hidden; }
.final-cta h2 { color: var(--brand-ink); font-size: clamp(2rem, 4vw, 3.2rem); max-width: 20ch; margin-inline: auto; }
.final-cta p { color: rgba(10,10,10,0.66); margin: 16px auto 0; max-width: 48ch; }
.final-cta .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.final-cta .btn-dark { box-shadow: var(--shadow-md); }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.site-footer { background: var(--slate-ink); color: var(--on-dark); padding-block: clamp(52px, 6vw, 80px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px 24px; }
.footer-brand img { height: 26px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--on-dark-muted); font-size: 0.9rem; max-width: 36ch; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--on-dark-muted); font-size: 0.92rem; padding: 6px 0; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer-bottom p { color: var(--on-dark-faint); font-size: 0.82rem; }
.footer-bottom .fb-links { display: flex; gap: 20px; }
.footer-bottom .fb-links a { color: var(--on-dark-faint); font-size: 0.82rem; }
.footer-bottom .fb-links a:hover { color: #fff; }

/* ===========================================================================
   reveal on scroll
   =========================================================================== */
/* Reveal is gated behind html.js so the page is fully visible without JS
   (set before paint by an inline <head> script). */
.js .reveal { opacity: 0; transform: translateY(26px) scale(0.985); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-tools { gap: 8px; }
  .split { grid-template-columns: 1fr; }
  .split-medallion { display: none; }
  .how-cols { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .audience { grid-template-columns: 1fr; }
  .audience.reverse .a-media { order: 0; }
  .secure-grid { grid-template-columns: 1fr; }
  .statbar .wrap { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-tagline { padding-top: 32px; }
  .header-cta { display: none; }
  .btn { width: 100%; }
  .split-side .cta-row { flex-direction: column; align-items: stretch; }
  .split-side .cta-row .btn-link { text-align: center; }
  .final-cta .cta-row .btn { width: auto; }
}

/* ===========================================================================
   LEGAL pages (privacy / terms) — integrated into the site design
   =========================================================================== */
.legal-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 26px); margin-left: auto; }
.legal-nav a { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.15s; white-space: nowrap; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--ink); }
.legal-nav .legal-back { font-weight: 600; }
.legal-nav .legal-back::after { content: " ↗"; color: var(--brand-deep); }

.legal-page { padding-block: clamp(44px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.legal-page .wrap { max-width: 800px; }

.legal-prose .eyebrow { display: inline-block; margin-bottom: 14px; }
.legal-prose h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 4.5vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; }
.legal-prose .effective { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--faint); margin-top: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-prose h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; margin-top: 48px; }
.legal-prose h3 { font-size: 1.05rem; font-weight: 600; margin-top: 28px; }
.legal-prose p { margin-top: 14px; color: rgba(10, 10, 10, 0.82); line-height: 1.72; }
.legal-prose > p:first-of-type { font-size: 1.08rem; }
.legal-prose ul { margin: 16px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.legal-prose li { position: relative; padding-left: 26px; line-height: 1.6; color: rgba(10, 10, 10, 0.78); }
.legal-prose li::before { content: ""; position: absolute; left: 5px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.legal-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color 0.15s; }
.legal-prose a:hover { color: var(--brand-deep); }
.legal-prose strong { font-weight: 600; color: var(--ink); }

.legal-footer { padding-block: clamp(40px, 5vw, 60px) 28px; }
.legal-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; }
.legal-footer .foot-logo { height: 24px; width: auto; filter: brightness(0) invert(1); }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-footer nav a { color: var(--on-dark-muted); font-size: 0.9rem; transition: color 0.15s; }
.legal-footer nav a:hover { color: #fff; }
.legal-footer .legal-copy { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: var(--on-dark-faint); font-size: 0.82rem; line-height: 1.7; }
.legal-footer .legal-copy a { color: var(--on-dark-muted); }
.legal-footer .legal-copy a:hover { color: #fff; }

/* legal hub (index) */
.legal-hub { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.legal-hub a { display: block; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.legal-hub a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.legal-hub h3 { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.02em; }
.legal-hub p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.legal-hub .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
@media (max-width: 600px) { .legal-hub { grid-template-columns: 1fr; } }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80; background: var(--slate);
  flex-direction: column; padding: 24px var(--pad);
  transform: translateX(100%); transition: transform 0.28s ease; display: flex; visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav .mn-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav .mn-top img { height: 26px; filter: brightness(0) invert(1); }
.mobile-nav .mn-top button { background: none; border: none; color: #fff; cursor: pointer; padding: 6px; }
.mobile-nav .mn-top button svg { width: 26px; height: 26px; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.mobile-nav nav a { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.6rem; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav .mn-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
body.nav-open { overflow: hidden; }
