/* ==========================================================================
   SNORY FOX — Website Styles
   A warm, cozy bedtime storybook aesthetic.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Brand Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Daytime palette */
  --color-peach:       #F6C28B;
  --color-mint:        #A8D8B9;
  --color-cream-yellow:#FFE9A8;
  --color-sky-blue:    #7FB2D9;

  /* Evening / Lullaby palette */
  --color-night-navy:  #2E3A6B;
  --color-twilight:    #6B5B95;
  --color-warm-moon:   #F5D76E;
  --color-rose:        #E8B4BC;

  /* Accent */
  --color-snory:       #FF8C66;

  /* Neutrals */
  --color-cream:       #FFF1E0;
  --color-ink:         #1F2937;
  --color-white:       #FFFFFF;

  /* Typography */
  --font-heading: 'Fredoka', 'Quicksand', system-ui, sans-serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  0.25rem;   /* 4px */
  --space-sm:  0.5rem;    /* 8px */
  --space-md:  1rem;      /* 16px */
  --space-lg:  1.5rem;    /* 24px */
  --space-xl:  2rem;      /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */

  /* Borders & radii */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(31, 41, 55, 0.06);
  --shadow-md:  0 4px 16px rgba(31, 41, 55, 0.1);
  --shadow-lg:  0 8px 32px rgba(31, 41, 55, 0.12);
  --shadow-xl:  0 16px 48px rgba(31, 41, 55, 0.16);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;

  /* Layout */
  --max-width: 1200px;
  --navbar-height: 72px;
}


/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--navbar-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page load fade-in */
body {
  animation: pageLoad var(--duration-slow) var(--ease-out);
}

@keyframes pageLoad {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Selection styling */
::selection {
  background-color: var(--color-snory);
  color: var(--color-white);
}


/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* Hide visually but not from screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-title--dark {
  color: var(--color-ink);
}

.section-title--light {
  color: var(--color-cream);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
  line-height: 1.6;
}

.section-subtitle--dark {
  color: rgba(31, 41, 55, 0.7);
}

.section-subtitle--light {
  color: rgba(255, 241, 224, 0.8);
}


/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid var(--color-warm-moon);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--color-snory);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(255, 140, 102, 0.35);
}

.btn--primary:hover {
  background-color: #ff7a4d;
  box-shadow: 0 6px 24px rgba(255, 140, 102, 0.5);
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-cream);
  border: 2px solid rgba(255, 241, 224, 0.5);
}

.btn--ghost:hover {
  background-color: rgba(255, 241, 224, 0.1);
  border-color: var(--color-cream);
  transform: translateY(-2px);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-snory);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--white:hover {
  background-color: var(--color-cream);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn--large {
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
}

.btn-icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background-color: rgba(46, 58, 107, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    height var(--duration-base) var(--ease-out),
    background-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.navbar--scrolled {
  height: 60px;
  background-color: rgba(46, 58, 107, 0.95);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 10;
}

.logo-icon {
  width: 44px;
  height: 44px;
  transition: transform var(--duration-base) var(--ease-bounce);
}

.navbar--scrolled .logo-icon {
  width: 36px;
  height: 36px;
}

.navbar__logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-cream);
  letter-spacing: -0.01em;
}

/* Desktop nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 241, 224, 0.75);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-snory);
  border-radius: 1px;
  transition: width var(--duration-base) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-cream);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Desktop CTA */
.navbar__cta {
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
}

/* Hamburger (mobile only) */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 10;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-cream);
  border-radius: 2px;
  transition:
    transform var(--duration-base) var(--ease-out),
    opacity var(--duration-fast) var(--ease-out);
}

.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: rgba(46, 58, 107, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
  z-index: 5;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-cream);
  transition: color var(--duration-fast) var(--ease-out);
}

.mobile-link:hover {
  color: var(--color-snory);
}

.mobile-link--cta {
  margin-top: var(--space-md);
  font-size: 1.15rem;
  padding: 0.9rem 2rem;
}


/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Gradient: night navy → twilight purple → warm moon glow at bottom */
  background: linear-gradient(
    180deg,
    #1a2348 0%,
    var(--color-night-navy) 25%,
    #3a3f7a 50%,
    #4d4280 65%,
    #6B5B95 80%,
    #8a7099 90%,
    #a88ea8 95%,
    #c4aaad 100%
  );
  padding-top: var(--navbar-height);
}

