:root {
  --bg: #f4f1ea;
  --text: #1c1d20;
  --muted: #696b70;
  --line: #d9d5cc;
  --accent: #295c4f;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

header,
footer,
main {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  color: var(--text);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: -0.04em;
}

nav {
  display: flex;
  gap: 24px;
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  padding: 120px 0 90px;
  max-width: 780px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1 {
  margin: 16px 0 24px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 620px;
  font-size: 20px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: 100px;
}

.grid article {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}

.grid h2 {
  font-size: 20px;
  margin-top: 0;
}

.grid p,
.page p {
  color: var(--muted);
}

.page {
  max-width: 780px;
  min-height: 65vh;
  padding: 100px 0;
}

.page h1 {
  font-size: clamp(40px, 6vw, 68px);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 45px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 700px) {
  header,
  footer,
  main {
    width: min(100% - 32px, 1100px);
  }

  .hero {
    padding: 80px 0 60px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
