/* ============================================================
   Bravii — shared stylesheet
   Brand: playful, colourful, joyful — but polished & trustworthy
   "Balanced fun" for NDIS / practitioners / app-store review
   ============================================================ */

:root {
  /* Brand colours */
  --sunshine: #FFB830;
  --coral: #FF6B6B;
  --sky: #6BC5F8;
  --galaxy: #7C4DFF;
  --joy: #FF4D8D;
  --leaf: #5CB87A;

  /* Legacy aliases (used by some components) */
  --sky-hug: #6BC5F8;
  --leaf-green: #5CB87A;
  --lavender: #C5A3FF;

  --cocoa: #2D2417;
  --muted: #6B6258;

  --cream-warm: #FFFDF7;
  --cream-blue: #F0F7FF;
  --card: #FFFFFF;

  /* Accent link colour with good contrast on light bg */
  --link: #B5470E;

  /* Gradients */
  --grad-hero: linear-gradient(125deg, rgba(124, 77, 255, 0.88) 0%, rgba(255, 77, 141, 0.62) 42%, rgba(45, 36, 23, 0.86) 100%);
  --grad-sunny: linear-gradient(135deg, #FFB830, #FF6B6B);
  --grad-sky: linear-gradient(135deg, #6BC5F8, #7C4DFF);
  --grad-joy: linear-gradient(135deg, #FF4D8D, #FF6B6B);
  --grad-leaf: linear-gradient(135deg, #5CB87A, #6BC5F8);
  --grad-cta: linear-gradient(120deg, #7C4DFF 0%, #FF4D8D 50%, #FFB830 100%);

  /* Type */
  --font-display: 'Baloo 2', 'Nunito', system-ui, -apple-system, sans-serif;
  --font-accent: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --radius-sm: 18px;
  --radius-md: 22px;
  --radius-lg: 28px;

  --shadow-soft: 0 10px 30px rgba(45, 36, 23, 0.10);
  --shadow-hover: 0 22px 50px rgba(45, 36, 23, 0.18);
  --shadow-color: 0 14px 34px rgba(124, 77, 255, 0.22);

  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--cocoa);
  background: var(--cream-warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
  font-weight: 700;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--cocoa);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }

p { margin: 0 0 1rem; }

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
  position: relative;
}
.section--tight { padding: 56px 0; }

.section--cream { background: var(--cream-warm); }
.section--blue { background: var(--cream-blue); }

.center { text-align: center; }
.section__head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__head p { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #6A34D8;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.16), rgba(255, 77, 141, 0.16));
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Decorative organic blobs */
.blob {
  position: absolute;
  border-radius: 45% 55% 58% 42% / 52% 44% 56% 48%;
  filter: blur(2px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.blob--sun { background: rgba(255, 184, 48, 0.35); }
.blob--sky { background: rgba(107, 197, 248, 0.35); }
.blob--joy { background: rgba(255, 77, 141, 0.28); }
.blob--leaf { background: rgba(92, 184, 122, 0.30); }
.section > .container { position: relative; z-index: 1; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cocoa);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(45, 36, 23, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--cocoa);
}
.brand:hover { text-decoration: none; }

.brand__mark {
  font-size: 1.7rem;
  line-height: 1;
  display: inline-flex;
  animation: wiggle 6s ease-in-out infinite;
}
.brand__word {
  background: linear-gradient(120deg, #7C4DFF, #FF4D8D 55%, #FFB830);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #7C4DFF;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--cocoa);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__links a:hover {
  color: #6A34D8;
  background: rgba(124, 77, 255, 0.1);
  text-decoration: none;
}

.nav__toggle {
  display: none;
  background: var(--card);
  border: 2px solid rgba(124, 77, 255, 0.25);
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--galaxy);
}

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-3px); }

.btn--primary {
  background: var(--grad-sunny);
  color: var(--cocoa);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { box-shadow: var(--shadow-hover); }

.btn--white {
  background: #fff;
  color: var(--galaxy);
  box-shadow: var(--shadow-soft);
}

/* Store badges (non-functional placeholders) */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 14, 6, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  cursor: default;
  position: relative;
  backdrop-filter: blur(4px);
}
.store-badge:hover { text-decoration: none; }

.store-badge__icon { font-size: 1.7rem; line-height: 1; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge__small { font-size: 0.72rem; opacity: 0.9; font-weight: 600; }
.store-badge__big { font-size: 1.05rem; font-weight: 800; }
.store-badge__tag {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--grad-joy);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 77, 141, 0.4);
}

/* ---------- Hero (superhero background) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #241a3f;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/superhero.jpg");
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  padding: 96px 24px 104px;
}

.hero h1 {
  color: #fff;
  margin: 0 0 20px;
  text-shadow: 0 2px 24px rgba(20, 10, 40, 0.45);
}
.hero__eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero__sub {
  font-size: 1.28rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 40ch;
  text-shadow: 0 1px 12px rgba(20, 10, 40, 0.4);
}
.hero__spark {
  color: var(--sunshine);
  font-family: var(--font-accent);
  font-style: italic;
}

/* Floating emoji stickers */
.hero__stickers {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.sticker {
  position: absolute;
  font-size: clamp(1.8rem, 4vw, 3rem);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}
.sticker--1 { top: 14%; left: 6%; animation-delay: 0s; }
.sticker--2 { top: 22%; right: 9%; animation-delay: 1.1s; }
.sticker--3 { bottom: 20%; left: 10%; animation-delay: 2s; font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.sticker--4 { bottom: 26%; right: 14%; animation-delay: 0.6s; }

/* Phone mockup card */
.hero__phone-card {
  justify-self: center;
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 30px 70px rgba(20, 10, 40, 0.45);
  backdrop-filter: blur(6px);
  animation: floatCard 7s ease-in-out infinite;
}
.hero__phone {
  background: linear-gradient(165deg, #FFFDF7, #F0F7FF);
  border-radius: 30px;
  padding: 22px 18px;
}
.hero__phone-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cocoa);
  font-size: 1.05rem;
  margin: 4px 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.routine-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 11px;
  box-shadow: 0 6px 16px rgba(45, 36, 23, 0.07);
}
.routine-row:last-child { margin-bottom: 0; }
.routine-row__emoji {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 184, 48, 0.18);
  flex: none;
}
.routine-row__label { font-weight: 800; color: var(--cocoa); }
.routine-row__done {
  margin-left: auto;
  color: var(--leaf);
  font-weight: 800;
  font-size: 0.95rem;
}
.routine-row--now .routine-row__done { color: var(--joy); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 36, 23, 0.04);
}

.feature {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--grad-sunny);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  font-size: 1.9rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(45, 36, 23, 0.12);
}
.bg-sunshine { background: var(--grad-sunny); }
.bg-sky { background: var(--grad-sky); }
.bg-coral { background: linear-gradient(135deg, #FF6B6B, #FF4D8D); }
.bg-leaf { background: var(--grad-leaf); }
.bg-galaxy { background: linear-gradient(135deg, #7C4DFF, #6BC5F8); }
.bg-joy { background: var(--grad-joy); }

.feature:nth-child(1)::before { background: var(--grad-sunny); }
.feature:nth-child(2)::before { background: var(--grad-sky); }
.feature:nth-child(3)::before { background: linear-gradient(135deg, #FF6B6B, #FF4D8D); }
.feature:nth-child(4)::before { background: var(--grad-leaf); }
.feature:nth-child(5)::before { background: linear-gradient(135deg, #7C4DFF, #6BC5F8); }
.feature:nth-child(6)::before { background: var(--grad-joy); }

.feature h3 { margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Choose your world showcase ---------- */
.worlds {
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(124, 77, 255, 0.10), transparent 60%),
    radial-gradient(700px 340px at 100% 100%, rgba(255, 184, 48, 0.12), transparent 60%),
    var(--cream-warm);
}
.worlds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.world {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
  border: 3px solid #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: default;
}
.world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.world::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 40, 0.55), transparent 55%);
}
.world:hover { transform: translateY(-6px) rotate(-1.2deg); box-shadow: var(--shadow-hover); }
.world:hover img { transform: scale(1.08); }
.world__chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  color: var(--cocoa);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(20, 10, 40, 0.25);
}

/* ---------- Two-up split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.pill-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.pill-list li {
  position: relative;
  padding: 9px 0 9px 38px;
  font-weight: 600;
}
.pill-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 26px;
  height: 26px;
  background: var(--grad-leaf);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(92, 184, 122, 0.35);
}

.showcard {
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.showcard--families { background: linear-gradient(160deg, #FFF6E4, #F0F7FF); }
.showcard--practitioners { background: linear-gradient(160deg, #F0F7FF, #F1ECFF); }
.showcard h3 { margin-top: 0; }

.steps-inline {
  list-style: none;
  counter-reset: step;
  margin: 8px 0 0;
  padding: 0;
}
.steps-inline li {
  position: relative;
  padding: 12px 0 12px 52px;
  font-weight: 600;
  border-bottom: 1px dashed rgba(45, 36, 23, 0.12);
}
.steps-inline li:last-child { border-bottom: none; }
.steps-inline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 34px;
  height: 34px;
  background: var(--grad-sky);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(124, 77, 255, 0.28);
}

/* ---------- Trust strip ---------- */
.trust {
  background: linear-gradient(135deg, rgba(92, 184, 122, 0.16), rgba(107, 197, 248, 0.16));
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust__item {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}
.trust__item:hover { transform: translateY(-4px); }
.trust__item .emoji {
  font-size: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(255, 184, 48, 0.16));
}
.trust__item strong { display: block; font-size: 1.05rem; font-family: var(--font-display); }
.trust__item span { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-cta);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: #fff; margin: 0 0 14px; text-shadow: 0 2px 18px rgba(20, 10, 40, 0.25); }
.cta-band p { color: rgba(255, 255, 255, 0.95); font-size: 1.2rem; max-width: 46ch; margin: 0 auto 8px; }
.cta-band .store-badges { justify-content: center; }
.cta-band .store-badge { background: rgba(20, 14, 6, 0.35); }
.cta-band .sticker { position: absolute; }
.cta-band .sticker--a { top: 16%; left: 8%; }
.cta-band .sticker--b { bottom: 18%; right: 10%; }
.cta-band .sticker--c { top: 24%; right: 16%; }

/* ---------- Legal / content pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 380px at 100% -20%, rgba(255, 184, 48, 0.28), transparent 60%),
    radial-gradient(700px 340px at 0% 0%, rgba(124, 77, 255, 0.16), transparent 60%),
    var(--cream-blue);
  padding: 64px 0 48px;
}
.page-hero h1 { margin: 0 0 12px; }
.page-hero p { color: var(--muted); margin: 0; font-size: 1.1rem; }

.updated {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #6A34D8;
  background: rgba(124, 77, 255, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}
.prose h2 { margin: 44px 0 12px; padding-top: 8px; }
.prose h3 { margin: 26px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.callout {
  background: var(--cream-blue);
  border-left: 5px solid var(--sky);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
}
.callout--warn { background: rgba(255, 107, 107, 0.09); border-left-color: var(--coral); }
.callout--ok { background: rgba(92, 184, 122, 0.11); border-left-color: var(--leaf); }
.callout p:last-child { margin-bottom: 0; }

.toc {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 8px;
  border-top: 5px solid var(--galaxy);
}
.toc strong { display: block; margin-bottom: 8px; font-family: var(--font-display); }
.toc ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.toc li { margin-bottom: 6px; break-inside: avoid; }

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.steps li {
  position: relative;
  padding: 16px 16px 16px 64px;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--grad-sunny);
  color: var(--cocoa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
}

/* FAQ */
.faq details {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 4px 22px;
  margin-bottom: 14px;
  border: 1px solid rgba(45, 36, 23, 0.04);
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 16px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--galaxy); font-weight: 800; }
.faq details[open] summary::after { content: "－"; }
.faq details[open] summary { padding-bottom: 6px; }
.faq details p { margin-bottom: 16px; color: var(--muted); }

.contact-card {
  background: linear-gradient(135deg, rgba(255, 184, 48, 0.18), rgba(124, 77, 255, 0.16));
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.contact-card a { font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--cocoa);
  color: #F3ECE2;
  padding: 60px 0 28px;
  margin-top: 0;
}
.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--grad-cta);
  position: absolute;
  top: 0; left: 0; right: 0;
}
.site-footer a { color: #FFD98A; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 800;
}
.footer__tag { color: #C9BEAF; margin-top: 10px; max-width: 34ch; }
.footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #F3ECE2; font-weight: 600; }
.footer a:hover { color: #FFD98A; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 44px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #C9BEAF;
  font-size: 0.9rem;
}

/* ---------- Focus styles (accessibility) ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.store-badge:focus-visible,
.world:focus-visible {
  outline: 3px solid var(--galaxy);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes wiggle {
  0%, 92%, 100% { transform: rotate(0deg); }
  94% { transform: rotate(-12deg); }
  96% { transform: rotate(12deg); }
  98% { transform: rotate(-8deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fadeUp 0.7s ease both;
}
.hero__copy > * { animation: fadeUp 0.7s ease both; }
.hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.35s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .worlds__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 24px 80px; text-align: center; }
  .hero__sub { max-width: none; margin-left: auto; margin-right: auto; }
  .hero .store-badges { justify-content: center; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .worlds__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .toc ul { columns: 1; }

  .nav__toggle { display: inline-block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-hover);
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 10px 12px; width: 100%; }
}

@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .worlds__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  body { font-size: 17px; }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
