:root {
  --bg:          #08080E;
  --pink:        #EC4899;
  --pink-border: rgba(236, 72, 153, 0.3);
  --pink-soft:   rgba(236, 72, 153, 0.08);
  --text:        #F0EEF8;
  --muted:       rgba(240, 238, 248, 0.45);
  --faint:       rgba(240, 238, 248, 0.2);
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

/* Persistent background atmospherics */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(236, 72, 153, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(240, 238, 248, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

main, .site-footer {
  position: relative;
  z-index: 1;
}

/* SCREEN BASE: full viewport ONLY for hero, others are content-sized */
.screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  text-align: center;
}

.screen-hero {
  min-height: 100svh;
}

/* Inner screens: tall enough to breathe, short enough to not feel empty */
.screen-statement,
.screen-content,
.screen-waitlist {
  min-height: 55svh;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* SCREEN 1: HOLDING PAGE (preserves original exactly) */

.screen-hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wordmark {
  width: clamp(140px, 36vw, 280px);
  margin-bottom: 1.75rem;
}

.wordmark path {
  fill: var(--text);
}

.wordmark circle {
  fill: var(--pink);
  animation: pulse 2.4s ease-in-out infinite;
  transform-origin: 147.34px 96.95px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.6); }
}

.tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  color: var(--muted);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.6;
}

.tagline .line {
  display: block;
}

.tagline .x {
  color: var(--pink);
  font-size: 0.95em;
  line-height: 1;
}

.divider {
  width: 32px;
  height: 1px;
  background: var(--pink-border);
  margin: 0 auto 2.25rem;
}

.coming-soon {
  font-size: clamp(0.65rem, 1.4vw, 0.74rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 400;
}

/* SCROLL INDICATOR */

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  display: block;
  overflow: hidden;
  opacity: 0.6;
  animation: fadeUp 1.4s 0.6s cubic-bezier(0.22,1,0.36,1) both;
}

.scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--pink) 50%, transparent 100%);
  animation: scrollHint 2.2s ease-in-out infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* GENERIC SCREENS: max width for content readability */

.screen-statement > *,
.screen-content > *,
.screen-waitlist > * {
  max-width: 720px;
}

.statement {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.statement-muted {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

.content-label {
  font-size: clamp(0.65rem, 1.4vw, 0.74rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.content-body {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  max-width: 620px;
  letter-spacing: -0.005em;
}

/* REVEAL ANIMATIONS (triggered on scroll via IntersectionObserver) */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.25s;
}

/* WAITLIST */

.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 440px;
}

.role-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--pink-border);
  border-radius: 2px;
  padding: 3px;
  gap: 0;
}

.role-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-toggle label {
  padding: 0.5rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.25s ease, color 0.25s ease;
  font-weight: 400;
}

.role-toggle input:checked + label {
  background: var(--pink-soft);
  color: var(--pink);
}

.form-row {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--pink-border);
  padding-bottom: 0.5rem;
  transition: border-color 0.3s ease;
}

.form-row:focus-within {
  border-color: var(--pink);
}

.form-row input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 0.5rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  letter-spacing: 0.02em;
}

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

.form-row button {
  background: transparent;
  color: var(--pink);
  border: 0;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 300;
  cursor: pointer;
  transition: transform 0.25s ease;
  line-height: 1;
}

.form-row button:hover {
  transform: translateX(4px);
}

.form-note {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 1rem;
  font-weight: 400;
}

.form-note.success {
  color: var(--pink);
}

/* FOOTER (matches original) */

.site-footer {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 238, 248, 0.18);
  z-index: 1;
  pointer-events: none;
}

/* Hide footer when not on first screen to avoid overlap */
@media (max-height: 700px) {
  .site-footer {
    position: relative;
    margin: 2rem 0;
  }
}

/* MOBILE TWEAKS */

@media (max-width: 480px) {
  .screen {
    padding: 1.5rem;
  }
  .screen-statement,
  .screen-content,
  .screen-waitlist {
    min-height: 60svh;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .wordmark {
    margin-bottom: 1.5rem;
  }
  .tagline {
    gap: 0.7rem;
    margin-bottom: 2rem;
  }
  .scroll-indicator {
    bottom: 2rem;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wordmark circle {
    animation: none;
  }
  .scroll-line {
    animation: none;
    opacity: 0.4;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
