:root {
  --ink: #14201c;
  --paper: #e7efe6;
  --paper-deep: #d3e0d5;
  --moss: #1f6b4a;
  --moss-hot: #178a58;
  --line: rgba(20, 32, 28, 0.16);
  --muted: rgba(20, 32, 28, 0.72);
  --shadow: 0 24px 60px rgba(20, 32, 28, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 12% -10%, #b7d7c4 0%, transparent 55%),
    radial-gradient(900px 600px at 100% 0%, #f3f7e8 0%, transparent 45%),
    linear-gradient(165deg, #f4f8f2 0%, var(--paper) 45%, var(--paper-deep) 100%);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 0;
  animation: rise 700ms ease-out both;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-tag {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.hero {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  animation: rise 900ms ease-out both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 32rem;
}

.waitlist input[type="email"] {
  flex: 1 1 14rem;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
}

.waitlist input[type="email"]:focus {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

.waitlist button {
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 0.4rem;
  background: var(--moss);
  color: #f4fff8;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.waitlist button:hover {
  background: var(--moss-hot);
}

.waitlist button:active {
  transform: translateY(1px);
}

.fineprint {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.waitlist-status {
  min-height: 1.4em;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.waitlist-status[data-tone="ok"] {
  color: var(--moss);
  font-weight: 600;
}

.waitlist-status[data-tone="error"] {
  color: #8b1e1e;
  font-weight: 600;
}

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

.band {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  animation: rise 1100ms ease-out both;
}

.band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.kit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.kit-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.kit-list.steps {
  list-style: decimal;
  padding-left: 1.25rem;
}

.kit-list.steps li {
  padding-left: 0.35rem;
}

.proof {
  padding-top: 0.5rem;
}

.proof p {
  padding: 1.1rem 1.15rem;
  border-left: 3px solid var(--moss);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.faq {
  margin: 0;
}

.faq > div {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.faq dt {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.faq dd {
  margin: 0;
  color: var(--muted);
}

.cta-close .text-cta {
  color: var(--moss);
  font-weight: 600;
  text-decoration: none;
}

.cta-close .text-cta:hover {
  text-decoration: underline;
}

footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .site-header,
  .hero,
  .band,
  .waitlist button {
    animation: none;
    transition: none;
  }
}
