:root {
  --ink: #17351f;
  --body: #26352b;
  --muted: #5c685f;
  --green: #2f6b3b;
  --green-dark: #173d25;
  --green-deep: #102f1b;
  --green-soft: #e8f0e6;
  --cream: #f5f1e8;
  --paper: #fffefa;
  --line: #d7ded5;
  --focus: #f0b429;
  --shadow: 0 16px 42px rgba(20, 54, 30, .11);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--body);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-dark);
  text-underline-offset: 3px;
}

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

button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: -9999px;
  top: 14px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: white;
  color: black;
}

.skip-link:focus { left: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, .97);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.brand {
  min-width: 250px;
  display: flex;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.12;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

.brand-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
}

.main-nav { margin-left: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: var(--body);
  font-size: .9rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--green-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .12s ease;
}

.menu-button:hover,
.menu-button:focus-visible {
  background: var(--green-soft);
  border-color: var(--green);
}

.menu-button:active {
  transform: translateY(1px);
  background: #dce8da;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--green-dark);
  border-radius: 999px;
  background: var(--green-dark);
  color: white;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(23, 61, 37, .16);
  transition:
    transform .14s ease,
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 61, 37, .24);
}

.button:active {
  background: #092412;
  border-color: #092412;
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(23, 61, 37, .18);
}

.button.secondary {
  background: transparent;
  color: var(--green-dark);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-deep);
  box-shadow: 0 7px 18px rgba(23, 61, 37, .10);
}

.button.secondary:active {
  background: #dce8da;
  transform: translateY(1px);
  box-shadow: none;
}

.header-cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 19px;
  font-size: .88rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.13;
  letter-spacing: -.025em;
}

.hero {
  padding: 70px 0 58px;
  background:
    radial-gradient(circle at 20% 0%, rgba(82, 127, 82, .12), transparent 30rem),
    linear-gradient(to bottom, var(--paper), var(--cream));
  text-align: center;
}

.hero-inner { max-width: 930px; }

.hero h1 {
  margin: 0 auto 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8.5vw, 6.8rem);
  font-weight: 400;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: clamp(1.03rem, 2vw, 1.23rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.comparison-section {
  padding: 16px 0 76px;
  background: var(--cream);
}

.comparison-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 18px;
}

.comparison-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  font-weight: 400;
}

.comparison-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.comparison {
  --position: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1528 / 805;
  border: 1px solid rgba(23, 61, 37, .18);
  border-radius: var(--radius);
  background: #cbd4c9;
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: pan-y;
}

.comparison-picture {
  position: absolute;
  inset: 0;
}

.comparison-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-picture.current {
  clip-path: inset(0 0 0 var(--position));
}

.year-label {
  position: absolute;
  top: 18px;
  z-index: 5;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(14, 29, 18, .82);
  color: white;
  font-size: .86rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.year-label.left { left: 18px; }
.year-label.right { right: 18px; }

.comparison input[type="range"] {
  position: absolute;
  z-index: 8;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.slider-line {
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: white;
  box-shadow: 0 0 0 1px rgba(0,0,0,.13);
  pointer-events: none;
}

.slider-handle {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: var(--position);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  pointer-events: none;
}

.comparison input[type="range"]:focus-visible ~ .slider-handle {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

.image-credit {
  margin: 11px 3px 0;
  color: var(--muted);
  font-size: .76rem;
}

.section { padding: 82px 0; }
.section.alt { background: var(--cream); }

.section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.6vw, 3.65rem);
  font-weight: 400;
}

.section-heading p {
  margin: 0;
  font-size: 1.06rem;
}

.compact-heading { margin-bottom: 30px; }

.two-column {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 44px;
  align-items: start;
}

.note-box {
  padding: 29px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
}

.note-box h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.note-box p { margin: 0 0 12px; }
.note-box p:last-child { margin-bottom: 0; }

.aim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.aim-card {
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.aim-card:hover {
  transform: translateY(-2px);
  border-color: #b6c7b8;
  box-shadow: 0 9px 24px rgba(20, 54, 30, .08);
}

.aim-card-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.aim-number {
  flex: 0 0 auto;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1;
}

.aim-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.aim-card p {
  margin: 0;
  color: var(--muted);
}

.join-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
}

.join-panel {
  padding: clamp(30px, 4.2vw, 50px);
  border-radius: var(--radius);
  background: var(--green-dark);
  color: #eef5ef;
}

.join-panel .eyebrow { color: #bdd0c0; }

.join-panel h2 {
  margin: 0 0 16px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.15rem);
  font-weight: 400;
}

.join-panel p:last-child { margin-bottom: 0; }

.form-panel {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.form-panel h3 {
  margin: 0 0 7px;
  font-size: 1.55rem;
}

.form-intro {
  margin: 0 0 24px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field {
  display: block;
  font-size: .9rem;
  font-weight: 700;
}

.field.full { grid-column: 1 / -1; }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #b8c4ba;
  border-radius: 8px;
  background: white;
  color: #162018;
}

input[type="text"],
input[type="email"] {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: 3px solid rgba(240, 180, 41, .52);
  outline-offset: 1px;
  border-color: var(--green-dark);
}

.optional { font-weight: 400; }

.choice-fieldset {
  margin: 5px 0 0;
  padding: 0;
  border: 0;
}

.choice-fieldset legend {
  margin-bottom: 10px;
  font-weight: 700;
}

.choice-fieldset legend span { font-weight: 400; }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
}

.choice-grid label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
}

