:root {
  --ink: #0f1a2b;
  --navy: #0b1f4a;
  --paper: #e6eef8;
  --paper-deep: #d0dceb;
  --accent: #2a5fad;
  --accent-hot: #1f4f96;
  --line: rgba(15, 26, 43, 0.14);
  --muted: rgba(15, 26, 43, 0.72);
  --shadow: 0 24px 60px rgba(15, 26, 43, 0.14);
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "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(1100px 680px at 8% -12%, #9eb6db 0%, transparent 52%),
    radial-gradient(900px 560px at 100% 4%, #c8d6ec 0%, transparent 48%),
    linear-gradient(168deg, #eef3fa 0%, var(--paper) 48%, var(--paper-deep) 100%);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.07;
  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: 650;
  font-size: clamp(2.1rem, 5.2vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}

.brand-tag {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}

.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.55rem);
  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.35rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
}

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

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

.waitlist button:hover {
  background: var(--accent-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(--accent);
  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: 650;
  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(--accent);
  background: rgba(255, 255, 255, 0.48);
  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(--accent);
  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;
}

footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

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