:root {
  color-scheme: dark;
  --bg: #050a20;
  --bg-soft: #0b1330;
  --panel: rgba(18, 31, 70, 0.7);
  --panel-strong: #111d45;
  --line: rgba(151, 184, 255, 0.18);
  --text: #f7f9ff;
  --muted: #aebce2;
  --cyan: #27d7ff;
  --blue: #3d7cff;
  --indigo: #7657ff;
  --green: #58e6b1;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(39, 215, 255, 0.16), transparent 27rem),
    radial-gradient(circle at 94% 18%, rgba(118, 87, 255, 0.2), transparent 30rem),
    linear-gradient(180deg, #07102c 0%, var(--bg) 42%, #06091a 100%);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: #8de7ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(27, 125, 255, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 650;
}

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

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  align-items: center;
  min-height: 650px;
  padding: 72px 0 105px;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(120deg, #fff 8%, #7ce9ff 43%, #8b79ff 88%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(120deg, var(--blue), var(--indigo));
  border-color: rgba(255, 255, 255, 0.24);
}

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

.hero-art::before,
.hero-art::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(12px);
}

.hero-art::before {
  width: 330px;
  height: 330px;
  background: rgba(25, 172, 255, 0.26);
}

.hero-art::after {
  right: 3%;
  bottom: 6%;
  width: 200px;
  height: 200px;
  background: rgba(112, 73, 255, 0.34);
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(380px, 92%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 31%;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 38px;
}

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

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 27px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.card p:last-child {
  margin-bottom: 0;
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, rgba(39, 215, 255, 0.32), rgba(118, 87, 255, 0.36));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  font-size: 22px;
  font-weight: 800;
}

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

.privacy-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 36px;
  gap: 28px;
  background:
    linear-gradient(120deg, rgba(39, 215, 255, 0.1), rgba(118, 87, 255, 0.12)),
    var(--panel);
  border: 1px solid rgba(108, 214, 255, 0.22);
  border-radius: 28px;
}

.privacy-callout h2 {
  margin-bottom: 10px;
}

.legal-hero {
  max-width: 820px;
  padding: 92px 0 45px;
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 70px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  align-items: start;
  padding-bottom: 110px;
  gap: 55px;
}

.legal-toc {
  position: sticky;
  top: 24px;
  padding: 20px;
  background: rgba(10, 18, 44, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--text);
}

.legal-document {
  padding: 38px;
  background: rgba(9, 17, 42, 0.76);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.legal-document section + section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.legal-document h2 {
  scroll-margin-top: 30px;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.legal-document h3 {
  margin-top: 22px;
}

.legal-document p,
.legal-document li {
  color: #c2cdec;
}

.legal-document ul {
  padding-left: 22px;
}

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

.notice {
  padding: 18px 20px;
  color: #d9e6ff;
  background: rgba(61, 124, 255, 0.11);
  border: 1px solid rgba(100, 162, 255, 0.25);
  border-radius: 15px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  padding: 70px 0 110px;
  gap: 22px;
}

.support-grid .card {
  padding: 34px;
}

.faq-item + .faq-item {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.contact-card {
  position: sticky;
  top: 24px;
}

.email {
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 700;
}

footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

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

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

.footer-links a,
footer small {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
    gap: 25px;
  }

  .hero-art {
    min-height: 360px;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-toc,
  .contact-card {
    position: static;
  }

  .legal-toc {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 55px 0 80px;
  }

  .hero-art {
    min-height: 310px;
  }

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

  .section {
    padding: 68px 0;
  }

  .privacy-callout {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .legal-hero {
    padding-top: 66px;
  }

  .legal-document {
    padding: 24px;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
