@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Righteous&display=swap');

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --c-primary: #87ff71;
  --c-secondary: #01cdfe;
  --c-bg: #192617;
  --c-bg-2: #1e2e1b;
  --c-bg-3: #0f1a0d;
  --c-ink: #e8f5e4;
  --c-ink-dim: #a0bda0;
  --c-accent-pink: #ff71ce;
  --c-accent-purple: #b967ff;
  --c-border: rgba(135, 255, 113, 0.18);
  --c-glow-green: 0 0 12px #87ff71, 0 0 24px rgba(135,255,113,0.4);
  --c-glow-cyan: 0 0 12px #01cdfe, 0 0 24px rgba(1,205,254,0.4);
  --rail-w: 240px;
  --header-h: 64px;
  --font-head: 'Righteous', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --radius-card: 28px;
  --radius-btn: 6px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-secondary); text-decoration: underline; transition: color var(--transition); }
a:hover { color: var(--c-primary); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; color: var(--c-primary); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-shadow: var(--c-glow-green); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; color: var(--c-secondary); }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

hr {
  border: none;
  border-top: 1px solid var(--c-primary);
  box-shadow: var(--c-glow-green);
  margin: 0.75rem 0 1.25rem;
  opacity: 0.6;
}

/* ===========================
   LAYOUT: SITE WRAPPER
   =========================== */
.site-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ===========================
   LEFT RAIL NAV (aside > nav > ul > li > a)
   =========================== */
.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--rail-w);
  height: 100vh;
  background: var(--c-bg-3);
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform var(--transition);
  padding-bottom: 2rem;
}

.rail-brand {
  padding: 1.2rem 1rem 1rem;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rail-logo { border-radius: 8px; }

.rail-logo-text {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--c-primary);
  text-shadow: var(--c-glow-green);
  line-height: 1.2;
  word-break: break-word;
}

.site-rail nav { flex: 1; padding: 1rem 0; }

.site-rail nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-rail nav ul li { margin: 0; }

.site-rail nav ul li a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-ink-dim);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.site-rail nav ul li a:hover,
.site-rail nav ul li a[aria-current="page"] {
  color: var(--c-primary);
  border-left-color: var(--c-primary);
  background: rgba(135, 255, 113, 0.06);
  text-shadow: var(--c-glow-green);
}

.rail-contact {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--c-border);
}

.rail-contact-link {
  font-size: 0.8rem;
  color: var(--c-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
}

.rail-contact-link:hover { color: var(--c-primary); }

/* ===========================
   MENU TOGGLE (mobile)
   =========================== */
.menu-toggle {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-primary);
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--c-glow-green);
}

.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .burger { background: transparent; box-shadow: none; }
.menu-toggle[aria-expanded="true"] .burger::before { transform: rotate(45deg); top: 0; }
.menu-toggle[aria-expanded="true"] .burger::after { transform: rotate(-45deg); top: 0; }

/* ===========================
   PAGE BODY (offset for rail)
   =========================== */
.page-body {
  margin-left: var(--rail-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ===========================
   SITE HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 26, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
  gap: 1rem;
}

.header-brand {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--c-primary);
  text-decoration: none;
  text-shadow: var(--c-glow-green);
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ===========================
   CTA BUTTONS
   =========================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  height: 44px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  cursor: pointer;
}

.cta-signup {
  background: var(--c-primary);
  color: var(--c-bg);
  border: 2px solid var(--c-primary);
  box-shadow: var(--c-glow-green);
}

.cta-signup:hover {
  background: transparent;
  color: var(--c-primary);
}

.cta-login {
  background: transparent;
  color: var(--c-secondary);
  border: 2px solid var(--c-secondary);
}

.cta-login:hover {
  background: var(--c-secondary);
  color: var(--c-bg);
  box-shadow: var(--c-glow-cyan);
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: var(--c-primary);
  color: var(--c-bg);
  font-family: var(--font-head);
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  box-shadow: var(--c-glow-green);
  transition: all var(--transition);
  border: 2px solid var(--c-primary);
  min-height: 44px;
  letter-spacing: 0.04em;
}

