/* Minimal scaffold CSS. Full design deferred. */

:root {
  --fg: #1a1a1a;
  --bg: #fafafa;
  --muted: #666;
  --accent: #2b6cb0;
  --border: #e5e5e5;
  --max-w: 42rem;
  --space: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e5e5e5;
    --bg: #111;
    --muted: #888;
    --accent: #63b3ed;
    --border: #2a2a2a;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1rem;
}

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

h1, h2, h3 { line-height: 1.25; margin-top: 2rem; margin-bottom: 0.5rem; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
p { margin: 0 0 1rem; }

/* Site chrome */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.site-header .logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
}
.site-header nav a { margin-left: 1rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.875rem;
}

/* Home */
.hero { padding: 3rem 0; }
.hero h1 { font-size: 2.5rem; margin-top: 0; }
.hero .pitch { font-size: 1.125rem; color: var(--muted); }
.hero .cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  border-radius: 0.375rem;
}
.hero .cta:hover { text-decoration: none; opacity: 0.9; }

/* Techniques index */
.technique-list { list-style: none; padding: 0; }
.technique-list li { border-bottom: 1px solid var(--border); }
.technique-list li:last-child { border-bottom: none; }
.technique-list a {
  display: block;
  padding: 1.25rem 0;
  color: var(--fg);
}
.technique-list a:hover { text-decoration: none; }
.technique-list a:hover h2 { color: var(--accent); }
.technique-list h2 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.technique-list p { margin: 0; color: var(--muted); }

/* Technique page */
.technique article header .summary {
  font-size: 1.125rem;
  color: var(--muted);
}

.empty { color: var(--muted); }
