/* ============================================================
   Midaspair — gold-led brand
   Palette mirrors mobile/theme.ts (Midas gold #E8B765 in both modes)
   Light: warm parchment #FBF7EF · Dark: near-black #0A0F15
   Type: Plus Jakarta Sans (display), Inter (body), Lora (serif)
   ============================================================ */

:root {
  /* Brand */
  --gold: #E8B765;
  --gold-deep: #B88A3B;
  --gold-soft: rgba(232, 183, 101, 0.18);
  --gold-faint: rgba(232, 183, 101, 0.10);
  --gold-glow: rgba(232, 183, 101, 0.28);
  --emerald: #0E7C5A;

  /* Light (default) */
  --bg: #FBF7EF;
  --bg-elev: #FFFFFF;
  --bg-warm: #F5F1E8;
  --bg-warm-strong: #F1EBDD;
  --text: #1C160D;
  --text-muted: #5C5441;
  --text-subtle: rgba(28, 22, 13, 0.62);
  --border: #E7E2D6;
  --border-soft: rgba(156, 150, 138, 0.30);
  --on-gold: #1C160D;

  /* Layout */
  --max-width: 1180px;
  --content-width: 760px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-card: 0 10px 30px rgba(28, 22, 13, 0.08);
  --shadow-float: 0 24px 60px rgba(232, 183, 101, 0.28);
  --shadow-screen: 0 30px 80px rgba(28, 22, 13, 0.18);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;

  /* Backwards-compat aliases for legacy inline styles on other pages */
  --primary: var(--gold);
  --primary-soft: var(--gold-soft);
  --primary-faint: var(--gold-faint);
  --font-heading: var(--font-display);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0F15;
    --bg-elev: #121A1E;
    --bg-warm: #0E141A;
    --bg-warm-strong: #161D23;
    --text: #F5EFE3;
    --text-muted: #A3AFAC;
    --text-subtle: rgba(245, 239, 227, 0.72);
    --border: #26303A;
    --border-soft: rgba(182, 192, 200, 0.30);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-float: 0 30px 80px rgba(232, 183, 101, 0.22);
    --shadow-screen: 0 30px 90px rgba(0, 0, 0, 0.55);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover { color: var(--gold-deep); }

@media (prefers-color-scheme: dark) {
  a:hover { color: #F0C97A; }
}

::selection { background: var(--gold-soft); color: var(--text); }

/* ---------- Layout ---------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover { color: var(--gold); }

.nav .nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
}

.nav .nav-cta:hover { background: var(--gold-deep); color: var(--on-gold); opacity: 1; }

@media (max-width: 760px) {
  .nav a:not(.nav-cta) { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--on-gold);
  box-shadow: var(--shadow-float);
}

.btn-primary:hover { transform: translateY(-2px); color: var(--on-gold); }

.btn-secondary {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--gold); transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Store badges ---------- */

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: #0A0F15;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 56px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(232, 183, 101, 0.28);
  color: #fff;
}

.store-badge svg { flex: 0 0 auto; }

.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-badge .badge-text small {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.78;
  font-weight: 500;
}

.store-badge .badge-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-30%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: 6%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-faint) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Cal-AI-style centered hero stack */
.hero-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

