:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #24312b;
  --muted: #63736a;
  --accent: #2f7d5b;
  --accent-dark: #205c42;
  --border: #e3e8e1;
  --soft: #eef6f1;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 3rem);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
}
.brand { font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--text); }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: .9rem; }
.site-header nav a, .site-footer nav a { text-decoration: none; font-weight: 600; }
main { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 3rem; }
.hero {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 2rem;
}
.hero h1, article h1, .page-card h1 { line-height: 1.15; margin-top: 0; }
.hero p { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.button {
  display: inline-block;
  margin-top: .5rem;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.card, .page-card, article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem;
}
.card h2 { font-size: 1.2rem; line-height: 1.3; margin-top: 0; }
.card p { color: var(--muted); }
.meta { color: var(--muted); font-size: .95rem; }
.labels { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.label { background: var(--soft); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .65rem; font-size: .85rem; }
article h2 { margin-top: 1.8rem; line-height: 1.3; }
.related { margin-top: 2rem; }
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
  color: var(--muted);
}
@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
}
