/* Evergreen Aging - Core Design System */
:root {
  --primary: #1b4332;
  --primary-hover: #143225;
  --primary-light: #2d6a4f;
  --secondary: #40916c;
  --accent: #52b788;
  --accent-light: #d8f3dc;
  --accent-subtle: #ebf9f0;
  --yt-red: #d90429;
  --yt-dark: #b80020;

  --bg-main: #f8faf7;
  --bg-card: #ffffff;
  --bg-surface: #f1f5f2;
  --bg-dark: #12231b;
  
  --text-main: #18231c;
  --text-muted: #485c4f;
  --text-light: #f8faf7;
  --border-color: #dbe4dc;
  
  --shadow-sm: 0 2px 4px rgba(27, 67, 50, 0.05);
  --shadow-md: 0 4px 12px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 10px 25px rgba(27, 67, 50, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --font-base: 17px;
  --max-width: 1200px;
  --transition: all 0.25s ease-in-out;
}

/* Accessible High Contrast Mode */
html.high-contrast {
  --primary: #000000;
  --primary-hover: #1a1a1a;
  --primary-light: #002b11;
  --secondary: #004d20;
  --accent: #ffd700;
  --accent-light: #fff2a8;
  --accent-subtle: #fffdf0;
  --bg-main: #ffffff;
  --bg-card: #ffffff;
  --bg-surface: #f4f4f4;
  --bg-dark: #000000;
  --text-main: #000000;
  --text-muted: #111111;
  --border-color: #000000;
}

html.high-contrast .site-header {
  background: #000000;
  border-bottom: 2px solid #ffd700;
}
html.high-contrast .brand-title {
  color: #ffffff;
}
html.high-contrast .brand-sub {
  color: #ffd700;
}
html.high-contrast .main-nav,
html.high-contrast .mission-nav-bubble {
  background: #111111;
  border: 1.5px solid #ffd700;
}
html.high-contrast .mission-nav-bubble .nav-link {
  color: #ffd700;
  font-weight: 800;
}
html.high-contrast .nav-link {
  color: #ffffff;
}
html.high-contrast .nav-link:hover,
html.high-contrast .nav-link.active {
  background: #ffd700;
  color: #000000;
  font-weight: 800;
}
html.high-contrast .mobile-toggle {
  background: #000000;
  border-color: #ffd700;
  color: #ffd700;
}
html.high-contrast .font-btn {
  background: #000000;
  border-color: #ffd700;
  color: #ffffff;
}
html.high-contrast .font-btn:hover {
  background: #222222;
  border-color: #ffffff;
}
html.high-contrast .font-btn.active {
  background: #ffd700;
  color: #000000;
  border-color: #ffd700;
  font-weight: 900;
}

html.high-contrast .hero,
html.high-contrast .myth-section,
html.high-contrast .toolkit-section,
html.high-contrast .library-section,
html.high-contrast .caregiver-section,
html.high-contrast .community-section,
html.high-contrast .resources-section,
html.high-contrast .references-section {
  background: #ffffff !important;
  border-bottom: 2px solid #000000 !important;
}
html.high-contrast .caregiver-banner {
  background: #000000 !important;
  border: 2px solid #ffd700 !important;
  color: #ffffff !important;
}
html.high-contrast .caregiver-poster-card,
html.high-contrast .poster-core-rule,
html.high-contrast .poster-pillar-card,
html.high-contrast .poster-respite-box {
  background: #ffffff !important;
  border: 2px solid #000000 !important;
}
html.high-contrast .poster-comparison-avoid {
  background: #ffffff !important;
  border: 2px solid #b91c1c !important;
}
html.high-contrast .poster-comparison-empower {
  background: #ffffff !important;
  border: 2px solid #166534 !important;
}
html.high-contrast .site-footer {
  background: #000000 !important;
  border-top: 2px solid #ffd700 !important;
}
html.high-contrast .btn-share {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
}
html.high-contrast .btn-share:hover {
  background: #ffd700 !important;
}
html.high-contrast .modal-card {
  background: #ffffff !important;
  border: 3px solid #000000 !important;
}
html.high-contrast .share-action-btn {
  border: 2px solid #000000 !important;
  background: #ffffff !important;
  color: #000000 !important;
}
html.high-contrast .share-action-btn:hover {
  background: #ffd700 !important;
}
html.high-contrast .share-resource-preview {
  border: 2px solid #000000 !important;
  background: #ffffff !important;
}

/* User Accessible Font Scaling on Root HTML Element */
html {
  font-size: var(--font-base);
  scroll-behavior: smooth;
  transition: font-size 0.2s ease-in-out;
}
html.font-lg {
  --font-base: 20px;
  font-size: 20px !important;
}
html.font-xl {
  --font-base: 24px;
  font-size: 24px !important;
}

/* Accessible Anchor Scroll Offset (Clears Sticky Header) */
section[id],
#myths,
#toolkits,
#videos,
#caregivers,
#references {
  scroll-margin-top: 5rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 10px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accessibility Control Bar (Top) */
.access-bar {
  background: var(--bg-dark);
  color: #c0d3c5;
  font-size: 13px !important; /* Fixed base so toolbar stays stable when page text scales */
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.access-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.font-resizer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.font-resizer span {
  font-size: 13px !important;
  color: #c0d3c5;
  margin-right: 2px;
}
.font-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1;
}
.font-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}
.font-btn.active {
  background: var(--accent);
  color: #12231b;
  border-color: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Three distinct, unchanging sample sizes of "A" */
.font-btn[data-size="normal"],
.font-btn-sm {
  font-size: 12px !important;
  width: 26px;
  font-weight: 600;
}
.font-btn[data-size="lg"],
.font-btn-md {
  font-size: 16px !important;
  width: 30px;
  font-weight: 700;
}
.font-btn[data-size="xl"],
.font-btn-lg {
  font-size: 21px !important;
  width: 36px;
  font-weight: 800;
}

#contrastToggle {
  font-size: 12px !important;
  padding: 0 10px;
  height: 28px;
}

