:root {
  color-scheme: dark;
  --ink: #f7f8ff;
  --muted: #b7bdd7;
  --subtle: #858da9;
  --space: #080b1a;
  --space-deep: #040611;
  --panel: rgba(19, 24, 52, 0.72);
  --panel-solid: #121731;
  --line: rgba(174, 185, 238, 0.16);
  --violet: #9b87ff;
  --violet-bright: #c2b6ff;
  --cyan: #72ddff;
  --pink: #ff8bc8;
  --success: #8ee7c2;
  --warning: #ffdca2;
  --max-width: 1120px;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 11% 17%, rgba(104, 81, 224, 0.17), transparent 29rem),
    radial-gradient(circle at 86% 35%, rgba(46, 163, 218, 0.11), transparent 27rem),
    linear-gradient(180deg, var(--space) 0%, var(--space-deep) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.46;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(169, 189, 255, 0.5) 0 1px, transparent 1.3px);
  background-position: 8px 18px, 43px 61px;
  background-size: 89px 89px, 137px 137px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

a {
  color: var(--violet-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--space-deep);
  background: #fff;
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 6, 17, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), #7060ff 56%, var(--pink));
  box-shadow: 0 0 22px rgba(133, 113, 255, 0.45);
}

.brand-mark::after {
  position: absolute;
  width: 40px;
  height: 10px;
  content: "";
  border: 1px solid rgba(207, 216, 255, 0.7);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.brand-mark span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
}

nav {
  display: flex;
  gap: 6px;
}

