/* KeiCrew minimal static styles — no external fonts or CDN */
:root {
  color-scheme: light dark;
  --text: #1a1a1a;
  --bg: #fafafa;
  --muted: #555;
  --accent: #2b5cff;
  --border: #ddd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8e8e8;
    --bg: #121212;
    --muted: #aaa;
    --accent: #6b9fff;
    --border: #333;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  margin-right: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

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

h1, h2, h3, h4 {
  line-height: 1.25;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

code {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
  font-size: 0.9em;
}

blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
  color: var(--muted);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}