/* Header & Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(27, 67, 50, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  gap: 1.25rem;
  min-height: 64px;
}

/* Brand Identity */
.logo-area {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease;
}
.logo-area:hover {
  opacity: 0.9;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(27, 67, 50, 0.12);
  border: 1.5px solid rgba(27, 67, 50, 0.18);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.logo-area:hover .logo-img {
  transform: scale(1.04);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 2px 6px rgba(27,67,50,0.15);
}
.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  line-height: 1.2;
  margin-top: 1px;
}

/* Dual Bubble Navigation Setup */
.nav-container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Unified Segmented Nav Pill Container (In-Page Sections) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #e9f0eb;
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1.25px solid rgba(27, 67, 50, 0.18);
  box-shadow: inset 0 1px 3px rgba(27, 67, 50, 0.05);
}

.main-nav .nav-link {
  color: #314a3a;
  font-weight: 600;
}

.main-nav .nav-link:hover {
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(27, 67, 50, 0.08);
}

.main-nav .nav-link.active {
  color: var(--primary);
  background: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(27, 67, 50, 0.14);
}

/* Standalone Distinct Bubble for Our Mission (Independent Page) */
.mission-nav-bubble {
  display: flex;
  align-items: center;
  background: rgba(27, 67, 50, 0.08);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1.25px solid rgba(27, 67, 50, 0.24);
  box-shadow: 0 1px 3px rgba(27, 67, 50, 0.04);
  transition: all 0.2s ease-in-out;
}

.mission-nav-bubble .nav-link {
  padding: 0.45rem 1rem;
  font-weight: 700;
  color: var(--primary);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease-in-out;
}

.mission-nav-bubble:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.12);
}

.mission-nav-bubble .nav-link:hover {
  background: var(--primary);
  color: #ffffff;
}

.mission-nav-bubble .nav-link.active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.2);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.82rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  line-height: 1.25;
  transition: all 0.18s ease-in-out;
}

.nav-link:hover {
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(27, 67, 50, 0.08);
}

.nav-link.active {
  color: var(--primary);
  background: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(27, 67, 50, 0.12);
}

/* Header CTA Section */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--yt-red);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.52rem 1.15rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(217, 4, 41, 0.25);
  transition: var(--transition);
  flex-shrink: 0;
  line-height: 1.2;
}

