:root {
  --bg: #fafaf9; --surface: #ffffff; --text: #1c1917; --muted: #57534e;
  --border: #e7e5e4; --accent: #0f766e; --accent-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1917; --surface: #292524; --text: #f5f5f4; --muted: #a8a29e;
    --border: #44403c; --accent: #2dd4bf; --accent-text: #042f2e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.site-header, main, .site-footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; color: var(--text); text-decoration: none; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 12px; }
h2 { margin-top: 32px; }
.lead { font-size: 1.2rem; color: var(--muted); }
.note, .meta { color: var(--muted); font-size: 0.95rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button {
  display: inline-block; padding: 10px 18px; border-radius: 8px;
  background: var(--accent); color: var(--accent-text); text-decoration: none; font-weight: 600;
}
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.card h2 { margin-top: 0; font-size: 1.15rem; }
.site-footer { padding-top: 20px; padding-bottom: 32px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); }
