:root {
  --ink: #07172d;
  --ink-soft: #172943;
  --muted: #64748b;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dbe3ec;
  --line-strong: #c7d3df;
  --blue: #2268e8;
  --blue-2: #1748a6;
  --blue-soft: #e8f1ff;
  --red: #df2d3f;
  --gold: #b8781b;
  --cream: #fff9ea;
  --success: #13784f;
  --on-accent: #ffffff;
  --accent-text: #ffffff;
  --cta-bg: linear-gradient(135deg, var(--blue), var(--blue-2));
  --cta-hover-bg: linear-gradient(135deg, var(--ink), var(--blue-2));
  --body-bg:
    radial-gradient(circle at 16% -8%, rgba(34, 104, 232, 0.13), transparent 30%),
    linear-gradient(180deg, #fbfcfe 0%, var(--paper) 34%, #f2f6fa 100%);
  --topbar-bg: rgba(248, 251, 255, 0.88);
  --topbar-border: rgba(199, 211, 223, 0.78);
  --topbar-inset: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  --surface: rgba(255,255,255,0.9);
  --surface-soft: rgba(255,255,255,0.68);
  --surface-glass: rgba(255,255,255,0.62);
  --surface-solid: #ffffff;
  --surface-raised: #ffffff;
  --control-bg: #ffffff;
  --border-glass: rgba(199, 211, 223, 0.72);
  --active-soft: rgba(34, 104, 232, 0.1);
  --hero-overlay: linear-gradient(90deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.93) 46%, rgba(248, 251, 255, 0.34) 78%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.93) 53%, rgba(248, 251, 255, 0.76) 100%);
  --hero-frame: rgba(255,255,255,0.8);
  --text-soft: #2f4159;
  --text-card: #47566b;
  --text-form: #394a61;
  --focus-ring: rgba(34, 104, 232, 0.22);
  --focus-ring-soft: rgba(34, 104, 232, 0.18);
  --cta-shadow: 0 10px 22px rgba(34, 104, 232, 0.24);
  --shadow-sm: 0 8px 22px rgba(7, 23, 45, 0.07);
  --shadow-md: 0 18px 46px rgba(7, 23, 45, 0.12);
  --shadow-lg: 0 34px 90px rgba(7, 23, 45, 0.18);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #eef5ff;
  --ink-soft: #d8e5f6;
  --muted: #9fb0c8;
  --paper: #0d1523;
  --white: #121d2d;
  --line: #26354b;
  --line-strong: #3a4b63;
  --blue: #70a1ff;
  --blue-2: #9bbcff;
  --blue-soft: rgba(112, 161, 255, 0.16);
  --red: #ff5b72;
  --gold: #e5ad52;
  --cream: rgba(229, 173, 82, 0.13);
  --success: #67d3a3;
  --accent-text: #07172d;
  --cta-bg: linear-gradient(135deg, #8bb5ff, #6795f5);
  --cta-hover-bg: linear-gradient(135deg, #d7e7ff, #82aefc);
  --body-bg:
    radial-gradient(circle at 16% -8%, rgba(112, 161, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #080d16 0%, #0d1523 44%, #111827 100%);
  --topbar-bg: rgba(9, 15, 26, 0.88);
  --topbar-border: rgba(58, 75, 99, 0.78);
  --topbar-inset: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --surface: rgba(18, 29, 45, 0.9);
  --surface-soft: rgba(20, 32, 49, 0.72);
  --surface-glass: rgba(18, 29, 45, 0.66);
  --surface-solid: #121d2d;
  --surface-raised: #162236;
  --control-bg: #101a2a;
  --border-glass: rgba(58, 75, 99, 0.72);
  --active-soft: rgba(112, 161, 255, 0.16);
  --hero-overlay: linear-gradient(90deg, rgba(8, 13, 22, 0.98) 0%, rgba(10, 18, 31, 0.94) 48%, rgba(10, 18, 31, 0.42) 82%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(8, 13, 22, 0.99) 0%, rgba(10, 18, 31, 0.95) 56%, rgba(10, 18, 31, 0.8) 100%);
  --hero-frame: rgba(238, 245, 255, 0.2);
  --text-soft: #c4d0e1;
  --text-card: #b3c0d2;
  --text-form: #d8e5f6;
  --focus-ring: rgba(112, 161, 255, 0.32);
  --focus-ring-soft: rgba(112, 161, 255, 0.24);
  --cta-shadow: 0 10px 26px rgba(112, 161, 255, 0.22);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--body-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); max-width: 900px; }
h2 { font-size: clamp(1.7rem, 2.3vw, 2.45rem); margin-bottom: 1rem; }
h3 { font-size: 1.08rem; margin-bottom: 0.48rem; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-accent);
  font-weight: 850;
}
.skip-link:focus { transform: translateY(0); text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--topbar-border);
  background: var(--topbar-bg);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: var(--topbar-inset);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand strong { display: block; font-size: 1rem; line-height: 1.05; letter-spacing: 0; }
.brand small { display: block; color: var(--muted); font-size: 0.76rem; line-height: 1.2; margin-top: 3px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: var(--radius);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 0.82rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(135deg, #0b2a68 0%, var(--blue) 56%, var(--red) 100%);
  box-shadow: var(--shadow-sm);
}
.top-brand { flex: 0 0 auto; }

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
}
.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.top-nav a:hover,
.top-nav a.active {
  background: var(--active-soft);
  color: var(--blue-2);
  text-decoration: none;
}
.top-nav a:hover { transform: translateY(-1px); }
.top-nav a.nav-cta {
  color: var(--accent-text);
  background: var(--cta-bg);
  box-shadow: var(--cta-shadow);
  padding-inline: 14px;
}
.top-nav a.nav-cta:visited {
  color: var(--accent-text);
}
.top-nav a.nav-cta:hover,
.top-nav a.nav-cta.active {
  color: var(--accent-text);
  background: var(--cta-hover-bg);
}
.theme-toggle {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}
.theme-toggle button {
  min-height: 32px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  padding: 6px 8px;
  color: var(--muted);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}
.theme-toggle button:hover,
.theme-toggle button.active {
  color: var(--ink);
  background: var(--surface-raised);
  text-decoration: none;
}
.top-menu-button {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--control-bg);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.standard-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 24px 80px;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 78px));
  display: grid;
  align-items: center;
  margin: 8px 0 22px;
  padding: clamp(42px, 7vw, 78px);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background:
    var(--hero-overlay),
    url("../img/civic-abundance-hero.png") center right / cover no-repeat;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 18px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--blue));
  box-shadow: 0 0 34px rgba(34, 104, 232, 0.25);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 26px 24px auto;
  width: min(330px, 30vw);
  aspect-ratio: 1.5;
  border-right: 1px solid var(--hero-frame);
  border-bottom: 1px solid var(--hero-frame);
  opacity: 0.65;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
  animation: heroRise 720ms cubic-bezier(.2,.8,.2,1) both;
}
.hero h1 { margin-top: 14px; text-wrap: balance; }
.home-page .hero .lede {
  max-width: 720px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  margin-top: 20px;
}
.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-2);
  background: var(--blue-soft);
  font-weight: 850;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  font-weight: 850;
  font-size: 0.94rem;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.button.primary { color: var(--accent-text); border-color: transparent; background: var(--cta-bg); }
