:root {
  --fg: #111111;
  --bg: #ffffff;
  --accent: #22C55E;
  --accent-text: #15803d;
  --muted: #6b7280;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: "DejaVu Sans Mono", "Courier New", monospace;
  line-height: 1.6;
}

a { color: var(--fg); }
a:hover, a:focus-visible { color: var(--accent-text); text-decoration-thickness: 2px; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: 0.6rem 1rem;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 2px solid var(--fg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.25rem;
}

.brand-mark { height: 36px; width: 36px; }

.site-header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: bold;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0 3rem;
}

.hero-mascot { width: 160px; height: auto; flex-shrink: 0; }

.hero-text h1 { font-size: 2.5rem; margin: 0 0 0.5rem; }

.tagline { color: var(--muted); font-size: 1.1rem; margin: 0; }

.page-content h2 {
  border-top: 2px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.page-content code {
  background: #f4f4f5;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.page-content pre {
  background: #111111;
  color: #f4f4f5;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
}

.page-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.page-content li::marker { color: var(--accent); }

.site-footer {
  max-width: 760px;
  margin: 3rem auto 2rem;
  padding: 1.5rem 2rem 0;
  border-top: 2px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .hero { flex-direction: column; text-align: center; }
}
