:root {
  color-scheme: dark;
  --background: #070a12;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-border: rgba(255, 255, 255, 0.11);
  --text: #f7f8fc;
  --muted: #aeb6c9;
  --accent: #7c8cff;
  --accent-strong: #9b7cff;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(79, 104, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 90% 20%, rgba(155, 74, 255, 0.15), transparent 28rem),
    var(--background);
  line-height: 1.65;
}

a { color: #aab6ff; }
a:hover { color: #d1d7ff; }

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

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

.brand {
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav { display: flex; gap: 20px; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main { padding: 64px 0 80px; }

.hero { padding: 72px 0 84px; text-align: center; }
.eyebrow { color: #aab6ff; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }

h1, h2 { letter-spacing: -0.035em; line-height: 1.15; }
h1 { margin: 14px 0 20px; font-size: clamp(2.65rem, 9vw, 5rem); }
h2 { margin-top: 2.25rem; font-size: 1.45rem; }
p { color: var(--muted); }
.lede { max-width: 620px; margin: 0 auto; font-size: 1.12rem; }

.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  font-weight: 650;
}
.button.primary { border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  padding: 24px;
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: var(--surface);
  backdrop-filter: blur(16px);
}
.card h2 { margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }

.document {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  background: rgba(11, 15, 27, 0.8);
}
.document h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
.meta { color: var(--muted); font-size: 0.92rem; }

footer { padding: 28px 0 44px; border-top: 1px solid var(--surface-border); color: var(--muted); font-size: 0.9rem; }

@media (max-width: 620px) {
  header { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
  nav { gap: 16px; }
  main { padding-top: 36px; }
  .hero { padding: 48px 0 64px; text-align: left; }
  .lede { margin: 0; }
  .actions { justify-content: flex-start; }
  .grid { grid-template-columns: 1fr; }
}

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