.btn-yt:hover {
  background: var(--yt-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(217, 4, 41, 0.35);
}

.btn-yt svg {
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 1.35rem;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.mobile-toggle:hover {
  background: var(--accent-light);
  color: var(--primary-hover);
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, rgba(235, 249, 240, 0.45) 0%, rgba(248, 250, 247, 0.75) 60%, var(--bg-main) 100%);
  border-bottom: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-light);
  color: var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: 2.85rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero h1 span {
  color: var(--secondary);
}
.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid var(--primary);
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}
.stat-item h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Video Card / Preview */
.hero-media {
  position: relative;
}
.video-preview-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
}
.video-thumb-wrap {
  position: relative;
  background: #111;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}
.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.3s ease;
}
.video-thumb-wrap:hover .video-thumb-img {
  transform: scale(1.03);
}
.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 0, 0, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.video-thumb-wrap:hover .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.1);
}
.play-btn-overlay svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
  fill: currentColor;
}
.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-card-body {
  padding: 1.25rem;
}
.video-card-body h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.video-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-sub {
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Start Here / 3-Step Journey */
.journey-section {
  padding: 5rem 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.journey-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.journey-num {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.journey-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.journey-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.card-link {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card-link:hover {
  color: var(--secondary);
}

/* Video Library Section */
.library-section {
  padding: 3.75rem 0 4.5rem;
  background: #ffffff;
}

.vault-hero-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.vault-heading-group {
  max-width: 680px;
}

.vault-heading-group .section-sub {
  display: block;
  margin-bottom: 0.35rem;
}

.vault-heading-group .section-title {
  font-size: 2.15rem;
  color: var(--primary);
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.vault-heading-group .section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.vault-sync-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.vault-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.vault-action-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.library-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  background: var(--bg-surface);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .vault-hero-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .vault-sync-actions {
    width: 100%;
  }
  .vault-action-btn {
    flex: 1;
    justify-content: center;
  }
  .library-controls {
    border-radius: var(--radius-md);
  }
}
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cat-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  width: 100%;
  max-width: 280px;
}
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  padding-left: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  width: 100%;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.video-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 67, 50, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 67, 50, 0.09);
  border-color: rgba(64, 145, 108, 0.3);
}
.video-item-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #222;
  cursor: pointer;
}
.video-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.2s;
}
.video-item-thumb:hover .mini-play {
  transform: translate(-50%, -50%) scale(1.12);
}
.mini-play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: currentColor;
}
.video-item-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.video-meta-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}
.video-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.video-item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}
.video-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
}
.study-tag {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Lead Magnet / Guide Banner */
.lead-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0d281e 100%);
  color: white;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.lead-text h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.lead-text p {
  font-size: 1.1rem;
  color: #c4d7cb;
  margin-bottom: 1.5rem;
}
.checklist {
  list-style: none;
  margin-bottom: 2rem;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: #e5f0e8;
}
.checklist svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.lead-form-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.lead-form-box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: white;
}
.lead-form-box p {
  font-size: 0.9rem;
  color: #c4d7cb;
  margin-bottom: 1.25rem;
}
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: white;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 0.85rem;
  outline: none;
}
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #12231b;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.btn-submit:hover {
  background: #64cca0;
  transform: translateY(-2px);
}
.form-privacy {
  font-size: 0.75rem;
  color: #a4bea9;
  text-align: center;
  margin-top: 0.75rem;
}

/* Public Health Toolkits & Printable Resources */
.toolkit-section {
  padding: 4.5rem 0 3.75rem;
  background: var(--bg-surface);
  border-top: 1px solid rgba(27, 67, 50, 0.08);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 820px) {
  .toolkit-grid {
    grid-template-columns: 1fr;
  }
}
.toolkit-card {
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.04);
}
.toolkit-card:hover {
  border-color: rgba(64, 145, 108, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 67, 50, 0.09);
}
.toolkit-badge {
  align-self: flex-start;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.toolkit-card h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.toolkit-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.55;
}
.toolkit-action {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-print:hover {
  background: var(--primary-hover);
}
.btn-listen {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-listen:hover {
  background: var(--accent-light);
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-share:hover {
  background: var(--accent-light);
  border-color: var(--secondary);
}

/* Myth vs Fact Awareness Section */
.myth-section {
  padding: 4.5rem 0 3.75rem;
  background: linear-gradient(180deg, var(--bg-main) 0%, #f2f7f4 15%, #f2f7f4 85%, #ffffff 100%);
  border-bottom: none;
}
.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 820px) {
  .myth-grid {
    grid-template-columns: 1fr;
  }
}
.myth-card {
  background: #ffffff;
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.myth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 67, 50, 0.08);
  border-color: rgba(64, 145, 108, 0.3);
}
.myth-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 0.65rem;
  letter-spacing: 0.03em;
  width: fit-content;
}
.myth-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 1.15rem;
  line-height: 1.45;
  text-decoration: none;
  background: #fdf2f2;
  border-left: 3.5px solid #dc2626;
  padding: 0.75rem 0.95rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.fact-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}
.fact-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