/* Stars */
.hero__stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: var(--color-cream);
  border-radius: 50%;
  animation: twinkle var(--twinkle-duration, 3s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
  opacity: 0;
}

/* Distribute stars across the hero area */
.star--1  { top: 5%;  left: 10%; --twinkle-duration: 2.8s; --twinkle-delay: 0s; }
.star--2  { top: 8%;  left: 25%; --twinkle-duration: 3.2s; --twinkle-delay: 0.5s; }
.star--3  { top: 3%;  left: 40%; --twinkle-duration: 2.5s; --twinkle-delay: 1.2s; }
.star--4  { top: 12%; left: 55%; --twinkle-duration: 3.5s; --twinkle-delay: 0.3s; }
.star--5  { top: 6%;  left: 70%; --twinkle-duration: 2.9s; --twinkle-delay: 0.8s; }
.star--6  { top: 15%; left: 85%; --twinkle-duration: 3.1s; --twinkle-delay: 1.5s; }
.star--7  { top: 18%; left: 15%; --twinkle-duration: 2.7s; --twinkle-delay: 0.2s; }
.star--8  { top: 22%; left: 35%; --twinkle-duration: 3.4s; --twinkle-delay: 1.0s; }
.star--9  { top: 10%; left: 60%; --twinkle-duration: 2.6s; --twinkle-delay: 0.7s; }
.star--10 { top: 25%; left: 78%; --twinkle-duration: 3.0s; --twinkle-delay: 1.3s; }
.star--11 { top: 14%; left: 92%; --twinkle-duration: 2.4s; --twinkle-delay: 0.4s; }
.star--12 { top: 28%; left: 5%;  --twinkle-duration: 3.3s; --twinkle-delay: 0.9s; }
.star--13 { top: 32%; left: 48%; --twinkle-duration: 2.3s; --twinkle-delay: 1.6s; }
.star--14 { top: 20%; left: 65%; --twinkle-duration: 3.6s; --twinkle-delay: 0.1s; }
.star--15 { top: 35%; left: 22%; --twinkle-duration: 2.2s; --twinkle-delay: 1.1s; }
.star--16 { top: 38%; left: 88%; --twinkle-duration: 3.0s; --twinkle-delay: 0.6s; }
.star--17 { top: 42%; left: 12%; --twinkle-duration: 2.8s; --twinkle-delay: 1.4s; }
.star--18 { top: 30%; left: 42%; --twinkle-duration: 3.2s; --twinkle-delay: 0.2s; }
.star--19 { top: 45%; left: 58%; --twinkle-duration: 2.5s; --twinkle-delay: 0.8s; }
.star--20 { top: 48%; left: 75%; --twinkle-duration: 3.1s; --twinkle-delay: 1.0s; }
.star--21 { top: 8%;  left: 48%; --twinkle-duration: 2.9s; --twinkle-delay: 0.4s; width: 2px; height: 2px; }
.star--22 { top: 40%; left: 30%; --twinkle-duration: 3.5s; --twinkle-delay: 1.2s; width: 2px; height: 2px; }
.star--23 { top: 50%; left: 15%; --twinkle-duration: 2.6s; --twinkle-delay: 0.7s; width: 2px; height: 2px; }
.star--24 { top: 16%; left: 80%; --twinkle-duration: 3.3s; --twinkle-delay: 1.5s; width: 4px; height: 4px; }
.star--25 { top: 55%; left: 65%; --twinkle-duration: 2.4s; --twinkle-delay: 0.3s; width: 2px; height: 2px; }
.star--26 { top: 52%; left: 90%; --twinkle-duration: 3.0s; --twinkle-delay: 0.9s; width: 3px; height: 3px; }
.star--27 { top: 60%; left: 38%; --twinkle-duration: 2.7s; --twinkle-delay: 1.3s; width: 2px; height: 2px; }
.star--28 { top: 5%;  left: 72%; --twinkle-duration: 3.4s; --twinkle-delay: 0.5s; width: 4px; height: 4px; }
.star--29 { top: 58%; left: 8%;  --twinkle-duration: 2.3s; --twinkle-delay: 1.1s; width: 2px; height: 2px; }
.star--30 { top: 62%; left: 52%; --twinkle-duration: 3.2s; --twinkle-delay: 0.2s; width: 3px; height: 3px; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.2); }
}

