:root {
  --bg: #0c0712;
  --surface: rgba(255, 255, 255, 0.04);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --accent: #c084fc;
  --border: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family:
    system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem) 3rem;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.back:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.updated {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

article h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: #fff;
}

article h2:first-of-type {
  margin-top: 0;
}

article p {
  margin: 0 0 1rem;
  color: var(--muted);
}

article p:last-child {
  margin-bottom: 0;
}

article ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

article li {
  margin-bottom: 0.35rem;
}

article a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 132, 252, 0.4);
}

article a:hover {
  border-bottom-color: var(--accent);
}
