:root {
  --violet: #8a2be2;
  --violet-dark: #6a11cb;
  --white-soft: rgba(255, 255, 255, .68);
  --white-muted: rgba(255, 255, 255, .52);
  --border: rgba(255, 255, 255, .09);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a {
  font: inherit;
}

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

img,
svg {
  display: block;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.galaxy {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.nebula {
  position: absolute;
  inset: 0;
  opacity: .9;
  filter: blur(20px);
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(138, 43, 226, .45), transparent 60%),
    radial-gradient(ellipse 45% 40% at 80% 70%, rgba(106, 17, 203, .4), transparent 65%),
    radial-gradient(ellipse 30% 30% at 50% 90%, rgba(74, 11, 158, .5), transparent 60%);
}

.stars {
  position: absolute;
  inset: 0;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .65) 100%);
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(12px);
}

.topbar__left,
.topbar__actions,
.brand,
.store-row,
.footer__brand {
  display: flex;
  align-items: center;
}

.topbar__left {
  gap: 14px;
}

.topbar__actions {
  gap: 18px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.menu-button {
  display: grid;
  place-content: center;
  gap: 5px;
}

.menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-button span:last-child {
  width: 14px;
}

.brand {
  gap: 14px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(138, 43, 226, .4);
}

.brand span,
.footer__brand strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.brand span {
  font-size: 22px;
}

.locale-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
}

.locale-toggle button,
.locale-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, .65);
  background: transparent;
  cursor: pointer;
}

.locale-toggle button.is-active,
.locale-toggle a.is-active {
  color: #000;
  background: #fff;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(138, 43, 226, .45), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.primary-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.hero {
  position: relative;
  padding: 90px 56px 60px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px solid rgba(138, 43, 226, .5);
  border-radius: 999px;
  background: rgba(138, 43, 226, .12);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
}

.hero h1 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .98;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(135deg, #c084fc, var(--violet) 60%, var(--violet-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__copy {
  max-width: 620px;
  margin: 0 auto 44px;
  color: var(--white-soft);
  font-size: 19px;
  line-height: 1.55;
}

.store-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.hero .store-row {
  margin-bottom: 88px;
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 185px;
  height: 56px;
  padding: 0 20px;
  border-radius: 23px;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}

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

.store-badge svg {
  width: 24px;
  height: 30px;
  fill: currentColor;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  text-align: left;
}

.store-badge small {
  opacity: .7;
  font-size: 9px;
  font-weight: 500;
}

.store-badge strong {
  font-size: 17px;
  font-weight: 700;
}

.store-badge--lg {
  min-width: 210px;
  height: 64px;
  padding: 0 22px;
  border-radius: 27px;
}

.store-badge--lg svg {
  width: 27px;
  height: 32px;
}

.store-badge--lg small {
  font-size: 10px;
}

.store-badge--lg strong {
  font-size: 19px;
}

.store-badge--apple {
  color: #000;
  background: #fff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, .1);
}

.store-badge--play {
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: #fff;
  background: transparent;
}

.store-badge--play svg {
  opacity: .7;
}

.store-badge--play strong {
  opacity: .85;
}

.store-badge--play em {
  position: absolute;
  top: -10px;
  right: -10px;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.phone-stage {
  position: relative;
  width: min(100%, 1080px);
  height: 735px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.phone-fan {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: min(100%, 980px);
  justify-content: center;
  transform: translateX(-50%);
}

.phone-wrap {
  position: relative;
  z-index: 1;
}

.phone-wrap--left {
  margin-right: -48px;
}

.phone-wrap--center {
  z-index: 3;
}

.phone-wrap--right {
  margin-left: -48px;
}

.phone {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  border-radius: 55px;
  padding: 6px;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .04);
  filter: drop-shadow(0 30px 50px rgba(138, 43, 226, .35)) drop-shadow(0 60px 80px rgba(0, 0, 0, .55));
  transform-origin: center;
}

.phone-wrap--right .phone {
  opacity: .58;
  filter: drop-shadow(0 24px 46px rgba(138, 43, 226, .22)) drop-shadow(0 52px 76px rgba(0, 0, 0, .62));
}

.phone::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 2;
  border-radius: 55px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.phone img {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  object-fit: cover;
  background: #000;
}

.phone span {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 4;
  width: 32%;
  height: 9.5%;
  max-height: 31px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.phone--left,
.phone--right {
  width: 300px;
  height: 649px;
}

.phone--center {
  width: 332px;
  height: 719px;
}

.phone--left {
  animation: phoneFloatLeft 7s ease-in-out infinite;
}

.phone--center {
  animation: phoneFloatCenter 6s ease-in-out .6s infinite;
}

.phone--right {
  animation: phoneFloatRight 7.5s ease-in-out 1.2s infinite;
}

.smoke {
  position: absolute;
  right: 0;
  bottom: -122px;
  left: 0;
  z-index: 999;
  opacity: .7;
  height: 360px;
  pointer-events: none;
}

.smoke span {
  position: absolute;
  bottom: 0;
  left: var(--left);
  width: var(--width);
  height: var(--height);
  margin-left: calc(var(--width) / -2);
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--hue), transparent 70%);
  filter: blur(46px);
  animation: smokeDrift var(--duration) ease-in-out var(--delay) infinite;
}

.smoke::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(138, 43, 226, .25), transparent 70%);
  filter: blur(24px);
  animation: smokeWash 14s ease-in-out infinite;
}

.features {
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 80px 100px;
}

.section-heading {
  margin-bottom: 60px;
  text-align: center;
}

