/* The public waitlist page. System fonts only, no third-party hosts, and
   no inline styles: the page's CSP has style-src 'self'. */
:root {
  color-scheme: light dark;
  --bg: #f7f5f0;
  --bg-glow: rgba(74, 222, 128, 0.18);
  --panel: #ffffff;
  --text: #18181b;
  --muted: #5b5b63;
  --border: #e4e1da;
  --accent: #14532d;
  --accent-hover: #166534;
  --accent-text: #ffffff;
  --ring: #4ade80;
  --err: #b91c1c;
  --ok: #14532d;
  --shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 12px 40px -12px rgba(24, 24, 27, 0.14);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0f0d;
    --bg-glow: rgba(74, 222, 128, 0.10);
    --panel: #141916;
    --text: #ececee;
    --muted: #a1a1aa;
    --border: #26302a;
    --accent: #4ade80;
    --accent-hover: #86efac;
    --accent-text: #052e16;
    --ring: #86efac;
    --err: #fca5a5;
    --ok: #86efac;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 48px -16px rgba(0, 0, 0, 0.7);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--bg-glow), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 0.5rem; }
.skip:focus { left: 0.5rem; background: var(--panel); padding: 0.5rem 0.75rem; z-index: 10; }

.top, .hero, .foot { width: 100%; max-width: 72rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 650; font-size: 1.1rem; letter-spacing: -0.01em; text-decoration: none; color: var(--accent); }
.mark { width: 1.75rem; height: 1.75rem; }
.signin { font-size: 0.925rem; color: var(--muted); text-decoration: none; padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: 999px; }
.signin:hover { color: var(--text); border-color: var(--muted); }

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.25rem; font-size: 0.85rem; font-weight: 550; color: var(--muted); padding: 0.3rem 0.75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 720; text-wrap: balance; }
.lede { margin: 1.25rem 0 0; font-size: 1.15rem; color: var(--muted); max-width: 34rem; text-wrap: pretty; }
.points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.75rem; max-width: 34rem; }
.points li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 0.15rem; top: 0.55em; width: 0.6rem; height: 0.6rem; border-radius: 3px; background: var(--accent); opacity: 0.85; }
.points strong { color: var(--text); font-weight: 600; }

.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.card h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
.hint { margin: 0.4rem 0 1.5rem; color: var(--muted); font-size: 0.95rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
label { font-size: 0.9rem; font-weight: 550; }
input[type="email"], input[type="text"], textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 5.5rem; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.7; }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 35%, transparent); }
[aria-invalid="true"] { border-color: var(--err); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.25rem 0 0.5rem; }
.check input { width: 1.1rem; height: 1.1rem; margin: 0.2rem 0 0; accent-color: var(--accent); flex: none; }
.check label { font-weight: 450; color: var(--muted); }
.err { margin: 0; font-size: 0.85rem; color: var(--err); }
button {
  width: 100%;
  margin-top: 1rem;
  font: inherit;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
button:hover { background: var(--accent-hover); }
button:active { transform: translateY(1px); }
button[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.status { margin: 0.75rem 0 0; min-height: 1.4em; font-size: 0.9rem; color: var(--muted); }
.status.is-error { color: var(--err); }
.done h2 { color: var(--ok); }
.done p { color: var(--muted); margin: 0.5rem 0 0; }
.done:focus { outline: none; }
/* The honeypot: off-screen for people, present for form-filling bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; padding-bottom: 2rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .pitch, .card { animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .card { animation-delay: 0.08s; }
  .done:not([hidden]) { animation: rise 0.35s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 1rem; padding-bottom: 2.5rem; }
  .card { padding: 1.5rem; }
  .lede { font-size: 1.05rem; }
}
.turnstile-slot { min-height: 65px; margin: 0.5rem 0; }
