/* ============================================================
   Sport Loop — Shared Design System
   Youth & Casual Sports Repositioning
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables — "Sunlit Field" palette ── */
/*
  Design concept: Outdoor community sports at golden hour.
  Grass underfoot, sun overhead, families on the sideline.
  NOT a gaming platform or elite athlete app.

  Three core ideas drive every decision:
  1. Dark sections feel like a sports stadium at night — deep forest, not a void.
  2. Light sections feel like outdoor daylight — warm and alive, not clinical.
  3. Accent green is grass, not a highlighter. Amber is trophies, not a warning sign.
*/
:root {
  /* ── Brand Accent: Natural Grass Green ──────────────────────────────────
     Old: #A4EB3F — neon electric lime, reads "energy drink" / "esports"
     New: #5EC826 — natural, saturated grass green. Vibrant but organic.
     Think: freshly mowed center field in afternoon sun, not a highlighter pen.
     The darker variant is used for text on light backgrounds and hover states.
  */
  --accent: #5EC826;
  --accent-dark: #3E9A14;
  --accent-dim: rgba(94, 200, 38, 0.12);
  --accent-glow: rgba(94, 200, 38, 0.28);

  /* ── Secondary: Warm Amber (replaces harsh orange) ─────────────────────
     Old: #F97316 — construction-cone orange. Aggressive, alarm-y.
     New: #F59E0B — warm golden amber. Think: trophies, late afternoon sun,
     medals. Still high-energy but celebratory rather than alarming.
     Used for scheduling, events, and coaching contexts.
  */
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --amber-dim: rgba(245, 158, 11, 0.12);

  /* ── Trust Blue: Safety & Parent contexts ──────────────────────────────
     Slightly deeper than before for more confidence and authority.
     Parents need to feel the platform is rock-solid and responsible.
     Used only on safety.html and for-parents.html — not as a general accent.
  */
  --trust-blue: #2563EB;
  --trust-blue-dim: rgba(37, 99, 235, 0.10);

  /* ── Dark Surfaces: Deep Forest, not Void Black ────────────────────────
     Old: #0D0D0D — pure near-black. Zero character. Gaming/enterprise feel.
     New: #0E1A0F — extremely dark forest green. Nearly invisible as "green"
     at a glance, but the warmth it carries makes the whole site feel outdoors.
     Surfaces step up in lightness: bg → surface → surface-2 → card.
     This gives depth and layering rather than a flat black rectangle.
  */
  --dark-bg: #0E1A0F;
  --dark-surface: #152516;
  --dark-surface-2: #1E3320;
  --dark-border: rgba(255, 255, 255, 0.07);
  --dark-border-strong: rgba(255, 255, 255, 0.13);

  /* ── Light Surfaces: Warm Outdoor White ────────────────────────────────
     Old: #FAFAFA — cold, clinical, generic SaaS white.
     New: #F5F9F1 — barely-there warm green tint. Reads as white to the eye
     but carries warmth. Like paper held outdoors in morning light.
     Surface-2 has slightly more depth for alternating section contrast.
     Borders use a warm green-tinted gray instead of cold neutral gray.
  */
  --light-bg: #F5F9F1;
  --light-surface: #FFFFFF;
  --light-surface-2: #ECF4E5;
  --light-border: #D8E8CC;
  --light-border-strong: #BDD4A8;

  /* ── Text on Dark ───────────────────────────────────────────────────────
     Old muted: #A3A3A3 — cold neutral gray. Floating, ungrounded on dark bgs.
     New muted: #9EBFA0 — warm, slightly green-tinted. Like moonlight on grass.
     Reads clearly as secondary text but belongs to the same world as the bg.
     Subtle text is darker — used for timestamps, captions, meta labels.
  */
  --text-white: #FFFFFF;
  --text-muted-dark: #9EBFA0;
  --text-subtle-dark: #5E8060;

  /* ── Text on Light ──────────────────────────────────────────────────────
     Old headline: #111111 — harsh cold near-black.
     New headline: #1A2B1C — very dark green-tinted. Still reads as black but
     grounds every heading in the outdoor palette. Subtle but noticeable at scale.
     Old muted: #555555 — cold neutral gray.
     New muted: #4A6248 — warm forest-adjacent gray. Readable body text
     that doesn't fight with the palette. Like bark on a tree, not a steel wall.
  */
  --text-dark: #1A2B1C;
  --text-muted-light: #4A6248;
  --text-subtle-light: #7A9470;

  /* ── Typography ─────────────────────────────────────────────────────── */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Spacing ─────────────────────────────────────────────────────────── */
  --container-max: 1200px;
  --section-v: 96px;
  --section-h: 48px;

  /* ── Radius ──────────────────────────────────────────────────────────── */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* ── Shadows ─────────────────────────────────────────────────────────── */
  /* Light section shadows have a warm green tint — they sit naturally on the bg */
  --shadow-sm: 0 2px 8px rgba(20, 50, 20, 0.07);
  --shadow-md: 0 4px 24px rgba(20, 50, 20, 0.11);
  --shadow-lg: 0 8px 40px rgba(20, 50, 20, 0.16);
  /* Accent shadow for primary CTAs and hover states */
  --shadow-accent: 0 0 28px rgba(94, 200, 38, 0.30);

  /* ── Transitions ─────────────────────────────────────────────────────── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition: 0.3s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout Utilities ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-h);
}

.section-dark {
  background: var(--dark-bg);
  color: var(--text-white);
  padding: var(--section-v) var(--section-h);
}

.section-light {
  background: var(--light-bg);
  color: var(--text-dark);
  padding: var(--section-v) var(--section-h);
}

.section-white {
  background: var(--light-surface);
  color: var(--text-dark);
  padding: var(--section-v) var(--section-h);
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Typography ── */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.eyebrow-accent {
  background: var(--accent-dim);
  color: var(--accent-dark);
}

.eyebrow-orange {
  background: var(--amber-dim);
  color: var(--amber-dark);
}

.eyebrow-blue {
  background: var(--trust-blue-dim);
  color: var(--trust-blue);
}

.eyebrow-white {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-title .accent { color: var(--accent); }
.section-title .orange { color: var(--amber); }
.section-title .blue { color: var(--trust-blue); }

.section-sub {
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
}

.section-sub-light { color: var(--text-muted-light); }
.section-sub-dark  { color: var(--text-muted-dark); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--dark-border-strong);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--light-border-strong);
}
.btn-outline-dark:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ── Cards ── */
.card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-dark {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card-dark:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card-icon-accent { background: var(--accent-dim); }
.card-icon-orange { background: var(--amber-dim); }
.card-icon-blue   { background: var(--trust-blue-dim); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Forest green glass blur — warmer than pure black, creates outdoor premium */
  background: rgba(14, 26, 15, 0.75);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}

.nav.scrolled {
  padding: 14px 48px;
  background: rgba(14, 26, 15, 0.96);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.07);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  list-style: none;
}

