* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5efe2;
  color: #1c1917;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 32px 32px;
}

.nav,
.hero,
.content,
.footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-weight: 900;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #57534e;
  font-size: 14px;
}

.hero {
  display: grid;
  gap: 28px;
  padding: 72px 0 42px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #fff;
  padding: 9px 14px;
  color: #075985;
  font-weight: 900;
  box-shadow: 0 1px 7px rgba(41, 37, 36, 0.12);
}

h1 {
  max-width: 820px;
  margin: 16px 0 0;
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

h2 {
  margin: 42px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

p,
li {
  font-size: 18px;
  font-weight: 650;
  color: #44403c;
}

.lead {
  max-width: 760px;
  font-size: 23px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #0284c7;
  padding: 13px 20px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.22);
}

.button.secondary {
  background: #1c1917;
}

.content {
  padding: 24px 0 64px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.card {
  border: 1px solid #e7e5e4;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(41, 37, 36, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.footer {
  border-top: 1px solid rgba(87, 83, 78, 0.22);
  padding: 26px 0 40px;
  color: #57534e;
  font-weight: 700;
}

@media (min-width: 840px) {
  .hero {
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
  }
}
