:root {
  --page: #07060c;
  --raised: #12101a;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f6f2ff;
  --muted: #a89bc8;
  --accent: #8b6cff;
  --soft: #c4b5ff;
  --page-rgb: 7, 6, 12;
}
* { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--page);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100%;
  overflow-x: hidden;
}
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}
.orb-a {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  background: rgba(139, 108, 255, 0.35);
}
.orb-b {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -80px;
  background: rgba(80, 40, 160, 0.25);
}
nav, .hero, section, footer { position: relative; z-index: 1; }
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px max(20px, env(safe-area-inset-right)) 14px max(20px, env(safe-area-inset-left));
  padding-top: max(14px, env(safe-area-inset-top));
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(var(--page-rgb), 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links-dl { display: none; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo img { border-radius: 10px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--ink); }
.nav-dl {
  color: var(--page);
  background: var(--accent);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}
.lang {
  display: flex;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 650;
}
.lang a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}
.lang a.on, .lang a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.vander-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
}
.vander-lockup img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 4px;
}
.vander-lockup strong { display: block; font-size: 1rem; }
.vander-lockup span { color: var(--muted); font-size: 0.82rem; }
.card.highlight .vander-lockup { margin: 0 0 12px; }
.legal-page {
  max-width: 760px;
  padding-top: 48px;
}
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.legal-page h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.legal-page p, .legal-page li { color: var(--muted); margin: 8px 0; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page a { color: var(--soft); }
.legal-page code {
  font-size: 0.88em;
  color: var(--soft);
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px max(20px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  color: #7a7194;
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}
footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
}
footer .foot-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 2px;
}
footer nav {
  position: static;
  background: none;
  border: 0;
  padding: 0;
  gap: 8px 16px;
  flex-wrap: wrap;
}
footer nav a {
  color: #7a7194;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 72px max(20px, 7vw) 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.kicker {
  color: var(--soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 16px;
}
h1, h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 12px; }
.lead {
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 42ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--page);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 999px;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.big { min-width: 260px; padding: 16px 32px; font-size: 1.05rem; }
button.btn { border: 0; cursor: pointer; font: inherit; }
button.btn:disabled { opacity: 0.55; cursor: default; }
.btn.off { opacity: 0.4; pointer-events: none; }
.hint { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 22px 0 0;
}
.pills li {
  font-size: 0.78rem;
  color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}