/* Subtle Bottom Citations on Content Cards */
.bottom-source-note {
  border-top: 1px dashed var(--border-color);
  padding-top: 0.65rem;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.bottom-source-note a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bottom-source-note a:hover {
  color: var(--primary-hover);
}

/* Bottom References Section */
.references-section {
  background: linear-gradient(180deg, rgba(241, 245, 242, 0.55) 0%, #edf3ef 20%, #edf3ef 85%, #e2ece5 100%);
  border-top: none;
  padding: 5rem 0 4.5rem;
}
.references-header {
  margin-bottom: 2rem;
}
.references-header h3 {
  font-size: 1.45rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.references-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 820px;
  line-height: 1.6;
}
.references-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .references-list {
    grid-template-columns: 1fr;
  }
}
.reference-item {
  background: #ffffff;
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.reference-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.06);
}
.reference-num {
  font-weight: 800;
  color: var(--secondary);
  margin-right: 0.4rem;
}
.reference-authority {
  font-weight: 700;
  color: var(--primary);
}
.reference-title {
  color: var(--text-main);
  margin: 0.25rem 0;
}
.reference-link {
  color: var(--primary-light);
  font-size: 0.8rem;
  word-break: break-all;
  text-decoration: underline;
}

/* Modal Bottom References */
.modal-bottom-references {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.modal-bottom-references h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.verification-banner {
  background: #eef7f2;
  border: 1px solid #b7dfca;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.verification-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.verification-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.verification-text p {
  font-size: 0.88rem;
  color: #2e4d3a;
  line-height: 1.45;
}

/* Caregiver Section & Educational Infographic Poster */
.caregiver-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, rgba(248, 250, 247, 0.8) 0%, #ffffff 50%, #ffffff 100%);
}
.caregiver-banner {
  background: linear-gradient(135deg, #1b4332 0%, #234f3b 50%, #1a3e2e 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 16px 36px rgba(27, 67, 50, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.25);
  margin-bottom: 2.5rem;
}
.caregiver-banner h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.caregiver-banner p {
  color: #d1e2d6;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* On-Page Caregiver Educational Infographic Poster */
.caregiver-poster-card {
  background: #ffffff;
  border: 2px solid rgba(27, 67, 50, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: 0 14px 38px rgba(27, 67, 50, 0.08);
  margin-top: 0;
}
.poster-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.poster-badge {
  display: inline-block;
  background: #e8f4ed;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.poster-top-bar h3 {
  font-size: 1.75rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}
.poster-top-bar p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  line-height: 1.5;
}
.poster-top-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.poster-core-rule {
  background: linear-gradient(135deg, #eef7f2 0%, #f4fbf7 100%);
  border: 2px solid #52b788;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.25rem;
}
.poster-core-rule-tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.poster-core-rule-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.poster-core-rule-desc {
  font-size: 1.05rem;
  color: #1e3328;
  line-height: 1.6;
}
.poster-block-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1.5px solid rgba(27, 67, 50, 0.12);
  padding-bottom: 0.5rem;
}
.poster-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
@media (max-width: 768px) {
  .poster-comparison-grid {
    grid-template-columns: 1fr;
  }
}
.poster-comparison-card {
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.poster-comparison-avoid {
  background: #fff5f5;
  border: 1.5px solid #fecaca;
}
.poster-comparison-avoid strong {
  color: #991b1b;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.poster-comparison-avoid .quote {
  font-size: 1.05rem;
  font-weight: 700;
  color: #991b1b;
  line-height: 1.4;
}
.poster-comparison-avoid .reason {
  font-size: 0.88rem;
  color: #b91c1c;
  font-style: italic;
}
.poster-comparison-empower {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
}
.poster-comparison-empower strong {
  color: #166534;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.poster-comparison-empower .quote {
  font-size: 1.05rem;
  font-weight: 700;
  color: #14532d;
  line-height: 1.4;
}
.poster-comparison-empower .reason {
  font-size: 0.88rem;
  color: #15803d;
}
.poster-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .poster-pillars-grid {
    grid-template-columns: 1fr;
  }
}
.poster-pillar-card {
  background: #f8faf8;
  border: 1.5px solid #d8e5dc;
  border-radius: var(--radius-md);
  padding: 1.35rem;
}
.poster-pillar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.poster-pillar-num {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.poster-pillar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.poster-pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.poster-pillar-card li {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}
.poster-pillar-card li::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
  position: absolute;
  left: 0;
}
.poster-respite-box {
  background: #fdf8eb;
  border: 1.5px solid #eed69b;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.poster-respite-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}
.poster-respite-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #7c4a1e;
  margin-bottom: 0.35rem;
}
.poster-respite-content p {
  font-size: 0.98rem;
  color: #5c3815;
  line-height: 1.5;
}
.poster-bottom-sources {
  border-top: 1.5px solid var(--border-color);
  padding-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Print Specific Rules */
@media print {
  .access-bar, .site-header, .btn-yt, .hero-actions, .library-controls, .video-modal, .toast-notice, .site-footer, .topic-form, .btn-listen {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 14pt !important;
  }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .toolkit-card, .journey-card, .myth-card {
    border: 1px solid #000 !important;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* Topic Request / Community */
.community-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(244, 248, 245, 0.65) 50%, rgba(244, 248, 245, 0.65) 100%);
}
.community-box {
  background: #ffffff;
  border: 2px dashed rgba(82, 183, 136, 0.45);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.03);
}
.community-box h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.community-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.topic-form {
  display: flex;
  gap: 0.75rem;
  max-width: 550px;
  margin: 0 auto;
}
.topic-input {
  flex-grow: 1;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);

/* Public Health Resources Directory */
.resources-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(244, 248, 245, 0.65) 0%, #ffffff 25%, #ffffff 80%, rgba(241, 245, 242, 0.55) 100%);
}
.resource-card {
  padding: 1.5rem;
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.06);
  border-color: rgba(64, 145, 108, 0.3);
}
  font-size: 1rem;
  outline: none;
}
.topic-input:focus {
  border-color: var(--primary);
}
.topic-submit {
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}
.topic-submit:hover {
  background: var(--primary-hover);
}

