:root {
  color-scheme: dark;
  --bg: #050713;
  --bg-soft: rgba(9, 8, 24, 0.72);
  --panel: rgba(18, 16, 42, 0.58);
  --panel-strong: rgba(18, 16, 42, 0.78);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --glass: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(155, 112, 255, 0.08) 48%, rgba(66, 222, 212, 0.045));
  --glass-card: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(155, 112, 255, 0.075) 52%, rgba(255, 213, 107, 0.04));
  --line: rgba(191, 166, 255, 0.24);
  --line-strong: rgba(255, 213, 122, 0.36);
  --text: #fff8ec;
  --muted: #d8d0ea;
  --soft: #a99fc5;
  --gold: #ffd36b;
  --cyan: #42ded4;
  --pink: #ff609b;
  --violet: #9b70ff;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(5, 7, 19, 0.34), rgba(5, 7, 19, 0.82) 68%, #050713),
    url("./assets/background-poster.jpg") center / cover fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(255, 211, 107, 0.3) 0 1px, transparent 1.2px);
  background-position: 24px 34px, 90px 122px;
  background-size: 150px 150px, 230px 230px;
  opacity: 0.18;
}

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

p {
  color: var(--muted);
  line-height: 1.72;
}

strong {
  color: var(--text);
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(191, 166, 255, 0.16);
  background: rgba(5, 7, 19, 0.72);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-weight: 950;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 213, 122, 0.28);
  border-radius: 14px;
  box-shadow: 0 0 28px rgba(255, 213, 122, 0.22);
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a,
.button,
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  background: var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.16);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav a:hover,
.button:hover,
.pill-link:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.language-switch {
  color: var(--gold);
}

.button.primary {
  border: 0;
  color: #170f22;
  background: linear-gradient(135deg, #ffd36b, #f08a92 54%, #9b70ff);
  box-shadow: 0 16px 34px rgba(255, 96, 155, 0.2);
}

.button.subtle {
  color: var(--cyan);
  border-color: rgba(66, 222, 212, 0.36);
  background: linear-gradient(135deg, rgba(66, 222, 212, 0.13), rgba(155, 112, 255, 0.08));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 28px;
  align-items: stretch;
  padding: 70px 0 52px;
}

.hero-panel,
.visual-panel,
.content-panel,
.legal-card,
.store-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(155, 112, 255, 0.055)),
    rgba(12, 10, 31, 0.52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel {
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2.2vw, 21px);
}

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

.store-note,
.small-note {
  color: var(--soft);
  font-size: 13px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.metric,
.feature-card,
.support-card,
.url-card,
.step,
.info-card {
  border: 1px solid rgba(191, 166, 255, 0.2);
  border-radius: 16px;
  padding: 18px;
  background: var(--glass-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 14px 34px rgba(0, 0, 0, 0.14);
}

.metric strong {
  display: block;
  color: var(--gold);
  font-size: 29px;
}

.metric span,
.step span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.visual-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 28px;
}

.visual-panel::before,
.visual-panel::after {
  position: absolute;
  border: 1px solid rgba(255, 213, 107, 0.22);
  border-radius: 50%;
  content: "";
}

.visual-panel::before {
  inset: 9%;
  transform: rotate(-12deg) scaleX(1.38);
}

.visual-panel::after {
  inset: 20%;
  border-color: rgba(66, 222, 212, 0.22);
  transform: rotate(18deg) scaleX(1.74);
}

.planet-core {
  position: absolute;
  top: 35%;
  left: 50%;
  width: min(270px, 56vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 31%, rgba(255, 255, 255, 0.82), transparent 0 8%, transparent 10%),
    radial-gradient(circle at 42% 43%, #ff8cc2 0 18%, #9b70ff 46%, #311b59 72%, #100819 100%);
  box-shadow: 0 0 46px rgba(255, 96, 155, 0.34), inset -34px -24px 60px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
}

.orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 213, 107, 0.38);
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.12), rgba(155, 112, 255, 0.1));
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(255, 213, 107, 0.12);
}

.orbit-chip.one { top: 18%; left: 12%; }
.orbit-chip.two { top: 29%; right: 9%; border-color: rgba(255, 96, 155, 0.44); }
.orbit-chip.three { bottom: 26%; left: 15%; border-color: rgba(66, 222, 212, 0.44); }
.orbit-chip.four { bottom: 16%; right: 16%; border-color: rgba(155, 112, 255, 0.5); }

