:root {
  --bg: #0c0d0b;
  --bg-2: #141512;
  --ink: #f3eee4;
  --muted: #9b9588;
  --line: rgba(243, 238, 228, 0.12);
  --moss: #b7c4a0;
  --moss-ink: #141512;
  --phone: #1a1b18;
  --screen: #11120f;
  --a: #2a2c27;
  --b: #24352a;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, "Segoe UI", sans-serif;
  background: radial-gradient(1200px 700px at 70% 20%, #1c2218 0%, var(--bg) 55%);
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

.top, .hero, .foot { position: relative; z-index: 1; }

.top {
  padding: 28px 32px 0;
}
.mark {
  font-family: "Instrument Serif", "Newsreader", serif;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 32px 64px;
  min-height: calc(100svh - 140px);
}

.copy h1 {
  font-family: "Instrument Serif", "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  max-width: 14ch;
}

.kicker {
  color: var(--moss);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  max-width: 32ch;
  margin: 0 0 32px;
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 440px;
}
.waitlist input {
  flex: 1 1 220px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  padding: 0 18px;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.waitlist input:focus {
  border-color: var(--moss);
}
.waitlist button {
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--moss);
  color: var(--moss-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 0 20px;
  cursor: pointer;
}
.waitlist button:disabled { opacity: 0.6; cursor: default; }
.form-status {
  flex-basis: 100%;
  min-height: 1.3em;
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.form-status.error { color: #e8a0a0; }
.form-status.ok { color: var(--moss); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.device { display: flex; justify-content: center; }
.phone {
  width: min(320px, 72vw);
  aspect-ratio: 9 / 19.2;
  background: var(--phone);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}
.notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 108px;
  height: 22px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 20px;
  z-index: 2;
}
.screen {
  height: 100%;
  border-radius: 34px;
  background: var(--screen);
  padding: 72px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.stage {
  margin: 0 8px 8px;
  text-align: center;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 13px;
  color: #8d887c;
}
.bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 18px;
}
.bubble p {
  margin: 4px 0 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
.who {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.bubble.a {
  align-self: flex-start;
  background: var(--a);
  border-bottom-left-radius: 6px;
}
.bubble.b {
  align-self: flex-end;
  background: var(--b);
  border-bottom-right-radius: 6px;
}
.listen {
  margin-top: auto;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 10px var(--moss);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

.foot {
  padding: 0 32px 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    min-height: unset;
  }
  .copy h1 { max-width: none; }
  .device { order: -1; }
  .phone { width: min(260px, 70vw); }
}
