:root {
  --ink: #0b0d14;
  --ink-soft: #303548;
  --sand: #f2f3f5;
  --gold: #c58b2c;
  --teal: #0a4b4a;
  --coral: #b54c3a;
  --sky: #dce3ee;
  --card: #ffffff;
  --shadow: 0 28px 60px rgba(11, 13, 20, 0.14);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--ink);
  background: #f5f6f8;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #0b0d14;
}

.nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand span {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-cta .button {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page:not(.home) .brand img,
.page:not(.home) .brand span,
.page:not(.home) .nav-cta .button {
  opacity: 0;
  transform: translateY(-6px);
  transition-duration: 0.9s;
}

.header-logo-visible .page:not(.home) .brand img,
.header-logo-visible .page:not(.home) .brand span,
.header-logo-visible .page:not(.home) .nav-cta .button {
  opacity: 1;
  transform: translateY(0);
}

.home .brand img,
.home .brand span,
.home .nav-cta .button {
  opacity: 0;
  transform: translateY(-6px);
}

.home .brand,
.home .nav-cta .button {
  pointer-events: none;
}

.header-logo-visible .home .brand img,
.header-logo-visible .home .brand span,
.header-logo-visible .home .nav-cta .button {
  opacity: 1;
  transform: translateY(0);
}

.header-logo-visible .home .brand,
.header-logo-visible .home .nav-cta .button {
  pointer-events: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: box-shadow 0.2s ease, border 0.2s ease;
  cursor: pointer;
}

.button.large {
  padding: 16px 30px;
  font-size: 1.05rem;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 30px rgba(11, 13, 20, 0.25);
}

.button.primary:hover {
  box-shadow: 0 12px 30px rgba(11, 13, 20, 0.25);
}

.button.ghost {
  border-color: rgba(28, 28, 28, 0.2);
  background: #fff;
}

.button.text {
  padding: 12px 0;
  color: var(--ink);
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(11, 13, 20, 0.08), rgba(11, 13, 20, 0.02));
}

.hero.hero-strong {
  background: linear-gradient(120deg, #0b0d14, #1c2540);
  color: #f5f6f8;
}

.hero.hero-strong .hero-subhead,
.hero.hero-strong .hero-lead {
  color: #d7dbea;
  text-align: center;
}

.hero.hero-strong .hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.hero.hero-strong .button.text {
  color: #f5f6f8;
}

.hero.hero-strong .button.primary {
  background: #f2b21d;
  color: #0b0d14;
}

.hero.hero-strong .button.ghost {
  background: #ffffff;
  color: #0b0d14;
  border-color: #ffffff;
}

.hero-title {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: stretch;
  min-height: 140px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px 260px;
  align-items: stretch;
  column-gap: 18px;
  min-height: 140px;
  width: 100%;
}

.hero-logo-wrap {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  height: 100%;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.hero-logo-edge {
  width: auto;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin: 0;
  max-width: 220px;
}

.hero-art {
  display: none;
}

.hero-shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  z-index: 1;
}

.hero-shell.hero-full {
  grid-template-columns: 1fr;
  max-width: none;
  margin: 0;
  padding: 0 300px 0 0;
}

.hero-text {
  padding: 10px 24px;
  text-align: center;
  align-self: center;
  min-width: 0;
}

.hero-text h1 {
  font-family: "Roboto", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 auto 8px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-align: center;
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: 0;
}

.hero-subhead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  font-weight: 500;
  text-align: left;
  margin: 0 0 6px;
  line-height: 1.3;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.4;
  text-align: left;
  max-width: 820px;
  margin: 0;
}

.hero-blocks {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.6fr);
  gap: 20px;
  margin-top: 24px;
}

.hero-blocks.hero-blocks-wide {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  justify-content: flex-start;
}

.hero-band {
  background: #f2b21d;
  border-bottom: 3px solid #0b0d14;
  padding: 26px 0;
  position: relative;
}

.goal-band {
  background: #f2b21d;
  color: #0b0d14;
  padding: 22px 0;
  border-top: 1px solid #0b0d14;
}

.goal-line {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 18px;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 24px;
  justify-content: center;
}

.goal-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #0b0d14;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
  font-weight: 700;
  justify-self: end;
  transform: translateY(2px);
}

.goal-text {
  justify-self: start;
}