.phone { display: flex; justify-content: center; }
.phone-bezel {
  width: 280px;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2a2438, #0d0b14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-screen {
  background: #0a0812;
  border-radius: 28px;
  padding: 18px 16px 22px;
  min-height: 480px;
}
.ui-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--soft);
  margin-bottom: 16px;
}
.chip {
  border: 1px solid rgba(196, 181, 255, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
}
.cover {
  height: 210px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%, #c4b5ff, #5a3fd4 42%, #1a1028);
  display: grid;
  place-items: center;
}
.eq { display: flex; gap: 6px; align-items: flex-end; height: 54px; }
.eq i {
  width: 8px;
  background: #0a0812;
  border-radius: 4px;
  animation: eq 1.1s ease-in-out infinite;
}
.eq i:nth-child(1) { height: 18px; animation-delay: 0s; }
.eq i:nth-child(2) { height: 36px; animation-delay: .15s; }
.eq i:nth-child(3) { height: 52px; animation-delay: .05s; }
.eq i:nth-child(4) { height: 28px; animation-delay: .25s; }
.eq i:nth-child(5) { height: 40px; animation-delay: .1s; }
@keyframes eq {
  50% { transform: scaleY(0.45); }
}
.track { margin-top: 16px; font-weight: 650; }
.artist { color: var(--muted); font-size: 0.86rem; }
.lyric {
  color: var(--soft);
  font-size: 0.84rem;
  margin-top: 6px;
  min-height: 1.3em;
}
.lyric.next {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}
.demo-track { font-weight: 650; margin-top: 8px; }
.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.demo-card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.q-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.q-row button, .saver {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 10px 16px;
  min-height: 44px;
}
.q-row button.on, .saver.on {
  background: var(--accent);
  color: var(--page);
  border-color: transparent;
}
.saver { margin-top: 14px; }
.trip-board { display: grid; gap: 18px; }
.trip-board h3 { font-family: Outfit, system-ui, sans-serif; font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.trip-list { list-style: none; padding: 0; }
.trip-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(139, 108, 255, 0.16);
  margin: 8px 0;
}
.trip-list.missing li {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}
.band .btn { margin-top: 18px; }
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.steps li {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  color: var(--muted);
}
.steps strong { display: block; color: var(--ink); margin-bottom: 8px; }
.bar {
  height: 4px;
  background: #1e182a;
  border-radius: 99px;
  margin: 14px 0;
}
.bar span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
}
.controls {
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  font-size: 1.1rem;
}
.play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--page);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}
.sleeps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 18px;
}
.sleeps b {
  text-align: center;
  font-weight: 550;
  font-size: 0.72rem;
  padding: 7px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.sleeps .on {
  background: rgba(139, 108, 255, 0.22);
  color: var(--soft);
  border-color: transparent;
}
section { padding: 72px max(20px, 7vw); max-width: 1280px; margin: 0 auto; }
.section-head { max-width: 40rem; margin-bottom: 32px; }
.section-head p, .band p, .dl p { color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.grid article {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px 22px;
}
.grid h3 { font-size: 1.02rem; margin-bottom: 8px; }
.grid p { color: var(--muted); font-size: 0.92rem; }
.band {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  background: linear-gradient(90deg, rgba(139, 108, 255, 0.12), transparent);
  border-block: 1px solid var(--line);
}
.band ol {
  color: var(--muted);
  padding-left: 1.2rem;
}
.band li { margin: 10px 0; }
.band strong { color: var(--ink); }
.dl {
  text-align: center;
  max-width: 720px;
}
.dl .btn { margin: 22px 0 8px; }
.fine { margin-top: 18px; font-size: 0.78rem; color: #7a7194; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 4px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.credits {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}
.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.card.highlight { border-color: rgba(139, 108, 255, 0.45); }
.who { font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.92rem; }
.card a { color: var(--soft); font-size: 0.85rem; display: block; margin-top: 10px; }
.legal { margin-top: 22px; color: #7a7194; font-size: 0.85rem; }
.changelog-page .changelog-lead { max-width: 46ch; margin-bottom: 20px; }
.changelog-page .btn { margin-bottom: 36px; }
.release {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 24px;
  margin: 16px 0;
}
.release.current { border-color: rgba(139, 108, 255, 0.5); }
.release header { margin-bottom: 12px; }
.release h2 { margin: 6px 0 4px; font-size: clamp(1.5rem, 3vw, 2rem); }
.release-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--page);
  background: var(--soft);
  border-radius: 999px;
  padding: 3px 10px;
}
.release-meta { color: var(--muted); font-size: 0.88rem; }
.release h3 { font-size: 0.92rem; margin: 16px 0 8px; color: var(--soft); }
.release ul { padding-left: 1.15rem; color: var(--muted); }
.release li { margin: 6px 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }

@media (max-width: 980px) {
  .hero, .band, .credits, .demo, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; padding-bottom: 48px; gap: 36px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 20;
    margin: 4px 0 0;
    padding: 6px 0 8px;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  nav.is-open .nav-links { display: flex; }
  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    font-size: 1rem;
  }
  .nav-links-dl {
    display: flex;
    color: var(--page) !important;
    background: var(--accent);
    border-radius: 12px;
    justify-content: center;
    margin-top: 8px;
  }
  .nav-end .nav-dl { display: none; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .orb-a, .orb-b { width: 220px; height: 220px; filter: blur(60px); }
  h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  h1 br { display: none; }
  .lead { font-size: 1.02rem; max-width: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .btn.big { width: 100%; min-width: 0; }
  .phone-bezel { width: min(250px, 78vw); padding: 10px; border-radius: 32px; }
  .phone-screen { min-height: 0; padding: 14px 14px 16px; }
  .cover { height: 160px; }
  section, .band { padding-top: 48px; padding-bottom: 48px; }
  .legal-page { padding-top: 28px; }
  .legal-page h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
  footer nav { width: 100%; }
}

@media (max-width: 380px) {
  .logo { font-size: 0.95rem; }
  .logo img { width: 30px; height: 30px; }
}

