:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --text: #17212b;
  --muted: #536170;
  --line: #e2e7ef;
  --surface: #ffffff;
  --accent: #0b62d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.58 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.narrow {
  width: min(820px, calc(100% - 32px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  margin-top: 36px;
}

.hero {
  padding: 56px 0 38px;
}

.eyebrow,
.meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

h1 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.narrow h1 {
  font-size: 38px;
  line-height: 1.14;
}

h2 {
  margin: 30px 0 8px;
  font-size: 20px;
}

p,
li {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  font-size: 19px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid article {
  min-height: 170px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.grid h2 {
  margin-top: 0;
}

.note {
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .narrow {
    padding: 24px;
  }
}
