:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #c9c4e8;
  --soft: #9b96c2;
  --line: rgba(255, 255, 255, 0.16);
  --lime: #baff31;
  --cyan: #62d9ff;
  --pink: #ee56f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 9%, rgba(128, 94, 255, 0.34), transparent 31rem),
    radial-gradient(circle at 79% 18%, rgba(98, 217, 255, 0.2), transparent 29rem),
    linear-gradient(135deg, #070513 0%, #120733 45%, #0d1635 100%);
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 6, 23, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  gap: 24px;
}

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

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.button {
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-weight: 750;
}

main {
  position: relative;
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(186, 255, 49, 0.24);
  border-radius: 999px;
  background: rgba(186, 255, 49, 0.08);
  color: #e8ffc8;
  font-weight: 750;
  font-size: 0.86rem;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  max-width: 760px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
}

.legal-copy p {
  margin: 0 0 24px;
  color: #e5e0fb;
  white-space: normal;
}

.legal-copy p:first-child {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}

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

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--soft);
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 720px) {
  .nav,
  main,
  .footer-inner {
    width: min(100% - 28px, 1160px);
  }

  .nav-links {
    display: none;
  }

  main {
    padding-top: 48px;
  }

  .legal-copy {
    padding: 22px;
  }

  .footer-inner {
    padding: 22px 0;
  }
}
