:root {
  --text: #111;
  --muted: #555;
  --line: #e5e5e5;
  --bg: #fff;
  --accent: #1f7a4d;
  --max: 1120px;
  --prose: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 "Poppins", system-ui, -apple-system, sans-serif;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo img { height: 22px; width: auto; }

.site-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; }

main { max-width: var(--max); margin: 0 auto; padding: 24px 20px 64px; }

.prose { max-width: var(--prose); }
.prose h1 { font-size: 40px; line-height: 1.2; margin: 0 0 24px; }
.prose h2 { font-size: 26px; line-height: 1.3; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; line-height: 1.4; margin: 32px 0 8px; }
.prose h4 { font-size: 16px; margin: 24px 0 8px; }
.prose p, .prose li { color: #222; }
.prose li { margin: 6px 0; }
.prose { overflow-wrap: anywhere; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 60vh;
}
.hero h1 { font-size: 48px; line-height: 1.1; margin: 0 0 20px; }
.hero p { max-width: 420px; }
.hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.site-footer {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px 40px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
}
.site-footer a { text-decoration: none; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .hero h1 { font-size: 38px; }
  .hero img { aspect-ratio: 3 / 2; }
  .prose h1 { font-size: 32px; }
}
