:root {
  --background: #0d0f14;
  --surface: #151922;
  --text: #e8eaf0;
  --muted: #8b93a7;
  --accent: #7c9cff;
  --line: #232937;
  --content-width: 46rem;
  --heading-font: "Space Grotesk", system-ui, sans-serif;
  --body-font: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 72rem;
  text-align: center;
}

.hero__label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.35rem;
}

.hero p {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.document .updated {
  margin-top: -1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.document ul {
  padding-left: 1.25rem;
}

.document li + li {
  margin-top: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

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

.site-footer a:hover {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 36rem) {
  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  main {
    padding: 3rem 1.25rem;
  }
}
