:root {
  --bg: #09111f;
  --bg-soft: #121d34;
  --panel: rgba(12, 24, 47, 0.72);
  --panel-strong: rgba(14, 28, 55, 0.9);
  --line: rgba(196, 209, 255, 0.14);
  --text: #f7f8ff;
  --muted: #b9c3eb;
  --accent: #8ccfff;
  --accent-2: #b49cff;
  --accent-3: #ffe18a;
  --mint: #98f4db;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(141, 170, 255, 0.28), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(179, 156, 255, 0.25), transparent 22%),
    linear-gradient(180deg, #0a1430 0%, #08101d 45%, #050a12 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 241, 181, 0.1) 1px, transparent 1px);
  background-position: 0 0, 35px 60px;
  background-size: 110px 110px, 160px 160px;
  opacity: 0.35;
  pointer-events: none;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), calc(var(--content) + 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a,
.footer a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

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

.hero,
.page-hero,
.feature-section,
.theme-preview,
.copy-page,
.gallery-grid,
.cta-panel,
.section-grid {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 54px 0 40px;
}

.eyebrow,
.section-tag,
.stat-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent);
}

.hero h1,
.page-hero h1,
.copy-page h1,
.section-heading h2,
.panel-large h2,
.cta-panel h2 {
  font-family: "Baloo 2", sans-serif;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 14px 0 12px;
}

.hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  max-width: 11ch;
}

.lede,
.hero-copy p,
.feature-copy p,
.gallery-copy p,
.panel p,
.copy-page p,
.cta-panel p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.hero-actions,
.theme-link-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.download-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.store-badge {
  min-width: 160px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  pointer-events: none;
}

.store-badge-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.download-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.button-primary {
  background: linear-gradient(135deg, #96e8ff 0%, #b49cff 48%, #ffe18a 100%);
  color: #09111f;
  border-color: transparent;
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dde5ff;
}

.signal-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--mint));
  box-shadow: 0 0 24px rgba(152, 244, 219, 0.7);
}

.hero-stage {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
}

.phone-card,
.hero-summary-card {
  position: absolute;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.05);
}

.phone-card img,
.hero-summary-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
}

.hero-summary-card {
  width: min(62vw, 420px);
  aspect-ratio: 9 / 19.5;
  transform: translate(24px, 10px) rotate(-3deg);
}

.hero-summary-card-secondary {
  width: min(42vw, 255px);
  transform: translate(-170px, 120px) rotate(-7deg);
  opacity: 0.98;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.9;
}

.orb-a {
  width: 220px;
  height: 220px;
  background: rgba(164, 203, 255, 0.35);
  top: 70px;
  right: 80px;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: rgba(187, 150, 255, 0.28);
  left: 40px;
  bottom: 80px;
}

.floating-chip {
  position: absolute;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.chip-no-servers {
  left: 48px;
  bottom: 76px;
}

.chip-noise {
  right: 36px;
  top: 86px;
}

.marquee-section {
  overflow: hidden;
  margin: 8px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 18px 0;
  color: #dce4ff;
  animation: drift 28s linear infinite;
}

.marquee-track span::before {
  content: "✦";
  margin-right: 12px;
  color: var(--accent-3);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
  margin: 34px 0 28px;
}

.panel,
.feature-card,
.cta-panel,
.gallery-card,
.copy-page,
.theme-stage,
.page-hero {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.panel,
.cta-panel,
.page-hero,
.copy-page {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.panel-large {
  min-height: 100%;
}

.stat-panel strong {
  display: block;
  font-size: 1.45rem;
  margin: 14px 0 10px;
}

.inline-preview-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.app-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
  margin-top: 44px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.app-band-parent {
  margin-top: 28px;
}

.app-band-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.app-feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.app-feature-list li {
  color: #dde5ff;
  display: flex;
  gap: 12px;
}

.app-feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--mint));
  box-shadow: 0 0 24px rgba(152, 244, 219, 0.7);
  flex: 0 0 auto;
}

