:root {
  color-scheme: dark;
  --background: #050505;
  --surface: #111113;
  --surface-raised: #19191c;
  --surface-soft: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #aaaab2;
  --pink: #ff008c;
  --pink-light: #ff5db5;
  --max: 1120px;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -5%, rgba(255, 0, 140, 0.22), transparent 31rem),
    radial-gradient(circle at 95% 22%, rgba(255, 0, 140, 0.09), transparent 28rem),
    var(--background);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(255, 0, 140, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .language-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.page {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  min-height: 620px;
  gap: clamp(36px, 7vw, 96px);
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--pink-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 18px var(--pink);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.066em;
}

.subhero h1,
.legal-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.lead {
  max-width: 650px;
  color: #c2c2c8;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 93, 181, 0.78);
  outline-offset: 3px;
}

.button-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 14px 40px rgba(255, 0, 140, 0.26);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

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

.hero-glow {
  position: absolute;
  width: min(92vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 0, 140, 0.23);
  filter: blur(72px);
}

.hero-icon {
  position: relative;
  width: min(62vw, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28%;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.58), 0 18px 75px rgba(255, 0, 140, 0.25);
}

.now-playing {
  position: absolute;
  right: 0;
  bottom: 2%;
  width: min(330px, 92%);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(18, 18, 20, 0.84);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.now-playing small {
  display: block;
  margin-bottom: 2px;
  color: var(--pink-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.now-playing strong,
.now-playing span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing span {
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.section-heading p {
  color: var(--muted);
}

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

.platform-card,
.feature-card,
.download-card,
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.platform-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.platform-card:hover {
  border-color: rgba(255, 0, 140, 0.58);
  background: linear-gradient(145deg, rgba(255, 0, 140, 0.15), rgba(255, 255, 255, 0.035));
  transform: translateY(-4px);
}

.platform-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 17px;
  background: var(--pink);
  font-size: 1.35rem;
  font-weight: 900;
}

.platform-card h3 {
  margin-bottom: 6px;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.platform-card p {
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  color: var(--pink-light);
  font-weight: 750;
}

.feature-card,
.download-card,
.info-card {
  padding: 25px;
}

.feature-card h3,
.download-card h3,
.info-card h2,
.info-card h3 {
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.feature-card p,
.download-card p,
.info-card p,
.info-card li {
  color: var(--muted);
}

.subhero,
.legal-hero {
  padding: 82px 0 52px;
}

.subhero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 48px;
}

.subhero-icon {
  width: 190px;
  border-radius: 26%;
  box-shadow: 0 25px 80px rgba(255, 0, 140, 0.22);
}

.notice {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 0, 140, 0.28);
  border-radius: 16px;
  background: rgba(255, 0, 140, 0.08);
  color: #e7c6da;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}

.steps li {
  position: relative;
  min-height: 50px;
  padding: 4px 0 24px 62px;
  counter-increment: install-step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  content: counter(install-step);
  font-weight: 850;
}

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.chip {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #d1d1d7;
  background: var(--surface-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.download-card {
  display: flex;
  flex-direction: column;
}

.download-card .button {
  margin-top: auto;
}

.hash {
  display: block;
  overflow-wrap: anywhere;
  margin: 14px 0 22px;
  color: #888892;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
}

.content-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  padding-bottom: 90px;
}

.side-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 5px;
}

.side-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  color: var(--text);
  background: var(--surface-soft);
}

.content-stack {
  display: grid;
  gap: 16px;
}

.content-stack .info-card {
  scroll-margin-top: 96px;
}

.info-card h2 {
  font-size: 1.45rem;
}

.info-card ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.info-card a,
.legal-link {
  color: var(--pink-light);
  text-underline-offset: 3px;
}

.support-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.support-contact p {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.26);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: #85858e;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
}

.footer-links a {
  color: #bdbdc4;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 0 40px;
  }

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

  .hero-copy .lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy .actions,
  .hero-copy .eyebrow {
    justify-content: center;
  }

  .hero-visual {
    min-height: 340px;
  }

  .platform-grid,
  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 245px;
  }

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

  .side-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .side-nav a {
    flex: 0 0 auto;
    background: var(--surface-soft);
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 66px;
  }

  .brand span {
    display: none;
  }

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

  .nav-links {
    gap: 1px;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .actions .button {
    width: 100%;
  }

  .now-playing {
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
  }

  .subhero {
    grid-template-columns: 1fr;
    padding-top: 54px;
    text-align: center;
  }

  .subhero-icon {
    order: -1;
    width: 145px;
    margin: 0 auto;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
