/* ============================================================
   CHILD ONLINE PROTECTION — Design System
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Colors */
  --navy:        #1B3A6B;
  --navy-dark:   #0F2347;
  --navy-light:  #2A4F8C;
  --teal:        #00A99D;
  --teal-dark:   #007D73;
  --teal-light:  #E0F5F4;
  --amber:       #F59E0B;
  --amber-light: #FEF3C7;
  --red:         #DC2626;
  --red-light:   #FEE2E2;
  --green:       #059669;
  --green-light: #D1FAE5;
  --purple:      #7C3AED;
  --purple-light:#EDE9FE;

  /* Neutrals */
  --bg:          #F0F4F8;
  --white:       #FFFFFF;
  --border:      #E2E8F0;
  --border-dark: #CBD5E1;
  --text:        #1A202C;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container: 1200px;
  --radius-sm: 0.375rem;
  --radius:    0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

/* ── Utilities ───────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 768px) { .container { padding: 0 var(--space-4); } }

.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }

.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-teal    { color: var(--teal); }
.text-navy    { color: var(--navy); }
.text-amber   { color: var(--amber); }

.font-heading { font-family: var(--font-heading); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: var(--space-4); color: var(--text); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── Section Labels ──────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-4);
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
}

.section-header {
  margin-bottom: var(--space-12);
  max-width: 640px;
}
.section-header.centered { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-amber:hover {
  background: #d97706;
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ── Badges / Tags ───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-teal    { background: var(--teal-light);   color: var(--teal-dark); }
.badge-navy    { background: rgba(27,58,107,.1);   color: var(--navy); }
.badge-amber   { background: var(--amber-light);   color: #92400e; }
.badge-red     { background: var(--red-light);     color: var(--red); }
.badge-green   { background: var(--green-light);   color: #065f46; }
.badge-purple  { background: var(--purple-light);  color: var(--purple); }
.badge-gray    { background: var(--border);        color: var(--text-muted); }

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--space-6);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg { width: 22px; height: 22px; fill: white; }
.nav-logo-text { color: var(--white); }
.nav-logo-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  color: rgba(255,255,255,.85);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); }
.nav-link svg { width: 14px; height: 14px; fill: currentColor; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  pointer-events: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  transition: background var(--transition);
}
.nav-dropdown a:hover { background: var(--bg); color: var(--navy); }
.nav-dropdown a .dd-icon {
  width: 32px; height: 32px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown a .dd-icon svg { width: 16px; height: 16px; fill: var(--teal-dark); }
.nav-dropdown a .dd-text strong { display: block; font-weight: 600; color: var(--navy); }
.nav-dropdown a .dd-text small { color: var(--text-muted); font-size: 0.78rem; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--navy-dark);
  overflow-y: auto;
  z-index: 999;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-section { margin-bottom: var(--space-6); }
.nav-mobile-section h4 {
  color: rgba(255,255,255,.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
}
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 0.95rem;
}
.nav-mobile a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding: 140px 0 var(--space-20);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-content .section-label { color: var(--teal); }
.hero-content .section-label::before { background: var(--teal); }

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}
.hero h1 span { color: var(--teal); }

.hero .lead {
  color: rgba(255,255,255,.75);
  font-size: 1.2rem;
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.15);
}
@media (max-width: 900px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); } }

.hero-stat {}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.hero-stat-number .counter { color: var(--teal); }
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* ── Audience Selector ───────────────────────────────────────── */
.audience-section {
  background: var(--white);
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--border);
}

.audience-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.audience-tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.audience-tab:hover { border-color: var(--teal); color: var(--teal); }
.audience-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.audience-tab svg { width: 18px; height: 18px; fill: currentColor; }

.audience-content { display: none; }
.audience-content.active { display: block; }

.audience-intro {
  margin-bottom: var(--space-8);
}
.audience-intro h3 { color: var(--navy); margin-bottom: var(--space-3); }
.audience-intro p { color: var(--text-muted); max-width: 640px; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 768px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.audience-card-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.audience-card-icon svg { width: 22px; height: 22px; fill: var(--teal-dark); }
.audience-card h4 { color: var(--navy); margin-bottom: var(--space-1); }
.audience-card p { font-size: 0.875rem; color: var(--text-muted); }
.audience-card .card-arrow {
  margin-top: auto;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex; align-items: center; gap: var(--space-1);
}
.audience-card .card-arrow svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,169,157,.3);
}

