:root {
  --color-red: #b90e2b;
  --color-cream: #fcf7e8;
  --color-cream-light: #fffbe8;
  --color-dark: #3f3f3f;
  --color-divider: #d8d3bb;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--color-cream-light);
}

a {
  color: inherit;
  text-decoration: none;
}

.offer {
  height: 407px;
  overflow: hidden;
  color: var(--color-dark);
  background: var(--color-cream-light);
}

.offer__grid {
  display: grid;
  grid-template-columns: 348px 339px 360px;
  gap: 0;
  width: 1048px;
  height: 311px;
  margin: 48px auto;
  background: transparent;
}

.offer__card {
  min-width: 0;
  padding: 24px;
}

.offer__card--intro {
  padding-top: 23px;
  color: var(--color-cream);
  background: var(--color-red);
}

.offer__card--summary {
  background: var(--color-cream-light);
}

.offer__card--purchase {
  display: flex;
  flex-direction: column;
  border: 0;
  outline: 0;
  padding-top: 22px;
  box-shadow: none;
  background: #fff;
}

.offer__heading,
.offer__copy {
  margin: 0;
}

.offer__heading {
  font-weight: 600;
}

.offer__heading--small {
  font-size: 20px;
  line-height: 25px;
}

.offer__heading--large {
  font-size: 30px;
  line-height: 30px;
}

.offer__card--intro .offer__heading {
  letter-spacing: 0.2px;
}

.offer__card--purchase .offer__heading {
  letter-spacing: 0.08px;
}

.offer__heading--large span {
  border-bottom: 1px solid currentColor;
}

.offer__copy {
  margin-top: 21px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 28px;
}

.offer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 290px;
  margin-top: 21px;
}

.offer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border: 1px solid var(--color-divider);
  color: var(--color-red);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.offer-chip:nth-child(1) { width: 59px; }
.offer-chip:nth-child(2) { width: 90px; }
.offer-chip:nth-child(3) { width: 61px; }
.offer-chip:nth-child(4) { width: 93px; }

.offer__button {
  display: flex;
  align-items: center;
  border-radius: 10px;
  color: var(--color-red);
  font-weight: 600;
}

.offer__button--purchase {
  justify-content: center;
  width: 312px;
  height: 74px;
  margin-top: auto;
  color: var(--color-cream);
  background: var(--color-red);
  font-size: 18px;
  line-height: 1;
}

.offer__button:hover {
  opacity: 0.86;
}

.offer__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .offer {
    height: auto;
    padding-block: 40px;
  }

  .offer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1048px, calc(100% - 32px));
    height: auto;
    margin: 0 auto;
  }

  .offer__chips,
  .offer__button--purchase {
    max-width: 100%;
  }
}

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

  .offer__card--purchase {
    min-height: 235px;
  }

  .desktop-break {
    display: none;
  }
}

@media (max-width: 560px) {
  .offer__heading--large {
    font-size: 28px;
    line-height: 29px;
  }

  .offer__chips,
  .offer__button--purchase {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer__button {
    transition: none;
  }
}
