* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f2;
  color: #181818;
}

body {
  margin: 0;
}

.wrap {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header {
  min-height: 84px;
  border-bottom: 1px solid #d9d9d4;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  padding: 120px 0 100px;
  max-width: 760px;
}

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

.eyebrow,
time {
  color: #70706b;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 12px 0 24px;
  font-size: clamp(44px, 8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 650px;
  font-size: 21px;
  line-height: 1.55;
  color: #555550;
}

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

.grid article,
.note {
  padding: 24px;
  border: 1px solid #d9d9d4;
  border-radius: 14px;
}

.grid h2,
.note h2 {
  margin-top: 0;
}

.note {
  margin: 22px 0;
}

footer {
  min-height: 100px;
  border-top: 1px solid #d9d9d4;
  color: #70706b;
  font-size: 14px;
}

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

  nav {
    gap: 14px;
  }

  .hero,
  .page {
    padding: 72px 0;
  }
}
