:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --text: #1f2a24;
  --muted: #5d6a62;
  --accent: #b9832a;
  --line: #e4ddd0;
  --max: 64rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a17;
    --surface: #1c2420;
    --text: #ece7dc;
    --muted: #a3ada6;
    --accent: #e8b44a;
    --line: #2c3631;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap;
}
.brand { font-family: Georgia, serif; font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--text); }

.hero { padding: 5rem 0 4rem; }
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.1; margin: 0 0 1rem;
}
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 38rem; margin: 0 0 2rem; }
.btn {
  display: inline-block; padding: 0.75rem 1.4rem; border-radius: 999px;
  background: var(--accent); color: #1f2a24; font-weight: 600; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }

section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
section h2 { font-family: Georgia, serif; font-size: 1.8rem; margin: 0 0 1.5rem; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 0.9rem; padding: 1.5rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

footer { padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
