:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #17202a;
  --muted: #667085;
  --accent: #2f7d32;
  --accent-soft: #e8f5e9;
  --border: #dfe3e8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101418;
    --card: #191f24;
    --text: #f3f5f7;
    --muted: #aab4bf;
    --accent: #70c876;
    --accent-soft: #1d3520;
    --border: #303941;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.container { width: min(900px, calc(100% - 32px)); margin: 0 auto; }
header { padding: 56px 0 28px; }
.brand { display: flex; align-items: center; gap: 14px; }
.mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--accent);
  color: white;
  font-size: 24px;
  font-weight: 800;
}
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.1; }
h2 { margin-top: 0; line-height: 1.25; }
p.lead { color: var(--muted); font-size: 1.15rem; max-width: 720px; }
nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
a.button {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 650;
}
a.button.secondary { background: var(--card); color: var(--text); border: 1px solid var(--border); }
a { color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}
main { padding-bottom: 48px; }
ul { padding-left: 1.3rem; }
.meta { color: var(--muted); font-size: .94rem; }
.notice {
  border-left: 4px solid var(--accent);
  padding: 10px 14px;
  background: var(--accent-soft);
  border-radius: 8px;
}
footer { border-top: 1px solid var(--border); padding: 22px 0 36px; color: var(--muted); font-size: .9rem; }
