:root {
  color-scheme: light;
  --ink: #15221d;
  --muted: #5e6b65;
  --paper: #f4f1e9;
  --card: #fbfaf6;
  --line: #d8d4c9;
  --accent: #24644f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

a { color: var(--accent); text-underline-offset: .2em; }

.topbar, main, footer {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font: 700 18px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font: 600 14px/1 ui-sans-serif, system-ui, sans-serif; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.hero { padding: clamp(70px, 12vw, 150px) 0 80px; max-width: 820px; }
.eyebrow, .meta { color: var(--accent); font: 700 12px/1.3 ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 14px 0 20px; font-size: clamp(44px, 8vw, 86px); line-height: .98; letter-spacing: -.045em; }
.lead { max-width: 670px; color: var(--muted); font-size: clamp(20px, 3vw, 28px); line-height: 1.45; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 90px; }
.cards article { min-height: 280px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; }
.cards h2 { margin: 16px 0 12px; font-size: 27px; line-height: 1.15; }
.cards p:last-child { color: var(--muted); }

.article { max-width: 760px; min-height: calc(100vh - 210px); padding: 80px 0; }
.article h1 { font-size: clamp(42px, 7vw, 72px); }
.article p { max-width: 680px; }
.button { display: inline-block; margin-top: 20px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 3px; text-decoration: none; }

footer { display: flex; justify-content: space-between; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font: 13px/1.4 ui-sans-serif, system-ui, sans-serif; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .cards article { min-height: 0; }
  .topbar { align-items: flex-start; gap: 24px; }
  nav { gap: 14px; }
}
