:root {
  color-scheme: dark;
  --bg: #050b16;
  --bg-2: #071124;
  --surface: rgba(11, 21, 39, 0.9);
  --surface-2: rgba(15, 28, 51, 0.86);
  --surface-3: rgba(20, 38, 67, 0.72);
  --text: #f3f7ff;
  --muted: #96a6bf;
  --line: rgba(131, 171, 223, 0.18);
  --line-strong: rgba(131, 171, 223, 0.3);
  --accent: #7ed1ff;
  --accent-2: #96e2ff;
  --accent-3: #c6efff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(49, 132, 195, 0.22), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(126, 209, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #08101f 0%, #050b16 48%, #040812 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -8rem;
  right: -12rem;
  background: rgba(126, 209, 255, 0.14);
}

body::after {
  left: -10rem;
  bottom: -14rem;
  background: rgba(31, 93, 183, 0.18);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), calc(var(--content) + 64px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar,
.hero,
.section,
.footer {
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 16, 31, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.topnav a {
  transition: color 180ms ease, transform 180ms ease;
}

.topnav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  margin-bottom: 18px;
}

.hero-copy,
.hero-stage,
.section,
.footer {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.82), rgba(6, 13, 26, 0.92));
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-stage {
  border-radius: var(--radius-xl);
  padding: 36px;
  overflow: hidden;
}

.eyebrow,
.preview-badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--accent-3);
  background: rgba(31, 71, 115, 0.48);
  border: 1px solid rgba(126, 209, 255, 0.16);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-lockup {
  width: min(320px, 72%);
  margin-top: 20px;
}

.hero h1,
.section h2 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.feature-card p,
.platform-card p,
.about-card p,
.footer span,
.stat-tile span,
.desktop-hero-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 48rem;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #06101f;
  background: linear-gradient(135deg, #93ddff, #71c5ff);
  box-shadow: 0 18px 42px rgba(126, 209, 255, 0.26);
}

.button-secondary {
  background: rgba(21, 34, 57, 0.9);
  border-color: rgba(126, 209, 255, 0.18);
}

.button-ghost {
  background: transparent;
  border-color: rgba(126, 209, 255, 0.18);
  color: var(--accent-2);
}

.button.full {
  width: 100%;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-meta > div {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(10, 18, 34, 0.88);
  border: 1px solid var(--line);
}

.hero-meta strong,
.platform-head h3,
.stat-tile strong,
.wide-row strong {
  display: block;
  font-size: 1rem;
}

.hero-meta span,
.platform-head span,
.wide-row small,
.wide-preview small,
.wide-list small {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stage {
  min-height: 680px;
  background:
    radial-gradient(circle at 22% 18%, rgba(126, 209, 255, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(8, 18, 36, 0.92), rgba(5, 11, 22, 0.96));
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(126, 209, 255, 0.1);
}

.orbit-a {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -80px;
}

.orbit-b {
  width: 280px;
  height: 280px;
  left: -90px;
  bottom: -60px;
}

.app-frame {
  position: relative;
  margin-top: 28px;
  border-radius: 28px;
  background: rgba(6, 15, 28, 0.96);
  border: 1px solid rgba(126, 209, 255, 0.12);
  overflow: hidden;
}

.desktop-frame {
  min-height: 560px;
}

.frame-toolbar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.frame-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.desktop-layout {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 512px;
}

.desktop-rail {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: rgba(8, 16, 31, 0.92);
}

.rail-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(126, 209, 255, 0.22), rgba(80, 122, 255, 0.18));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--accent-3);
}

.rail-item {
  padding: 14px 12px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.rail-item.active {
  color: var(--text);
  background: rgba(126, 209, 255, 0.12);
}

.desktop-content {
  padding: 20px;
}

.desktop-hero-card,
.mini-card,
.lyrics-preview,
.platform-card,
.feature-card,
.stat-tile,
.preview-card,
.about-card,
.wide-preview {
  border: 1px solid var(--line);
  background: rgba(10, 20, 38, 0.88);
}

.desktop-hero-card {
  padding: 24px;
  border-radius: 24px;
}

.desktop-hero-card h3,
.section h2,
.feature-card h3,
.preview-card h3,
.platform-card h3,
.about-card h2 {
  margin: 14px 0 0;
  font-family: "Space Grotesk", sans-serif;
}

.desktop-chip-row,
.room-chip-row,
.developer-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.desktop-chip-row span,
.room-chip-row span,
.developer-links a,
.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--accent-3);
  border: 1px solid var(--line-strong);
  background: rgba(21, 34, 57, 0.7);
}

