:root {
  color-scheme: light;
  --ink: #192522;
  --muted: #64716d;
  --paper: #f4f1e8;
  --card: #fffdf7;
  --line: #d8d2c2;
  --accent: #275f52;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 0.25em; }
.topbar, main, footer { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.mark { font-weight: 700; text-decoration: none; letter-spacing: 0.02em; }
nav { display: flex; gap: 20px; font-family: system-ui, sans-serif; font-size: 0.9rem; }
nav a { color: var(--muted); }
nav a[aria-current="page"] { color: var(--ink); text-decoration-thickness: 2px; }
main { flex: 1; }
.hero { padding: 110px 0 72px; max-width: 820px; }
.eyebrow { color: var(--accent); font-family: system-ui, sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { margin: 18px 0 24px; font-size: clamp(2.7rem, 7vw, 6.5rem); line-height: 0.96; font-weight: 500; letter-spacing: -0.04em; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.65; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 90px; }
.grid article { min-height: 220px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; }
.grid span { color: var(--accent); font-family: system-ui, sans-serif; font-size: 0.75rem; }
.grid h2 { margin: 36px 0 12px; font-size: 1.45rem; }
.grid p, .article p, .not-found p { color: var(--muted); line-height: 1.7; }
.article, .not-found { max-width: 760px; padding: 100px 0; }
.article h1, .not-found h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.back { display: inline-block; margin-top: 24px; color: var(--accent); font-family: system-ui, sans-serif; font-weight: 650; }
footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-family: system-ui, sans-serif; font-size: 0.8rem; }

@media (max-width: 720px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 72px; }
  .grid { grid-template-columns: 1fr; }
  .grid article { min-height: 0; }
}
