* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #243036;
  background: #f8f7f2;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: #0f6b5b;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid #e0ded5;
  background: #ffffff;
}

.brand {
  flex: 0 0 auto;
  color: #1d3733;
  font-size: 22px;
  font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 14px;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 4vw, 36px);
}

.article {
  max-width: 820px;
}

.meta {
  color: #6d716b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 18px;
  color: #172522;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin: 36px 0 12px;
  color: #203c36;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  color: #35433f;
  font-size: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin-top: 34px;
}

.card {
  min-height: 220px;
  padding: 18px;
  border: 1px solid #ddd9ce;
  border-radius: 8px;
  background: #ffffff;
}

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

.source-note {
  margin-top: 42px;
  padding: 14px 0 0;
  border-top: 1px solid #d8d5ca;
  color: #666b65;
  font-size: 14px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid #e0ded5;
  background: #ffffff;
  color: #4b5652;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }
}
