:root {
  --primary: #0a2540;
  --primary-light: #1a6bb3;
  --primary-dark: #06182b;
  --accent: #d4492a;
  --accent-light: #e85d3a;
  --warm: #f4a261;
  --bg: #f5f7fa;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7c93;
  --border: #e1e5eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 10px 40px rgba(10, 37, 64, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 2px;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  padding-top: 16px;
  padding-bottom: 16px;
}

.header-masthead {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.header-brand {
  display: inline-flex;
  flex-shrink: 0;
}

.header-logo-wide {
  height: 56px;
  width: auto;
}

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

.header-titles {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.header-titles h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0;
}

a.header-titles:hover h1 { color: var(--primary-light); }

.header-titles .header-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.3;
}

.header-titles .header-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.3;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-list {
  display: none;
  list-style: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 260px;
  background: #fff;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.nav-list.open { display: flex; }

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover { color: var(--primary); background: rgba(10,37,64,0.05); }

.nav-link.active { color: var(--primary); background: rgba(10,37,64,0.06); font-weight: 600; }

.nav-toggle {
  display: flex;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover { background: rgba(10,37,64,0.05); }

.nav-toggle svg { width: 24px; height: 24px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.nav-donate-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(10,37,64,0.15);
}

.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(10,37,64,0.2); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(212,73,42,0.2);
}

.btn-accent:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,73,42,0.3); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* --- Home Layout --- */
.home-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.home-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
}

.home-summary p { color: var(--text); font-size: 0.95rem; line-height: 1.65; }

.home-personas {
  display: flex;
  gap: var(--space-4);
}

.persona-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.persona-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.persona-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 4px;
}

.persona-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.home-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.home-nav-btn {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.home-nav-btn:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.home-nav-btn .sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  margin-top: 4px;
}

.home-nav-donate {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.home-nav-donate:hover { background: var(--primary-light); }

.home-nav-donate .sub { color: rgba(255,255,255,0.7); }

.home-quicklinks {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 20px;
}
.home-quicklinks h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.home-quicklinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.home-quicklinks a {
  font-size: 0.9rem;
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
}
.home-quicklinks a:hover { text-decoration: underline; }

/* --- Idea CTA banner (home) --- */
.idea-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: linear-gradient(135deg, rgba(244,162,97,0.14) 0%, rgba(10,37,64,0.04) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid #c77d3a;
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-3);
  box-shadow: var(--shadow);
}

.idea-banner-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(244,162,97,0.15);
  color: #c77d3a;
}

.idea-banner-body { flex: 1; min-width: 0; }

.idea-banner-body h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  letter-spacing: -0.3px;
}

.idea-banner-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  max-width: 640px;
}

.idea-banner-action { flex-shrink: 0; }
.idea-banner-action .btn { text-align: center; white-space: nowrap; }

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.resource-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.resource-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resource-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 12px;
}

.resource-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
}

/* --- Hero --- */
.hero {
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  right: -20%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10,37,64,0.03) 0%, rgba(212,73,42,0.02) 100%);
  border-radius: 0 0 50% 50%;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero > * { position: relative; z-index: 1; }

.hero h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 16px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.hero-actions .btn-lg { padding: 14px 28px; font-size: 1rem; }

/* --- Sections --- */
.section {
  padding: var(--space-8) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-7);
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: var(--space-5);
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-alt { background: var(--bg-card); border-top: 1px solid var(--border); }

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card-icon.blue { background: rgba(10,37,64,0.1); color: var(--primary); }
.card-icon.warm { background: rgba(212,73,42,0.1); color: var(--accent); }
.card-icon.gold { background: rgba(244,162,97,0.15); color: #c77d3a; }

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }

/* Keep doc-link / coming-soon footers pinned to the card bottom so cards
   in the same row stay visually aligned even when text lengths differ. */
.card { display: flex; flex-direction: column; }
.card .download-item,
.card .coming-soon { margin-top: auto; }
.card .coming-soon { align-self: flex-start; }

