/* SceneBatch — teaser landing. Dark, Flow-like. No frameworks. */

:root {
  --bg: #0a0a0c;
  --bg-elev: #101014;
  --bg-card: #131318;
  --line: #232329;
  --line-soft: #1b1b21;
  --text: #f2f2f4;
  --text-dim: #a9a9b4;
  --text-faint: #74747f;
  --accent: #8b7cff;
  --accent-2: #4ea8ff;
  --accent-ink: #0a0a0c;
  --ok: #4ade80;
  --err: #ff6b6b;
  --radius-lg: 24px;
  --pill: 999px;
  --maxw: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient glow behind the hero */
body::before {
  content: "";
  position: fixed;
  top: -30vh;
  left: 50%;
  width: 120vw;
  height: 90vh;
  transform: translateX(-50%);
  background:
    radial-gradient(45% 50% at 35% 45%, rgba(139, 124, 255, 0.16), transparent 70%),
    radial-gradient(40% 45% at 68% 35%, rgba(78, 168, 255, 0.12), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 2;
  padding: 26px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  flex: none;
}

.header-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.header-link:hover {
  color: var(--text);
  border-color: #33333c;
  background: rgba(255, 255, 255, 0.05);
}

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

section { position: relative; z-index: 1; }

.hero { padding: 64px 0 88px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 7px 16px;
  border-radius: var(--pill);
  margin: 0 0 28px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex: none;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 6.2vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 680;
  max-width: 15ch;
}

.subhead {
  margin: 0 0 36px;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 62ch;
}

h2 {
  margin: 0 0 40px;
  font-size: clamp(27px, 3.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 660;
  max-width: 22ch;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 620;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* ---------- Signup form ---------- */

.signup { max-width: 560px; }

.signup-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.signup input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 15px 22px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.signup input[type="email"]::placeholder { color: var(--text-faint); }

.signup input[type="email"]:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 124, 255, 0.18);
}

.btn {
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
  background: linear-gradient(135deg, #a99bff, #7ec2ff);
  border: 0;
  border-radius: var(--pill);
  padding: 15px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, filter 0.15s ease, opacity 0.15s ease;
}

.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: default; filter: none; }

.btn:focus-visible,
.header-link:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Honeypot — hidden from humans, reachable by dumb bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.microcopy {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.5;
}

.microcopy.accented { color: var(--text-dim); margin-top: 6px; }

.form-status {
  margin: 14px 0 0;
  font-size: 15px;
  min-height: 1.5em;
}

.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---------- Cards ---------- */

.section-pad { padding: 76px 0; border-top: 1px solid var(--line-soft); }

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.card p { color: var(--text-dim); font-size: 16px; }

.card.teaser {
  grid-column: 1 / -1;
  background: linear-gradient(
    135deg,
    rgba(139, 124, 255, 0.1),
    rgba(78, 168, 255, 0.07)
  );
  border-color: rgba(139, 124, 255, 0.32);
  text-align: center;
  padding: 34px 28px;
}

.card.teaser p {
  color: var(--text);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  font-style: italic;
  margin: 0;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.steps li {
  counter-increment: step;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--text-dim);
  font-size: 16px;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(139, 124, 255, 0.4);
  background: rgba(139, 124, 255, 0.1);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.steps strong { color: var(--text); font-weight: 620; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.15s ease;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--text-faint);
  border-bottom: 1.5px solid var(--text-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq details p {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 68ch;
}

/* ---------- Closing CTA ---------- */

.closing {
  text-align: center;
  padding: 84px 0;
  border-top: 1px solid var(--line-soft);
}

.closing h2 { margin: 0 auto 32px; max-width: 18ch; }
.closing .signup { margin: 0 auto; }
.closing .microcopy { text-align: center; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 56px;
  color: var(--text-faint);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer p { margin: 0 0 14px; max-width: 90ch; }
.site-footer em { font-style: italic; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0 0 14px;
}

.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-links .sep { color: #3a3a44; }

.definition { color: #5f5f6a; }
.copyright { margin: 0; }

/* ---------- Legal page ---------- */

.legal { padding: 40px 0 80px; max-width: 720px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 12px; max-width: none; }
.legal .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 21px; margin: 38px 0 12px; max-width: none; }
.legal p { color: var(--text-dim); font-size: 16px; }
.legal a { color: var(--accent-2); }
.legal .back {
  display: inline-block;
  margin-top: 40px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
}
.legal .back:hover { color: var(--text); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 44px 0 64px; }
  .section-pad { padding: 60px 0; }
  .card, .steps li { padding: 24px; }
  .signup input[type="email"], .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
