:root {
  --bg: #0b0f14;
  --bg-elevated: #121821;
  --ink: #f3f6fb;
  --muted: #9aa6b8;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #2ee6a6;
  --accent-ink: #04140f;
  --warm: #e8a45a;
  --danger: #ff5d73;
  --radius: 18px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: 1.05rem;
}

.top-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.top-nav a:hover,
.top-nav .nav-cta {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--line);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.hero {
  min-height: min(100vh, 920px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

.hero-atmosphere {
  position: absolute;
  inset: -10% -5% auto;
  height: 70%;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-a {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(46, 230, 166, 0.55), transparent 70%);
  left: 8%;
  top: 10%;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 164, 90, 0.35), transparent 70%);
  right: 12%;
  top: 25%;
  animation-delay: -4s;
}

.stage-beam {
  position: absolute;
  left: 20%;
  top: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07),
    transparent 70%
  );
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%);
  opacity: 0.35;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--accent);
  animation: rise 0.9s ease both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 14ch;
  animation: rise 0.9s ease 0.08s both;
}

.lede {
  margin: 1.1rem 0 0;
  color: var(--muted);
  max-width: 36ch;
  animation: rise 0.9s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(46, 230, 166, 0.45);
}

.device {
  margin-inline: auto;
  width: min(100%, 320px);
  aspect-ratio: 9 / 17;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #1a2230, #0a0d12 60%);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: rise 1s ease 0.2s both;
}

.device-screen {
  height: 100%;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 230, 166, 0.18), transparent 45%),
    #10151d;
  padding: 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.live-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ff8b9a;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.4s ease infinite;
}

.avatars {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
}

.avatars span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #1c2431;
  border: 1px solid var(--line);
}

.avatars span:nth-child(1) {
  background: #16362c;
  color: var(--accent);
}
.avatars span:nth-child(2) {
  background: #2a2438;
}
.avatars span:nth-child(3) {
  background: #2e2418;
  color: var(--warm);
}
.avatars span:nth-child(4) {
  background: #1a2a38;
}

.room-title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.wave {
  margin-top: auto;
  display: flex;
  align-items: end;
  gap: 6px;
  height: 48px;
}

.wave i {
  display: block;
  width: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: wave 1.1s ease-in-out infinite;
}

.wave i:nth-child(1) {
  height: 18%;
  animation-delay: 0s;
}
.wave i:nth-child(2) {
  height: 42%;
  animation-delay: 0.1s;
}
.wave i:nth-child(3) {
  height: 70%;
  animation-delay: 0.2s;
}
.wave i:nth-child(4) {
  height: 100%;
  animation-delay: 0.15s;
}
.wave i:nth-child(5) {
  height: 55%;
  animation-delay: 0.25s;
}
.wave i:nth-child(6) {
  height: 30%;
  animation-delay: 0.05s;
}
.wave i:nth-child(7) {
  height: 48%;
  animation-delay: 0.3s;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(18, 24, 33, 0.85), transparent);
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 48ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-grid article h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.feature-grid article p,
.founder-perks,
.safety-points,
.faq p {
  color: var(--muted);
}

.founder-perks {
  margin: 1.75rem 0 1.75rem;
  padding-left: 1.1rem;
}

.founder-perks li {
  margin: 0.45rem 0;
}

.safety-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  margin-top: 2rem;
}

.safety-points p {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

.waitlist {
  margin-top: 2rem;
  max-width: 480px;
  display: grid;
  gap: 1rem;
}

.waitlist label,
.waitlist fieldset {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
}

.waitlist input[type="text"],
.waitlist input[type="email"] {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  padding: 0.7rem 0.9rem;
  font: inherit;
}

.waitlist fieldset {
  border: 0;
  padding: 0;
  margin: 0.25rem 0;
}

.waitlist legend {
  margin-bottom: 0.4rem;
}

.check {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  font-weight: 400;
  color: var(--muted);
}

.terms a {
  color: var(--accent);
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--accent);
  font-size: 0.95rem;
}

.form-note.error {
  color: var(--danger);
}

.faq {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
}

.faq p {
  margin: 0.6rem 0 0;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
}

.footer strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.copy {
  font-size: 0.9rem;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-page h1 {
  font-family: var(--font-display);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

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

@keyframes drift {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(24px) scale(1.08);
  }
}

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

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.55);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-visual {
    order: -1;
  }

  .device {
    width: min(100%, 260px);
  }

  .feature-grid,
  .safety-points {
    grid-template-columns: 1fr;
  }

  .top-nav a:not(.nav-cta) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