/* Decorative floating elements */
.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__moon {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 100px;
  height: 100px;
  opacity: 0.85;
}

.hero__lantern {
  position: absolute;
  width: 50px;
  height: 60px;
  opacity: 0.6;
}

.hero__cloud {
  width: 160px;
  opacity: 0.5;
}

.float-element {
  animation: float var(--float-duration, 6s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.float--slow   { --float-duration: 7s; --float-delay: 0s; }
.float--medium { --float-duration: 5s; --float-delay: 0.5s; }
.float--fast   { --float-duration: 4s; --float-delay: 1s; }

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

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 241, 224, 0.85);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 32px;
  height: 32px;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40%  { transform: translateY(8px); }
  60%  { transform: translateY(4px); }
}


/* --------------------------------------------------------------------------
   CHARACTERS SECTION
   -------------------------------------------------------------------------- */
.characters {
  padding: var(--space-4xl) 0;
  background-color: var(--color-cream);
  position: relative;
}

/* Subtle decorative pattern */
.characters::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 140, 102, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.characters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

/* Character card */
.character-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.character-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.character-card__image {
  background: linear-gradient(
    135deg,
    var(--char-color, #FF8C66) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.character-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.character-card__image svg {
  width: 120px;
  height: 140px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform var(--duration-base) var(--ease-bounce);
}

.character-card__image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform var(--duration-base) var(--ease-bounce);
  border-radius: var(--radius-md);
}

.character-card:hover .character-card__image svg,
.character-card:hover .character-card__image img {
  transform: scale(1.05) rotate(-2deg);
}

.character-card__info {
  padding: var(--space-lg);
}

.character-card__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.character-card__role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(31, 41, 55, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.character-card__catchphrase {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-snory);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.character-card__desc {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.7);
  line-height: 1.5;
}


/* --------------------------------------------------------------------------
   FORMATS SECTION
   -------------------------------------------------------------------------- */
.formats {
  padding: var(--space-4xl) 0;
  background-color: var(--color-night-navy);
  position: relative;
  overflow: hidden;
}

/* Subtle star pattern background */
.formats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(245, 215, 110, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 241, 224, 0.05) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
}

.formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.format-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-out),
    background-color var(--duration-base) var(--ease-out);
}

.format-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
}

/* Accent bar at top */
.format-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-snory), var(--color-warm-moon));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.format-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
}

.format-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.format-card__duration {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-snory);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.format-card__desc {
  font-size: 0.95rem;
  color: rgba(255, 241, 224, 0.7);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   PARENTS / SAFETY SECTION
   -------------------------------------------------------------------------- */
.parents {
  padding: var(--space-4xl) 0;
  background-color: var(--color-cream);
  background-image: linear-gradient(
    135deg,
    rgba(168, 216, 185, 0.15) 0%,
    var(--color-cream) 50%,
    rgba(168, 216, 185, 0.1) 100%
  );
  position: relative;
}

.parents__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-ink);
}

.feature-check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Promise card */
.promise-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(168, 216, 185, 0.2);
}

.promise-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-lg);
}

.promise-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.promise-card p {
  font-size: 1rem;
  color: rgba(31, 41, 55, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.promise-card__emphasis {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-snory);
  margin-bottom: 0 !important;
}

/* Trust badges */
.parents__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(31, 41, 55, 0.08);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.trust-badge svg {
  width: 48px;
  height: 48px;
}

.trust-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(31, 41, 55, 0.5);
  text-align: center;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* --------------------------------------------------------------------------
   SUBSCRIBE / CTA SECTION
   -------------------------------------------------------------------------- */
.subscribe {
  position: relative;
  padding: var(--space-4xl) 0;
  background: linear-gradient(
    135deg,
    var(--color-peach) 0%,
    var(--color-snory) 50%,
    #ff7a4d 100%
  );
  overflow: hidden;
}

/* Subtle texture */
.subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.subscribe__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.subscribe__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.subscribe__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-inline: auto;
}

.subscribe__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.stat-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.stat-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.5rem;
}

/* Wave divider at bottom of subscribe */
.subscribe__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.subscribe__wave svg {
  width: 100%;
  height: 80px;
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-ink);
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

/* Footer logo */
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon--small {
  width: 36px;
  height: 36px;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
}

.footer__logo .logo-text {
  font-size: 1.2rem;
  color: var(--color-cream);
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255, 241, 224, 0.5);
  font-style: italic;
}

