:root {
  color-scheme: light;
  --ink: #17211e;
  --muted: #5d6964;
  --paper: #f6f8f7;
  --card: #f6f8f7;
  --accent: #174b3b;
  --line: #d3dbd7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
header, main, footer { width: min(960px, calc(100% - 36px)); margin-inline: auto; }
header { min-height: 72px; padding: 18px 0; display: flex; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 750; letter-spacing: .08em; }
nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: .92rem; }
nav a { text-decoration: none; }
main { min-height: 72vh; }
.hero, .page { background: var(--card); padding: clamp(52px, 9vw, 110px) 0; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0 0 20px; font-size: clamp(2rem, 6vw, 4.4rem); line-height: 1.05; letter-spacing: -.04em; }
.page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { margin-top: 2rem; line-height: 1.25; }
.lede { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 30px; }
.tile { padding: 20px; background: #f8faf8; border: 1px solid var(--line); border-radius: 12px; }
.tile h2 { margin: 0 0 8px; font-size: 1rem; }
.tile p { margin: 0; color: var(--muted); }
footer { padding: 26px 0 40px; color: var(--muted); font-size: .86rem; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
footer a { color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: .08em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
@media (max-width: 680px) { header { align-items: flex-start; flex-direction: column; } nav { gap: 10px 14px; } footer { gap: 12px; flex-direction: column; } }
