:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #5e695e;
  --paper: #fffaf0;
  --surface: #ffffff;
  --leaf: #2d8a5f;
  --leaf-dark: #176144;
  --ember: #e6603f;
  --gold: #d6a33b;
  --aqua: #3085a4;
  --line: rgba(23, 33, 28, 0.16);
  --shadow: 0 18px 50px rgba(38, 45, 38, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-size: 16px;
  line-height: 1.6;
}

body.home {
  background: var(--paper);
}

body.policy,
body.support {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(245, 241, 226, 0.98)),
    url("/assets/home-background.png") center top / cover fixed;
}

a {
  color: var(--leaf-dark);
  text-decoration-color: rgba(45, 138, 95, 0.35);
  text-underline-offset: 0.18em;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(23, 33, 28, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--leaf-dark);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  color: #fffdf5;
  background:
    linear-gradient(90deg, rgba(16, 31, 26, 0.92) 0%, rgba(18, 43, 34, 0.76) 48%, rgba(18, 43, 34, 0.26) 100%),
    url("/assets/home-background.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0), var(--paper));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
  align-items: center;
  gap: 42px;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(82svh - 65px);
  margin: 0 auto;
  padding: 58px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f4c35e;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-copy .tagline {
  margin-bottom: 20px;
  color: #fff7df;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 800;
}

.hero-copy .summary {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 253, 245, 0.84);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #1e241d;
  box-shadow: 0 10px 24px rgba(214, 163, 59, 0.28);
}

.button.secondary {
  border-color: rgba(255, 253, 245, 0.58);
  color: #fffdf5;
}

.button.secondary:hover {
  background: rgba(255, 253, 245, 0.12);
}

.hero-art {
  align-self: end;
  justify-self: center;
  width: min(430px, 90%);
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.34));
}

main {
  display: block;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section.compact {
  padding-top: 42px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.section p {
  color: var(--muted);
}

.feature-grid,
.steps-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.step-card,
.support-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(23, 33, 28, 0.08);
}

.feature-card strong,
.step-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--leaf);
  color: #fffdf5;
  font-weight: 900;
}

.feature-card:nth-child(2) strong {
  background: var(--ember);
}

.feature-card:nth-child(3) strong {
  background: var(--aqua);
}

.split-band {
  background: #16342a;
  color: #fffdf5;
}

.split-band .section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.split-band p {
  color: rgba(255, 253, 245, 0.78);
}

.stat-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 253, 245, 0.18);
}

.stat-list b {
  color: #f4c35e;
}

.page-hero {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 34px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 4.7rem);
}

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

.content {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 80px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.content section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.content h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.content ul,
.content ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

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

.content .note {
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: rgba(214, 163, 59, 0.12);
  color: var(--ink);
}

.site-footer {
  background: #111915;
  color: rgba(255, 253, 245, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #fffdf5;
}

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

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-inner,
  .split-band .section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    display: block;
    padding-top: 46px;
    padding-bottom: 54px;
  }

  .hero-art {
    position: absolute;
    right: 8px;
    bottom: 22px;
    z-index: 0;
    width: min(260px, 62%);
    opacity: 0.86;
  }

  .feature-grid,
  .steps-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 24px;
  }

  .stat-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .nav,
  .section,
  .page-hero,
  .content,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 38px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-copy .tagline {
    font-size: 1.12rem;
  }

  .button {
    width: 100%;
  }
}
