:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --ink: #18231f;
  --muted: #53615b;
  --line: #d9ded7;
  --green: #2f6f4e;
  --green-dark: #214d38;
  --yellow: #f0c84b;
  --blue: #285f8f;
  --red: #9e3f32;
  --focus: #111111;
  --shadow: 0 10px 24px rgba(24, 35, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--green-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #123224;
}

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #111111;
  transform: translateY(-200%);
}

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.masthead,
.nav-inner,
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 92px;
}

.brand-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.top-callout {
  border-left: 4px solid var(--yellow);
  padding-left: 1rem;
  max-width: 31rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-nav {
  background: var(--green);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--green-dark);
}

.hero {
  background: #e9efe9;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2rem, 6vw, 3.8rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

p,
ul,
ol {
  margin-top: 0;
}

.lead {
  max-width: 46rem;
  color: #314039;
  font-size: 1.18rem;
}

.hero-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #dde4dc;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--green-dark);
  border-radius: 6px;
  background: var(--green-dark);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #173626;
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--green-dark);
}

.button.secondary:hover {
  background: #eef4ee;
  color: var(--green-dark);
}

.button.warning {
  border-color: #745700;
  background: var(--yellow);
  color: #191300;
}

.section {
  padding: 2.5rem 0;
}

.section.tight {
  padding-top: 1.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card-action {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.card-action:hover {
  border-color: #9fb3a8;
  color: var(--ink);
  transform: translateY(-2px);
}

.card-action:focus {
  color: var(--ink);
}

.card-action .card-link {
  text-decoration: underline;
}

.linked-image {
  display: block;
}

.card p:last-child,
.panel p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.card-link {
  color: var(--green-dark);
  font-weight: 700;
}

.notice {
  padding: 1.25rem;
  border-left: 6px solid var(--yellow);
  background: #fff8db;
}

.panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.info-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding-left: 1rem;
  border-left: 4px solid var(--green);
}

.info-list a {
  color: inherit;
  font-weight: 700;
}

.steps {
  counter-reset: steps;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 0.2rem 0 1rem 3rem;
}

.steps li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  counter-increment: steps;
  content: counter(steps);
}

.page-heading {
  padding: 2.2rem 0 1.4rem;
}

.page-heading h1 {
  max-width: 16ch;
}

.breadcrumb {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.supporters {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1rem;
  align-items: center;
}

.supporters img {
  max-height: 74px;
  margin: 0 auto;
  object-fit: contain;
}

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem;
  border: 2px solid #8c9993;
  border-radius: 5px;
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 2rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.small {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .masthead,
  .hero-grid,
  .footer-grid,
  .contact-block {
    grid-template-columns: 1fr;
  }

  .masthead {
    display: grid;
  }

  .top-callout {
    max-width: none;
  }

  .hero-grid {
    padding: 1.6rem 0;
  }

  .grid.three,
  .grid.two,
  .supporters {
    grid-template-columns: 1fr;
  }

  .site-nav a {
    flex: 1 1 45%;
  }
}

@media (max-width: 520px) {
  .masthead,
  .nav-inner,
  .wrap {
    width: min(100% - 1rem, 1120px);
  }

  .brand img {
    width: 72px;
  }

  .site-nav a {
    flex-basis: 100%;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 1.7rem 0;
  }
}
