/* ============================================
   READING RANGERS — Design System & Styles
   ============================================ */

/* ---- Design Tokens ---- */
:root {
  /* Color Palette */
  --color-forest:     #1F4D3A;
  --color-gold:       #F2B705;
  --color-orange:     #F26A2E;
  --color-sky:        #5DADE2;
  --color-parchment:  #F7F3E9;
  --color-ink:        #1A1A1A;
  --color-white:      #ffffff;

  /* Derived */
  --color-forest-light: #2a6b50;
  --color-gold-light:   #f5c842;
  --color-orange-light: #f58a5a;
  --color-parchment-dark: #ede8d8;

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

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(31,77,58,0.06);
  --shadow-md:  0 4px 20px rgba(31,77,58,0.10);
  --shadow-lg:  0 8px 40px rgba(31,77,58,0.12);
  --shadow-xl:  0 12px 60px rgba(31,77,58,0.16);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

input {
  font: inherit;
}


/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 800px;
}


/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

.text-gradient {
  background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  gap: 0.5rem;
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(242,106,46,0.3);
}

.btn--primary:hover {
  background: #e05a1e;
  box-shadow: 0 6px 24px rgba(242,106,46,0.4);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
}

.btn--block {
  width: 100%;
}


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.8rem 0;
  transition: all 0.3s var(--ease-out);
}

.navbar--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

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

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.navbar__wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-forest);
}

.navbar__links {
  display: flex;
  gap: 2rem;
}

.navbar__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
  transition: color 0.2s;
}

.navbar__links a:hover {
  color: var(--color-forest);
}

.navbar__cta {
  display: none;
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: all 0.2s;
}

.navbar__mobile-menu {
  background: var(--color-white);
  border-top: 1px solid var(--color-parchment-dark);
  padding: 1.5rem;
}

.navbar__mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.navbar__mobile-menu a {
  font-weight: 600;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .navbar__toggle { display: none; }
  .navbar__mobile-menu { display: none !important; }
  .navbar__cta { display: inline-flex; }
  .navbar__links { display: flex; }
}

@media (max-width: 767px) {
  .navbar__links { display: none; }
}


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  background: linear-gradient(170deg, var(--color-parchment) 0%, #e8f0e4 50%, var(--color-parchment) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(93,173,226,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero__badge {
  display: inline-block;
  background: var(--color-forest);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero__title {
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: #444;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__cta-group {
  margin-bottom: 2.5rem;
}

.hero__cta-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #777;
}

.hero__trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-forest);
}

.hero__trust-icon {
  font-size: 1.2rem;
}

/* Hero illustration */
.hero__illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__illust-scene {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero__illust-mountain {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 160px solid var(--color-forest);
  opacity: 0.15;
}

.hero__illust-mountain--sm {
  left: 20%;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 100px solid var(--color-sky);
  opacity: 0.12;
}

.hero__illust-trees {
  position: absolute;
  bottom: 50px;
  left: 10%;
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.hero__illust-tree {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 40px solid var(--color-forest);
  opacity: 0.25;
}

.hero__illust-tree--sm {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 28px solid var(--color-forest);
}

.hero__illust-tree--lg {
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 52px solid var(--color-forest);
}

.hero__illust-compass {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 130px;
  height: 130px;
  animation: float 6s ease-in-out infinite;
}

.hero__illust-badge {
  position: absolute;
  bottom: 20px;
  right: 40px;
  width: 100px;
  height: 110px;
  animation: float 5s ease-in-out infinite 1.5s;
}

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

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

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


/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof {
  padding: 1.25rem 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-parchment-dark);
}

.social-proof__text {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.social-proof__sep {
  margin: 0 0.75rem;
  color: #ccc;
}

@media (max-width: 600px) {
  .social-proof__sep { display: none; }
  .social-proof__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
}


/* ============================================
   SECTIONS (shared)
   ============================================ */
.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--color-parchment);
}

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

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 0.75rem;
  color: var(--color-forest);
}

.section__subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto;
}


/* ============================================
   HOW IT WORKS — Steps
   ============================================ */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.step__number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--color-forest);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
}

.step__title {
  margin-bottom: 0.5rem;
  color: var(--color-forest);
}

.step__desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.step__connector {
  display: none;
  align-items: center;
  width: 40px;
  margin-top: 5rem;
}

@media (min-width: 900px) {
  .step__connector { display: flex; }
  .steps { flex-wrap: nowrap; gap: 0.5rem; }
}


/* ============================================
   WHY PARENTS LOVE IT
   ============================================ */
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .benefits { grid-template-columns: 1fr 1fr; }
}

.benefit {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.benefit:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.benefit__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.benefit__title {
  margin-bottom: 0.5rem;
  color: var(--color-forest);
}

.benefit__desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}


/* ============================================
   RANGER RANKS
   ============================================ */
.ranks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.rank {
  text-align: center;
  padding: 1.5rem;
}

