/* =========================================================================
   Astro 24 — Astrology AI
   Shared design system. Palette is taken from the app (lib/constants/theme.dart)
   and the logo: deep maroon night + saffron/marigold + warm cream.
   ========================================================================= */

:root {
  /* Brand — maroon night (AppColors.emeraldDeep / AppGradients.emeraldDeep) */
  --maroon-950: #240902;
  --maroon-900: #3B1005;
  --maroon-800: #4E1607;
  --maroon-700: #6A1F09;
  --maroon-600: #8E2A0C;
  --maroon-300: #D9A48C;

  /* Brand — saffron / marigold (AppColors.gold, accent, launcher icon bg) */
  --saffron-700: #A8400A;
  --saffron-600: #C9500A;
  --saffron-500: #F57407;
  --saffron-400: #F2A93B;
  --saffron-200: #FBE3BD;

  /* Neutrals */
  --cream: #FFF8F0;
  --cream-2: #FBEEDF;
  --white: #FFFFFF;
  --ink: #2A1A12;
  --muted: #6E5A4E;
  --online: #4CAF50;

  --maxw: 1140px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(59, 16, 5, .06);
  --shadow: 0 14px 40px -18px rgba(59, 16, 5, .3);
  --shadow-lg: 0 40px 80px -32px rgba(36, 9, 2, .6);

  --font-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

  /* Star-field tile — the site's signature motif */
  --pattern-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23F2A93B'%3E%3Cpath d='M20 14l1.6 4.4L26 20l-4.4 1.6L20 26l-1.6-4.4L14 20l4.4-1.6Z'/%3E%3Cpath d='M84 70l1 2.8 2.8 1-2.8 1-1 2.8-1-2.8-2.8-1 2.8-1Z'/%3E%3Ccircle cx='60' cy='30' r='1.2'/%3E%3Ccircle cx='102' cy='18' r='.9'/%3E%3Ccircle cx='36' cy='92' r='1'/%3E%3Ccircle cx='96' cy='104' r='1.3'/%3E%3Ccircle cx='10' cy='64' r='.8'/%3E%3Ccircle cx='66' cy='112' r='.7'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-stars-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%238E2A0C'%3E%3Cpath d='M20 14l1.6 4.4L26 20l-4.4 1.6L20 26l-1.6-4.4L14 20l4.4-1.6Z'/%3E%3Cpath d='M84 70l1 2.8 2.8 1-2.8 1-1 2.8-1-2.8-2.8-1 2.8-1Z'/%3E%3Ccircle cx='60' cy='30' r='1.2'/%3E%3Ccircle cx='102' cy='18' r='.9'/%3E%3Ccircle cx='36' cy='92' r='1'/%3E%3Ccircle cx='96' cy='104' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--saffron-400); color: var(--maroon-900); }

:focus-visible {
  outline: 3px solid var(--saffron-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  background: var(--saffron-400); color: var(--maroon-900);
  padding: 10px 20px; border-radius: 0 0 12px 12px; font-weight: 700; z-index: 100;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- primitives */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 800px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
  color: var(--saffron-600);
}
.eyebrow::before, .eyebrow::after {
  content: "✦"; font-size: 10px; letter-spacing: 0; opacity: .8;
}
.eyebrow--light { color: var(--saffron-400); }

.section { padding: 92px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 16px 0 0; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

.deva { font-family: var(--font-deva); }

/* Hairline + diamond ornament */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--saffron-500);
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; flex: 0 1 90px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); }
.ornament i {
  width: 9px; height: 9px; background: currentColor; transform: rotate(45deg);
  display: block; flex: none;
}
.ornament i + i { opacity: .55; }

/* Soft arch edge between the dark hero and the cream page */
.scallop {
  height: 40px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  margin: 0 -10%;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 800;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }

.btn--gold {
  background: linear-gradient(135deg, var(--saffron-400), var(--saffron-500) 55%, var(--saffron-600));
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(245, 116, 7, .85);
}
.btn--gold:hover { box-shadow: 0 20px 38px -14px rgba(245, 116, 7, .95); }

.btn--outline-light {
  background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(242, 169, 59, .5);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--saffron-400); }