/* Modal for Video Playback */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.video-modal.open {
  display: flex;
}
.modal-content {
  background: var(--bg-card);
  width: 100%;
  max-width: 840px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
}
.modal-header {
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
}
.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.modal-player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.modal-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.modal-body {
  padding: 1.5rem;
}
.modal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.modal-actions {
  display: flex;
  gap: 1rem;
}

/* Generic Modal Overlay & Share Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open {
  display: flex;
}
.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border: 1.5px solid rgba(27, 67, 50, 0.15);
  animation: modalFadeIn 0.2s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.share-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.share-modal-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}
.share-modal-title {
  font-size: 1.45rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.25;
}
.share-resource-preview {
  background: #f4f8f5;
  border: 1.5px solid #d0dfd4;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.share-preview-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}
.share-preview-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}
.share-preview-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.share-action-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.share-action-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}
.share-action-btn:hover {
  border-color: var(--primary);
  background: #f7faf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.08);
}
.email-share-btn {
  border-color: #52b788;
  background: #f4fbf6;
}
.email-share-btn:hover {
  background: #ebf7ef;
  border-color: var(--primary);
}
.share-btn-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.share-btn-text {
  flex-grow: 1;
}
.share-btn-text strong {
  display: block;
  font-size: 1.02rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 2px;
}
.share-btn-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
}
.share-btn-arrow {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}
.share-btn-badge {
  background: var(--accent-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.share-link-box {
  background: #fdfdfd;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}
.share-link-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.share-link-row {
  display: flex;
  gap: 0.5rem;
}
.share-link-row input {
  flex-grow: 1;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  outline: none;
}
.btn-copy-inline {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy-inline:hover {
  background: var(--primary-hover);
}
.share-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10000;
}
.toast-notice.show {
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #183528 0%, #102119 100%);
  color: #c0d3c5;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(82, 183, 136, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h4 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a4bea9;
}
.footer-col h5 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: #c0d3c5;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}
.disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #92ab97;
  line-height: 1.5;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #839d88;
}

/* Responsive Media Queries */
@media (max-width: 1120px) {
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 1.5rem;
    right: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 0.85rem;
    gap: 0.5rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    z-index: 200;
  }
  .nav-container.show {
    display: flex;
    animation: menuSlideDown 0.2s ease-out;
  }
  .main-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 0.25rem;
  }
  .mission-nav-bubble {
    width: 100%;
    background: rgba(27, 67, 50, 0.08);
    border: 1.25px solid rgba(27, 67, 50, 0.24);
    border-radius: var(--radius-md);
    padding: 2px;
    margin-top: 0.5rem;
  }
  .mission-nav-bubble .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 700;
  }
  .mission-nav-bubble .nav-link.active {
    background: var(--primary);
    color: #ffffff;
  }
  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
  }
  .nav-link:hover, .nav-link.active {
    background: var(--accent-subtle);
    color: var(--primary);
  }
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid, .lead-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .topic-form {
    flex-direction: column;
  }
}
