:root {
  --bg: #fcfcfd;
  --fg: #1c2024;
  --muted: #60646c;
  --border: #e0e1e6;
  --code-bg: #f4f5f7;
  --accent: #1f4b99;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315;
    --fg: #edeef0;
    --muted: #9ba1a6;
    --border: #2b2f36;
    --code-bg: #1a1d21;
    --accent: #7aa2f7;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.68;
}
.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
  margin-bottom: 2.25rem;
}
header h1 {
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
nav {
  margin-top: 0.85rem;
  font-size: 0.9rem;
}
nav a {
  margin-right: 1.1rem;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.note-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}
.note-meta {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.note-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.25rem 0 0.35rem;
}
.note-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--code-bg);
}
code {
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-size: 0.88em;
}
pre {
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  border: 1px solid var(--border);
  font-size: 0.86rem;
}
pre code {
  padding: 0;
  background: transparent;
}
footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.84rem;
}