.screen-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  border: 1px solid rgba(255, 213, 107, 0.3);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255, 213, 107, 0.09), rgba(155, 112, 255, 0.095));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.screen-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.section {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

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

.feature-card {
  min-height: 190px;
}

.feature-card b {
  display: block;
  margin: 16px 0 8px;
  color: var(--text);
  font-size: 20px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(255, 213, 107, 0.2), rgba(155, 112, 255, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.content-panel {
  padding: clamp(24px, 4vw, 38px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 20px;
}

.url-grid,
.support-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.url-card code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--cyan);
  font-size: 13px;
}

.footer {
  margin-top: 44px;
  border-top: 1px solid rgba(191, 166, 255, 0.18);
  padding: 30px 0 46px;
  color: var(--soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-wrap {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 58px;
}

.legal-card {
  padding: clamp(26px, 5vw, 48px);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
}

.legal-card h2 {
  margin: 32px 0 12px;
  font-size: 26px;
}

.legal-card ul,
.legal-card ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

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

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 8px;
}

.page-summary {
  display: grid;
  gap: 12px;
  margin: 24px 0 10px;
}

section[id] {
  scroll-margin-top: 104px;
}

.visual-panel {
  isolation: isolate;
}

.visual-panel::before,
.visual-panel::after,
.web-star,
.web-orbit,
.web-mini-planet {
  pointer-events: none;
}

.planet-core,
.orbit-chip,
.screen-card,
.web-planet,
.web-label {
  z-index: 2;
}

.planet-core,
.orbit-chip,
.screen-card {
  position: absolute;
}

.web-star,
.web-orbit,
.web-planet,
.web-mini-planet,
.web-label {
  position: absolute;
}

.web-star {
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.9);
  box-shadow: 0 0 18px rgba(255, 248, 236, 0.7);
}

.star-a { top: 17%; left: 21%; }
.star-b { top: 33%; right: 19%; width: 5px; height: 5px; }
.star-c { right: 29%; bottom: 34%; width: 6px; height: 6px; background: var(--gold); }

.web-orbit {
  left: 50%;
  top: 42%;
  z-index: 1;
  width: 95%;
  height: 54%;
  border: 1px solid rgba(255, 213, 107, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.orbit-two {
  width: 82%;
  height: 46%;
  border-color: rgba(66, 222, 212, 0.24);
  transform: translate(-50%, -50%) rotate(18deg);
}

.orbit-three {
  width: 70%;
  height: 38%;
  border-color: rgba(255, 96, 155, 0.24);
  transform: translate(-50%, -50%) rotate(38deg);
}

.orbit-four {
  width: 108%;
  height: 62%;
  border-color: rgba(155, 112, 255, 0.28);
  transform: translate(-50%, -50%) rotate(-34deg);
}

.web-planet {
  top: 39%;
  left: 50%;
  width: min(238px, 46%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 27%, rgba(255, 255, 255, 0.95) 0 6%, transparent 7%),
    radial-gradient(circle at 40% 38%, #ff8ec6 0 19%, #9b70ff 43%, #3a1e67 70%, #0e0718 100%);
  box-shadow:
    0 0 46px rgba(255, 96, 155, 0.42),
    0 0 86px rgba(155, 112, 255, 0.2),
    inset -34px -26px 58px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.web-planet span {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(255, 213, 107, 0.28);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.45);
}

.web-mini-planet {
  z-index: 3;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), #f08a92 58%, var(--violet));
  box-shadow: 0 0 24px rgba(255, 213, 107, 0.2);
}

.mini-a { top: 23%; left: 16%; width: 18px; height: 18px; }
.mini-b { top: 58%; right: 25%; width: 14px; height: 14px; background: linear-gradient(145deg, var(--cyan), var(--violet)); }
.mini-c { bottom: 31%; left: 27%; width: 11px; height: 11px; background: linear-gradient(145deg, #fff8ec, var(--pink)); }

.web-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(190px, 44%);
  min-height: 34px;
  border: 1px solid rgba(255, 213, 107, 0.34);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  background: rgba(8, 7, 20, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.2);
}

.label-message { top: 16%; left: 8%; }
.label-reply { top: 20%; right: 8%; border-color: rgba(255, 96, 155, 0.42); }
.label-mood { top: 50%; left: 10%; border-color: rgba(66, 222, 212, 0.42); }
.label-match { top: 52%; right: 11%; border-color: rgba(155, 112, 255, 0.48); }

.content-panel > .steps,
.content-panel > .info-grid,
.content-panel > .support-grid,
.content-panel > .url-grid {
  margin-top: 24px;
}

.content-panel h2,
.section-head h2 {
  max-width: 980px;
}

.step {
  min-height: 136px;
}

@media (max-width: 920px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .visual-panel {
    min-height: 430px;
  }

  .web-planet {
    width: min(220px, 42%);
  }

  .grid,
  .steps,
  .url-grid,
  .support-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-shell,
  .topbar-inner,
  .legal-wrap {
    width: min(100% - 24px, var(--max));
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a,
  .button,
  .pill-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-panel,
  .content-panel,
  .legal-card,
  .visual-panel {
    border-radius: 18px;
  }

  .visual-panel {
    min-height: 380px;
    padding: 20px;
  }

  .web-label {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .label-message { top: 14%; left: 7%; }
  .label-reply { top: 22%; right: 7%; }
  .label-mood { top: 47%; left: 8%; }
  .label-match { display: none; }

  .web-planet {
    top: 38%;
    width: min(178px, 54%);
  }

  .screen-card {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }
}
