:root {
  --bg: #0e0f12;
  --raised: #16171c;
  --text: #f4f4f2;
  --muted: #a1a3aa;
  --faint: #8a8c94;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #6f9dff;
  --error: #ff9b94;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 500; }
ol { list-style: none; padding: 0; }
/* Side space for all content: grows with the screen, so laptops get a calm margin on both sides. */
:root { --gutter: clamp(24px, 7vw, 120px); }
.wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

::selection { background: rgba(111, 157, 255, 0.35); }

/* Top bar: stays at the top; gets a blurred background once you scroll (main.js) */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-stuck {
  background: rgba(14, 15, 18, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 21px; font-weight: 600; letter-spacing: -0.035em; text-decoration: none; }
.logo i, .footer-brand i { font-style: normal; color: var(--accent); }
.nav-cta {
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--text); border-color: var(--text); color: #101114; }
#join { scroll-margin-top: 72px; }

.hero { position: relative; padding-top: clamp(48px, 8vw, 104px); text-align: center; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -160px;
  z-index: -1;
  width: min(1100px, 100%);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(92, 128, 255, 0.16), transparent);
  pointer-events: none;
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(111, 157, 255, 0.18); }
h1 {
  max-width: 1120px;
  margin: 20px auto 0;
  font-size: clamp(40px, 6.1vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 span { display: block; color: var(--muted); }
.lead {
  max-width: 600px;
  margin: 26px auto 0;
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

/* Waitlist form */
.signup { width: min(480px, 100%); margin: 34px auto 0; }
.signup-row {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.signup-row:focus-within { border-color: var(--accent); }
.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.signup input::placeholder { color: var(--faint); }
.signup .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  background: var(--text);
  border: 0;
  border-radius: 9px;
  color: #101114;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.signup button:hover { background: #fff; }
.signup button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.signup button:hover svg { transform: translateX(3px); }
.signup button:disabled { opacity: 0.6; cursor: default; }
.signup-note { margin-top: 12px; font-size: 14px; color: var(--faint); text-align: center; }
.signup-note a { color: var(--muted); }
.signup-note.is-error { color: var(--error); }
.signup-done {
  padding: 18px 20px;
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  text-align: center;
}
.signup-done strong { display: block; font-size: 17px; font-weight: 500; }
.signup-done span { font-size: 15px; color: var(--muted); }

/* Video: starts a little smaller and grows to full size as you scroll (main.js sets --grow) */
/* Never taller than the screen (minus the top bar), so the whole video fits on a laptop. */
.film { position: relative; width: min(1180px, 100% - 2 * var(--gutter), (100vh - 120px) * 1.6); margin-top: clamp(44px, 6vw, 72px); --grow: 1; }
.film::before {
  content: "";
  position: absolute;
  inset: -6% 0;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(92, 128, 255, 0.24), rgba(92, 128, 255, 0.06) 60%, transparent);
  filter: blur(36px);
  opacity: calc(0.35 + 0.65 * var(--grow));
  pointer-events: none;
}
.film-frame {
  transform: scale(calc(0.86 + 0.14 * var(--grow)));
  transform-origin: 50% 0;
  will-change: transform;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid transparent;
  background:
    linear-gradient(#f6f1e8, #f6f1e8) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.02)) border-box;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
  border-radius: 20px;
}
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: rgba(14, 15, 18, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}
.film-toggle:hover { background: rgba(14, 15, 18, 0.95); }
.film-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.film-toggle .i-play { display: none; fill: currentColor; }
.film-toggle.is-paused .i-play { display: block; }
.film-toggle.is-paused .i-pause { display: none; }

/* Sections */
/* Small blue label above each section heading (stronger than the section text rules, which made some grey). */
section p.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: 0.01em; }
h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.problem { padding-top: clamp(96px, 13vw, 168px); }
.problem h2 { max-width: 640px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.problem-grid div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 120, 110, 0.06), transparent 70%), #121317;
}
.problem-grid h3 { font-size: 20px; letter-spacing: -0.02em; }
.problem-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 138, 128, 0.22);
  border-radius: 12px;
  background: rgba(255, 138, 128, 0.1);
  color: #ff9d94;
}
.problem-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.problem-grid p { margin-top: 10px; color: var(--muted); text-wrap: pretty; }

