:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-hover: rgba(255, 255, 255, 0.07);
  --text: #f7f3ef;
  --muted: rgba(247, 243, 239, 0.6);
  --muted-soft: rgba(247, 243, 239, 0.35);
  --line: rgba(255, 255, 255, 0.07);
  --accent-a: #f50863;
  --accent-b: #f3bc09;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

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

/* ── Reveal animation ── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Layout shell ── */

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
}

.ambient-one {
  top: -80px; left: -180px;
  width: 480px; height: 480px;
  background: rgba(245, 8, 99, 0.2);
}

.ambient-two {
  right: -200px; top: 50%;
  width: 400px; height: 400px;
  background: rgba(243, 188, 9, 0.12);
}

.ambient-three {
  left: 40%; bottom: -120px;
  width: 500px; height: 500px;
  background: rgba(99, 8, 245, 0.08);
}

/* ── Header ── */

.site-header,
.hero,
.feature-strip,
.how-it-works,
.social-proof,
.closing-cta,
.footer-inner {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 14px; height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 20px rgba(245, 8, 99, 0.4);
}

.brand-word {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  transition: background 0.2s, border-color 0.2s;
}

.header-cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

/* ── Hero (centered, no image) ── */

.hero {
  text-align: center;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(243, 188, 9, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero h1,
.closing-cta h2,
.how-it-works h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  background: linear-gradient(135deg, var(--text) 60%, rgba(243,188,9,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  margin: 20px auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Waitlist form ── */

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: relative;
  margin: 32px auto 0;
  padding: 8px;
  max-width: 440px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  transition: border-color 0.3s;
}

.waitlist-form:focus-within {
  border-color: rgba(243, 188, 9, 0.3);
}

.waitlist-form input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 0;
  outline: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
}

.waitlist-form input::placeholder {
  color: var(--muted-soft);
}

.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  color: #0a0a0c;
  font-weight: 700;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #fff 0%, #f3e2a1 100%);
  box-shadow: 0 8px 24px rgba(243, 188, 9, 0.15);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(243, 188, 9, 0.25);
}

.waitlist-form button:active {
  transform: translateY(0);
}

.waitlist-form button:disabled {
  cursor: not-allowed;
}

.form-note {
  margin-top: 16px;
  color: var(--muted-soft);
  font-size: 0.82rem;
}

/* ── Social proof bar ── */

.social-proof {
  padding: 0 0 56px;
}

.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.proof-item strong {
  color: var(--text);
  font-weight: 600;
}

.proof-icon { font-size: 1.1rem; }

.proof-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.1);
}

/* ── Feature cards ── */

.feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 56px;
  width: min(780px, calc(100% - 32px));
}

.feature-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  background: var(--panel-hover);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245,8,99,0.12), rgba(243,188,9,0.1));
  color: rgba(243,188,9,0.9);
}

.feature-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

/* ── How it works ── */

.how-it-works {
  padding: 0 0 64px;
  text-align: center;
}

.how-it-works h2 {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  margin-bottom: 44px;
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.step {
  max-width: 320px;
  padding: 24px 20px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  color: #fff;
  box-shadow: 0 4px 16px rgba(245, 8, 99, 0.2);
}

.step h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
}

.step p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.step-connector {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(245,8,99,0.25), rgba(243,188,9,0.25));
}

/* ── Closing CTA ── */

.closing-cta {
  padding: 0 0 80px;
  text-align: center;
}

.closing-cta h2 {
  max-width: 16ch;
  margin: 0 auto 24px;
  font-size: clamp(1.6rem, 7vw, 2.6rem);
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: #0a0a0c;
  font-weight: 700;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #fff 0%, #f3e2a1 100%);
  box-shadow: 0 10px 28px rgba(243, 188, 9, 0.15);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.secondary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(243, 188, 9, 0.25);
}

/* ── Footer ── */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted-soft);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.18);
}

/* ── Responsive ── */

@media (min-width: 600px) {
  .waitlist-form {
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 16px;
  }

  .waitlist-form button {
    width: auto;
    border-radius: 12px;
  }

  .feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }

  .step-connector {
    width: 40px;
    height: 1px;
    margin-top: 42px;
    background: linear-gradient(90deg, rgba(245,8,99,0.25), rgba(243,188,9,0.25));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-copy { margin-left: auto; }
}

@media (max-width: 599px) {
  .proof-divider { display: none; }

  .proof-items {
    gap: 10px;
    justify-content: flex-start;
  }

  .hero { padding: 48px 0 40px; }
}