.btn--sm { padding: 11px 22px; font-size: 15px; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(36, 9, 2, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 169, 59, .25);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; flex: none; border-radius: 13px; overflow: hidden;
  border: 1px solid rgba(242, 169, 59, .55);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .8);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  display: block; font-family: var(--font-display); font-size: 23px;
  color: var(--cream); line-height: 1.05;
}
.brand-tag {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--saffron-400); margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: rgba(255, 248, 240, .78); text-decoration: none; font-size: 15px; font-weight: 600;
  position: relative; padding: 4px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--saffron-400); transition: right .22s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 14px; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .brand-name { font-size: 20px; }
}
@media (max-width: 520px) {
  .header-cta .btn { display: none; }
}

.btn--back {
  color: rgba(255, 248, 240, .8); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 8px 0; transition: color .18s ease;
}
.btn--back:hover { color: var(--saffron-400); }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(560px 560px at 76% 6%, rgba(245, 116, 7, .32), transparent 62%),
    radial-gradient(620px 420px at 6% 90%, rgba(142, 42, 12, .55), transparent 65%),
    linear-gradient(165deg, var(--maroon-800), var(--maroon-900) 55%, var(--maroon-950));
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-stars);
  opacity: .5;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: 56px;
  padding-top: 76px; padding-bottom: 70px;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(242, 169, 59, .12); border: 1px solid rgba(242, 169, 59, .35);
  color: var(--saffron-200); font-size: 13px; font-weight: 700; letter-spacing: .03em;
}
.pill b { color: #fff; }
.pill .dot {
  width: 10px; height: 10px; border-radius: 999px; margin: 0 4px 0 6px;
  background: var(--online); box-shadow: 0 0 0 4px rgba(76, 175, 80, .22);
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin: 24px 0 0;
}
.hero h1 .gilt {
  background: linear-gradient(100deg, var(--saffron-200), var(--saffron-400) 45%, var(--saffron-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 18px; font-size: 19px; line-height: 1.7;
  color: rgba(255, 255, 255, .8); max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px;
  font-size: 14.5px; color: rgba(255, 255, 255, .7);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--saffron-400); }

/* -------------------------------------------------- hero phone / showcase */
.showcase { position: relative; display: grid; place-items: center; min-height: 580px; }

/* Glowing moon + zodiac ring behind the phone */
.showcase::before {
  content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%;
  border: 1px solid rgba(242, 169, 59, .3);
  background: radial-gradient(circle, rgba(242, 169, 59, .2), rgba(245, 116, 7, 0) 62%);
}
.showcase::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  border: 1px dashed rgba(242, 169, 59, .2);
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative; z-index: 2;
  width: 272px; height: 552px; border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #3A2A24, #120806 55%, #3A2A24);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(242, 169, 59, .3);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: #FFF3E9;
  display: flex; flex-direction: column;
  color: #000; font-size: 12px;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 7px; border-radius: 999px; background: rgba(0, 0, 0, .55); z-index: 3;
}

/* Mini chat inside the phone — mirrors the app's chat screen */
.chat-top {
  display: flex; align-items: center; gap: 9px;
  padding: 30px 12px 10px; background: #fff; border-bottom: 1px solid #EFE4DA;
}
.chat-top img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chat-top b { display: block; font-size: 13px; line-height: 1.2; }
.chat-top small { color: var(--online); font-weight: 700; font-size: 10.5px; }
.chat-top .ai {
  margin-left: 4px; font-size: 8.5px; font-weight: 800; padding: 1px 5px; border-radius: 6px;
  background: var(--saffron-200); color: var(--saffron-700); vertical-align: 1px;
}
.chat-body { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 84%; padding: 8px 11px 5px; line-height: 1.45;
  box-shadow: 0 3px 10px rgba(90, 58, 30, .08);
}
.bubble small { display: block; text-align: right; color: #8E8379; font-size: 9px; margin-top: 2px; }
.bubble--me {
  align-self: flex-end; border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, #FFE7D3, #FAD2B1);
}
.bubble--me small::after { content: " ✓✓"; color: #2B9CE6; letter-spacing: -2px; }
.bubble--astro {
  align-self: flex-start; border-radius: 14px 14px 14px 4px;
  background: #fff; border: 1px solid #F1E3D6;
}
.bubble--astro b { color: var(--saffron-700); }
.typing { display: flex; gap: 4px; padding: 10px 12px; align-self: flex-start; background: #fff; border-radius: 14px 14px 14px 4px; border: 1px solid #F1E3D6; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #C9622F; animation: dot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-4px); opacity: 1; } }
.chat-input {
  display: flex; align-items: center; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid #EFE4DA;
}
.chat-input span {
  flex: 1; padding: 8px 12px; border-radius: 999px; background: #FFF7F0; border: 1px solid #F1E3D6; color: #8E8379;
}
.chat-input i {
  width: 30px; height: 30px; border-radius: 50%; background: #C9622F; display: grid; place-items: center; color: #fff;
}

/* Floating tiles around the phone */
.float-tile {
  position: absolute; z-index: 3;
  width: 104px; padding: 12px 10px; border-radius: 18px; text-align: center;
  background: rgba(59, 16, 5, .82);
  border: 1px solid rgba(242, 169, 59, .38);
  box-shadow: 0 22px 45px -22px rgba(0, 0, 0, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .9);
  animation: bob 7s ease-in-out infinite;
}
.float-tile svg { margin: 0 auto 6px; color: var(--saffron-400); }
.float-tile--a { top: 50px; left: 0; }
.float-tile--b { bottom: 120px; left: 6px; animation-delay: -2.4s; }
.float-tile--c { top: 92px; right: 0; animation-delay: -1.2s; }
.float-tile--d { bottom: 64px; right: 6px; animation-delay: -3.6s; }

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

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr; gap: 30px; text-align: center;
    padding-top: 58px; padding-bottom: 56px;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
}
@media (max-width: 560px) {
  .showcase { min-height: 600px; }
  .showcase::before { width: 340px; height: 340px; }
  .showcase::after { display: none; }
  .float-tile--a { left: -4px; top: 24px; }
  .float-tile--c { right: -4px; top: 40px; }
  .float-tile--b, .float-tile--d { display: none; }
}

/* --------------------------------------------------------------- marquee */
.marquee {
  background: var(--maroon-950);
  border-top: 1px solid rgba(242, 169, 59, .2);
  border-bottom: 1px solid rgba(242, 169, 59, .2);
  overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 44px; width: max-content;
  animation: slide 36s linear infinite;
  color: var(--saffron-200); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--saffron-500); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- features */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.card {
  position: relative; background: var(--white); border: 1px solid rgba(142, 42, 12, .1);
  border-radius: var(--radius-lg); padding: 32px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-stars-dark); opacity: 0;
  transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(245, 116, 7, .4); }
.card:hover::after { opacity: .08; }
.card > * { position: relative; z-index: 1; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

.icon-dome {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(150deg, var(--maroon-600), var(--maroon-900));
  color: var(--saffron-400);
  box-shadow: 0 12px 26px -14px rgba(59, 16, 5, .9);
}

@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ astrologers */
.astro-band { background: var(--cream-2); }
.astro-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.astro-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(142, 42, 12, .1); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.astro-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.astro-card figure { margin: 0; position: relative; aspect-ratio: 1 / 1; background: linear-gradient(150deg, var(--maroon-600), var(--saffron-500)); }
.astro-card img { width: 100%; height: 100%; object-fit: cover; }
.astro-card figure::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--online); border: 2px solid #fff;
}
.astro-card .meta { padding: 14px 16px 16px; }
.astro-card h3 { font-size: 19px; }
.astro-card .hi { font-family: var(--font-deva); color: var(--muted); font-size: 14px; }
.astro-card .spec { color: var(--saffron-700); font-size: 14px; font-weight: 700; margin-top: 6px; }
.astro-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 30px; }
@media (max-width: 960px) { .astro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .astro-grid { gap: 12px; } .astro-card .meta { padding: 12px; } .astro-card h3 { font-size: 16px; } }