.btn-primary:hover {
  background: transparent;
  color: var(--c-primary);
}

/* ===========================
   HERO (home)
   =========================== */
.hero-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0f1a0d 0%, #192617 40%, #1a0f2e 100%);
  padding: 6rem 2rem 4rem;
}

.hero-copy {
  position: relative;
  z-index: 10;
  max-width: 520px;
  flex: 0 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-head);
  letter-spacing: 0.15em;
  color: var(--c-secondary);
  text-transform: uppercase;
  border: 1px solid var(--c-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-shadow: var(--c-glow-cyan);
}

.hero-copy h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--c-ink-dim);
  margin-bottom: 1.75rem;
  max-width: 460px;
}

.hero-collage {
  position: relative;
  flex: 1;
  min-height: 400px;
  z-index: 5;
}

.hero-img-a {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  border-radius: var(--radius-card);
  box-shadow: var(--c-glow-cyan);
  border: 2px solid var(--c-secondary);
  object-fit: cover;
  max-height: 400px;
}

.hero-img-b {
  position: absolute;
  bottom: -30px;
  right: 20%;
  width: 40%;
  border-radius: var(--radius-card);
  box-shadow: var(--c-glow-green);
  border: 2px solid var(--c-primary);
  object-fit: cover;
  max-height: 300px;
}

.badge {
  position: absolute;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 20;
}

.badge-float {
  background: var(--c-primary);
  color: var(--c-bg);
  top: 20px;
  left: 30px;
  box-shadow: var(--c-glow-green);
  animation: badgeFloat 3s ease-in-out infinite;
}

.badge-2 {
  background: var(--c-secondary);
  color: var(--c-bg);
  top: 60px;
  left: 50px;
  animation-delay: 1.5s;
  box-shadow: var(--c-glow-cyan);
}

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

/* Retro grid effect */
.retro-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(135, 255, 113, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 255, 113, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(40deg);
  transform-origin: bottom;
  pointer-events: none;
}

/* Scanlines effect */
.scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
}

/* ===========================
   INNER HERO
   =========================== */
.inner-hero {
  background: linear-gradient(135deg, var(--c-bg-3) 0%, var(--c-bg-2) 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.inner-hero h1,
.inner-hero .eyebrow-badge,
.inner-hero .byline { position: relative; z-index: 1; }

.eyebrow-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--c-accent-pink);
  color: var(--c-accent-pink);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.ranking-hero .eyebrow-badge { border-color: var(--c-primary); color: var(--c-primary); }
.compare-badge { border-color: var(--c-secondary); color: var(--c-secondary); }

/* ===========================
   BYLINE
   =========================== */
.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--c-ink-dim);
}

.byline-author { font-weight: 600; color: var(--c-secondary); }
.byline-sep { color: var(--c-primary); }
.byline-updated time { color: var(--c-ink-dim); }

/* ===========================
   CONTENT SECTION LAYOUT
   (main > article with aside + figure alternating)
   =========================== */
.content-section {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
}

.home-content {
  padding-top: 3rem;
}

/* The aside is to the LEFT of content */
.content-aside {
  flex: 0 0 220px;
  width: 220px;
  margin-right: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.content-figure {
  flex: 0 0 3px;
  align-self: stretch;
  margin-right: 1.5rem;
  display: flex;
  align-items: stretch;
}

.neon-bar {
  width: 3px;
  height: 60px;
  background: linear-gradient(to bottom, var(--c-primary), var(--c-secondary));
  border-radius: 3px;
  box-shadow: var(--c-glow-green);
}

.neon-bar-v {
  height: 100%;
  min-height: 200px;
  width: 3px;
}

.content-main {
  flex: 1;
  min-width: 0;
  max-width: 780px;
}

/* ===========================
   ASIDE CARD
   =========================== */
.aside-card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 1.1rem;
}

.aside-heading {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.25rem;
  font-family: var(--font-head);
}

.aside-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-links li { margin: 0; }

