:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --bg: #f6f8f5;
  --surface: #ffffff;
  --text: #16241b;
  --text-secondary: #5c6b61;
  --text-muted: #6b756e;
  --border: #e9eee9;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  color: var(--primary-dark);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.nav a {
  font-size: 0.875rem;
  text-decoration: none;
  margin-left: 1rem;
}

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

.hero {
  text-align: center;
  padding: 3rem 1.25rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.hero p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--text-secondary);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.card + .card {
  margin-top: 1rem;
}

.card a {
  font-weight: 600;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

.meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 2rem;
}

h2 {
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
}

h2:first-of-type {
  margin-top: 0;
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
