:root {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  color: #20211f;
  background: #faf9f7;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.65;
}
header,
main,
footer {
  max-width: 1000px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e6e2de;
}
header img {
  display: block;
  object-fit: contain;
  width: 180px;
  height: 60px;
}
a {
  color: #aa292a;
  text-underline-offset: 4px;
}
a:hover {
  color: #771d1e;
}
a:focus-visible {
  outline: 3px solid #bf3031;
  outline-offset: 5px;
  border-radius: 4px;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 32px 0 20px;
  max-width: 850px;
}
h2 {
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.lead {
  font-size: 1.15rem;
  max-width: 720px;
  color: #615d56;
}
section {
  margin: 36px 0;
}
.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
article {
  border: 1px solid #e6e2de;
  border-radius: 22px;
  padding: 24px;
  background: white;
  box-shadow: 0 3px 12px #20211f04;
}
article h2 {
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}
article p {
  margin: 12px 0;
  color: #615d56;
}
.price {
  font-size: 1.65rem;
  color: #20211f;
}
.badge {
  font-size: 0.75rem;
  font-weight: 750;
  background: #f9ebe8;
  padding: 5px 10px;
  border-radius: 9px;
  color: #aa292a;
}
small {
  color: #716b64;
  display: block;
}
.button {
  display: inline-block;
  padding: 11px 18px;
  background: #bd3032;
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 650;
}
.button:hover {
  background: #a2292b;
  color: white;
}
.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.links a {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e6e2de;
  border-radius: 14px;
  text-decoration: none;
}
footer {
  border-top: 1px solid #e6e2de;
  font-size: 0.85rem;
  color: #716b64;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
main > nav {
  font-size: 0.85rem;
}
@media (max-width: 600px) {
  .offers {
    grid-template-columns: 1fr;
  }
  header,
  main,
  footer {
    padding: 20px;
  }
  header img {
    width: 142px;
    height: 48px;
  }
  header .button {
    font-size: 0.8rem;
    padding: 10px 12px;
  }
}