.aside-links li a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.8rem;
  color: var(--c-ink-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(135,255,113,0.08);
  transition: color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.aside-links li:last-child a { border-bottom: none; }

.aside-links li a:hover { color: var(--c-primary); }

.aside-rg { border-color: rgba(1,205,254,0.2); }

.rg-inline {
  font-size: 0.72rem;
  color: var(--c-secondary);
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

/* ===========================
   CHILD CARD LIST
   (ul > li > div > h3/p)
   =========================== */
.child-cards-section {
  margin-top: 2.5rem;
}

.section-label {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-secondary);
}

.child-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.child-list li { margin: 0; }

.child-list li div.card {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-bottom: 3px solid var(--c-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  height: 100%;
}

.child-list li div.card:hover {
  border-bottom-color: var(--c-secondary);
  box-shadow: 0 4px 24px rgba(1,205,254,0.15);
}

.card h3 { font-size: 0.95rem; margin: 0; color: var(--c-primary); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--c-secondary); }
.card p { font-size: 0.82rem; color: var(--c-ink-dim); margin: 0; flex: 1; }
.card-date { font-size: 0.72rem; color: var(--c-ink-dim); }

.card-cta {
  font-size: 0.78rem;
  font-family: var(--font-head);
  color: var(--c-secondary);
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-top: auto;
}

.card-cta:hover { color: var(--c-primary); }

/* ===========================
   REVIEW HERO
   =========================== */
.review-hero {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--c-bg-3), var(--c-bg-2));
  border-bottom: 1px solid var(--c-border);
}

.review-hero-figure {
  flex: 0 0 280px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px solid var(--c-secondary);
  box-shadow: var(--c-glow-cyan);
  margin: 0;
}

.review-hero-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.review-hero-copy { flex: 1; }

/* ===========================
   AUTHOR SECTION (about)
   =========================== */
.author-section {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--c-primary);
}

.author-name {
  font-size: 1.4rem;
  color: var(--c-primary);
  margin-bottom: 0.25rem;
}

.author-credentials {
  font-size: 0.85rem;
  color: var(--c-secondary);
  margin-bottom: 0.75rem;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--c-ink);
  margin: 0;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--c-bg-3);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}

.footer-cta-block {
  background: linear-gradient(90deg, rgba(135,255,113,0.08), rgba(1,205,254,0.08));
  border-bottom: 1px solid var(--c-border);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-cta-headline {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--c-primary);
  text-shadow: var(--c-glow-green);
  margin: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--c-border);
}

.footer-col-heading {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li { margin-bottom: 0.3rem; }

.footer-col ul li a {
  font-size: 0.8rem;
  color: var(--c-ink-dim);
  text-decoration: none;
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--c-primary); }

.footer-col address {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--c-ink-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-col address a {
  color: var(--c-secondary);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-bar {
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rg-notice {
  font-size: 0.72rem;
  color: var(--c-secondary);
  opacity: 0.75;
  margin: 0;
  line-height: 1.5;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--c-ink-dim);
}

.footer-links {
  font-size: 0.75rem;
}

.footer-links a {
  color: var(--c-ink-dim);
  text-decoration: none;
  transition: color var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
}

.footer-links a:hover { color: var(--c-primary); }

/* ===========================
   CONTENT BODY STYLES
   =========================== */
.content-main h2 {
  margin-top: 2rem;
  margin-bottom: 0;
}

.content-main h2 + hr {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.content-main h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }

.content-main a {
  color: var(--c-secondary);
  text-decoration: underline;
}

.content-main a:hover { color: var(--c-primary); }

.content-main table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.content-main th {
  background: var(--c-bg-3);
  color: var(--c-primary);
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--c-primary);
}

.content-main td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-ink);
  vertical-align: top;
}

.content-main tr:hover td { background: rgba(135,255,113,0.04); }

.content-main blockquote {
  border-left: 4px solid var(--c-primary);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--c-bg-3);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--c-ink-dim);
}

/* ===========================
   FAQ STYLES
   =========================== */
.faq-content h2 { color: var(--c-primary); }
.faq-content h3 { color: var(--c-secondary); }

/* ===========================
   COMPARE STYLES
   =========================== */
