:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #5f6368;
  --accent: #0b6e4f;
  --card: #f5f6f7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121314;
    --fg: #ececec;
    --muted: #a0a4a8;
    --accent: #4fc79c;
    --card: #1e2022;
  }
}

* { box-sizing: border-box; }

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

a { color: var(--accent); }

.site-header, main, .site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.site-header nav { display: flex; gap: 16px; }
.brand { font-weight: 700; text-decoration: none; }

.hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 8px; }
.hero p { color: var(--muted); }

.cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.cards li {
  background: var(--card);
  border-radius: 8px;
  padding: 16px;
}

.site-footer { color: var(--muted); font-size: 0.9rem; }