@media (prefers-color-scheme: dark) {
  .hero-eyebrow { color: #F0C97A; }
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: var(--text);
  width: 100%;
  max-width: 16ch;
  text-wrap: balance;
}

.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

.store-row { justify-content: center; }

.hero-meta {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  color: var(--text-subtle);
  font-size: 13px;
  font-weight: 500;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

/* 3-phone fan beneath the hero copy */
.hero-fan {
  position: relative;
  margin: 72px auto 0;
  width: 100%;
  max-width: 920px;
  height: clamp(420px, 52vw, 600px);
  pointer-events: none;
}

.hero-fan .fan-phone {
  position: absolute;
  top: 50%;
  left: 50%;
}

.hero-fan .fan-main {
  width: clamp(220px, 26vw, 290px);
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: floaty 7s ease-in-out infinite;
}

.hero-fan .fan-left {
  width: clamp(180px, 21vw, 240px);
  z-index: 1;
  transform: translate(-118%, -46%) rotate(-10deg);
  animation: floatyL 9s ease-in-out infinite;
  filter: brightness(0.94);
}

.hero-fan .fan-right {
  width: clamp(180px, 21vw, 240px);
  z-index: 1;
  transform: translate(18%, -46%) rotate(10deg);
  animation: floatyR 9s ease-in-out infinite;
  filter: brightness(0.94);
}

@keyframes floaty {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 10px)); }
}
@keyframes floatyL {
  0%, 100% { transform: translate(-118%, -46%) rotate(-10deg); }
  50%      { transform: translate(-118%, calc(-46% - 8px)) rotate(-10deg); }
}
@keyframes floatyR {
  0%, 100% { transform: translate(18%, -46%) rotate(10deg); }
  50%      { transform: translate(18%, calc(-46% - 8px)) rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fan .fan-phone { animation: none; }
}

@media (max-width: 720px) {
  .hero-fan { max-width: 420px; height: clamp(440px, 110vw, 560px); }
  .hero-fan .fan-main { width: 62%; }
  .hero-fan .fan-left,
  .hero-fan .fan-right { width: 50%; }
  .hero-fan .fan-left  { animation: floatyLm 9s ease-in-out infinite; transform: translate(-108%, -42%) rotate(-12deg); }
  .hero-fan .fan-right { animation: floatyRm 9s ease-in-out infinite; transform: translate(8%, -42%) rotate(12deg); }
  @keyframes floatyLm {
    0%, 100% { transform: translate(-108%, -42%) rotate(-12deg); }
    50%      { transform: translate(-108%, calc(-42% - 8px)) rotate(-12deg); }
  }
  @keyframes floatyRm {
    0%, 100% { transform: translate(8%, -42%) rotate(12deg); }
    50%      { transform: translate(8%, calc(-42% - 8px)) rotate(12deg); }
  }
}

@media (max-width: 460px) {
  .hero-fan .fan-left,
  .hero-fan .fan-right { display: none; }
  .hero-fan .fan-main  { width: 78%; }
  .hero-fan { height: 88vw; max-width: 340px; }
}

/* Side-by-side hero on wide screens (copy left, phone fan right) */
@keyframes floatyLwide {
  0%, 100% { transform: translate(-112%, -46%) rotate(-10deg); }
  50%      { transform: translate(-112%, calc(-46% - 8px)) rotate(-10deg); }
}
@keyframes floatyRwide {
  0%, 100% { transform: translate(12%, -46%) rotate(10deg); }
  50%      { transform: translate(12%, calc(-46% - 8px)) rotate(10deg); }
}

@media (min-width: 960px) {
  .hero { padding: 80px 0 64px; }
  .hero-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;
    align-items: center;
    text-align: left;
  }
  .hero-stack > .hero-eyebrow,
  .hero-stack > h1,
  .hero-stack > .hero-lede,
  .hero-stack > .store-row,
  .hero-stack > .hero-meta {
    grid-column: 1;
    justify-self: start;
  }
  .hero h1 { max-width: 14ch; }
  .hero-lede { margin-left: 0; margin-right: 0; }
  .hero .store-row { justify-content: flex-start; }
  .hero-meta { justify-content: flex-start; }
  .hero-fan {
    grid-column: 2;
    grid-row: 1 / span 5;
    margin: 0;
    max-width: 480px;
    height: clamp(440px, 44vw, 560px);
    justify-self: end;
  }
  .hero-fan .fan-main  { width: clamp(200px, 18vw, 240px); }
  .hero-fan .fan-left,
  .hero-fan .fan-right { width: clamp(160px, 15vw, 200px); }
  .hero-fan .fan-left  {
    transform: translate(-112%, -46%) rotate(-10deg);
    animation: floatyLwide 9s ease-in-out infinite;
  }
  .hero-fan .fan-right {
    transform: translate(12%, -46%) rotate(10deg);
    animation: floatyRwide 9s ease-in-out infinite;
  }
}

/* ---------- iPhone device frame ---------- */

.phone-frame {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 1.7% 1.5%;
  background:
    linear-gradient(155deg, #3A4049 0%, #1A1F26 35%, #080C12 100%);
  border-radius: 13.2% / 6.2%;
  border: 1px solid rgba(232, 183, 101, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 1.5px rgba(0, 0, 0, 0.5),
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 183, 101, 0.10),
    0 0 60px rgba(232, 183, 101, 0.08);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 11.6% / 5.5%;
  background: #0A0F15;
  position: relative;
  z-index: 1;
}

/* iPhone Dynamic Island */
.phone-island {
  position: absolute;
  top: 4.6%;
  left: 50%;
  width: 30%;
  aspect-ratio: 3.6 / 1;
  background: #000;
  border-radius: 999px;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 0.5px rgba(0, 0, 0, 0.6);
}

/* Power button (right side) */
.phone-frame::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 24%;
  width: 3px;
  height: 12%;
  background: linear-gradient(180deg, #3A4049 0%, #1A1F26 100%);
  border-radius: 2px 0 0 2px;
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.07);
}

