:root {
  --forest: #113f29;
  --forest-deep: #0d3521;
  --paper: #f2eee4;
  --cream: #f6f2ea;
  --mint: #e8faee;
  --ink: #1c251f;
  --head: #20281f;
  --soft: #4b5a4e;
  --faint: #5c635b;
  --orange: #df5d21;
  --kicker-ink: #a83e14;
  --peach: #fbeae1;
  --on-forest: #f6f2ea;
  --on-forest-soft: rgba(246, 242, 234, 0.72);
  --on-forest-faint: rgba(246, 242, 234, 0.62);
  --rule: rgba(28, 37, 31, 0.16);
  --rule-forest: rgba(246, 242, 234, 0.22);
  --error: #9b2c1a;
  --card-shadow: 0 16px 40px -28px rgba(17, 63, 41, 0.45);
  --serif: "Besley", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.hero a:focus-visible,
.band a:focus-visible,
.btn-cream:focus-visible {
  outline-color: var(--mint);
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--cream);
  color: var(--forest);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Masthead */
.masthead {
  width: 100%;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.wordmark:hover {
  color: var(--ink);
}

.masthead-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: right;
  line-height: 1.7;
}

/* Kickers */
.kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kicker-ink);
  background: var(--peach);
  padding: 7px 14px;
  border-radius: 999px;
}

.kicker-mint {
  background: rgba(232, 250, 238, 0.14);
  color: var(--mint);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.16s ease;
}

.btn:hover {
  background: var(--forest-deep);
  color: #fff;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-cream {
  background: var(--cream);
  color: var(--forest);
}

.btn-cream:hover {
  background: #fff;
  color: var(--forest);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  background: var(--forest);
  color: var(--on-forest);
  text-align: center;
  padding: 88px 0 72px;
}

.hero .kicker {
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-accent {
  color: var(--mint);
  font-style: italic;
}

.hero .lede {
  font-size: 19px;
  color: var(--on-forest-soft);
  max-width: 52ch;
  margin: 24px auto 0;
}

.hero-cta {
  margin-top: 32px;
}

.hero-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-forest-faint);
  margin-top: 18px;
}

.facts {
  display: inline-flex;
  justify-content: center;
  margin: 56px auto 0;
}

.fact {
  padding: 2px 32px;
  border-left: 1px solid var(--rule-forest);
  text-align: center;
}

.fact:first-child {
  border-left: none;
  padding-left: 0;
}

.fact b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: #fff;
}

.fact span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
  color: var(--on-forest-faint);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-cream {
  background: var(--cream);
}

.section-mint {
  background: var(--mint);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .kicker {
  margin-bottom: 14px;
}

.section-head h2,
.split-copy h2,
.capture h2,
.page-card h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--head);
  line-height: 1.15;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
}

.section-head p,
.split-copy p {
  color: var(--soft);
  margin-top: 16px;
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.split-copy .kicker {
  margin-bottom: 14px;
}

.diagram {
  display: block;
  width: 100%;
  aspect-ratio: 800 / 500;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  background: var(--cream);
}

.cards,
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card,
.step {
  background: #fff;
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: var(--card-shadow);
}

.card h3,
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  color: var(--head);
  letter-spacing: -0.02em;
  margin: 10px 0;
}

.card p,
.step p {
  color: var(--soft);
  font-size: 15.5px;
}

.step .n {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Forest band */
.band {
  background: var(--forest);
  color: var(--on-forest);
  text-align: center;
  padding: 72px 0;
}

.band .kicker {
  margin-bottom: 16px;
}

.band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 18ch;
  margin: 0 auto 16px;
}

.band p {
  color: var(--on-forest-soft);
  max-width: 46ch;
  margin: 0 auto 28px;
}

/* Join / form */
.join-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 36px;
}

.join-head .kicker {
  margin-bottom: 14px;
}

.join-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.03em;
  color: var(--head);
}

.join-head p {
  color: var(--soft);
  margin-top: 14px;
}

.capture {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--card-shadow);
  max-width: 460px;
  margin: 0 auto;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--head);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
}

.field input:focus {
  outline: none;
  border-color: var(--forest);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(17, 63, 41, 0.12);
}

.form-error {
  font-size: 14px;
  text-align: center;
  color: var(--error);
  margin: 12px 0 0;
  min-height: 1.2em;
}

.form-error[hidden] {
  display: none;
}

.consent {
  font-size: 12px;
  text-align: center;
  margin-top: 14px;
  line-height: 1.7;
  color: var(--faint);
}

.consent a {
  color: var(--soft);
  text-underline-offset: 3px;
}

/* Inner pages */
.page {
  padding: 64px 0 88px;
}

.page-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: var(--card-shadow);
  max-width: 720px;
  margin: 0 auto;
}

.page-card h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 12px;
}

.page-card .lede {
  color: var(--soft);
  margin-bottom: 28px;
}

.page-card.confirm {
  text-align: center;
}

.page-card.confirm .kicker {
  margin-bottom: 14px;
}

.page-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--head);
  margin: 32px 0 12px;
}

.page-card p,
.page-card li {
  color: var(--soft);
  margin-bottom: 14px;
}

.page-card a {
  color: var(--forest);
}

.updated {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 24px;
}

.contact-box {
  background: var(--paper);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.contact-box a {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--forest);
  text-decoration: none;
}

.next-steps {
  list-style: none;
  background: var(--paper);
  border-radius: 12px;
  padding: 28px;
  text-align: left;
}

.next-steps li {
  display: flex;
  gap: 12px;
  color: var(--ink);
  margin-bottom: 14px;
}

.next-steps li:last-child {
  margin-bottom: 0;
}

.next-steps li::before {
  content: "→";
  color: var(--orange);
  flex: none;
}

.confirm-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.site-foot {
  border-top: 1px solid var(--rule);
  padding: 48px 0 40px;
}

.site-foot .disclaimer {
  max-width: 54ch;
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 20px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  text-decoration: none;
}

.foot-nav a:hover {
  color: var(--ink);
}

.copyright {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 20px;
}

/* Sticky mobile CTA */
.sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(242, 238, 228, 0.97);
  border-top: 1px solid var(--rule);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  transition: transform 0.25s ease;
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.sticky-msg {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--head);
}

.sticky .btn {
  min-height: 48px;
  padding: 12px 22px;
  white-space: nowrap;
}

.sticky.is-away {
  transform: translateY(110%);
  pointer-events: none;
}

@media (max-width: 700px) {
  body.has-sticky {
    padding-bottom: 88px;
  }

  .sticky {
    display: block;
  }

  .facts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .fact {
    border-left: none;
    padding: 0;
  }

  .masthead-meta {
    max-width: 42vw;
  }
}

@media (min-width: 701px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .btn,
  .sticky {
    transition: none;
  }

  .sticky.is-away {
    transform: none;
    display: none;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 64px 0;
  }

  .page-card,
  .capture {
    padding: 28px 22px;
  }
}
