:root {
  color-scheme: dark;
  --bg: #0e1014;
  --surface: #171a20;
  --surface-2: #20242c;
  --line: #2a2f38;
  --text: #f3f5f7;
  --muted: #8d96a5;
  --accent: #ff9f43;
  --for-you: #ffd84d;
  --gutter: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

a { color: inherit; }

.bar, main, footer { max-width: 1040px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.bar { display: flex; align-items: center; justify-content: space-between; padding-top: max(20px, env(safe-area-inset-top)); }
.mark { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: -0.01em; }
.mark .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.bar-links { display: flex; align-items: center; gap: 20px; font-weight: 700; }
.bar-links a { color: var(--muted); text-decoration: none; }
.bar-links a.open { color: var(--accent); }
.open { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}

h1 { margin: 0; font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.sub { margin: 20px 0 28px; max-width: 30em; color: var(--muted); font-size: 21px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn.primary { border-color: var(--accent); background: var(--accent); color: #1b1003; }

/* The static app preview */
.phone {
  justify-self: center;
  width: min(100%, 340px);
  padding: 12px;
  border-radius: 44px;
  background: #05070a;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px rgb(0 0 0 / 0.55);
}
.screen { display: grid; gap: 14px; padding: 22px 16px 26px; border-radius: 34px; background: var(--bg); font-size: 17px; }
.cast { display: flex; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cast span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--c); color: var(--bg); font-size: 13px; font-weight: 800;
}
.msg b { display: block; margin: 0 0 4px 4px; color: var(--c); font-size: 13px; }
.msg p { margin: 0; padding: 10px 14px; border-radius: 18px; border-bottom-left-radius: 6px; background: var(--surface-2); line-height: 1.35; }
.msg.you p { box-shadow: 0 0 0 2.5px var(--for-you); }
.msg.you i { display: block; margin: 6px 0 0 4px; color: var(--for-you); font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.msg.live p { opacity: 0.7; }
.msg.live p::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */

section { padding: 48px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 20px; font-size: 30px; letter-spacing: -0.02em; }
h3 { margin: 0 0 6px; font-size: 19px; }

.how ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.how li { counter-increment: step; color: var(--muted); }
.how li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--surface-2); color: var(--accent); font-weight: 800; }
.how b { color: var(--text); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.features p { margin: 0; color: var(--muted); }
.features a { color: var(--accent); }

.waitlist p { color: var(--muted); }
#waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
#waitlist input, #waitlist select {
  flex: 1 1 220px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
#waitlist select { flex: 0 1 180px; }

footer { padding-top: 32px; padding-bottom: max(40px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 40px; }
  .how ol, .features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .msg.live p::after { animation: none; }
}