/* Volume + action button (left side) */
.phone-frame::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 12%;
  width: 3px;
  height: 22%;
  background:
    linear-gradient(180deg,
      #3A4049 0%, #3A4049 16%,
      transparent 16%, transparent 28%,
      #3A4049 28%, #3A4049 58%,
      transparent 58%, transparent 70%,
      #3A4049 70%, #3A4049 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.06);
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; position: relative; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .section-eyebrow { color: #F0C97A; }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 18px;
  text-align: center;
}

.section-lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 64px;
  text-align: center;
}

/* ---------- Feature bento ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  grid-column: span 6;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover { border-color: var(--gold); transform: translateY(-3px); }

.feature-card.wide { grid-column: span 12; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }

@media (max-width: 880px) {
  .feature-card { grid-column: span 12; padding: 28px 24px; }
  .feature-card.wide { grid-template-columns: 1fr; }
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
  .feature-icon { color: #F0C97A; }
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.feature-card .feature-shot {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.feature-card .feature-shot .phone-frame {
  max-width: 240px;
}

.feature-card.wide .feature-shot {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 880px) {
  .feature-card.wide .feature-shot { justify-content: center; }
}

/* ---------- Editorial quote ---------- */

.editorial {
  padding: 96px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.editorial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 0 24px;
}

.editorial blockquote .gold {
  color: var(--gold-deep);
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  .editorial blockquote .gold { color: #F0C97A; }
}

.editorial cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ---------- Screenshot strip ---------- */

.shot-strip {
  margin: 56px auto 0;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 24px;
  padding: 8px 24px 32px;
}

.shot-card {
  border-radius: var(--radius-lg);
  min-width: 0;
}

.shot-card .phone-frame { width: 100%; }

@media (max-width: 980px) {
  .shot-strip { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .shot-card:nth-child(n+4) { display: none; }
}

@media (max-width: 560px) {
  .shot-strip { grid-template-columns: repeat(2, 1fr); }
  .shot-card:nth-child(n+3) { display: none; }
}

/* ---------- Trust band ---------- */

.trust {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-warm-strong) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}

.trust-pill {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

@media (prefers-color-scheme: dark) {
  .trust-pill { color: #F0C97A; }
}

.trust h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 auto 16px;
  max-width: 720px;
}

.trust p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 17px;
}

.phase-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .phase-row { grid-template-columns: repeat(2, 1fr); }
}

.phase {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: left;
}

.phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.phase strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.phase small {
  color: var(--text-muted);
  font-size: 12.5px;
}

/* ---------- Final CTA ---------- */

.cta-final {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, #1C160D 0%, #0A0F15 100%);
  color: #F5EFE3;
  border-radius: var(--radius-xl);
  padding: 72px 32px;
  border: 1px solid rgba(232, 183, 101, 0.30);
  overflow: hidden;
  box-shadow: var(--shadow-screen);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 auto 16px;
  max-width: 640px;
  color: #F5EFE3;
}

.cta-card h2 .gold {
  background: linear-gradient(135deg, var(--gold) 0%, #F0C97A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-card p {
  color: rgba(245, 239, 227, 0.78);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 17px;
}

.cta-card .store-row { justify-content: center; }

/* ---------- Disclaimer ---------- */

.disclaimer {
  background: rgba(232, 183, 101, 0.10);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.footer-brand p {
  color: var(--text-muted);
  margin: 12px 0 0;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col a:hover { color: var(--gold); }

.footer-meta {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-subtle);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Legal / long-form pages ---------- */

.page-header {
  padding: 80px 0 24px;
  text-align: center;
}

.page-header .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 12px;
}

@media (prefers-color-scheme: dark) {
  .page-header .eyebrow { color: #F0C97A; }
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.page-header .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.legal { padding: 24px 0 64px; }

.legal h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 44px 0 12px;
  color: var(--text);
}

.legal h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--text);
}

.legal p, .legal li {
  color: var(--text);
  font-size: 16px;
}

.legal ul, .legal ol {
  padding-left: 22px;
  margin: 12px 0 16px;
}

.legal li { margin-bottom: 6px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.legal table th, .legal table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal table th {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--gold-faint);
  color: var(--text);
}

.toc {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 24px 0 40px;
}

.toc h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 28px;
}

@media (max-width: 600px) { .toc ol { columns: 1; } }

.toc a { color: var(--text); }
.toc a:hover { color: var(--gold); }

.callout {
  background: var(--gold-faint);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0;
}

.callout strong { color: var(--gold-deep); }

@media (prefers-color-scheme: dark) {
  .callout strong { color: #F0C97A; }
}

/* Legacy aliases used by other pages */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.subtitle { color: var(--text-muted); }
.trust { /* kept above */ }