.card-color-bar {
  height: 4px;
  background: var(--teal);
}
.card-color-bar.amber { background: var(--amber); }
.card-color-bar.purple { background: var(--purple); }
.card-color-bar.red { background: var(--red); }
.card-color-bar.green { background: var(--green); }
.card-color-bar.navy { background: var(--navy); }

.card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-img svg { width: 56px; height: 56px; fill: rgba(255,255,255,.3); }
.card-img-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 60%, rgba(255,255,255,.05) 0%, transparent 60%);
}

.card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.3;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--teal); }

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.card-read-time {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.card-read-time svg { width: 13px; height: 13px; fill: currentColor; }

.card-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.card-link svg { width: 15px; height: 15px; fill: currentColor; }

/* ── Section Overview Cards ──────────────────────────────────── */
.section-cards { padding: var(--space-20) 0; }

.overview-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition);
  text-decoration: none;
  height: 100%;
}
.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.overview-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.overview-card-icon svg { width: 26px; height: 26px; fill: white; }

.overview-card-icon.teal    { background: var(--teal); }
.overview-card-icon.navy    { background: var(--navy); }
.overview-card-icon.amber   { background: var(--amber); }
.overview-card-icon.red     { background: var(--red); }
.overview-card-icon.green   { background: var(--green); }
.overview-card-icon.purple  { background: var(--purple); }

.overview-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.overview-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.overview-card-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
}

/* ── Stats Banner ────────────────────────────────────────────── */
.stats-banner {
  background: var(--navy);
  padding: var(--space-12) 0;
}
.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
@media (max-width: 768px) { .stats-banner-grid { grid-template-columns: repeat(2, 1fr); } }

.stats-banner-item {}
.stats-banner-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stats-banner-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* ── Organizations strip ─────────────────────────────────────── */
.orgs-section {
  background: var(--white);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.orgs-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}
.orgs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-4) var(--space-8);
}
.org-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
}
.org-pill:hover {
  border-color: var(--teal);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.org-pill .org-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ── Newsletter ──────────────────────────────────────────────── */
.newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: var(--space-16) 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}
@media (max-width: 768px) { .newsletter-inner { flex-direction: column; } }
.newsletter-text { flex: 1; }
.newsletter-text h2 { color: var(--white); margin-bottom: var(--space-3); }
.newsletter-text p { color: rgba(255,255,255,.7); }
.newsletter-form { flex: 1; }
.newsletter-input-group {
  display: flex;
  gap: var(--space-3);
}
@media (max-width: 480px) { .newsletter-input-group { flex-direction: column; } }
.newsletter-input {
  flex: 1;
  padding: 0.875rem var(--space-4);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: var(--teal); background: rgba(255,255,255,.15); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {}
.footer-brand .nav-logo-text strong { color: var(--white); }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  margin-top: var(--space-4);
  line-height: 1.7;
}

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col ul a {
  color: rgba(255,255,255,.55);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,.35); margin: 0; }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 120px 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: 0.83rem;
  color: rgba(255,255,255,.5);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero .breadcrumb svg { width: 14px; height: 14px; fill: currentColor; }
.page-hero h1 { color: var(--white); margin-bottom: var(--space-4); }
.page-hero .lead { color: rgba(255,255,255,.7); max-width: 680px; }
.page-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

/* ── Section page layout ─────────────────────────────────────── */
.section-page { padding: var(--space-16) 0; }
.section-page-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 1024px) { .section-page-grid { grid-template-columns: 1fr; } }

.sidebar { display: flex; flex-direction: column; gap: var(--space-6); }

