:root {
  --accent: #00ADD8;
  --text: #202124;
  --muted: #5f6368;
  --bg: #fff;
  --code-bg: #1e293b;
  --code-fg: #e2e8f0;
  --border: #e0e0e0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}

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

h1 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  word-break: break-all;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

pre {
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow-x: auto;
}

code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875rem;
}

.links {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.links li::before {
  content: '→ ';
  color: var(--muted);
}

h2 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 2rem 0 0.75rem;
}

.pkg-list {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.pkg-list li {
  border-bottom: 1px solid var(--border);
}

.pkg-list li:last-child {
  border-bottom: none;
}

.pkg-list li a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875rem;
}

.pkg-list li a:hover {
  background: #f8f9fa;
  text-decoration: none;
}

/* Landing page */
.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.page-subtitle {
  color: var(--muted);
  margin-bottom: 2.5rem;
}