/* ----------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; position: relative; }
.step { text-align: center; padding: 0 10px; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px;
  display: grid; place-items: center;
  font-family: var(--font-deva); font-size: 28px;
  color: #fff;
  background: linear-gradient(140deg, var(--saffron-400), var(--saffron-600));
  box-shadow: 0 0 0 8px rgba(245, 116, 7, .12);
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 38px; } }

/* ------------------------------------------------------------- languages */
.lang-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lang {
  background: var(--white); border: 1px solid rgba(142, 42, 12, .12); border-radius: var(--radius);
  padding: 22px 22px 20px; box-shadow: var(--shadow-sm);
}
.lang h3 { font-size: 21px; }
.lang p { margin-top: 8px; color: var(--muted); font-size: 15.5px; font-style: italic; }
.lang--hi p { font-family: var(--font-deva); font-style: normal; }
@media (max-width: 760px) { .lang-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- faq */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--white); border: 1px solid rgba(142, 42, 12, .12);
  border-radius: var(--radius); padding: 4px 24px; box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(245, 116, 7, .45); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-weight: 800; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--saffron-600); line-height: 1; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 20px; color: var(--muted); font-size: 16px; }
.faq a { color: var(--saffron-700); }

/* ---------------------------------------------------------------- cta band */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background:
    radial-gradient(600px 320px at 50% 0%, rgba(245, 116, 7, .35), transparent 70%),
    linear-gradient(160deg, var(--maroon-800), var(--maroon-950));
  padding: 84px 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-stars); opacity: .4;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 18px 0 14px; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0 auto 30px; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--maroon-950); color: rgba(255, 248, 240, .72);
  padding: 64px 0 30px; font-size: 15.5px;
  border-top: 1px solid rgba(242, 169, 59, .22);
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 44px;
}
.footer-grid h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--saffron-400); margin-bottom: 16px;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a { text-decoration: none; transition: color .18s ease; }
.footer-links a:hover { color: var(--saffron-400); }
.footer-about p { margin-top: 16px; color: rgba(255, 248, 240, .6); max-width: 340px; }
.footer-disclaimer { font-size: 13.5px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: 14px; color: rgba(255, 248, 240, .5);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ------------------------------------------------------- legal / prose pages */
.page-head {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(245, 116, 7, .3), transparent 68%),
    linear-gradient(160deg, var(--maroon-800), var(--maroon-950));
  padding: 60px 0 76px;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-stars); opacity: .4;
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); margin: 16px 0 0; }
.page-head .updated { margin-top: 12px; color: rgba(255, 255, 255, .65); font-size: 15px; }

