:root {
  --bg-page: #e8e0f5;
  --bg-page-alt: #f3eef9;
  --bg-deep: #e0d8ef;
  --bg-card: #fffdf8;
  --surface: #fbf8f3;
  --lavender: #ebe4f8;
  --ink: #2a2440;
  --secondary: #4a4560;
  --muted: #7a7494;
  --label: #8b849e;
  --purple: #6b4cff;
  --purple-bright: #7c5cff;
  --mint: #326c78;
  --mint-bg: #e9ddfd;
  --border: rgba(42, 36, 64, 0.12);
  --shadow: 0 16px 40px rgba(42, 36, 64, 0.08);
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --measure: 72rem;
  --radius: 24px;
  --pill: 9999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-page);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 75% 50% at 88% 12%, rgba(124, 92, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 45% at 8% 85%, rgba(107, 76, 255, 0.08), transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 253, 248, 0.45), transparent 70%),
    linear-gradient(180deg, var(--bg-page-alt) 0%, var(--bg-page) 48%, var(--bg-deep) 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.grain,
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 1;
  opacity: 0.045;
  mix-blend-mode: multiply;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.sky {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--purple);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: var(--pill);
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--measure));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.wordmark span {
  color: var(--purple);
  margin-right: 0.35rem;
}

.site-nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.site-nav a,
.site-footer a,
.release-note a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-footer a:hover,
.release-note a:hover {
  color: var(--purple);
}

.download-top {
  position: sticky;
  top: 0.75rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  width: min(100% - 2.5rem, var(--measure));
  margin: 0 auto;
  padding: 0.95rem 1.15rem;
  background: rgba(251, 248, 243, 0.94);
  border: 1px solid rgba(42, 36, 64, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.download-top-copy h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.download-top .kicker {
  margin-bottom: 0.4rem;
}

.download-top .download-block {
  flex: 1 1 22rem;
  align-items: flex-end;
}

.download-top .release-note {
  max-width: 26rem;
  text-align: right;
}

.hero {
  width: min(100% - 2.5rem, var(--measure));
  margin: 0 auto;
  padding: 1.25rem 0 3.5rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.2rem) 11rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #2f2850 0%, #241f3d 55%, #1e1a34 100%);
  color: #f8f6ff;
  box-shadow: 0 20px 48px rgba(36, 31, 61, 0.28);
}

.hero-eyebrow,
.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: rgba(248, 246, 255, 0.62);
}

.eyebrow {
  color: var(--purple);
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.02;
}

h1 span {
  display: block;
}

.lede {
  max-width: 24rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(248, 246, 255, 0.82);
}

.hero-foot {
  margin: 1.4rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.hero-foot span {
  display: block;
  margin-top: 0.25rem;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
  font-weight: 400;
  color: #c4b5fd;
}

.hero-art {
  position: absolute;
  right: -2%;
  bottom: -4%;
  width: min(92%, 26rem);
  height: 11.5rem;
  pointer-events: none;
}

.art-orbits,
.art-moon,
.art-ship,
.art-planet {
  position: absolute;
  height: auto;
}

.art-orbits {
  right: -4%;
  bottom: -18%;
  width: 92%;
  opacity: 0.4;
}

.art-moon {
  right: 46%;
  bottom: 62%;
  width: 12%;
}

.art-ship {
  left: 0;
  bottom: 16%;
  width: 46%;
  transform: rotate(-8deg);
}

.art-planet {
  right: 0;
  bottom: 0;
  width: 52%;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--mint-bg);
  border-radius: var(--pill);
}

.band-intro h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.12;
}

.band-intro p,
.feature-grid p,
.steps p,
.privacy {
  color: var(--secondary);
  line-height: 1.55;
}

.download-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dl-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 8.6rem;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.dl-button:active {
  transform: translateY(1px);
}

.dl-button strong {
  font-weight: 700;
  font-size: 0.95rem;
}

.dl-button small {
  font-size: 0.75rem;
  font-weight: 600;
}

.dl-button.primary {
  background: linear-gradient(180deg, var(--purple-bright) 0%, var(--purple) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(107, 76, 255, 0.28);
}

.dl-button.primary small {
  color: rgba(255, 255, 255, 0.82);
}

.dl-button.secondary,
.dl-button.waiting {
  background: var(--lavender);
  color: var(--ink);
  border-color: var(--border);
}

.dl-button.secondary small,
.dl-button.waiting small {
  color: var(--muted);
}

.dl-button.secondary:hover {
  border-color: rgba(107, 76, 255, 0.32);
}

.release-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.release-note a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.band {
  width: min(100% - 2.5rem, var(--measure));
  margin: 0 auto;
  padding: 3.2rem 0;
}

.band-intro {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.band-intro p:last-child {
  margin: 0;
  font-size: 1.05rem;
}

.feature-grid,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid li,
.steps li {
  padding: 1.25rem 1.2rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-index {
  margin: 0 0 0.7rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-grid h3,
.steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.feature-grid p,
.steps p {
  margin: 0;
}

.steps {
  counter-reset: step;
}

.steps li {
  border-top: 3px solid var(--purple);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: min(100% - 2.5rem, var(--measure));
  margin: 0 auto;
  padding: 1.3rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy {
  margin: 0;
  max-width: 40rem;
}

.privacy strong {
  color: var(--ink);
}

.privacy a {
  margin-left: 0.35rem;
}

.legal {
  width: min(100% - 2.5rem, 44rem);
  margin: 0 auto;
  padding: 0.5rem 0 3.5rem;
}

.legal-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.legal h2 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1.15rem;
}

.legal p,
.legal li {
  color: var(--secondary);
  line-height: 1.6;
}

.legal p {
  margin: 0 0 0.8rem;
}

.legal ul {
  margin: 0;
  padding-left: 1.15rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-meta p {
  margin: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.rocket-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 0;
  height: 0;
  pointer-events: none;
  transform-origin: 0 0;
  will-change: transform;
}

.rocket-body {
  position: absolute;
  left: -93.66px;
  top: -28.1px;
  display: block;
  width: 96px;
  height: 56.2px;
  overflow: visible;
  filter: drop-shadow(0 6px 10px rgba(42, 36, 64, 0.22));
}

.rocket-exhaust {
  opacity: 0;
}

.rocket-cursor.is-burning .rocket-exhaust {
  opacity: 1;
}

a:focus-visible,
.dl-button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

@keyframes drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03) translate3d(-1%, 1%, 0);
  }
}

@media (max-width: 860px) {
  .download-top,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .download-top {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .download-top .download-block {
    align-items: stretch;
  }

  .hero-card {
    min-height: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .rocket-cursor {
    display: none !important;
  }
}
