:root {
  --bg: #0a0a10;
  --panel: #131218;
  --panel-2: #191822;
  --border: rgba(255, 255, 255, 0.13);
  --text: #f7f6fb;
  --muted: rgba(247, 246, 251, 0.62);
  --accent: #8b5cf6;
  --radius: 18px;

  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  padding: 40px 20px 80px;
}

#doc {
  max-width: 680px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 22px;
}

.back-link:hover {
  color: var(--text);
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 28px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 32px 0 10px;
}

p, li {
  line-height: 1.62;
  color: rgba(247, 246, 251, 0.86);
  font-size: 0.95rem;
}

ul {
  padding-left: 20px;
  margin: 10px 0;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fill {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 600;
  color: var(--text);
}

.box {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 18px 0;
}

.credit {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--panel);
  border: 2px solid var(--border);
  padding: 7px 15px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  z-index: 50;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 420px) {
  h1 { font-size: 1.5rem; }
}