.hero-band-shell {
  max-width: none;
  padding: 0;
  width: 100%;
  margin: 0;
}

.hero-actions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 18px;
  align-items: center;
}

.hero-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
  padding: 20px 16px;
}

.hero-actions-stack .button {
  width: 100%;
  min-width: 200px;
  padding: 16px 34px;
}

.stay-informed {
  background: #ffffff;
  padding: 18px 16px;
  border-left: 4px solid #0b0d14;
  box-shadow: none;
  border-radius: 0;
  color: #0b0d14;
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin: 0;
}

.stay-informed-edge {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  margin: 0;
}

.stay-informed h3 {
  margin: 0 0 6px;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 13, 20, 0.08);
}

.banner-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
}

.fundraising-header h2 {
  margin: 0 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
}

.meter {
  width: 100%;
  height: 12px;
  background: rgba(15, 107, 100, 0.1);
  border-radius: 999px;
  overflow: visible;
  margin: 30px 0;
  position: relative;
}

.meter-bar {
  height: 100%;
  background: #d64545;
  transition: width 0.6s ease, background 0.4s ease;
}

.meter-bar--red {
  background: #d64545;
}

.meter-bar--yellow {
  background: #f2b21d;
}

.meter-bar--green {
  background: #2a7b57;
}

.meter-marker {
  position: absolute;
  top: 50%;
  height: 24px;
  border-left: 2px solid #0b0d14;
  transform: translateY(-50%);
}

.meter-marker-label {
  position: absolute;
  top: -20px;
  left: 0;
  transform: translateX(calc(-50% - 2px));
  font-size: 0.75rem;
  color: rgba(11, 13, 20, 0.7);
  white-space: nowrap;
}

.meter-marker-end .meter-marker-label {
  transform: translateX(calc(-50% - 4px));
}

.meter-marker-current {
  top: 50%;
  border-left-color: transparent;
}

.meter-marker-current .meter-marker-label {
  font-weight: 700;
  color: #0b0d14;
  top: 28px;
}


.fundraising-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  font-size: 0.95rem;
}

.fundraising-stats .label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.fundraising-stats .value {
  font-weight: 700;
}

.fundraising-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

.fundraising-footnote {
  font-size: 0.75rem;
  color: rgba(11, 13, 20, 0.45);
  margin: 0;
  padding-top: 10px;
}

.fundraising-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: -30px;
  gap: 12px;
}

.section {
  padding: 40px 24px;
}

.page-hero + .section {
  padding-top: 20px;
}

.section-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-family: "Roboto", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 16px;
}

.section p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.section.accent {
  background: linear-gradient(120deg, rgba(15, 107, 100, 0.08), rgba(243, 178, 68, 0.12));
}

.impact-band {
  background: #f4f6fb;
  border-top: 1px solid rgba(11, 13, 20, 0.08);
  border-bottom: 1px solid rgba(11, 13, 20, 0.08);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.stack {
  display: grid;
  gap: 20px;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  height: 100%;
}

.fundraising-card p:first-of-type {
  margin-top: -6px;
  margin-bottom: 12px;
}

.fundraising-raised {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 24px;
  color: #0b0d14;
  background: rgba(11, 13, 20, 0.06);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-block;
}

.fundraising-raised-wrap {
  text-align: center;
}

.card h3 {
  margin-top: 0;
  font-family: "Roboto", sans-serif;
}

.callout {
  border: 2px solid #0b0d14;
  background: #fff1c7;
}

.callout h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.callout p {
  font-size: 1.05rem;
}

ul {
  padding-left: 20px;
  line-height: 1.6;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.95rem;
  min-width: 1100px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table th,
table td {
  border: 1px solid rgba(11, 13, 20, 0.15);
  padding: 10px 12px;
  vertical-align: top;
}

table th {
  background: rgba(11, 13, 20, 0.06);
  text-align: left;
  font-weight: 700;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--ink);
}

.note {
  font-weight: 600;
  color: var(--ink);
}

.quote {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 4px solid var(--ink);
  background: #eef1f6;
}

.quote span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.timeline {
  position: relative;
  margin: 32px 0 0;
  padding-left: 24px;
}

.timeline-diagram {
  margin: 24px 0 8px;
  display: grid;
  gap: 18px;
}

.diagram-row {
  display: grid;
  grid-template-columns: 60px 1fr 70px;
  align-items: center;
  gap: 12px;
}

.diagram-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-align: center;
}

