* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8f4ed;
  color: #17211b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: #1f5c4a;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
}

.links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 48px;
}

h1 {
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.98;
  margin: 0 0 22px;
  letter-spacing: 0;
}

h2 {
  font-size: 28px;
  margin: 42px 0 14px;
}

h3 {
  margin: 28px 0 8px;
}

.lead {
  font-size: 20px;
  color: #334139;
  max-width: 650px;
}

.button {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 12px 18px;
  background: #1f5c4a;
  color: white;
  text-decoration: none;
  font-weight: 700;
  margin-top: 10px;
}

.panel {
  background: white;
  border: 1px solid #d9ded6;
  border-radius: 8px;
  padding: 22px;
}

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

.muted {
  color: #66736a;
}

.meta {
  font-size: 14px;
  color: #66736a;
}

ul {
  padding-left: 22px;
}

footer {
  border-top: 1px solid #d9ded6;
  margin-top: 46px;
  padding-top: 22px;
  color: #66736a;
  font-size: 14px;
}

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