.section-heading p {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-heading h2 {
  color: #fff;
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

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

.feature-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  box-shadow: 0 8px 20px rgba(138, 43, 226, .4);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.feature-icon svg .fill {
  fill: #fff;
  stroke: none;
}

.feature-card h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 14.5px;
  line-height: 1.6;
}

.download {
  padding: 60px 80px 80px;
  text-align: center;
}

.download-panel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(138, 43, 226, .4);
  border-radius: 32px;
  padding: 60px 50px;
  background: linear-gradient(135deg, rgba(138, 43, 226, .25), rgba(74, 11, 158, .18));
}

.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(138, 43, 226, .35), transparent 60%);
}

.download-panel > * {
  position: relative;
}

.download-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: 0;
}

.download-panel p {
  max-width: 480px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, .7);
  font-size: 17px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 50px 80px 40px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer__brand {
  gap: 14px;
}

.footer__brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer__brand div {
  display: grid;
  gap: 2px;
}

.footer__brand strong {
  font-size: 18px;
}

.footer__brand span {
  color: rgba(255, 255, 255, .4);
  font-size: 12.5px;
}

.footer nav {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

body.menu-is-open {
  overflow: hidden;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.site-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  width: min(420px, 100vw);
  padding: 42px 36px 32px;
  color: #111;
  background: rgba(255, 255, 255, .96);
  box-shadow: 40px 0 100px rgba(0, 0, 0, .38);
  transform: translateX(-102%);
  transition: transform .28s ease;
}

.site-menu nav {
  display: grid;
  margin-top: 30px;
}

.site-menu nav a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 17, 17, .14);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(18px, 2.5vw, 25px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.menu-close {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 2px;
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: rgba(17, 17, 17, .62);
}

.menu-close::before {
  transform: rotate(45deg);
}

.menu-close::after {
  transform: rotate(-45deg);
}

.menu-locale {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.menu-locale button,
.menu-locale a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  border: 1px solid rgba(17, 17, 17, .16);
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.menu-locale button.is-active,
.menu-locale a.is-active {
  color: #fff;
  background: #111;
}

body.menu-is-open .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.menu-is-open .site-menu {
  transform: translateX(0);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 600;
}

.legal-shell .galaxy {
  position: fixed;
}

.legal-page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 88px 32px 96px;
}

.legal-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(138, 43, 226, .46);
  border-radius: 999px;
  color: #dec6ff;
  background: rgba(138, 43, 226, .15);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-lang-jump {
  margin: 30px 0 0;
  display: inline-block;
  text-decoration: underline;
}

.legal-page h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .96;
}

.legal-date {
  margin: 18px 0 42px;
  color: rgba(255, 255, 255, .58);
  font-size: 15px;
}

.legal-card {
  margin: 0 0 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  color: #17151d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.legal-card h2 {
  margin-bottom: 12px;
  color: #111;
  font-size: 19px;
  font-weight: 700;
}

.legal-card p {
  margin: 0;
  color: rgba(17, 17, 17, .76);
  font-size: 15px;
  line-height: 1.72;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: rgba(17, 17, 17, .76);
  font-size: 15px;
  line-height: 1.72;
}

.legal-card a {
  color: var(--violet-dark);
  font-weight: 700;
}

@keyframes phoneFloatLeft {
  0%, 100% { transform: rotate(-8deg) translateY(24px); }
  50% { transform: rotate(-8deg) translateY(56px); }
}

@keyframes phoneFloatCenter {
  0%, 100% { transform: rotate(0deg) translateY(-30px); }
  50% { transform: rotate(0deg) translateY(10px); }
}

@keyframes phoneFloatRight {
  0%, 100% { transform: rotate(8deg) translateY(24px); }
  50% { transform: rotate(8deg) translateY(56px); }
}

@keyframes smokeDrift {
  0%, 100% { transform: translate(calc(var(--amp) * -1), 6px) scale(1); opacity: .85; }
  33% { transform: translate(var(--amp), -10px) scale(1.08); opacity: 1; }
  66% { transform: translate(calc(var(--amp) * .5), 8px) scale(.96); opacity: .75; }
}

@keyframes smokeWash {
  0%, 100% { transform: scale(1) translateY(0); opacity: .9; }
  50% { transform: scale(1.06) translateY(-8px); opacity: 1; }
}

@media (max-width: 980px) {
  .topbar {
    padding: 18px 24px;
  }

  .topbar__actions {
    gap: 10px;
  }

  .primary-button {
    display: none;
  }

  .hero {
    padding: 70px 22px 36px;
  }

  .phone-stage {
    height: 600px;
    margin-top: 0;
  }

  .phone--left,
  .phone--right {
    width: 210px;
    height: 454px;
  }

  .phone--center {
    width: 245px;
    height: 530px;
  }

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

  .features,
  .download,
  .legal-page,
  .footer {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar__actions {
    display: none;
  }

  .back-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .brand span {
    font-size: 20px;
  }

  .locale-toggle {
    margin-top: 3px;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero__copy {
    font-size: 16px;
  }

  .store-badge,
  .store-badge--lg {
    width: min(100%, 240px);
  }

  .phone-stage {
    height: 470px;
  }

  .phone-wrap--left {
    margin-right: -76px;
  }

  .phone-wrap--right {
    margin-left: -76px;
  }

  .phone--left,
  .phone--right {
    width: 150px;
    height: 324px;
  }

  .phone--center {
    width: 180px;
    height: 390px;
  }

  .features {
    padding-top: 90px;
  }

  .download-panel {
    border-radius: 24px;
    padding: 42px 22px;
  }

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

  .site-menu {
    padding: 36px 24px 26px;
  }

  .site-menu nav {
    margin-top: 42px;
  }

  .site-menu nav a {
    padding: 13px 0;
    font-size: 20px;
    line-height: 1.08;
  }

  .menu-close {
    top: 46px;
    right: 24px;
  }

  .legal-page {
    padding-top: 64px;
  }

  .legal-card {
    padding: 22px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