.diagram-label-start {
  text-align: left;
}

.diagram-label-end {
  text-align: right;
}

.diagram-track {
  position: relative;
  height: 44px;
  background: transparent;
  border-radius: 999px;
  overflow: visible;
}

.diagram-track-label {
  position: absolute;
  top: -18px;
  transform: translateX(-50%);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.diagram-track-label-start {
  transform: translateX(0);
}

.diagram-track-label-end {
  transform: translateX(-90%);
}

.diagram-bar {
  position: absolute;
  left: var(--bar-left);
  width: var(--bar-width);
  top: 4px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-weight: 600;
  text-align: center;
  color: #0b0d14;
}

.diagram-bar--fundraising {
  background: rgba(242, 178, 29, 0.3);
}

.diagram-bar--campaign {
  padding: 0;
  overflow: visible;
  background: linear-gradient(
    to right,
    rgba(10, 75, 74, 0.25) 0%,
    rgba(10, 75, 74, 0.25) var(--split),
    rgba(10, 75, 74, 0.6) var(--split),
    rgba(10, 75, 74, 0.6) 100%
  );
}

.diagram-bar-label {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: #0b0d14;
  white-space: nowrap;
}

.diagram-bar-label-prep {
  left: 0;
  width: var(--split);
}

.diagram-bar-label-campaign {
  left: var(--split);
  width: calc(100% - var(--split));
  color: #f5f6f8;
}

.diagram-track-label-end {
  background: #0b0d14;
  color: #f2b21d;
  padding: 4px 8px;
  border-radius: 10px;
  top: -23px;
  transform: translateX(calc(-90% + 14px));
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 16px;
}

.timeline-heading {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.timeline-column .timeline {
  margin-top: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  width: 2px;
  background: rgba(11, 13, 20, 0.2);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 16px;
  padding: 8px 0 20px;
}

.timeline-item-highlight {
  background: rgba(242, 178, 29, 0.18);
  border-left: 4px solid #f2b21d;
  padding: 12px 12px 16px;
  border-radius: 16px;
}

.timeline-item-highlight .timeline-dot {
  background: #f2b21d;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b0d14;
  margin-top: 4px;
  z-index: 1;
}

.timeline-item.is-current .timeline-dot {
  background: #f2b21d;
  box-shadow: 0 0 0 4px rgba(242, 178, 29, 0.3);
}

.timeline-content h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 700;
}

.timeline-content ul {
  margin: 0;
}

.timeline-tag {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0b0d14;
  background: rgba(11, 13, 20, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.timeline-action {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.learn-more h3 {
  font-family: "Roboto", sans-serif;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.learn-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(28, 28, 28, 0.08);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.cta {
  background: linear-gradient(120deg, rgba(11, 13, 20, 0.1), rgba(11, 13, 20, 0.02));
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.map-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.boundaries-map {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.9rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
}

.legend-swatch.city {
  background: #caa100;
}

.legend-swatch.district {
  background: #117a47;
}

.legend-item.inactive {
  opacity: 0.5;
}

.map-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.map-lookup {
  margin-top: 16px;
  position: relative;
  z-index: 3;
}

.map-lookup label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.map-lookup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.map-lookup-input {
  position: relative;
}

.map-lookup input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11, 13, 20, 0.2);
  font-size: 1rem;
}

.map-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(11, 13, 20, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-height: 220px;
  overflow-y: auto;
  z-index: 5;
}

.suggestion-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.suggestion-item:hover {
  background: rgba(11, 13, 20, 0.06);
}

.map-lookup-result {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.map-lookup-result.success {
  color: #0b4f2f;
  font-weight: 700;
}

.map-lookup-result.neutral {
  color: var(--ink-soft);
}

.map-lookup-result.error {
  color: #b0182b;
  font-weight: 700;
}

.page-hero {
  padding: 70px 24px 20px;
}

.prose h2 {
  margin-top: 32px;
  font-size: 1.15rem;
  font-weight: 700;
}

.prose h1 {
  font-family: "Roboto", sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
}

.prose p {
  font-size: 1rem;
}

.faq-tools {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.section-shell.faq-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 24px;
}

.faq-sidebar {
  display: grid;
  gap: 18px;
  min-width: 0;
}

#faq-content {
  min-width: 0;
}

.faq-search label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-search input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11, 13, 20, 0.2);
  font-size: 1rem;
}

.faq-index h3 {
  margin-top: 0;
  font-family: "Roboto", sans-serif;
}

.signup label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.signup-row.signup-row-stack {
  grid-template-columns: 1fr;
}

.signup input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11, 13, 20, 0.2);
  font-size: 0.95rem;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 13, 20, 0.6);
  z-index: 40;
}