/* Footer links */
.footer__links ul {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 241, 224, 0.6);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--color-snory);
}

/* Social icons */
.footer__social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 241, 224, 0.08);
  color: rgba(255, 241, 224, 0.6);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  background-color: var(--color-snory);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Legal text */
.footer__legal {
  text-align: center;
}

.footer__legal p {
  font-size: 0.85rem;
  color: rgba(255, 241, 224, 0.4);
}

.footer__legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer__legal-links a {
  color: rgba(255, 241, 224, 0.5);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__legal-links a:hover {
  color: var(--color-snory);
}

.footer__legal-tagline {
  margin-top: var(--space-xs);
  font-style: italic;
}


/* --------------------------------------------------------------------------
   SCROLL REVEAL ANIMATION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid children */
.characters__grid .character-card:nth-child(2) .reveal,
.characters__grid .reveal:nth-child(2) {
  transition-delay: 100ms;
}

.characters__grid .character-card:nth-child(3) .reveal,
.characters__grid .reveal:nth-child(3) {
  transition-delay: 200ms;
}

.characters__grid .character-card:nth-child(4) {
  transition-delay: 50ms;
}

.characters__grid .character-card:nth-child(5) {
  transition-delay: 150ms;
}

.characters__grid .character-card:nth-child(6) {
  transition-delay: 250ms;
}

.formats__grid .format-card:nth-child(2) {
  transition-delay: 100ms;
}

.formats__grid .format-card:nth-child(3) {
  transition-delay: 200ms;
}


/* --------------------------------------------------------------------------
   RESPONSIVE — TABLET (max-width: 960px)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .characters__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .formats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .parents__content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__moon {
    width: 70px;
    height: 70px;
    right: 8%;
  }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — MOBILE (max-width: 700px)
   -------------------------------------------------------------------------- */
@media (max-width: 700px) {
  :root {
    --navbar-height: 64px;
  }

  /* Mobile nav */
  .navbar__links {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Hero adjustments */
  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__moon {
    width: 60px;
    height: 60px;
    top: 12%;
    right: 6%;
  }

  .hero__lantern {
    display: none;
  }

  /* Character grid: single column */
  .characters__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  /* Formats: stack */
  .formats__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  /* Parents: stack already handled by tablet breakpoint */

  /* Subscribe */
  .subscribe__stats {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .stat-divider {
    display: none;
  }

  /* Footer */
  .footer__links ul {
    gap: var(--space-lg);
  }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — SMALL MOBILE (max-width: 400px)
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
  .container {
    padding-inline: var(--space-md);
  }

  .hero__content {
    padding: var(--space-3xl) var(--space-md);
  }

  .character-card__info {
    padding: var(--space-md);
  }

  .format-card {
    padding: var(--space-xl) var(--space-lg);
  }
}


/* --------------------------------------------------------------------------
   REDUCED MOTION PREFERENCE
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  .navbar,
  .hero__stars,
  .hero__decor,
  .hero__scroll-indicator,
  .subscribe__wave {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
    padding: 2rem;
    background: white;
  }

  .hero__title,
  .hero__subtitle {
    color: black;
    text-shadow: none;
  }
}


/* --------------------------------------------------------------------------
   LEGAL PAGES (Privacy & Terms)
   -------------------------------------------------------------------------- */
.legal-page {
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  background-color: var(--color-cream);
  min-height: 100vh;
}

.legal-page__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.legal-page__header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}

.legal-page__header p {
  color: rgba(31, 41, 55, 0.5);
  font-size: 0.9rem;
}

.legal-page__content {
  max-width: 760px;
  margin-inline: auto;
}

.legal-page__content h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-night-navy);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-page__content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-ink);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-page__content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
  color: rgba(31, 41, 55, 0.8);
}

.legal-page__content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  list-style: disc;
}

.legal-page__content li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
  color: rgba(31, 41, 55, 0.8);
}

.legal-page__content a {
  color: var(--color-snory);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__content a:hover {
  color: #ff7a4d;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-snory);
  margin-bottom: var(--space-xl);
  transition: color var(--duration-fast) var(--ease-out);
}

.legal-page__back:hover {
  color: #ff7a4d;
}

.legal-page__back svg {
  width: 20px;
  height: 20px;
}

.legal-page__last-updated {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(31, 41, 55, 0.08);
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.4);
  text-align: center;
}