.desktop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.mini-card,
.lyrics-preview {
  min-height: 178px;
  padding: 20px;
  border-radius: 22px;
}

.desktop-grid > :last-child {
  grid-column: span 2;
}

.pill.light {
  background: rgba(126, 209, 255, 0.1);
}

.lyrics-preview {
  display: grid;
  align-content: center;
  gap: 14px;
}

.lyrics-line {
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.lyrics-line.active {
  width: 82%;
  background: linear-gradient(90deg, rgba(126, 209, 255, 0.98), rgba(152, 226, 255, 0.54));
}

.lyrics-line.faint {
  width: 68%;
}

.section {
  padding: 30px;
  margin-top: 18px;
  border-radius: var(--radius-xl);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-tile {
  padding: 22px;
  border-radius: 22px;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
}

.feature-grid,
.platform-grid,
.about-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(126, 209, 255, 0.2), rgba(79, 120, 255, 0.15));
  color: var(--accent-2);
  font-size: 1.3rem;
}

.preview-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.preview-card {
  padding: 22px;
  border-radius: 28px;
}

.phone-frame {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(34, 48, 76, 0.9), rgba(11, 18, 33, 1));
}

.phone-notch {
  width: 36%;
  height: 28px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: rgba(3, 7, 14, 0.82);
}

.phone-screen {
  min-height: 520px;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 20, 38, 0.96), rgba(5, 10, 18, 0.96));
}

.art-panel {
  aspect-ratio: 1;
  margin: 20px 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(126, 209, 255, 0.65), transparent 34%),
    linear-gradient(160deg, #152845, #060d18);
}

.transport-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 18px;
}

.transport-row span {
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.transport-row span.active {
  background: linear-gradient(135deg, #96e2ff, #79c8ff);
}

.lyric-stack {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.chat-bubble {
  max-width: 88%;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.5;
}

.chat-bubble.host {
  background: rgba(126, 209, 255, 0.14);
}

.chat-bubble.listener {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
}

.chat-bubble.system {
  max-width: 100%;
  background: rgba(31, 71, 115, 0.36);
  color: var(--muted);
}

.wide-preview {
  height: 100%;
  padding: 26px;
  border-radius: 28px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.library-grid > div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.wide-list {
  display: grid;
  gap: 12px;
}

.wide-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.row-art {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(126, 209, 255, 0.45), rgba(79, 120, 255, 0.18));
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.platform-card,
.about-card {
  padding: 26px;
  border-radius: 24px;
}

.platform-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.platform-head span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  margin-top: 18px;
  border-radius: 28px;
}

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

.footer-brand img {
  width: 44px;
  height: 44px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

@media (max-width: 1120px) {
  .hero,
  .feature-grid,
  .preview-rail,
  .platform-grid,
  .stats-band,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-grid > :last-child {
    grid-column: auto;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 24px), calc(var(--content) + 64px));
    padding-top: 16px;
  }

  .topbar {
    border-radius: 24px;
  }

  .topnav,
  .topbar-action {
    display: none;
  }

  .hero,
  .feature-grid,
  .preview-rail,
  .platform-grid,
  .stats-band,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-stage,
  .section,
  .footer {
    padding: 24px;
  }

  .hero-stage {
    min-height: unset;
  }

  .hero h1,
  .section-heading h2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .desktop-layout {
    grid-template-columns: 1fr;
  }

  .desktop-rail {
    grid-auto-flow: column;
    grid-auto-columns: minmax(92px, 1fr);
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .desktop-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 16px), calc(var(--content) + 64px));
  }

  .hero-copy,
  .hero-stage,
  .section,
  .footer {
    padding: 18px;
    border-radius: 24px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .preview-card {
    padding: 16px;
  }

  .phone-frame {
    width: 100%;
  }

  .phone-screen {
    min-height: 460px;
    padding: 20px;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    width: 100%;
  }
}