/* --- Leadership --- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  align-items: stretch;
}

.leader-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.leader-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.leader-card p { flex: 1; }

.leader-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  overflow: hidden;
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-card h4 { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.leader-card .role { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.leader-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* --- Action Grid --- */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  max-width: 800px;
  margin: 0 auto;
}

.action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.action-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-left-color: var(--primary-light); }

.action-card-body svg {
  width: 28px;
  height: 28px;
  color: var(--primary-light);
  margin-bottom: 12px;
  display: block;
}

.action-card-accent .action-card-body svg { color: var(--warm); }

.action-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.action-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.action-arrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
}

.action-card-accent {
  background: var(--primary);
  border-color: var(--primary);
}

.action-card-accent .action-card-body h3 { color: #fff; }
.action-card-accent .action-card-body p { color: rgba(255,255,255,0.8); }
.action-card-accent .action-arrow { color: var(--warm); }

/* --- Donation Tiers --- */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.tier-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}

.tier-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.tier-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 0;
}

.subscribe-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-box p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  opacity: 1;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.subscribe-field[hidden] {
  display: none;
}

.subscribe-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}

.subscribe-form input,
.subscribe-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font);
  box-sizing: border-box;
}

.subscribe-form input::placeholder { color: rgba(255,255,255,0.45); }

.subscribe-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}

.subscribe-form select option {
  color: #1a1a1a;
  background: #fff;
}

.subscribe-form select:invalid,
.subscribe-form select option[value=""] {
  color: rgba(255,255,255,0.45);
}

.subscribe-form button {
  padding: 10px 20px;
  background: var(--warm);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.subscribe-note {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.subscribe-error {
  margin: 0;
  font-size: 0.8rem;
  color: #ffb4a8;
}

.subscribe-success {
  padding: 12px 0 4px;
}

.subscribe-success p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.tax-receipt-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  font-style: italic;
}

/* --- Donation / Support --- */
.support-section {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}

.support-section h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.support-section > p { opacity: 0.8; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

.support-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.support-actions .btn-accent { background: var(--warm); color: var(--primary); }
.support-actions .btn-accent:hover { background: #f0b27a; }
.support-actions .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.support-actions .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.qr-area {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 8px;
  border: 2px dashed var(--border);
}

.qr-area img {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* --- Narrative figure images --- */
.figure-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: 32px;
}

.figure-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.figure-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.figure-card figcaption {
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .figure-row { grid-template-columns: 1fr; }
}

.qr-area span { font-size: 0.8rem; opacity: 0.7; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, rgba(10,37,64,0.04) 0%, rgba(212,73,42,0.02) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

.breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--primary-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.hero-split { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-survey { flex: 0 0 320px; text-align: center; }
.hero-survey p { font-size: 0.95rem; margin-top: 12px; }

/* --- Long-form / Typeset Content --- */
.typeset {
  max-width: 720px;
  margin: 0 auto;
}

.typeset h2 { font-size: 1.8rem; color: var(--primary); margin: 40px 0 16px; font-weight: 700; letter-spacing: -0.3px; }
.typeset h3 { font-size: 1.2rem; color: var(--primary); margin: 28px 0 12px; font-weight: 600; }
.typeset p { margin-bottom: 16px; color: var(--text); font-size: 0.95rem; line-height: 1.65; }
.typeset ul, .typeset ol { margin: 0 0 16px 20px; }
.typeset li { margin-bottom: 8px; color: var(--text); font-size: 0.95rem; line-height: 1.65; }

/* Anchor targets need clearance below the sticky header or the jump lands underneath it */
#message-continued { scroll-margin-top: 130px; }
.typeset strong { color: var(--primary); }

.faq-list { margin-top: var(--space-5); }

.faq-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.faq-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10,37,64,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faq-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 6px;
}

.faq-body p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.question-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.portal-group { margin-bottom: var(--space-6); }
.portal-group:last-child { margin-bottom: 0; }
.portal-group h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.portal-group p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

.question-btn {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.question-btn:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); border-color: var(--primary-light); }

.typeset-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 24px 0;
}

.typeset-block h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 8px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  text-align: center;
}

.stat-box .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(26,107,179,0.08);
  border: 1px solid rgba(26,107,179,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-top: 12px;
}

/* --- Download / Catalog --- */
.download-list {
  display: grid;
  gap: 12px;
}

/* Single doc link that follows a larger block (e.g. numbered steps):
   center it instead of stretching full width. */
.download-list-centered {
  max-width: 640px;
  margin: 40px auto 0;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}

.download-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }

.download-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.download-icon.pdf { background: rgba(212,73,42,0.1); color: var(--accent); }
.download-icon.xls { background: rgba(10,37,64,0.1); color: var(--primary); }
.download-icon.doc { background: rgba(244,162,97,0.15); color: #c77d3a; }
.download-icon.link { background: rgba(26,107,179,0.1); color: var(--primary-light); }

.download-info { flex: 1; }
.download-info span { display: block; }
.download-info .name { font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.download-info .meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* --- Healthcare story cards --- */
.story-grid { display: grid; gap: 16px; }
.story-card {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}
.story-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.story-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.6rem;
  line-height: 1;
  color: #2a9d8f;
  flex-shrink: 0;
}
.story-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.story-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; font-style: italic; }
.story-link { display: inline-block; margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--primary-light); }

/* --- Catalog Categories --- */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.catalog-category h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

/* --- Awards Page Specific --- */
.priorities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.priority-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.priority-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10,37,64,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.priority-text h4 { font-size: 0.95rem; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.priority-text p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.submit-card {
  background: linear-gradient(135deg, rgba(10,37,64,0.04) 0%, rgba(212,73,42,0.03) 100%);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.submit-card h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 8px; }
.submit-card p { color: var(--text-muted); margin-bottom: 24px; }

/* --- Media Hub --- */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-sm);
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-card-header {
  padding: 28px 32px 20px;
}

.media-card-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.media-card-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.media-card .video-wrapper {
  border-radius: 0;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.press-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.25s;
}

.press-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.press-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(10,37,64,0.04);
}

.press-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.press-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.press-image-empty svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.press-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  padding: 16px 20px 4px;
}

.press-item .coming-soon {
  display: inline-block;
  margin: 0 20px 16px;
}

.press-item-placeholder h4 { color: var(--text-muted); }

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  margin-top: 64px;
}

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

.footer-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-pill {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

a.footer-pill:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: #fff; }

.footer-brand h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 320px; }

.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 2px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-nav { position: static; }

  .header-masthead { gap: 12px; }
  .header-photo { width: 64px; height: 64px; }
  .header-logo-wide { height: 40px; }
  .header-titles h1 { font-size: 1.2rem; }
  .header-titles .header-tagline { display: none; }

  .nav-list {
    left: 0;
    right: 0;
    top: 100%;
    min-width: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
  }

  .nav-link { font-size: 1rem; }

  .home-grid { grid-template-columns: 1fr; }
  .home-personas { flex-direction: column; }
  .idea-banner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .idea-banner-icon { display: none; }
  .idea-banner-action { width: 100%; }
  .idea-banner-action .btn { width: 100%; justify-content: center; white-space: normal; }

  .hero h2 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .card-large { grid-template-columns: 1fr; }

  .action-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .priorities-list { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }

  .section { padding: 40px 0; }

  .page-hero h2 { font-size: 1.6rem; }
  .page-hero { padding: 40px 0 32px; }

  .hero-split { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-survey { flex: none; text-align: left; }

  .support-section { padding: 40px 24px; }

  .btn-lg { padding: 14px 28px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .header-photo { display: none; }
  .header-titles { display: none; }
  .header-titles h1 { font-size: 1.1rem; }
  .header-titles .header-sub { font-size: 0.75rem; }
  .nav-donate-btn { padding: 6px 12px; font-size: 0.75rem; }
  .hero h2 { font-size: 1.6rem; }
  .hero { padding: 48px 0 40px; }
  .nav-list { top: 100%; }
  .section-header h2 { font-size: 1.5rem; }
}

/* --- Survey embed --- */
.survey-embed { max-width: 680px; margin: 0 auto; }
.survey-embed iframe { width: 100%; border: 0; display: block; }
@media (max-width: 768px) {
  .survey-embed { margin: 0 -8px; }
}
