:root {
  --bg: #121212;
  --bg-deep: #0a0a0a;
  --surface: #1c1c1e;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #b8ff47;
  --font: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.nav-cta {
  font-weight: 700;
  font-size: 0.9rem;
  background: #fff;
  color: #111;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s;
}

.nav-cta:hover { transform: translateY(-1px); opacity: 0.92; }

/* ── Hero video ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  filter: grayscale(0.15) contrast(1.05) brightness(0.85);
}

.hero-video.is-active { opacity: 1; }

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.72) 100%),
    radial-gradient(ellipse at top left, rgba(255,255,255,0.06), transparent 50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: riseIn 1s ease both;
}

.brand-mark {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(255,255,255,0.55);
  padding-bottom: 2px;
}

.hero-cta:hover { opacity: 0.75; }

/* ── Split sections (BeReal-style) ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: 92svh;
  padding: clamp(72px, 10vh, 120px) clamp(24px, 6vw, 80px);
  background: var(--bg-deep);
}

.split.reverse .split-copy { order: -1; }

.split-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.split-copy p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 34ch;
}

.split-copy .ps {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Phone mock ── */
.phone-stage {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 36px;
  background: #1a1a1a;
  border: 3px solid #3a3a3a;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 0 0 2px #111;
  position: relative;
  overflow: hidden;
}

.phone-tall { width: min(300px, 74vw); }

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  background: #0a0a0a;
  border-radius: 20px;
  z-index: 5;
}

.phone-screen {
  position: absolute;
  inset: 0;
  background: #111;
  overflow: hidden;
}

.phone-slides {
  position: absolute;
  inset: 0;
}

.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.phone-slide.is-active { opacity: 1; }

.phone-slide img,
.phone-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-pip {
  position: absolute;
  top: 48px;
  left: 14px;
  width: 72px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.phone-pip.large {
  width: 88px;
  height: 118px;
  top: 42px;
  left: 16px;
}

.phone-pip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 42%;
  background: rgba(20,20,20,0.82);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  animation: toastPulse 2.8s ease-in-out infinite;
}

.phone-toast span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.phone-badge {
  position: absolute;
  right: 12px;
  bottom: 56px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.phone-badge.late {
  background: #ffb020;
  color: #111;
}

.phone-badge.verified {
  background: var(--accent);
  color: #111;
}

.phone-caption {
  position: absolute;
  left: 14px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
}

.phone-caption span { color: var(--muted); }

.connections-screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 28px 16px 24px;
  background:
    linear-gradient(160deg, #2a2a2c, #121212 55%);
}

.conn-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 16px;
}

.conn-avatars {
  display: flex;
  gap: -8px;
  margin-bottom: 10px;
}

.conn-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  margin-right: -8px;
  background: linear-gradient(135deg, #666, #333);
}

.conn-avatars span:nth-child(2) { background: linear-gradient(135deg, #8a8, #454); }
.conn-avatars span:nth-child(3) { background: linear-gradient(135deg, #88a, #334); }
.conn-avatars span:nth-child(4) { background: linear-gradient(135deg, var(--accent), #5a8a20); }

.conn-card p {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: none;
}

.conn-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.conn-row {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.78rem;
  display: flex;
  gap: 8px;
  align-items: center;
}

.conn-row em { font-style: normal; }

/* ── Get / waitlist ── */
.get {
  text-align: center;
  padding: 100px 24px 110px;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,0.05), transparent 50%),
    var(--bg);
}

.get h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.get > p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.waitlist {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto 12px;
}

.waitlist input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: var(--surface);
  color: #fff;
  font: inherit;
  outline: none;
}

.waitlist button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.waitlist-msg {
  min-height: 1.4em;
  color: var(--accent);
  font-size: 0.95rem;
}

.footer {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 28px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-deep);
}

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

@keyframes toastPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 900px) {
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 22px;
    gap: 40px;
  }

  .split.reverse .split-copy { order: 0; }

  .split-copy {
    text-align: center;
  }

  .split-copy p {
    margin-inline: auto;
  }

  .phone {
    width: min(240px, 68vw);
  }

  .waitlist { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { transition: none; }
  .phone-toast { animation: none; }
  .hero-copy { animation: none; }
}
