/* ============================================================
   ClubCoin – Landing & Legal · "Royal"-Theme
   Tokens aus app/mobile/src/shared/ui/theme.ts
   ============================================================ */

/* Space Grotesk lokal ausgeliefert (SIL Open Font License, siehe assets/fonts/LICENSE).
   Bewusst kein Google-Fonts-CDN: das uebertraegt die Besucher-IP an Google und ist ohne
   Einwilligung ein DSGVO-Verstoss (LG Muenchen I, 3 O 17493/20). */
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/SpaceGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/SpaceGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/SpaceGrotesk-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/SpaceGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #020A15;
  --surface: #030B16;
  --border: #24262E;
  --border-accent: #34427A;
  --primary: #0A5FFF;
  --primary-light: #9DB8FF;
  --gold: #EFC25A;
  --success: #3DE3A0;
  --success-bg: #0E3A2C;
  --success-ring: #155C44;
  --text: #FFFFFF;
  --body-on-card: #EAECF0;
  --text-tertiary: #B9C0CC;
  --text-muted: #A6A9B3;
  --text-dim: #6E717B;
  --eyebrow: #0A5FFF;
  --hero-text-muted: #D3E0FA;
  --card-gradient: linear-gradient(to top, #00125B 0%, #013DBE 58%, #0A6BF0 100%);
  --primary-gradient: linear-gradient(135deg, #0A5FFF, #0A3DBE);
  --content: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 720px at 50% -8%, #0d1a35 0%, #08101f 46%, #020A15 100%) no-repeat,
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}

::selection { background: var(--primary); color: #fff; }

a { color: inherit; }

img { max-width: 100%; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================== NAV ============================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(2, 10, 21, 0.62);
  border-bottom: 1px solid rgba(36, 38, 46, 0.7);
}
.nav-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo-lockup { height: 58px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--primary-gradient);
  box-shadow: 0 6px 20px -8px rgba(10, 95, 255, 0.9);
  transition: filter 0.15s ease;
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-back {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-back:hover { color: #fff; }

/* ============================== BUTTONS ============================== */
.btn-primary,
.btn-ghost {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  transition: filter 0.15s ease, background 0.15s ease;
}
.btn-primary {
  color: #fff;
  background: var(--primary-gradient);
  box-shadow: 0 10px 28px -10px rgba(10, 95, 255, 0.9);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  color: var(--body-on-card);
  background: var(--surface);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: #1c1d25; }

/* ============================== SECTION PRIMITIVES ============================== */
.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 64px 24px;
}
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--eyebrow);
  text-transform: uppercase;
}
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.6px;
  margin: 12px 0 0;
  line-height: 1.12;
}
.lead-center {
  color: var(--text-tertiary);
  font-size: 16px;
  margin: 16px 0 0;
}

/* ============================== HERO ============================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 80px;
}
.hero-glow {
  position: absolute;
  top: -120px;
  right: -60px;
  width: 560px;
  height: 440px;
  background: radial-gradient(closest-side, rgba(10, 95, 255, 0.34), transparent);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--eyebrow);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid rgba(52, 66, 122, 0.7);
  border-radius: 999px;
  background: rgba(24, 36, 70, 0.4);
}
.hero h1 {
  font-size: clamp(34px, 6.6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin: 22px 0 0;
}
.grad-text {
  background: linear-gradient(120deg, #9DB8FF, #EFC25A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-lead {
  color: var(--text-tertiary);
  font-size: clamp(16px, 2vw, 18.5px);
  max-width: 480px;
  margin: 22px 0 0;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Store-Hinweis vor dem Launch. Die Kacheln sind bewusst keine Links: Es gibt noch
   keinen Store-Eintrag, auf den sie zeigen koennten. */
.store-note { margin-top: 28px; }
.store-note-lead {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 10px 16px;
}
.store-badge-icon { width: 22px; height: 22px; color: var(--primary-light); flex: 0 0 auto; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge-small { color: var(--text-dim); font-size: 11px; }
.store-badge-name { color: var(--body-on-card); font-size: 15px; font-weight: 600; }
.store-badge-platform { color: var(--text-dim); font-size: 11px; margin-top: 1px; }
.hero-phone {
  display: flex;
  justify-content: center;
}

/* ============================== SMARTPHONE MOCKUP ============================== */
.phone {
  position: relative;
  width: 380px;
  padding: 11px;
  border-radius: 56px;
  background: linear-gradient(150deg, #33353f 0%, #111218 46%, #2a2c34 100%);
  box-shadow:
    0 48px 96px -34px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 0 2px #060709;
  animation: floaty 6.5s ease-in-out infinite;
}
.phone-btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #1c1e25;
}
.phone-btn.b1 { left: -2px; top: 130px; height: 30px; }
.phone-btn.b2 { left: -2px; top: 176px; height: 52px; }
.phone-btn.b3 { left: -2px; top: 240px; height: 52px; }
.phone-btn.b4 { right: -2px; top: 166px; height: 76px; }

.phone-screen {
  position: relative;
  border-radius: 46px;
  overflow: hidden;
  background: var(--bg);
  height: 690px;
  display: flex;
  flex-direction: column;
}
.status-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.status-time { letter-spacing: 0.3px; }
.status-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}
.signal span { width: 3px; background: #fff; border-radius: 1px; }
.signal span:nth-child(1) { height: 4px; }
.signal span:nth-child(2) { height: 6px; }
.signal span:nth-child(3) { height: 8.5px; }
.signal span:nth-child(4) { height: 11px; }
.wifi {
  display: inline-block;
  width: 15px;
  height: 11px;
  border-radius: 2px;
  background: #fff;
  -webkit-mask: radial-gradient(circle at 50% 118%, transparent 34%, #000 35%);
  mask: radial-gradient(circle at 50% 118%, transparent 34%, #000 35%);
}
.battery {
  display: inline-flex;
  align-items: center;
  width: 24px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  padding: 1.5px;
  position: relative;
}
.battery > span {
  display: block;
  width: 78%;
  height: 100%;
  background: var(--success);
  border-radius: 1.5px;
}
.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3.5px;
  width: 2px;
  height: 5px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 1px 1px 0;
}
.island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 98px;
  height: 27px;
  background: #000;
  border-radius: 999px;
}
.app-content {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 6px 16px 4px;
}
.app-logo {
  display: block;
  width: 128px;
  height: auto;
  margin: 4px auto 6px;
}
.app-greeting {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 2px 2px 11px;
}
.greeting-name { color: var(--gold); }
.balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--card-gradient);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.balance-left { display: flex; flex-direction: column; gap: 6px; }
.balance-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--hero-text-muted);
}
.balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.balance-coin { width: 28px; height: 28px; }
.balance-value { font-size: 30px; font-weight: 800; color: #fff; }
.balance-unit { font-size: 13px; font-weight: 700; color: #fff; }
.balance-art { width: 100px; height: 63px; object-fit: contain; flex: 0 0 auto; }

.level-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px 15px;
  margin-bottom: 12px;
}
.level-card-row { display: flex; align-items: center; gap: 12px; }
.level-text-col { flex: 1; min-width: 0; }
.level-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
}
.level-name { font-size: 15px; font-weight: 600; }
.level-xp { font-size: 12px; font-weight: 700; color: var(--primary); }
.xp-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.xp-fill {
  width: 54%;
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
}
.level-fraction { font-size: 12px; font-weight: 700; color: var(--primary); margin-top: 8px; }
.level-next {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 8px;
}
.level-next-rank { color: var(--primary); font-weight: 700; }
.hex-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 62px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hex-number { position: absolute; font-size: 20px; font-weight: 700; color: #fff; }
.app-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--eyebrow);
  text-transform: uppercase;
  margin: 2px 2px 9px;
}
.app-task {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 9px;
}
.app-task-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-task-time { font-size: 14px; font-weight: 700; }
.badge-success {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid var(--success-ring);
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-gold {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(239, 194, 90, 0.13);
  border: 1px solid rgba(239, 194, 90, 0.32);
  padding: 3px 10px;
  border-radius: 999px;
}
.app-task-title { font-size: 15px; font-weight: 600; color: var(--body-on-card); margin-top: 6px; }
.app-task-meta { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.app-task-coin {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}
.app-task-coin img { width: 26px; height: 26px; }
.app-task-coin span { font-size: 14px; font-weight: 800; color: var(--gold); }

.tab-bar {
  position: relative;
  flex: 0 0 auto;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 3px;
  background: var(--primary);
}
.tab-row { display: flex; }
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 0 5px;
}
.tab svg { width: 23px; height: 23px; }
.tab span { font-size: 11px; }
.tab.active svg { color: var(--primary); }
.tab.active span { color: var(--primary); }
.tab.inactive svg { color: var(--text-dim); }
.tab.inactive span { color: var(--text-dim); }

.home-indicator {
  flex: 0 0 auto;
  width: 112px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  margin: 6px auto 8px;
}

/* ============================== FEATURES ============================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
}
.feature-ic {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.feature-ic img { width: 42px; height: 42px; }
.feature-ic.blue { background: rgba(10, 95, 255, 0.14); border: 1px solid var(--border-accent); }
.feature-ic.gold { background: rgba(239, 194, 90, 0.14); border: 1px solid rgba(239, 194, 90, 0.32); }
.feature-ic.green { background: rgba(61, 227, 160, 0.12); border: 1px solid var(--success-ring); }
.feature-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 7px; }
.feature-card p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ============================== LOOP ============================== */
.loop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}
.loop-card {
  border-radius: 24px;
  padding: 26px;
}
.loop-card.earn {
  background: linear-gradient(160deg, #12211a, #0E0F14 70%);
  border: 1px solid var(--success-ring);
}
.loop-card.redeem {
  background: linear-gradient(160deg, #231b0d, #0E0F14 70%);
  border: 1px solid rgba(239, 194, 90, 0.32);
}
.loop-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.num-badge.green { background: var(--success-bg); border: 1px solid var(--success-ring); color: var(--success); }
.num-badge.gold { background: rgba(239, 194, 90, 0.13); border: 1px solid rgba(239, 194, 90, 0.32); color: var(--gold); }
.loop-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.loop-tag.green { color: var(--success); }
.loop-tag.gold { color: var(--gold); }
.loop-card h3 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.loop-card > p { color: var(--text-muted); font-size: 14.5px; margin: 0 0 18px; }

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px;
}
.confirm-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.confirm-title { font-size: 14.5px; font-weight: 600; }
.confirm-meta { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
.confirm-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}
.confirm-bottom .label { font-size: 12.5px; color: var(--text-muted); }
.coin-amount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}
.coin-amount img { width: 22px; height: 22px; }