.prose-wrap {
  max-width: 860px; margin: -40px auto 64px; position: relative; z-index: 2;
  background: var(--white); border: 1px solid rgba(142, 42, 12, .1);
  border-radius: var(--radius-lg); padding: 46px 48px;
  box-shadow: var(--shadow);
}
.prose h2 {
  font-size: 25px; margin: 40px 0 12px; color: var(--maroon-700);
  display: flex; align-items: baseline; gap: 12px;
}
.prose h2::before { content: "✦"; color: var(--saffron-500); font-size: 15px; flex: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 26px 0 8px; color: var(--maroon-800); }
.prose p, .prose li { font-size: 16.5px; line-height: 1.78; color: #3A2A22; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 6px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; list-style: none; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; background: var(--saffron-500); transform: rotate(45deg);
}
.prose ol { padding-left: 22px; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--saffron-700); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--maroon-600); }
.prose strong { color: var(--ink); }
.callout {
  margin: 18px 0; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--cream-2); border-left: 3px solid var(--saffron-500);
}
.legal-nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 860px; margin: 0 auto 70px; padding: 0 16px;
}
.legal-nav a {
  padding: 9px 18px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 600;
  background: var(--white); border: 1px solid rgba(142, 42, 12, .12); color: var(--muted);
  transition: all .18s ease;
}
.legal-nav a:hover { border-color: var(--saffron-500); color: var(--maroon-700); }
.legal-nav a[aria-current="page"] {
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600));
  color: #fff; border-color: transparent;
}
@media (max-width: 640px) {
  .prose-wrap { padding: 30px 22px; margin-left: 16px; margin-right: 16px; }
}

/* ------------------------------------------------------------- reveal / motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
