/* Waitlist page styles. System fonts only, no external requests. */
:root {
  --fog: #e4e8ec;
  --paper: #f4f6f8;
  --ink: #0f1115;
  --slate: #465160;
  --caption: #ffd92e;
  --signal: #1f3dff;
  --sans: "SF Pro Display", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(1.25rem, 5vw, 4rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font: 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.top, .hero, .price, .how, .faq, footer { padding-inline: var(--pad); }
.top { display: flex; justify-content: space-between; align-items: center; padding-block: 1.25rem; }
.mark { font-weight: 900; letter-spacing: -0.02em; text-decoration: none; font-size: 1.15rem; }
.tag { font: 600 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; border: 1.5px solid var(--ink); border-radius: 99px; padding: 0.25rem 0.7rem; }

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.035em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 900; }
h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(1.5rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); max-width: 80rem; margin-inline: auto; }
.eyebrow { font: 600 0.8rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); margin: 0 0 1.25rem; }
.lede { max-width: 34rem; color: var(--slate); font-size: 1.2rem; margin: 1.5rem 0 2rem; }

.join label { display: block; font: 600 0.8rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.join .row { display: flex; gap: 0.6rem; flex-wrap: wrap; max-width: 36rem; }
.join input[type="email"] { flex: 1 1 14rem; min-width: 0; font: inherit; padding: 0.9rem 1rem; border: 2px solid var(--ink); border-radius: 0.6rem; background: var(--paper); color: var(--ink); }
.join button { flex: 0 1 auto; font: 800 1rem var(--sans); padding: 0.9rem 1.25rem; border: 2px solid var(--ink); border-radius: 0.6rem; background: var(--caption); color: var(--ink); cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform 0.12s, box-shadow 0.12s; }
.join button:hover:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.join button:disabled { opacity: 0.6; cursor: wait; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { max-width: 36rem; margin: 1rem 0 0; font-size: 0.95rem; color: var(--slate); }
.note.thanks { color: var(--ink); font-weight: 700; font-size: 1.15rem; padding: 1rem 1.25rem; background: var(--caption); border: 2px solid var(--ink); border-radius: 0.6rem; }
.note.error { color: #a1102a; font-weight: 600; }

/* The signature: a 9:16 frame whose caption lights one word at a time. */
.phone { margin: 0; justify-self: center; width: min(100%, 19rem); }
.screen { position: relative; aspect-ratio: 9 / 16; border-radius: 2rem; border: 0.5rem solid var(--ink); overflow: hidden; display: grid; place-items: center; padding: 1.25rem; background: linear-gradient(165deg, #2a3a6b 0%, #5b3a7a 55%, #b5546a 100%); }
.glow { position: absolute; inset: auto -20% -25% -20%; height: 55%; background: radial-gradient(closest-side, rgba(255, 217, 46, 0.35), transparent); }
.caption { position: relative; margin: 0; text-align: center; font-weight: 900; font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.3; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.35); }
.caption span { --i: 0; display: inline-block; padding: 0 0.18em; border-radius: 0.2em; animation: word 4.2s steps(1, end) infinite; animation-delay: calc(var(--i) * 0.6s); }
.caption span:nth-child(2) { --i: 1; }
.caption span:nth-child(3) { --i: 2; }
.caption span:nth-child(4) { --i: 3; }
.caption span:nth-child(5) { --i: 4; }
.caption span:nth-child(6) { --i: 5; }
@keyframes word {
  0% { background: var(--caption); color: var(--ink); text-shadow: none; transform: scale(1.1) rotate(-2deg); }
  14% { background: transparent; color: #fff; transform: none; }
  100% { background: transparent; color: #fff; transform: none; }
}
.phone figcaption { margin-top: 0.8rem; font: 0.75rem var(--mono); color: var(--slate); text-align: center; }

.price { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 7vw, 5.5rem); }
.price h2 { color: var(--caption); font-size: clamp(3rem, 9vw, 7rem); }
.price p { max-width: 40rem; font-size: 1.2rem; margin: 1.25rem 0 0; }

.how, .faq { padding-block: clamp(3rem, 7vw, 5.5rem) 0; max-width: 80rem; margin-inline: auto; }
.faq { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.how ol { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.how li { counter-increment: step; border-top: 4px solid var(--ink); padding-top: 1rem; }
.how li::before { content: "Step " counter(step); font: 600 0.8rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); }
.how li p { margin: 0.5rem 0 0; color: var(--slate); }

.faq details { border-top: 2px solid var(--ink); padding: 1rem 0; max-width: 46rem; }
.faq details:last-of-type { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.015em; }
.faq details p { margin: 0.6rem 0 0; color: var(--slate); }

footer { background: var(--paper); padding-block: 2rem; font-size: 0.9rem; color: var(--slate); }
footer p { margin: 0 auto 0.5rem; max-width: 80rem; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .phone { width: min(100%, 15rem); }
  .how ol { grid-template-columns: 1fr; }
  .join button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caption span { animation: none; }
  .caption span:nth-child(4) { background: var(--caption); color: var(--ink); text-shadow: none; }
  .join button { transition: none; }
}