.reward-card {
  display: flex;
  align-items: center;
  gap: 13px;
}
.reward-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: 0 0 auto;
}
.reward-body { flex: 1; }
.reward-name { font-size: 14.5px; font-weight: 600; }
.reward-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 3px;
}
.reward-price img { width: 16px; height: 16px; }
.reward-btn {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-gradient);
  padding: 9px 16px;
  border-radius: 11px;
}
.voucher-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 15px;
}
.qr {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 9px;
  background: #fff;
  padding: 5px;
  flex: 0 0 auto;
}
.qr-dots {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #020A15 46%, transparent 48%) 0 0 / 4.6px 4.6px;
  border-radius: 2px;
}
.qr-finder {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
}
.qr-finder::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid #020A15;
  border-radius: 2px;
  box-sizing: border-box;
}
.qr-finder::after {
  content: "";
  position: absolute;
  top: 4.5px;
  left: 4.5px;
  width: 5px;
  height: 5px;
  background: #020A15;
  border-radius: 1px;
}
.qr-finder.tl { top: 5px; left: 5px; }
.qr-finder.tr { top: 5px; right: 5px; }
.qr-finder.bl { bottom: 5px; left: 5px; }
.voucher-title { font-size: 13.5px; font-weight: 600; }
.voucher-status { font-size: 12px; color: var(--success); margin-top: 2px; font-weight: 600; }

