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

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

body {
  margin: 0;
  background: #F6F2EA;
  color: #1E2B25;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(38px, 7vw, 60px);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(26px, 4.2vw, 34px);
}

h3 {
  font-size: 22px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9A5236;
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(20px, 2.8vw, 23px);
  line-height: 1.5;
  max-width: 34em;
}

.small {
  font-size: 14px;
  color: #5B6058;
}

a {
  color: #2E5A48;
  text-underline-offset: 3px;
}
a:hover {
  color: #9A5236;
}

:focus-visible {
  outline: 3px solid #2E5A48;
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  background: #1E2B25;
  color: #F6F2EA;
  padding: 8px 14px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
  color: #F6F2EA;
}

.site-header {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 28px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wordmark-mark {
  width: 40px;
  height: 28px;
  fill: none;
  stroke: #2E5A48;
  stroke-width: 2;
}
.wordmark-mark circle:nth-child(2) {
  stroke: #9A5236;
}

main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 20px;
}

section + section {
  margin-top: clamp(56px, 10vw, 96px);
}

.hero {
  padding-top: clamp(56px, 12vw, 120px);
}

.citizens {
  border-top: 1px solid #DDD4C6;
  padding-top: clamp(40px, 7vw, 56px);
}

.site-footer {
  width: 100%;
  max-width: 760px;
  margin: clamp(64px, 12vw, 110px) auto 0;
  padding: 24px 20px 40px;
  border-top: 1px solid #DDD4C6;
  font-size: 16px;
}
.site-footer p {
  margin-bottom: 0.4em;
}

.badge {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2E5A48;
  border: 1px solid #2E5A48;
  border-radius: 999px;
  padding: 4px 12px;
}

.btn {
  justify-self: start;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  background: #2E5A48;
  border: 0;
  border-radius: 10px;
  padding: 13px 28px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  background: #9A5236;
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

.pillar-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .pillar-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  background: #FFFCF7;
  border: 1px solid #DDD4C6;
  border-top: 3px solid #2E5A48;
  border-radius: 10px;
  padding: 22px 20px;
}
.pillar:nth-child(2) {
  border-top-color: #9A5236;
}
.pillar h3 {
  font-size: 20px;
  hyphens: auto;
  margin-bottom: 0.35em;
}
.pillar p {
  margin: 0;
  font-size: 16px;
  color: #5B6058;
}
.pillar-num {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: 15px;
  color: #5B6058;
  margin-bottom: 8px;
}

.signup {
  background: #FFFCF7;
  border: 1px solid #DDD4C6;
  border-radius: 16px;
  padding: clamp(24px, 5vw, 40px);
}

.signup-form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.field-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1.4fr;
  }
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: #1E2B25;
  background: #fff;
  border: 1.5px solid #DDD4C6;
  border-radius: 10px;
  padding: 12px 14px;
}
.field input:focus-visible {
  border-color: #2E5A48;
}
.field input[aria-invalid=true] {
  border-color: #9A5236;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  line-height: 1.5;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #2E5A48;
}

.form-status {
  margin: 0;
  font-weight: 600;
  min-height: 1.5em;
}
.form-status.is-error {
  color: #9A5236;
}
.form-status.is-success {
  color: #2E5A48;
}