@font-face { font-family: Fraunces; src: url("fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root { --bg: #faf6f0; --text: #2b2420; --muted: #6b5f55; --line: #e5dccf; --accent: #2f5d4a; --wood: #a86b3c; --mark: #fff1c2; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #1b1815; --text: #f1ebe3; --muted: #b4a796; --line: #3a332c; --accent: #7fb89c; --wood: #d79a68; --mark: #5a4a1a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 Inter, system-ui, sans-serif; }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }
a { color: var(--accent); }
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 3px; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 16px; }
header a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.brand { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.3rem; color: var(--text) !important; }
.brand span { color: var(--wood); }

main { padding: 56px 0 80px; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 24px; }
h2 { font-size: 1.25rem; margin: 36px 0 8px; }
p { margin: 0 0 12px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); text-decoration: none; }