.newsletter-modal.is-open {
  display: flex;
}

.newsletter-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: min(460px, 90vw);
  box-shadow: var(--shadow);
}

.newsletter-dialog h3 {
  margin-top: 0;
  font-family: "Roboto", sans-serif;
}

.newsletter-dialog label {
  display: block;
  font-weight: 700;
  margin: 12px 0 6px;
  font-size: 0.85rem;
}

.newsletter-dialog input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11, 13, 20, 0.2);
  font-size: 0.95rem;
}

.newsletter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.faq-index ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.faq-index li {
  margin-bottom: 8px;
}

.faq-index nav ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
  counter-reset: item;
}

.faq-index nav ol > li {
  counter-increment: item;
}

.faq-index nav ol > li > a::before {
  content: counters(item, ".") ". ";
  font-weight: 700;
  margin-right: 4px;
}

.faq-index nav ol ol {
  padding-left: 18px;
}

.faq-index nav ol ol > li {
  counter-increment: item;
}

.faq-index nav ol ol > li > a::before {
  content: counters(item, ".") ". ";
  font-weight: 600;
  margin-right: 4px;
}

.faq-index,
#faq-content {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.faq-index a,
#faq-content p,
#faq-content li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(11, 13, 20, 0.08);
}

.faq-item h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.prose h3 {
  font-family: "Fraunces", serif;
}

.site-footer {
  padding: 28px 24px;
  background: #1b1a18;
  color: #f6f1ea;
}

.footer-shell {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  align-items: start;
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-heading {
  grid-column: 1;
  grid-row: 1;
}

.footer-heading h3 {
  margin: 0 0 4px;
}

.footer-contact {
  grid-column: 1;
  grid-row: 2;
}

.footer-contact p {
  margin: 0;
}

.footer-note {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.footer-note {
  color: rgba(246, 241, 234, 0.8);
}

.footer-note p {
  margin: 0;
}

@media (max-width: 768px) {
  .nav-shell {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 12px 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-cta {
    justify-content: center;
  }

  .home .brand,
  .home .nav-cta {
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  }

  .header-logo-visible .home .brand {
    justify-content: center;
    max-height: 80px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .header-logo-visible .home .nav-cta {
    max-height: 80px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .hero {
    padding-top: 0;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-logo-wrap {
    justify-content: center;
  }

  .hero-logo-edge {
    width: 220px;
    height: auto;
  }

  .hero-title {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo {
    margin: 0 auto;
    width: 180px;
    height: auto;
  }

  .hero-text h1,
  .hero-subhead,
  .hero-lead {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions-stack {
    padding: 12px 16px;
  }

  .button.large {
    width: 100%;
  }

  .stay-informed {
    padding: 16px;
    border-left: 0;
    border-top: 4px solid #0b0d14;
  }

  .goal-line {
    white-space: normal;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .stay-informed-edge {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .hero-blocks {
    grid-template-columns: 1fr;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }

  .fundraising-cta {
    margin-top: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .faq-tools {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 760px;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline-item {
    grid-template-columns: 12px 1fr;
    gap: 12px;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .diagram-row {
    grid-template-columns: 50px 1fr 60px;
  }


  .footer-heading,
  .footer-contact,
  .footer-note {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: fadeUp 0.8s ease both;
  }

  .hero-card {
    animation: fadeUp 0.8s ease 0.2s both;
  }

  .learn-card {
    animation: fadeIn 0.8s ease both;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.header-logo-visible .brand img {
  opacity: 1;
}

.header-logo-visible .brand span {
  opacity: 1;
  transform: translateY(0);
}

.header-logo-visible .nav-cta .button {
  opacity: 1;
  transform: translateY(0);
}
