:root {
  color-scheme: light;
  --ink: #14202b;
  --muted: #5c6872;
  --line: #d9e0e5;
  --paper: #f7f8f6;
  --card: #ffffff;
  --accent: #1f665d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); }

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

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

.brand {
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav { display: flex; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.hero { padding: 96px 0 72px; max-width: 790px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.12; letter-spacing: -0.035em; }
h1 { margin: 0; font-size: clamp(2.6rem, 7vw, 5.8rem); }
h2 { margin: 10px 0 16px; font-size: 1.55rem; }
.lede { max-width: 680px; margin-top: 28px; color: var(--muted); font-size: 1.25rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 96px;
}

article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

article p:last-child { color: var(--muted); }
.meta { margin: 0; color: var(--accent); font-size: 0.82rem; font-weight: 650; }

.prose { max-width: 760px; padding: 96px 0 120px; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.prose > p:not(.eyebrow) { color: var(--muted); font-size: 1.14rem; }
.centered { text-align: center; }
.button {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .hero, .prose { padding-top: 64px; }
  .site-header { align-items: flex-start; }
  nav { gap: 14px; }
}