.loop-footnote {
  text-align: center;
  color: var(--text-dim);
  font-size: 13.5px;
  margin: 20px auto 0;
}

/* ============================== STEPS ============================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.step-card {
  background: linear-gradient(165deg, #1a2a55, #101a3a 62%, #0E1430);
  border: 1px solid var(--border-accent);
  border-radius: 22px;
  padding: 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary-gradient);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.step-card p { color: var(--text-tertiary); font-size: 14.5px; margin: 0; }

/* ============================== ROLES ============================== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
}
.role-card h3 { font-size: 22px; font-weight: 600; margin: 0 0 18px; }
.role-card.clubs h3 { color: var(--primary-light); }
.role-card.helpers h3 { color: var(--gold); }
.role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}
.role-list li {
  display: flex;
  gap: 12px;
  color: var(--text-tertiary);
  font-size: 15px;
}
.role-list li .tick { font-weight: 700; flex: 0 0 auto; }
.role-card.clubs .tick { color: var(--primary-light); }
.role-card.helpers .tick { color: var(--gold); }

/* ============================== CTA ============================== */
.cta-section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 20px 24px 80px;
}
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(160deg, #1a2a55, #101a3a 60%, #0E1430);
  border: 1px solid var(--border-accent);
  border-radius: 28px;
  padding: 56px 32px;
}
.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 300px;
  background: radial-gradient(closest-side, rgba(10, 95, 255, 0.4), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
}
.cta-card p {
  color: var(--text-tertiary);
  font-size: 16.5px;
  max-width: 520px;
  margin: 0 auto 28px;
}
.btn-cta {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 14px;
  background: var(--primary-gradient);
  box-shadow: 0 14px 34px -12px rgba(10, 95, 255, 0.95);
  transition: filter 0.15s ease;
}
.btn-cta:hover { filter: brightness(1.08); }