.sidebar-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-5);
}
.sidebar-box h4 {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.sidebar-box ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.sidebar-box ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.sidebar-box ul li:last-child a { border-bottom: none; }
.sidebar-box ul li a:hover { color: var(--teal); }
.sidebar-box ul li a svg { width: 14px; height: 14px; fill: var(--teal); flex-shrink: 0; }

.sidebar-highlight {
  background: var(--teal);
  color: var(--white);
  border: none;
}
.sidebar-highlight h4 { color: rgba(255,255,255,.7); }
.sidebar-highlight p { color: rgba(255,255,255,.85); font-size: 0.875rem; }
.sidebar-highlight .btn { background: rgba(255,255,255,.2); color: var(--white); border-color: rgba(255,255,255,.3); width: 100%; justify-content: center; margin-top: var(--space-4); }
.sidebar-highlight .btn:hover { background: rgba(255,255,255,.3); }

/* ── Article page ────────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } }

.article-body h2 { margin: var(--space-10) 0 var(--space-4); }
.article-body h3 { margin: var(--space-8) 0 var(--space-3); }
.article-body p  { margin-bottom: var(--space-5); font-size: 1.05rem; line-height: 1.8; }
.article-body ul, .article-body ol { margin: var(--space-4) 0 var(--space-6) var(--space-6); }
.article-body li { margin-bottom: var(--space-2); font-size: 1.05rem; line-height: 1.7; }

.article-callout {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
}
.article-callout p { color: var(--teal-dark); font-size: 1rem; margin: 0; }

.article-pullquote {
  border-left: 4px solid var(--amber);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
}
.article-pullquote p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.5;
}

.article-stat-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
  text-align: center;
}
.article-stat-box .big-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.article-stat-box p { color: rgba(255,255,255,.7); margin: 0; }

.article-key-points {
  background: var(--amber-light);
  border: 1px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
}
.article-key-points h4 {
  color: #92400e;
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-key-points ul { margin: 0; padding-left: var(--space-5); }
.article-key-points ul li { color: #78350f; font-size: 0.95rem; margin-bottom: var(--space-2); }

/* TOC sidebar */
.article-toc {
  position: sticky;
  top: 90px;
}
.article-toc h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.toc-list { list-style: none; }
.toc-list li { border-left: 2px solid var(--border); }
.toc-list li.active { border-left-color: var(--teal); }
.toc-list li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: 0.83rem;
  color: var(--text-muted);
}
.toc-list li.active a { color: var(--teal); font-weight: 600; }
.toc-list li a:hover { color: var(--navy); }

/* ── Comparison Table ────────────────────────────────────────── */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin: var(--space-8) 0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}
.comparison-table th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.comparison-table th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }

.comparison-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.comparison-table td:first-child { font-weight: 600; color: var(--navy); }

.check { color: var(--green); font-size: 1.1rem; }
.cross { color: var(--red); font-size: 1.1rem; }
.partial { color: var(--amber); font-size: 1.1rem; }

/* ── Organization Cards ──────────────────────────────────────── */
.org-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition);
}
.org-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.org-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.org-card-logo {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}
.org-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: var(--space-1); }
.org-card .org-tag { font-size: 0.75rem; color: var(--text-muted); }
.org-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.org-card-resources {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

/* ── Report Cards ────────────────────────────────────────────── */
.report-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: all var(--transition);
}
.report-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.report-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--red-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.report-card h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: var(--space-2); }
.report-card p  { font-size: 0.8rem; color: var(--text-muted); }
.report-card-meta {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-top: var(--space-3);
  flex-wrap: wrap;
}

/* ── Info boxes ──────────────────────────────────────────────── */
.info-box {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}
.info-box.navy { background: var(--navy); color: var(--white); }
.info-box.navy h4 { color: var(--teal); margin-bottom: var(--space-3); }
.info-box.navy p  { color: rgba(255,255,255,.8); }
.info-box.teal { background: var(--teal-light); border: 1px solid rgba(0,169,157,.2); }
.info-box.teal h4 { color: var(--teal-dark); margin-bottom: var(--space-3); }
.info-box.amber { background: var(--amber-light); border: 1px solid rgba(245,158,11,.3); }
.info-box.amber h4 { color: #92400e; margin-bottom: var(--space-3); }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.83rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb svg { width: 12px; height: 12px; fill: currentColor; }

/* ── Print styles ────────────────────────────────────────────── */
@media print {
  .nav, .newsletter, .footer { display: none; }
  .article-toc { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  body { background: white; }
  .page-hero { padding: var(--space-8) 0; }
}
