:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f4f5f7;
  color: #18202a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, #e0e8f3 0, transparent 35rem),
    #f4f5f7;
}

a {
  color: inherit;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 28px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

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

nav a {
  color: #4a5664;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #18202a;
}

.hero {
  max-width: 780px;
  padding-block: 110px 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #59697b;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead,
.content p {
  max-width: 680px;
  margin-top: 28px;
  color: #4f5c69;
  font-size: 1.15rem;
  line-height: 1.75;
}

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

.grid article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid #dbe0e6;
  border-radius: 18px;
  background: rgb(255 255 255 / 72%);
}

.grid h2 {
  margin-top: 0;
}

.grid p {
  color: #596572;
  line-height: 1.65;
}

.content {
  padding-block: 110px 140px;
}

.not-found {
  padding-block: 20vh;
}

.button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 17px;
  border: 1px solid #cbd2da;
  border-radius: 9px;
  background: white;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  border-top: 1px solid #d9dee4;
  color: #65717e;
  font-size: 0.88rem;
}

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

  .hero {
    padding-top: 75px;
  }

  footer {
    flex-direction: column;
  }
}