.button.primary:visited { color: var(--accent-text); }
.button.ghost { color: var(--blue-2); background: var(--surface-soft); }
.button.small { min-height: 34px; padding: 6px 10px; font-size: 0.82rem; }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 46px;
}
.badge-row span,
.type {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 0.79rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  animation: chipIn 520ms cubic-bezier(.2,.8,.2,1) both;
}
.badge-row span:nth-child(2) { animation-delay: 45ms; }
.badge-row span:nth-child(3) { animation-delay: 90ms; }
.badge-row span:nth-child(4) { animation-delay: 135ms; }
.badge-row span:nth-child(5) { animation-delay: 180ms; }
.badge-row span:nth-child(6) { animation-delay: 225ms; }
.badge-row span:nth-child(7) { animation-delay: 270ms; }
.badge-row span:nth-child(8) { animation-delay: 315ms; }
.badge-row span:nth-child(9) { animation-delay: 360ms; }

.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 860px) 210px;
  gap: 34px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 28px 0;
}
.sidebar {
  position: sticky;
  top: 74px;
  height: calc(100vh - 92px);
  overflow-y: auto;
  align-self: start;
  padding: 18px 12px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background: var(--surface-glass);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.doc-nav-shell {
  display: grid;
  gap: 10px;
}
.doc-nav-shell strong {
  display: block;
  padding: 0 9px 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.16;
}
.doc-nav-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px 0;
}
.doc-nav {
  display: grid;
  gap: 3px;
  border-left: 1px solid var(--line-strong);
  margin-left: 9px;
  padding-left: 8px;
}
.doc-nav a,
.empty-doc-nav {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.25;
}
.empty-doc-nav {
  font-style: italic;
}
.doc-nav a.active,
.doc-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-2);
  text-decoration: none;
}