.choice-grid input {
  flex: 0 0 auto;
  margin-top: 5px;
  accent-color: var(--green-dark);
}

.membership-terms {
  padding-top: 5px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 400;
}

.membership-terms p {
  margin: 0 0 9px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 400;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.info-card p { margin: 0; }

.team-note {
  max-width: 860px;
  margin: 24px 0 0;
}

.useful-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.resource-link {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.resource-link:hover,
.resource-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 9px 24px rgba(20, 54, 30, .09);
}

.resource-link:active { transform: translateY(1px); }

.resource-link strong { font-size: 1.08rem; }
.resource-link span { color: var(--muted); font-size: .86rem; }

.document-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.document-link {
  min-height: 105px;
  display: flex;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.document-link:hover,
.document-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 9px 24px rgba(20, 54, 30, .09);
}

.document-link:active { transform: translateY(1px); }
.document-link strong { font-size: 1.08rem; }

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: .84rem;
}

.footer-inner p { margin: 0; }

.page-hero {
  padding: 62px 0 44px;
  background: var(--cream);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 4.65rem);
  font-weight: 400;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
}

.document {
  max-width: 850px;
  padding-top: 58px;
  padding-bottom: 88px;
}

.document h2 {
  margin-top: 2.15em;
  font-size: 1.65rem;
}

.document h2:first-of-type { margin-top: 1.2em; }

.document ul { padding-left: 1.25rem; }
.document li { margin: .45rem 0; }

.adoption { margin-top: 52px; }

.signatures {
  margin-top: 50px;
  display: grid;
  gap: 34px;
}

.signature-line {
  padding-top: 18px;
  border-top: 1px solid #777;
}

.status-page {
  min-height: calc(100vh - 160px);
  display: grid;
  align-items: center;
  padding: 72px 0;
  background: var(--cream);
}

.status-card {
  max-width: 720px;
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.status-card h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 400;
}

.status-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.status-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

@media (max-width: 1040px) {
  .main-nav ul { gap: 17px; }
  .main-nav a { font-size: .86rem; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    text-align: right;
    box-shadow: 0 12px 24px rgba(20, 54, 30, .08);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
  }

  .main-nav a {
    display: block;
    padding: 7px 0;
    font-size: .95rem;
  }

  .two-column,
  .join-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-heading {
    display: block;
  }

  .comparison-heading p {
    margin-top: 8px;
  }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }

  .header-inner { min-height: 74px; }

  .brand {
    min-width: 0;
    max-width: 240px;
  }

  .brand-name { font-size: .95rem; }
  .brand-note { font-size: .72rem; }

  .main-nav { top: 74px; }

  .hero {
    padding-top: 50px;
    padding-bottom: 46px;
  }

  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.5rem); }

  .comparison-section { padding-bottom: 60px; }

  .comparison {
    aspect-ratio: 1.55 / 1;
    border-radius: 12px;
  }

  .comparison-picture img {
    object-fit: cover;
  }

  .slider-handle {
    width: 56px;
    height: 56px;
  }

  .section { padding: 64px 0; }

  .aim-grid,
  .info-grid,
  .useful-links-grid,
  .document-list,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .field.full { grid-column: auto; }

  .aim-card { min-height: 0; }

  .document-link { min-height: 88px; }

  .status-actions {
    display: grid;
  }

  .status-actions .button {
    width: 100%;
  }
}

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

  .button,
  .menu-button,
  .aim-card,
  .resource-link,
  .document-link {
    transition: none;
  }
}
