:root {
  color-scheme: dark;
  --background: #07070c;
  --surface: #11111a;
  --surface-soft: #171724;
  --text: #f5f4ff;
  --muted: #a9a6ba;
  --accent: #a76cff;
  --accent-bright: #d19cff;
  --border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(167, 108, 255, 0.2), transparent 36rem),
    radial-gradient(circle at 90% 10%, rgba(69, 219, 174, 0.1), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent-bright);
}

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

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 7, 12, 0.86);
  backdrop-filter: blur(20px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent-bright), #7448e8);
  box-shadow: 0 10px 30px rgba(167, 108, 255, 0.35);
  color: white;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.nav-links a:hover {
  color: var(--text);
}

.hero {
  padding: 112px 0 72px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-copy {
  max-width: 700px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #7d52ef);
}

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

.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

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

.document {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 100px;
}

.document h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  letter-spacing: -0.055em;
}

.updated {
  margin: 12px 0 46px;
  color: var(--muted);
}

.document h2 {
  margin: 42px 0 10px;
  font-size: 1.35rem;
}

.document p,
.document li {
  color: #c7c4d4;
}

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

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

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

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

@media (max-width: 760px) {
  .nav-links a:first-child {
    display: none;
  }

  .hero {
    padding-top: 82px;
  }

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

  .footer-inner {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