.nav-dropdown-toggle:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.07);
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border-strong);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-white);
}

.nav-dropdown-menu a span {
  font-size: 16px;
}

.nav-divider {
  height: 1px;
  background: var(--dark-border);
  margin: 6px 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 8px 12px;
  transition: var(--transition);
}
.nav-login:hover { color: var(--text-white); }

.nav-cta {
  background: var(--accent);
  color: #000;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Mobile menu button */
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-mobile-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.mobile-menu.active { display: flex; }

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: var(--dark-surface);
  border-left: 1px solid var(--dark-border);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.mobile-menu-section {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle-dark);
  padding: 12px 0 4px;
}

.mobile-menu-link {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-menu-link:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-white);
}

.mobile-menu-cta {
  display: block;
  background: var(--accent);
  color: #000;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 16px;
  transition: var(--transition);
}
.mobile-menu-cta:hover { background: var(--accent-dark); }

/* ── Footer ── */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 72px 48px 40px;
  color: var(--text-white);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: var(--text-muted-dark);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
}

.footer-logo img { height: 32px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-subtle-dark);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-subtle-dark);
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--text-white); }

/* ── Section Header Block ── */
.section-header {
  margin-bottom: 56px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-center .section-sub {
  margin: 0 auto;
  margin-top: 16px;
}

.section-header .section-sub {
  margin-top: 16px;
}

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

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

.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Stats ── */
.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted-dark);
  margin-top: 4px;
}

/* ── Badge pill ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.badge-accent {
  background: var(--accent-dim);
  color: var(--accent-dark);
  border: 1px solid rgba(94, 200, 38, 0.22);
}

/* "Free" badge: slightly distinct from brand green — a clear, reassuring signal */
.badge-free {
  background: rgba(94, 200, 38, 0.13);
  color: var(--accent-dark);
  border: 1px solid rgba(94, 200, 38, 0.25);
}

.badge-blue {
  background: var(--trust-blue-dim);
  color: var(--trust-blue);
  border: 1px solid rgba(37, 99, 235, 0.20);
}

/* ── Checkmarks ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.check-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--accent-dim);
  /* Checkmark fill uses new natural grass green #5EC826 (URL-encoded) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235EC826'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ── CTA Banner ── */
.cta-banner {
  /*
    Gradient: dark-surface → dark-surface-2.
    Both are now forest green, so the gradient reads as depth within the
    same material — like looking into a forest — not two arbitrary colors.
    The green-tinted border creates a subtle glow that ties to the accent.
  */
  background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-surface-2) 100%);
  border: 1px solid rgba(94, 200, 38, 0.18);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 18px;
  color: var(--text-muted-dark);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav { padding: 18px 32px; }
  .nav.scrolled { padding: 12px 32px; }
  .section-dark, .section-light, .section-white { padding: var(--section-v) 32px; }
  .footer { padding: 64px 32px 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-v: 64px; --section-h: 24px; }
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links, .nav-login, .nav-dropdown { display: none; }
  .nav-mobile-btn { display: flex; }
  .section-dark, .section-light, .section-white { padding: 64px 24px; }
  .footer { padding: 56px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid-2 { grid-template-columns: 1fr; }
  .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 40px 24px; }
  .stats-row { gap: 32px; }
  .section-title { font-size: 32px; }
}

/* ===== Blog: Related Posts ===== */
.related-posts {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--surface-light, #f4f6f0);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-light, #e2e8d8);
}
.related-posts h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.related-posts ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.related-posts ul li::before { content: none; }
.related-posts ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s;
}
.related-posts ul li a::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.related-posts ul li a:hover { color: var(--accent); }
.related-posts .related-landing {
  padding-top: 20px;
  border-top: 1px solid var(--border-light, #e2e8d8);
  font-size: 0.9rem;
  color: var(--text-muted-light);
}
.related-posts .related-landing a {
  color: var(--accent-dark, #3d8f18);
  font-weight: 600;
  text-decoration: none;
}
.related-posts .related-landing a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .feature-grid-4 { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  /* CTA button pairs stack vertically on small phones */
  .cta-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-banner-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .cta-banner { padding: 32px 20px; }
  .cta-banner p { font-size: 16px; }
  /* Cards and features */
  .card { padding: 24px 20px; }
  .section-sub { font-size: 16px; }
}