.content { min-width: 0; padding: 22px 0 78px; }
.toc {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 18px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.toc strong {
  color: var(--ink);
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.toc nav { display: grid; gap: 8px; border-left: 1px solid var(--line-strong); padding-left: 12px; }
.toc a { color: var(--muted); line-height: 1.25; }
.toc a.active,
.toc a:hover { color: var(--blue); text-decoration: none; }

.page-header {
  position: relative;
  padding: 28px 0 34px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { font-size: clamp(2.6rem, 5.6vw, 5.8rem); text-wrap: balance; }
.page-header .lede {
  max-width: 800px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  margin-top: 16px;
}
.page-header::after {
  content: "";
  display: block;
  width: 132px;
  height: 5px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}

.section { padding: 38px 0; border-bottom: 1px solid var(--line); }
.section-subtitle { color: var(--muted); max-width: 720px; }
.split-line {
  padding: 32px 28px;
  margin: 0 0 10px;
  border: 1px solid var(--border-glass);
  border-top: 5px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    linear-gradient(90deg, var(--red), var(--blue)) border-box;
  box-shadow: var(--shadow-sm);
}

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.map-grid { grid-template-columns: repeat(5, minmax(180px, 1fr)); }
.card,
.resource-card,
.status-box,
.callout,
.donation-panel {
  background: var(--surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.card { min-height: 156px; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.card p { color: var(--text-card); font-size: 0.95rem; margin-bottom: 0; }
.link-card { color: inherit; display: block; }
.link-card:hover {
  text-decoration: none;
  border-color: var(--blue);
  background: var(--surface-raised);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-kicker { display: block; color: var(--red); font-weight: 900; font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.card-arrow { display: inline-flex; color: var(--blue); font-weight: 900; font-size: 0.84rem; margin-top: 14px; }

.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
blockquote {
  margin: 0;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.callout { margin-top: 16px; border-left: 5px solid var(--blue); color: var(--ink-soft); }
.callout.strong { border-left-color: var(--red); font-weight: 850; color: var(--ink); }
.callout.legal { background: var(--cream); border-left-color: var(--gold); }
.status-box { border-top: 5px solid var(--blue); margin: 26px 0 4px; }
.check-list, .plain-list { padding-left: 1.2rem; margin: 0; }
.check-list li { margin-bottom: 0.45rem; }
.number-list { margin: 0; padding-left: 1.4rem; }
.number-list li { margin-bottom: 0.3rem; }

.join-form { display: grid; gap: 14px; max-width: 760px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label { display: grid; gap: 6px; font-weight: 800; color: var(--ink); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--control-bg);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus-ring-soft); border-color: var(--blue); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
legend { font-weight: 900; color: var(--ink); padding: 0 6px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.checkbox-grid label { display: flex; gap: 8px; align-items: center; font-weight: 650; color: var(--text-form); }
.checkbox-grid input { width: auto; }
.form-message { color: var(--success); font-weight: 850; min-height: 1.3em; margin: 0; }

.donation-panel { display: grid; gap: 16px; max-width: 680px; margin: 18px 0; }
.amounts, .filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.amounts button,
.filter-tabs button {
  border: 1px solid var(--line);
  background: var(--control-bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
  cursor: pointer;
}
.amounts button.active,
.filter-tabs button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.resource-card { display: grid; gap: 8px; align-content: start; }
.resource-card .source { color: var(--muted); font-weight: 850; margin: 0; }
.type { margin-left: 6px; background: var(--cream); }
.note { color: var(--muted); margin-top: 16px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius); }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); background: var(--blue-soft); }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.footer-links a { color: var(--ink); font-weight: 850; }

.reveal {
  opacity: 1;
  transform: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes chipIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1240px) {
  .topbar-inner { flex-wrap: wrap; gap: 10px; }
  .top-menu-button { display: inline-flex; }
  .theme-toggle { margin-left: 0; }
  .top-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .top-nav-open .top-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-nav a { justify-content: flex-start; }
}

@media (max-width: 1180px) {
  .layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .toc { display: none; }
  .map-grid, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.6rem); }
  .topbar-inner { padding: 9px 14px; }
  .top-brand { order: 1; }
  .top-menu-button { order: 2; }
  .theme-toggle {
    order: 3;
    width: 100%;
  }
  .theme-toggle button { min-height: 34px; }
  .top-nav { order: 4; }
  .brand small { display: none; }
  .brand strong { font-size: 0.92rem; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .top-nav-open .top-nav { grid-template-columns: 1fr; }
  .standard-content { padding: 18px 16px 58px; }
  .hero {
    min-height: 590px;
    padding: 42px 24px 34px;
    background:
      var(--hero-overlay-mobile),
      url("../img/civic-abundance-hero.png") center bottom / cover no-repeat;
  }
  .hero::before { inset: 18px auto 18px 14px; width: 4px; }
  .hero::after { display: none; }
  .button-row { align-items: stretch; }
  .button-row .button { width: 100%; }
  .badge-row { margin-bottom: 30px; }
  .layout { display: block; padding: 18px 16px 0; }
  .sidebar {
    display: none;
  }
  .content { padding-top: 0; }
  .page-header { padding-top: 10px; }
  .card-grid, .card-grid.two, .card-grid.three, .card-grid.four, .map-grid, .quote-grid, .resource-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .checkbox-grid { grid-template-columns: 1fr; }
  .split-line { padding: 26px 20px; }
  .site-footer { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