nav a {
  padding: 8px 13px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 620;
  text-decoration: none;
  border-radius: 10px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 650px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 96px 0 102px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.document-header h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(105deg, var(--violet-bright), var(--cyan) 58%, #f7c2e4);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 650px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: #090b19;
  background: linear-gradient(110deg, var(--violet-bright), #84e4ff);
  box-shadow: 0 13px 36px rgba(115, 114, 255, 0.23);
}

.button-primary:hover {
  color: #090b19;
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(204, 212, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.button-secondary:hover {
  border-color: rgba(204, 212, 255, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.planet-scene {
  position: relative;
  z-index: 2;
  width: min(35vw, 390px);
  aspect-ratio: 1;
  justify-self: center;
}

.planet,
.planet-glow {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
}

.planet-glow {
  filter: blur(37px);
  background: rgba(102, 113, 255, 0.52);
  transform: scale(1.28);
}

.planet {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background:
    radial-gradient(ellipse at 37% 31%, rgba(255, 255, 255, 0.77) 0 1%, transparent 3%),
    radial-gradient(ellipse at 26% 35%, #b1f0ff 0 5%, transparent 14%),
    radial-gradient(ellipse at 70% 71%, #8472e8 0 7%, transparent 18%),
    radial-gradient(circle at 29% 24%, #82d8ff, #655ac7 44%, #1b204f 76%, #080b18 100%);
  box-shadow:
    inset -34px -27px 45px rgba(2, 4, 18, 0.64),
    inset 18px 12px 24px rgba(255, 255, 255, 0.12),
    0 0 0 10px rgba(159, 143, 255, 0.04),
    0 30px 90px rgba(73, 94, 255, 0.25);
}

.planet::after {
  position: absolute;
  inset: 9% -30%;
  content: "";
  border: 9px solid rgba(187, 194, 255, 0.38);
  border-right-color: rgba(89, 209, 255, 0.65);
  border-bottom-color: rgba(213, 146, 255, 0.56);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.moon {
  position: absolute;
  top: 13%;
  right: 8%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f6c4e5;
  box-shadow: 0 0 20px rgba(255, 173, 228, 0.75);
}

.hero-orbit {
  position: absolute;
  right: -12%;
  border: 1px solid rgba(161, 175, 244, 0.11);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.orbit-one {
  width: 57%;
  aspect-ratio: 1.55;
}

.orbit-two {
  width: 76%;
  aspect-ratio: 1.9;
}

.feature-grid {
  display: grid;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 96px;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.support-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(22, 28, 61, 0.8), rgba(11, 15, 35, 0.76));
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.16);
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(117, 222, 255, 0.2);
  border-radius: 13px;
  background: rgba(83, 193, 241, 0.08);
  font-size: 1.35rem;
}

.feature-card h2 {
  margin: 18px 0 7px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-band,
.support-legal {
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 96px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(184, 175, 255, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 10%, rgba(93, 222, 255, 0.22), transparent 15rem),
    linear-gradient(120deg, rgba(94, 72, 208, 0.65), rgba(28, 37, 83, 0.66));
}

.contact-band h2,
.support-legal h2 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.contact-band p:not(.eyebrow),
.support-legal p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: #d9dcf1;
}

.button-light {
  flex: 0 0 auto;
  color: #12142b;
  background: #fff;
}

.button-light:hover {
  color: #12142b;
}

.site-footer {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--subtle);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: #fff;
}

.footer-dot {
  padding-inline: 5px;
}

.document-shell {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 76px 0 110px;
}

.document-header {
  padding-bottom: 43px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.document-header h1 {
  font-size: clamp(2.65rem, 8vw, 5.2rem);
}

.updated {
  margin: 20px 0 0;
  color: var(--subtle);
  font-size: 0.92rem;
}

.privacy-summary {
  display: grid;
  margin: 34px 0 66px;
  padding: 4px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.privacy-summary div {
  display: flex;
  padding: 22px;
  flex-direction: column;
  background: rgba(13, 17, 39, 0.93);
}

.privacy-summary strong {
  margin-bottom: 5px;
  color: var(--success);
  font-size: 0.88rem;
}

.privacy-summary span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.legal-document {
  max-width: 760px;
}

.legal-document section {
  scroll-margin-top: 24px;
}

.legal-document section + section {
  margin-top: 50px;
}

.legal-document h2 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document ul,
.legal-document ol {
  margin: 13px 0 16px;
  padding-left: 1.25rem;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-document code {
  padding: 0.15em 0.4em;
  color: #d9d2ff;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.84em;
}

.legal-document address {
  color: var(--muted);
  font-style: normal;
}

.support-shell {
  width: min(calc(100% - 40px), var(--max-width));
}

.support-header {
  max-width: 870px;
  border: 0;
}

.support-header > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.support-grid {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-card {
  position: relative;
  padding: clamp(25px, 4vw, 34px);
  border-radius: var(--radius);
}

.support-card h2 {
  max-width: calc(100% - 40px);
  margin: 0 0 14px;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.support-card p,
.support-card li {
  color: var(--muted);
  font-size: 0.94rem;
}

.support-card p {
  margin: 0 0 12px;
}

.support-card ul,
.support-card ol {
  margin: 12px 0;
  padding-left: 1.25rem;
}

.support-card li + li {
  margin-top: 7px;
}

.step-number {
  position: absolute;
  top: 27px;
  right: 27px;
  color: rgba(158, 174, 232, 0.38);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
}

.note,
.warning {
  margin-top: 17px !important;
  padding: 12px 14px;
  border-radius: 11px;
  line-height: 1.5;
}

.note {
  color: #c9d8eb !important;
  border: 1px solid rgba(114, 221, 255, 0.13);
  background: rgba(62, 163, 209, 0.07);
}

.warning {
  color: var(--warning) !important;
  border: 1px solid rgba(255, 207, 129, 0.17);
  background: rgba(171, 105, 31, 0.08);
}

.contact-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(164, 121, 255, 0.16), transparent 15rem),
    linear-gradient(145deg, rgba(28, 27, 70, 0.88), rgba(11, 15, 35, 0.8));
}

.email-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--cyan);
  font-weight: 720;
}

.support-legal {
  margin-top: 64px;
  margin-bottom: 0;
}

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

  .hero-content {
    padding: 80px 0 24px;
  }

  .planet-scene {
    width: min(76vw, 370px);
    margin-bottom: 66px;
  }

  .hero-orbit {
    right: -30%;
    bottom: 2%;
  }

  .orbit-one {
    width: 94%;
  }

  .orbit-two {
    width: 120%;
  }

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

  .feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
  }

  .feature-card h2 {
    margin-top: 1px;
  }

  .feature-card p {
    grid-column: 2;
  }

  .privacy-summary {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .header-inner,
  .site-footer,
  .hero,
  .feature-grid,
  .contact-band,
  .document-shell,
  .support-shell,
  .support-legal {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .brand-mark::after {
    width: 35px;
  }

  nav a {
    padding: 7px 9px;
    font-size: 0.84rem;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .planet-scene {
    width: min(84vw, 330px);
  }

  .contact-band,
  .support-legal {
    align-items: stretch;
    flex-direction: column;
  }

  .button-light,
  .support-legal .button {
    width: 100%;
  }

  .site-footer {
    padding: 30px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .document-shell {
    padding-top: 54px;
  }

  .back-link {
    margin-bottom: 32px;
  }

  .privacy-summary {
    margin-bottom: 52px;
  }
}

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

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #111;
    background: #fff;
  }

  body::before,
  .site-header,
  .site-footer,
  .back-link,
  .privacy-summary {
    display: none;
  }

  .document-shell {
    width: 100%;
    padding: 0;
  }

  .document-header {
    border-color: #ccc;
  }

  .legal-document {
    max-width: none;
  }

  .legal-document p,
  .legal-document li,
  .legal-document address,
  .updated {
    color: #333;
  }

  .legal-document a {
    color: #111;
  }
}