.rank__badge {
  width: 90px;
  height: 100px;
  margin: 0 auto 1rem;
  transition: transform 0.3s var(--ease-out);
}

.rank:hover .rank__badge {
  transform: scale(1.1) rotate(-3deg);
}

.rank__title {
  color: var(--color-forest);
  margin-bottom: 0.4rem;
}

.rank__desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.rank__level {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-orange);
  background: rgba(242,106,46,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.ranks__trail {
  display: none;
}

@media (min-width: 768px) {
  .ranks__trail {
    display: block;
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    z-index: 0;
  }

  .ranks__trail-line {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
      90deg,
      var(--color-forest) 0,
      var(--color-forest) 8px,
      transparent 8px,
      transparent 16px
    );
    opacity: 0.2;
  }

  .rank {
    position: relative;
    z-index: 1;
  }
}


/* ============================================
   MISSION PACK PREVIEW
   ============================================ */
.pack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .pack { grid-template-columns: 1fr 1fr; }
}

.pack__visual {
  display: flex;
  justify-content: center;
}

.pack__box {
  position: relative;
  width: 280px;
  height: 300px;
}

.pack__box-front {
  width: 100%;
  height: 220px;
  background: var(--color-forest);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pack__box-front::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: calc(var(--radius-lg) - 4px);
}

.pack__box-label {
  text-align: center;
  color: var(--color-white);
}

.pack__box-logo {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.pack__box-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pack__items-floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pack__float-item {
  position: absolute;
  font-size: 2.5rem;
  animation: float 4s ease-in-out infinite;
}

.pack__float-item--book1 { top: -20px; left: -10px; animation-delay: 0s; }
.pack__float-item--book2 { top: 10px; right: -20px; animation-delay: 0.8s; }
.pack__float-item--badge { bottom: 30px; left: -30px; animation-delay: 1.5s; }
.pack__float-item--card  { bottom: 60px; right: -25px; animation-delay: 2.2s; }

.pack__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pack__list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pack__list-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pack__list-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-forest);
  margin-bottom: 0.2rem;
}

.pack__list-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-parchment-dark);
  transition: box-shadow 0.3s var(--ease-out);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
}

.testimonial__stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial__quote {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-forest);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial__name {
  display: block;
  font-weight: 700;
  font-style: normal;
  font-size: 0.95rem;
}

.testimonial__detail {
  font-size: 0.8rem;
  color: #888;
}


/* ============================================
   FAQ
   ============================================ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-parchment-dark);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq__item[open] {
  box-shadow: var(--shadow-sm);
}

.faq__question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-forest);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-orange);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}


/* ============================================
   FINAL CTA
   ============================================ */
.cta-section {
  background: linear-gradient(170deg, var(--color-forest) 0%, #163d2d 100%);
  padding: var(--space-2xl) 0;
}

.cta-card {
  text-align: center;
  padding: 3rem 2rem;
}

.cta-card__badge {
  width: 80px;
  height: 88px;
  margin: 0 auto 1.5rem;
  animation: float 5s ease-in-out infinite;
}

.cta-card__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-card__desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-form__row {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form__input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.cta-form__input::placeholder {
  color: rgba(255,255,255,0.5);
}

.cta-form__input:focus {
  border-color: var(--color-gold);
}

.cta-form__btn {
  flex-shrink: 0;
}

.cta-form__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.cta-form__success {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-gold);
  font-size: 1.05rem;
}

.cta-form__error {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-orange-light);
  font-size: 0.95rem;
}

.cta-form__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cta-card__urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--color-gold);
  font-weight: 600;
}

.cta-card__urgency-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer__wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: rgba(255,255,255,0.7);
}


/* ============================================
   ANIMATIONS — Fade-in on scroll
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* Stagger children */
.steps .step:nth-child(1) { transition-delay: 0s; }
.steps .step:nth-child(3) { transition-delay: 0.15s; }
.steps .step:nth-child(5) { transition-delay: 0.3s; }

.benefits .benefit:nth-child(1) { transition-delay: 0s; }
.benefits .benefit:nth-child(2) { transition-delay: 0.1s; }
.benefits .benefit:nth-child(3) { transition-delay: 0.2s; }
.benefits .benefit:nth-child(4) { transition-delay: 0.3s; }

.ranks .rank:nth-child(1) { transition-delay: 0s; }
.ranks .rank:nth-child(2) { transition-delay: 0.1s; }
.ranks .rank:nth-child(3) { transition-delay: 0.2s; }
.ranks .rank:nth-child(4) { transition-delay: 0.3s; }

.testimonial-grid .testimonial:nth-child(1) { transition-delay: 0s; }
.testimonial-grid .testimonial:nth-child(2) { transition-delay: 0.1s; }
.testimonial-grid .testimonial:nth-child(3) { transition-delay: 0.2s; }


/* ============================================
   UTILITY: Selection color
   ============================================ */
::selection {
  background: var(--color-gold);
  color: var(--color-ink);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button, input, details {
  transition: all 0.2s var(--ease-out);
}