:root {
  --ink: #253226;
  --ink-soft: #59645a;
  --paper: #f5f1e7;
  --paper-bright: #fffdf7;
  --sage: #5b7256;
  --sage-deep: #3f583c;
  --sage-wash: #e3e9dc;
  --terracotta: #a95338;
  --line: #cfd2c7;
  --danger: #8b321f;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(169, 83, 56, 0.08), transparent 30rem),
    radial-gradient(circle at 95% 88%, rgba(91, 114, 86, 0.12), transparent 34rem),
    var(--paper);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

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

.site-header,
.site-footer,
.page-shell {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  border-bottom: 1px solid rgba(62, 75, 58, 0.2);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: none;
}

.wordmark-mark {
  width: 23px;
  height: 30px;
  border-radius: 90% 15% 90% 15%;
  background: var(--sage);
  transform: rotate(-28deg);
}

.header-note,
.site-footer {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-shell {
  margin-block: 38px 64px;
}

.signup-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(74, 84, 68, 0.24);
  background: var(--paper-bright);
  box-shadow: 0 26px 72px rgba(49, 55, 42, 0.14);
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
}

.editorial-copy {
  padding: clamp(40px, 6vw, 78px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1;
}

.lede {
  max-width: 650px;
  margin: 24px 0 34px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
}

.newsletter-form {
  max-width: 680px;
}

.field {
  margin-bottom: 28px;
}

.field label,
legend {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 58px;
  padding: 13px 15px;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
}

.field input:focus,
.field input[aria-invalid="true"] {
  border-color: var(--sage-deep);
  outline: 4px solid rgba(91, 114, 86, 0.2);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-help {
  margin: -3px 0 12px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.choice-list {
  display: grid;
  gap: 11px;
}

.choice-card {
  position: relative;
  display: grid;
  min-height: 92px;
  padding: 17px 56px 17px 52px;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  align-items: center;
}

.choice-card:hover {
  border-color: var(--sage);
}

.choice-card:has(input:checked) {
  border-color: var(--sage-deep);
  background: var(--sage-wash);
}

.choice-card:has(input:focus-visible) {
  outline: 4px solid rgba(169, 83, 56, 0.35);
  outline-offset: 3px;
}

.choice-card input {
  position: absolute;
  left: 18px;
  width: 22px;
  height: 22px;
  accent-color: var(--sage-deep);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.22;
}

.choice-card small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.choice-mark {
  position: absolute;
  right: 18px;
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--sage-deep);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
  opacity: 0;
  place-items: center;
}

.choice-card:has(input:checked) .choice-mark {
  opacity: 1;
}

.data-notice {
  margin: 25px 0 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--sage);
  background: #f0f3eb;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.consent-row {
  display: grid;
  cursor: pointer;
  gap: 13px;
  grid-template-columns: 26px 1fr;
  line-height: 1.55;
}

.consent-row input {
  width: 24px;
  height: 24px;
  margin: 3px 0 0;
  accent-color: var(--sage-deep);
}

.consent-row input:focus-visible {
  outline: 4px solid rgba(169, 83, 56, 0.4);
  outline-offset: 3px;
}

.field-error {
  margin: 9px 0 0;
  color: var(--danger);
  font-size: 0.94rem;
  font-weight: 800;
}

.primary-button {
  width: 100%;
  min-height: 60px;
  margin-top: 25px;
  border: 0;
  border-radius: 3px;
  background: var(--sage-deep);
  color: white;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.primary-button:hover {
  background: #30462f;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.primary-button:focus-visible,
.privacy-link:focus-visible,
a:focus-visible {
  outline: 4px solid rgba(169, 83, 56, 0.45);
  outline-offset: 3px;
}

.form-status {
  min-height: 1.6em;
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.privacy-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--sage-deep);
  font-size: 0.92rem;
  text-underline-offset: 4px;
}

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

.hero-figure {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #d8d1bf;
}

.hero-figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(27, 40, 28, 0.72));
  content: "";
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure figcaption {
  position: absolute;
  right: 38px;
  bottom: 34px;
  left: 38px;
  z-index: 1;
  color: white;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  line-height: 1.1;
}

.success-card {
  width: min(720px, 100%);
  margin: 10vh auto;
  padding: clamp(38px, 8vw, 76px);
  border-top: 6px solid var(--sage);
  background: var(--paper-bright);
  box-shadow: 0 26px 72px rgba(49, 55, 42, 0.14);
  text-align: center;
}

.success-card p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.success-card .small-note {
  font-size: 0.92rem;
}

.success-symbol {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--sage-wash);
  color: var(--sage-deep);
  font-size: 1.8rem;
  font-weight: 900;
  place-items: center;
}

.site-footer {
  border-top: 1px solid rgba(62, 75, 58, 0.2);
}

.site-footer a {
  text-transform: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 940px) {
  .signup-panel {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    min-height: 360px;
    grid-row: 2;
  }

  .editorial-copy {
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .page-shell {
    width: min(100% - 24px, 1280px);
  }

  .header-note {
    display: none;
  }

  .page-shell {
    margin-top: 12px;
  }

  .editorial-copy {
    padding: 32px 20px 38px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-figure {
    min-height: 290px;
  }

  .hero-figure figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .choice-card {
    padding-right: 46px;
  }

  .site-footer {
    min-height: 110px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }
}

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