.steps { padding-top: clamp(96px, 13vw, 168px); }
.steps h2 { max-width: 720px; }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 56px; }
.steps li { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.steps li > span { font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.steps h3 { margin-top: 30px; font-size: 22px; letter-spacing: -0.022em; }
.steps p { margin-top: 8px; color: var(--muted); text-wrap: pretty; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(84px, 11vw, 144px);
}
.feature h2 { font-size: clamp(30px, 3.5vw, 42px); }
.feature p { margin-top: 18px; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.feature figure {
  padding: clamp(14px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(92, 128, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #1a1b21, #121317);
}
.feature figure:hover img { transform: translateY(-4px); }
.feature img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 60px -12px rgba(0, 0, 0, 0.6);
}
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-flip .feature-copy { order: 2; }

.audience { padding-top: clamp(96px, 13vw, 168px); }
.audience h2 { max-width: 640px; }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.audience article {
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(92, 128, 255, 0.1), transparent 60%) padding-box,
    linear-gradient(180deg, #18191e, #121317) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)) border-box;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.audience article:hover { transform: translateY(-3px); }
.audience-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(111, 157, 255, 0.12);
  color: var(--accent);
}
.audience-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.audience h3 { margin-top: 26px; font-size: 24px; letter-spacing: -0.024em; }
.audience p { margin-top: 10px; color: var(--muted); font-size: 17px; text-wrap: pretty; }

.note { padding-top: clamp(96px, 13vw, 168px); }
.note blockquote { max-width: 860px; margin: 0 auto; text-align: center; }
.note blockquote > p {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.022em;
  color: var(--text);
  text-wrap: balance;
}
.note footer { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; text-align: left; }
.note-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6f9dff, #3b5bdb);
  font-weight: 600;
}
.note footer strong { display: block; font-weight: 500; }
.note footer span span, .note footer > span:last-child { color: var(--muted); font-size: 15px; }
.note footer strong { color: var(--text); font-size: 16px; }

.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(96px, 13vw, 168px);
}
.faq h2 { font-size: clamp(30px, 3.5vw, 42px); }
.faq-list { border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 18px;
  letter-spacing: -0.012em;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--faint); font-size: 22px; line-height: 1.2; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 580px; padding-bottom: 22px; color: var(--muted); }
details[open] p { animation: open-answer 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
summary:hover { color: #fff; }
@keyframes open-answer { from { opacity: 0; transform: translateY(-4px); } }

.join { padding-block: clamp(110px, 14vw, 184px) clamp(80px, 10vw, 120px); text-align: center; }
.join-card {
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
  border: 1px solid transparent;
  border-radius: 28px;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(92, 128, 255, 0.18), transparent 62%) padding-box,
    linear-gradient(180deg, #17181d, #111216) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)) border-box;
}
.join h2 { font-size: clamp(36px, 5.4vw, 64px); }
.join-lead { max-width: 480px; margin: 18px auto 0; color: var(--muted); font-size: 18px; }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}
.footer-brand { color: var(--text); font-weight: 600; letter-spacing: -0.035em; font-size: 17px; }
.footer-end { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.footer a { padding-block: 6px; text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Quiet entrance */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Privacy page */
.prose { max-width: 680px; padding-block: 56px 96px; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 7px 14px 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.back:hover { color: var(--text); border-color: var(--text); }
.back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prose h1 { margin: 0; font-size: clamp(38px, 6vw, 56px); text-align: left; }
.prose h2 { margin-top: 40px; font-size: 24px; letter-spacing: -0.022em; }
.prose p { margin-top: 12px; color: var(--muted); }
.prose .updated { margin-top: 14px; font-size: 15px; color: var(--faint); }

@media (max-width: 820px) {
  .steps ol { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .steps h3 { margin-top: 16px; }
  .feature, .feature-flip, .faq, .audience-grid, .problem-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-flip .feature-copy { order: 0; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .nav-inner { height: 64px; }
  .nav-cta { padding: 7px 12px; font-size: 13px; }
  .footer-end { margin-left: 0; }
  .signup-row { flex-direction: column; padding: 8px; }
  .signup input[type="email"] { height: 46px; }
  .signup button { width: 100%; }
  .film-frame { border-radius: 12px; }
  .film-toggle { right: 8px; bottom: 8px; width: 32px; height: 32px; }
}
@media (max-width: 380px) {
  .label { gap: 7px; padding: 5px 11px 5px 9px; font-size: 12px; white-space: nowrap; }
}

/* Laptops and desktops: everything a step smaller and calmer (phones and tablets unchanged). */
@media (min-width: 1024px) {
  body { font-size: 16px; }
  .wrap { width: min(1000px, 100% - 2 * var(--gutter)); }
  .nav-inner { height: 64px; }
  .logo { font-size: 20px; }
  .nav-cta { padding: 7px 14px; font-size: 13px; }
  #join { scroll-margin-top: 64px; }
  .hero { padding-top: clamp(40px, 5vw, 72px); }
  .label { font-size: 13px; }
  h1 { max-width: 900px; margin-top: 18px; font-size: clamp(40px, 4.4vw, 62px); }
  .lead { max-width: 540px; margin-top: 20px; font-size: 17px; }
  .signup { width: min(440px, 100%); margin-top: 28px; }
  .signup button { height: 42px; font-size: 14px; }
  .signup-note { font-size: 13px; }
  .film { width: min(940px, 100% - 2 * var(--gutter), (100vh - 150px) * 1.6); margin-top: 52px; }
  h2 { font-size: clamp(28px, 3vw, 40px); }
  .feature h2, .faq h2 { font-size: clamp(26px, 2.6vw, 34px); }
  .feature p, .audience p { font-size: 16px; }
  .problem, .steps, .audience, .note, .faq { padding-top: clamp(80px, 9vw, 120px); }
  .feature { padding-top: clamp(72px, 8vw, 108px); }
  .problem-grid h3, .steps h3 { font-size: 19px; }
  .audience h3 { font-size: 21px; }
  .note blockquote > p { font-size: clamp(22px, 2.2vw, 28px); }
  summary { font-size: 16px; padding: 18px 0; }
  .join { padding-block: clamp(90px, 10vw, 130px) clamp(70px, 8vw, 100px); }
  .join h2 { font-size: clamp(32px, 3.6vw, 48px); }
  .join-lead { font-size: 16px; }
}
