:root {
  color-scheme: dark;
  --bg: #020712;
  --ink: #f6fbff;
  --muted: #aac0d7;
  --soft: #7890aa;
  --line: rgba(115, 205, 255, .18);
  --panel: rgba(4, 15, 32, .76);
  --blue: #248dff;
  --blue-2: #51b7ff;
  --cyan: #74e6ff;
  --ice: #ecfbff;
  --green: #8df2d0;
  --shadow: 0 30px 110px rgba(0,0,0,.52);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font);
  background:
    linear-gradient(180deg, rgba(2,7,18,.78), rgba(2,7,18,.96) 48%, rgba(1,4,10,.99) 100%),
    radial-gradient(circle at 78% 0%, rgba(36,141,255,.18), transparent 26rem),
    radial-gradient(circle at 8% 38%, rgba(116,230,255,.09), transparent 22rem),
    url("/background.png") center center / cover fixed no-repeat,
    #020712;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1,4,10,.96), rgba(2,10,22,.50) 50%, rgba(1,4,10,.95)),
    radial-gradient(circle at 50% -10%, rgba(116,230,255,.11), transparent 30rem),
    radial-gradient(circle at 50% 110%, rgba(36,141,255,.13), transparent 34rem);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(116,230,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116,230,255,.055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, transparent, black 12%, black 82%, transparent);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(980px, calc(100% - 28px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(2,7,18,.82);
  backdrop-filter: blur(16px);
}

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

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(36,141,255,.38));
}

.brand span {
  min-width: 0;
  display: grid;
  line-height: 1;
}

.brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand small {
  margin-top: .36rem;
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.nav-actions a,
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116,230,255,.22);
  border-radius: 999px;
  padding: .66rem .94rem;
  color: #dff7ff;
  background: rgba(116,230,255,.07);
  font-weight: 850;
  white-space: nowrap;
}

.nav-actions .primary,
.btn.primary {
  color: #021020;
  border-color: rgba(236,251,255,.65);
  background: linear-gradient(135deg, var(--ice), var(--blue-2) 52%, var(--blue));
  box-shadow: 0 14px 34px rgba(36,141,255,.28), inset 0 1px 0 rgba(255,255,255,.55);
}

.legal-shell {
  padding: clamp(2.4rem, 7vw, 5.8rem) 0;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.15rem, 4vw, 2.2rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(116,230,255,.13), transparent 24rem),
    linear-gradient(180deg, rgba(8,26,52,.82), rgba(3,11,24,.92)),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 1rem;
  padding: .52rem .72rem;
  border: 1px solid rgba(116,230,255,.24);
  border-radius: 999px;
  color: #d2efff;
  background: rgba(6,22,47,.62);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0 0 1rem;
  font-size: clamp(2.45rem, 10vw, 5.4rem);
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin: 0 0 1.3rem;
  color: #c8d9ea;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.72;
}

.terms-body {
  display: grid;
  gap: .85rem;
  color: #b8cbe0;
  line-height: 1.72;
}

.terms-body p {
  margin: 0;
}

.terms-body strong {
  color: var(--ice);
}

.notice {
  margin-top: 1.2rem;
  border: 1px solid rgba(141,242,208,.18);
  border-radius: 18px;
  padding: .9rem;
  color: #dffbf3;
  background:
    radial-gradient(circle at 0% 50%, rgba(141,242,208,.12), transparent 38%),
    rgba(141,242,208,.055);
  font-weight: 800;
  line-height: 1.55;
}

.footer {
  border-top: 1px solid rgba(116,230,255,.12);
  padding: 1.2rem 0;
  color: var(--soft);
  font-size: .86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
}

.footer a {
  color: var(--cyan);
}

@media (max-width: 680px) {
  .container {
    width: min(100%, calc(100% - 22px));
  }

  .nav {
    min-height: 68px;
  }

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

  .brand small {
    display: none;
  }

  .nav-actions a:not(.primary) {
    display: none;
  }

  h1 {
    max-width: 100%;
  }
}
