:root {
  color-scheme: light dark;
  --background: #eef2f4;
  --surface: #f8fafb;
  --surface-muted: #e3eaed;
  --text: #182127;
  --muted: #58666e;
  --accent: #276a5a;
  --accent-strong: #185144;
  --accent-soft: #d8e9e3;
  --line: #c8d3d8;
  --focus: #19705d;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 85% 4%, rgb(39 106 90 / 0.09), transparent 24rem),
    var(--background);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--text);
  color: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(100% - 40px, 1080px);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 760;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
}

.page-shell {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
  padding-block: 64px 88px;
}

.hero {
  max-width: 760px;
  padding-bottom: 48px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 8vw, 5.2rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.lede {
  max-width: 64ch;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 72px;
  align-items: start;
}

.policy-sections {
  display: grid;
  gap: 0;
}

.policy-section {
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.policy-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.policy-section li + li {
  margin-top: 10px;
}

.aside-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.aside-panel {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.aside-panel h2 {
  font-size: 1.1rem;
}

.aside-panel dl {
  margin: 0;
}

.aside-panel div {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.aside-panel div:first-child {
  padding-top: 0;
  border-top: 0;
}

.aside-panel dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.aside-panel dd {
  margin: 3px 0 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.support-layout {
  max-width: 860px;
  display: grid;
  gap: 40px;
}

.contact-panel {
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgb(39 106 90 / 0.08), transparent 70%),
    var(--surface);
}

.contact-panel .contact-link {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.support-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.support-group {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.support-group p:last-child,
.support-group ul:last-child {
  margin-bottom: 0;
}

.support-group ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.support-group li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-soft);
}

.site-footer {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
  padding-block: 24px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a {
  color: inherit;
}

.footer-note {
  margin: 10px 0 0;
}

.home-main {
  width: min(100% - 40px, 1080px);
  min-height: calc(100dvh - 150px);
  margin-inline: auto;
  display: grid;
  align-content: center;
  padding-block: 64px;
}

.home-main .wordmark {
  margin: 0;
  font-size: clamp(3.8rem, 14vw, 9rem);
  font-weight: 720;
  letter-spacing: -0.08em;
  line-height: 0.88;
}

.home-main .status {
  width: fit-content;
  max-width: 58ch;
  margin: 34px 0 0;
  padding-top: 16px;
  border-top: 3px solid var(--accent);
  color: var(--muted);
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #11181c;
    --surface: #182126;
    --surface-muted: #222e34;
    --text: #edf2f3;
    --muted: #adbac0;
    --accent: #6ab29f;
    --accent-strong: #85c7b6;
    --accent-soft: #203c35;
    --line: #344249;
    --focus: #8bd6c1;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 32px, 1080px);
    min-height: 64px;
    gap: 18px;
  }

  .site-nav {
    gap: 16px;
  }

  .page-shell,
  .site-footer,
  .home-main {
    width: min(100% - 32px, 1080px);
  }

  .page-shell {
    padding-block: 44px 64px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .aside-panel {
    position: static;
  }

  .support-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .site-header {
    align-items: flex-start;
    padding-block: 14px;
  }

  .site-nav {
    align-items: flex-end;
    flex-direction: column;
    gap: 2px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