/* ============================== FOOTER ============================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 48px;
}
.foot-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.foot-brand .logo-lockup { height: 38px; }
.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.foot-links a:hover { color: #fff; }
.copy {
  max-width: var(--content);
  margin: 22px auto 0;
  color: var(--text-dim);
  font-size: 13px;
}

/* ============================== LEGAL PAGES ============================== */
.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}
.legal-head-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--eyebrow);
  text-transform: uppercase;
}
.legal-wrap h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 12px 0 8px;
}
.legal-intro {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0 0 8px;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 6px;
  position: sticky;
  top: 58px;
  z-index: 10;
  padding: 10px 0;
  background: linear-gradient(#020A15, #020A15 70%, transparent);
}
.legal-nav a {
  color: var(--body-on-card);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.legal-nav a:hover { border-color: var(--border-accent); }
.legal-nav a.active {
  border-color: var(--border-accent);
  color: #fff;
  background: rgba(24, 36, 70, 0.4);
}
.legal-card {
  scroll-margin-top: 120px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  margin-top: 22px;
}
.legal-card + .legal-card { margin-top: 18px; }
.legal-card h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.legal-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-light);
  margin: 22px 0 6px;
}
.legal-card h3.first { margin-top: 20px; }
.legal-card p { color: var(--text-muted); font-size: 15px; margin: 0; }
.legal-card ul { color: var(--text-muted); font-size: 15px; margin: 8px 0 0; padding-left: 20px; }
.legal-card li { margin-bottom: 6px; }
.legal-card li:last-child { margin-bottom: 0; }
.legal-card a { color: var(--primary-light); text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }
.placeholder-note {
  color: var(--gold) !important;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 20px !important;
}
.legal-copy {
  color: var(--text-dim);
  font-size: 13px;
  margin: 34px 0 0;
}
.legal-copy a { color: var(--primary-light); text-decoration: none; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-phone { order: 2; }
  .hero-text { order: 1; }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 48px 20px; }
  .hero { padding: 44px 20px 60px; }
  .legal-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
  html { scroll-behavior: auto; }
}