.compare-content h2 { color: var(--c-primary); }

/* ===========================
   GLITCH ANIMATION (decorative)
   =========================== */
@keyframes glitch {
  0%, 90%, 100% { text-shadow: var(--c-glow-green); transform: none; }
  92% { text-shadow: 3px 0 var(--c-accent-pink), -3px 0 var(--c-secondary); transform: skewX(-1deg); }
  94% { text-shadow: -3px 0 var(--c-accent-pink), 3px 0 var(--c-secondary); transform: skewX(1deg); }
  96% { text-shadow: var(--c-glow-green); transform: none; }
}

.page-home .hero-copy h1 {
  animation: glitch 6s infinite;
}

/* ===========================
   STAGGER LIST ANIMATION
   =========================== */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.child-list li {
  opacity: 0;
  animation: fadeSlideIn 0.5s ease forwards;
}

.child-list li:nth-child(1) { animation-delay: 0.05s; }
.child-list li:nth-child(2) { animation-delay: 0.12s; }
.child-list li:nth-child(3) { animation-delay: 0.19s; }
.child-list li:nth-child(4) { animation-delay: 0.26s; }
.child-list li:nth-child(5) { animation-delay: 0.33s; }
.child-list li:nth-child(6) { animation-delay: 0.40s; }

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

/* ===========================
   RESPONSIVE: TABLET ≤1024px
   =========================== */
@media (max-width: 1024px) {
  :root { --rail-w: 200px; }

  .footer-columns { grid-template-columns: repeat(2, 1fr); }

  .content-aside { flex: 0 0 180px; width: 180px; }
}

/* ===========================
   RESPONSIVE: MOBILE ≤768px
   =========================== */
@media (max-width: 768px) {
  :root { --rail-w: 0px; }

  body { font-size: 16px; }

  /* Rail slides off-screen; shown via toggle */
  .site-rail {
    width: 260px;
    transform: translateX(-100%);
    z-index: 250;
  }

  .site-rail.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 40px rgba(0,0,0,0.7);
  }

  .menu-toggle {
    display: flex;
  }

  .page-body {
    margin-left: 0;
  }

  /* Header: brand + CTA visible, no nav links */
  .site-header {
    height: auto;
    min-height: 60px;
    max-height: 120px;
  }

  .header-inner {
    padding: 0.5rem 0.75rem 0.5rem 3.5rem;
    flex-wrap: nowrap;
    min-height: 60px;
  }

  .header-brand {
    font-size: 0.78rem;
    max-width: 130px;
  }

  .cta {
    height: 44px;
    padding: 0 0.65rem;
    font-size: 0.7rem;
  }

  /* Hero */
  .hero-wrap {
    flex-direction: column;
    min-height: auto;
    padding: 5rem 1.25rem 3rem;
  }

  .hero-collage {
    display: none;
  }

  .hero-copy { max-width: 100%; }

  /* Content layout: stack vertically */
  .content-section {
    flex-direction: column;
    padding: 1.25rem;
  }

  .content-aside {
    position: static;
    flex: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1.5rem;
    max-height: none;
  }

  .content-figure { display: none; }

  /* Review hero */
  .review-hero {
    flex-direction: column;
    padding: 1.25rem;
  }

  .review-hero-figure { flex: none; width: 100%; }

  /* Footer */
  .footer-columns { grid-template-columns: repeat(2, 1fr); padding: 1.5rem 1.25rem; }

  .footer-cta-block { padding: 1.5rem 1.25rem; }

  .footer-bar { padding: 1rem 1.25rem; }

  /* Inner hero */
  .inner-hero { padding: 1.5rem 1.25rem; }

  /* Child cards */
  .child-list { grid-template-columns: 1fr; }
}

/* ===========================
   RESPONSIVE: SMALL MOBILE ≤480px
   =========================== */
@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; }

  .footer-cta-block { flex-direction: column; align-items: flex-start; }

  .footer-bar-inner { flex-direction: column; align-items: flex-start; }

  .hero-copy h1 { font-size: 1.75rem; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}