@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* Dark only: the brand default, and the same tokens as the app. */
:root {
  --bg-base: #080808;
  --bg-raised: #1a1a1a;
  --border: #2a2a2a;
  --border-mid: #3a3a3a;
  --accent: #00d4ff;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #848484;
  --danger: #ef4444;
  --success: #22c55e;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--mono);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 18vh 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mark { margin-bottom: 8px; }
.rise { transform-origin: 50% 50%; animation: rise 2.6s ease-in-out infinite; }
@keyframes rise { 0%, 50%, 100% { transform: translateY(0); } 15% { transform: translateY(-5px); } 30% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

.word { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 40px; }
.word span { color: var(--accent); }

.hook { margin: 0 0 8px; color: var(--text-secondary); font-size: 1rem; }
.hook s { text-decoration-color: var(--danger); text-decoration-thickness: 2px; }
.lead { margin: 0 0 40px; font-size: 1.15rem; line-height: 1.6; }
.lead strong { color: var(--accent); font-weight: 700; }

.soon { margin: 0 0 16px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

form { display: flex; gap: 8px; width: 100%; }
input[type=email] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  padding: 12px 14px;
}
input[type=email]::placeholder { color: var(--text-muted); }
input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #080808;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap;
}
button:hover { filter: brightness(1.1); }
button:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 2px; }
button:disabled { opacity: 0.6; cursor: default; }

.msg { min-height: 1.5em; margin: 12px 0 0; font-size: 0.85rem; }
.msg.ok { color: var(--success); }
.msg.err { color: var(--danger); }
.fine { margin: 8px 0 0; color: var(--text-muted); font-size: 0.75rem; line-height: 1.6; }
.fine a, footer a { color: var(--text-secondary); }

.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
}

@media (max-width: 480px) {
  main { padding-top: 12vh; }
  form { flex-direction: column; }
  .word { font-size: 2.2rem; }
}

/* Privacy page */
.doc { max-width: 680px; padding-top: 64px; text-align: left; align-items: stretch; }
.doc h1 { font-size: 1.4rem; margin: 0 0 24px; }
.doc h2 { font-size: 1rem; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.doc a { color: var(--accent); }
.doc .back { font-size: 0.85rem; margin-bottom: 32px; }
.doc .updated { margin-top: 32px; color: var(--text-muted); font-size: 0.8rem; }
