:root {
  --ink: #1c1914;
  --ink-soft: #3f3a33;
  --paper: #f3efe6;
  --paper-2: #fffdf8;
  --line: #ddd4c4;
  --pine: #16352e;
  --pine-2: #1f4a40;
  --pine-deep: #10241f;
  --amber: #e7b008;
  --danger: #8c1d1d;
  --ok: #0f5132;
  --shadow: 0 1px 0 rgba(28, 25, 20, 0.04), 0 16px 40px rgba(28, 25, 20, 0.08);
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --max: 72rem;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--amber);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  letter-spacing: -0.03em;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: var(--pine);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--pine-2);
}

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

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

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  padding: 2.2rem 0 2.5rem;
}

.hero-inner,
.join-inner {
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--pine);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 span:first-child {
  display: block;
}

.measure {
  background-image: linear-gradient(#8a5a00, #8a5a00);
  background-repeat: no-repeat;
  background-size: 100% 0.16em;
  background-position: 0 88%;
}

.hero-subhead {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.lede,
.section-lede {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 2px solid var(--pine);
  border-radius: 8px;
  background: var(--pine);
  color: var(--paper-2);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--pine-2);
  border-color: var(--pine-2);
  color: var(--paper-2);
}

.button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.text-link {
  font-weight: 750;
}

.hero-copy {
  max-width: 40rem;
}

.tools {
  padding: 0.5rem 0 3.5rem;
}

.tool-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1rem 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.card:hover {
  border-color: #c9beab;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-index {
  color: var(--pine);
  font-weight: 750;
  letter-spacing: 0.08em;
}

.unit {
  min-width: 3.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.card h3 a {
  color: inherit;
  text-underline-offset: 0.16em;
}

.icon {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
  color: var(--pine);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card p {
  color: var(--ink-soft);
}

.join {
  background: var(--pine);
  color: var(--paper-2);
}

.join-copy h2,
.join-copy p {
  color: var(--paper-2);
}

.join-inner {
  padding: 3rem 0;
}

.form-card {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.noscript-note {
  margin-bottom: 0.8rem;
  color: var(--ink-soft);
}

.waitlist {
  display: grid;
  gap: 0.95rem;
}

.field label,
.consent label,
legend {
  font-weight: 700;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.req,
.optional {
  color: var(--ink-soft);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 2px solid #cfc6b6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input[type="email"]:hover,
input[type="text"]:hover {
  border-color: #b7ad9b;
}

input[aria-invalid="true"] {
  border-color: var(--danger);
}

::placeholder {
  color: #5c564c;
  opacity: 1;
}

fieldset {
  margin: 0;
  padding: 0.8rem 0.85rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}

legend {
  padding: 0 0.3rem;
}

.choices {
  display: grid;
  gap: 0.1rem;
}

.choices-pair {
  grid-template-columns: 1fr 1fr;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.45rem 0.1rem;
  font-weight: 650;
}

.choice input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--pine);
  flex: none;
}

.consent {
  align-items: flex-start;
}

.field-error {
  margin: 0;
  color: var(--danger);
  font-weight: 700;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 750;
}

.form-status.error {
  color: var(--danger);
}

.form-status.ok {
  color: var(--ok);
}

.privacy {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.turnstile {
  min-height: 65px;
}

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

.result {
  padding: 3.5rem 0 4.5rem;
}

.narrow {
  max-width: 40rem;
}

.narrow h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.narrow .button {
  margin-top: 1.25rem;
}

.site-footer {
  background: var(--pine-deep);
  color: var(--paper-2);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.site-footer p {
  color: var(--paper-2);
}

.site-footer a {
  color: var(--paper-2);
}

.legal {
  margin-top: 0.35rem;
}

@media (min-width: 40rem) {
  .tool-grid,
  .choices {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 60rem) {
  .hero {
    padding-top: 3.2rem;
  }

  .join-inner,
  .footer-inner {
    grid-template-columns: 1.25fr 0.85fr;
    align-items: start;
    gap: 3rem;
  }

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

  .form-card {
    padding: 1.4rem;
  }
}

@media (max-width: 40rem) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 24rem) {
  h1 {
    font-size: 2.35rem;
  }
}

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

  * {
    transition: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .button,
  .card,
  .form-card {
    border: 1px solid CanvasText;
  }
}