.app-band-visuals {
  display: grid;
  gap: 16px;
}

.app-shot-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.app-shot-stack {
  display: grid;
  gap: 14px;
}

.app-shot {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.04);
  display: block;
}

.app-shot-tall {
  aspect-ratio: 9 / 19.5;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.app-shot-mid {
  aspect-ratio: 9 / 12.5;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.feature-section,
.theme-preview {
  margin-top: 48px;
}

.theme-preview.app-band {
  grid-template-columns: 1fr;
  align-items: stretch;
}

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

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

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

.feature-card,
.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.feature-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

.feature-copy,
.gallery-copy {
  padding: 22px;
}

.feature-copy h3,
.gallery-copy h2,
.scene-copy h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 2rem;
  margin: 0 0 8px;
}

.theme-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.theme-pill {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.theme-pill:hover,
.theme-pill.is-active {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.theme-stage {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 760px;
}

.theme-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.theme-scene.is-active {
  opacity: 1;
  pointer-events: auto;
}

.theme-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.08), rgba(5, 10, 18, 0.78));
  backdrop-filter: blur(8px);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 52px;
}

.page-hero {
  margin: 32px 0 28px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  max-width: 10ch;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.copy-page {
  max-width: 860px;
  margin: 32px auto 0;
  background: var(--panel-strong);
}

.copy-page h2 {
  font-family: "Baloo 2", sans-serif;
  font-size: 2rem;
  margin: 28px 0 8px;
}

.muted {
  color: var(--muted);
}

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

.footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 36px 0 8px;
  color: var(--muted);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .hero,
  .section-grid,
  .feature-grid,
  .gallery-grid,
  .support-grid,
  .cta-panel,
  .app-band {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .hero-summary-card {
    position: relative;
    width: min(72vw, 460px);
    transform: none;
  }

  .hero-summary-card-secondary {
    width: min(38vw, 240px);
    transform: translate(-80px, 90px) rotate(-7deg);
  }

  .theme-stage {
    min-height: 680px;
  }

  .cta-panel {
    gap: 12px;
  }

  .app-shot-grid {
    grid-template-columns: 1fr;
  }
}

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

  .topbar {
    position: static;
    padding-top: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    gap: 10px 14px;
    font-size: 0.92rem;
    width: 100%;
  }

  .brand {
    font-size: 1.35rem;
    gap: 10px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .hero {
    gap: 18px;
    padding-top: 20px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4.1rem);
    line-height: 0.98;
    margin-top: 10px;
  }

  .hero-copy .lede,
  .hero-copy p,
  .signal-list li {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero-stage {
    min-height: auto;
    padding-top: 12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .hero-summary-card {
    width: min(88vw, 360px);
    position: relative;
    transform: none;
  }

  .hero-summary-card-secondary {
    display: none;
  }

  .chip-noise {
    position: absolute;
    right: 14px;
    top: auto;
    bottom: 18px;
    max-width: 210px;
    font-size: 0.9rem;
  }

  .chip-no-servers {
    left: 10px;
    bottom: 18px;
  }

  .download-strip {
    margin-top: 20px;
  }

  .store-badge {
    min-width: 140px;
    padding: 12px 16px;
  }

  .panel,
  .page-hero,
  .copy-page,
  .cta-panel {
    padding: 22px;
  }

  .theme-stage {
    min-height: 540px;
  }

  .app-band {
    padding: 22px;
  }

  .app-shot-grid {
    grid-template-columns: 1fr;
  }

  .app-shot-stack {
    grid-template-columns: 1fr 1fr;
  }

  .app-shot-tall {
    max-height: 560px;
  }

  .app-shot-mid {
    aspect-ratio: 9 / 16;
  }

  .feature-copy h3,
  .gallery-copy h2,
  .scene-copy h3,
  .copy-page h2 {
    font-size: 1.65rem;
  }
}
