:root {
  color-scheme: dark;
  --bg: #0e0f14;
  --surface: #15171e;
  --surface-2: #1b1e28;
  --text: #f4f5fb;
  --muted: #a7abba;
  --line: #2a2e3b;
  --primary: #7477ff;
  --success: #31bd70;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -10%, rgba(116, 119, 255, .22), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: #a9abff; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(20px, calc((100vw - 1040px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(14, 15, 20, .9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.brand img { width: 34px; height: 34px; border-radius: 10px; }

.nav-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: white; }

main { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 80px; }

.hero {
  padding: clamp(28px, 7vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(116, 119, 255, .18), rgba(21, 23, 30, .96) 48%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.eyebrow { color: #a9abff; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 10px 0 16px; font-size: clamp(35px, 7vw, 64px); line-height: 1.05; letter-spacing: -.04em; }
h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { max-width: 720px; font-size: 18px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; padding: 12px 18px; border-radius: 13px; background: var(--primary); color: white; font-weight: 800; text-decoration: none; }
.button.secondary { background: transparent; border: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.card, section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.card p:last-child, section p:last-child { margin-bottom: 0; }

.document-header { margin-bottom: 26px; }
.document-header h1 { font-size: clamp(34px, 6vw, 52px); }
.updated { color: var(--success); font-weight: 800; }
.document { display: grid; gap: 15px; }
.notice { border-color: rgba(116, 119, 255, .45); background: rgba(116, 119, 255, .08); }
ul { color: var(--muted); padding-left: 22px; }
li + li { margin-top: 8px; }

footer { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  main { padding-top: 34px; }
}
