:root {
  --page-background: #ffffff;
  --text-primary: #151515;
  --text-secondary: #8f8f8f;
  --text-muted: #6f6f6f;
  --card-background: #f3f5fb;
  --card-border: #dfe3ef;
  --wb-start: #a734f6;
  --wb-end: #7a44ff;
  --ozon-start: #3468ff;
  --ozon-end: #2b55df;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--page-background);
  color: var(--text-primary);
  font-family: "Montserrat", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.page {
  min-height: 100svh;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  grid-template-areas:
    "logo ."
    "image content";
  row-gap: 22px;
  column-gap: 48px;
  align-items: start;
}

.hero__visual {
  display: contents;
}

.hero__logo {
  grid-area: logo;
  width: 155px;
}

.hero__image {
  grid-area: image;
  width: 588px;
  height: 735px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #edf4ff;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__eyebrow {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: rgb(12 12 12 / 40%);
}

.hero__title {
  max-width: 494px;
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
  color: #0c0c0c;
}

.hero__description {
  max-width: 444px;
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
  color: #0c0c0c;
}

.features {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 290px);
  gap: 8px;
}

.feature-card {
  width: 290px;
  height: 127px;
  padding: 10px 14px;
  border: 1px solid rgb(70 103 192 / 10%);
  border-radius: 8px;
  background: rgb(32 85 232 / 5%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-card__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-card__text h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  color: #0c0c0c;
}

.feature-card__text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
  color: #0c0c0c;
}

.feature-card img {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  object-fit: contain;
}

.feature-card__icon--washing-machine {
  width: 108px;
  height: 107px;
}

.hero__actions {
  width: 100%;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  gap: 20px;
}

.hero__actions--single {
  grid-template-columns: 1fr;
}

.button {
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  color: #ffffff;
}

.button--wb {
  width: 284px;
  min-height: 52px;
  padding: 16px 32px;
  gap: 10px;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  color: #ffffff;
  background: #a73afd;
}

.hero__actions--single .button--wb {
  width: 100%;
}

.button--ozon {
  min-height: 52px;
  padding: 16px 32px;
  gap: 10px;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  color: #ffffff;
  background: #2055e8;
}

.hero__privacy {
  width: 270px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
  color: rgb(14 18 23 / 50%);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (min-width: 1200px) {
  .hero {
    width: 1200px;
    grid-template-columns: 588px 588px;
    column-gap: 24px;
  }

  .hero__content,
  .hero__actions {
    width: 588px;
    max-width: 588px;
  }
}

@media (max-width: 1080px) {
  .page {
    padding: 24px 20px;
  }

  .hero {
    column-gap: 28px;
  }

  .feature-card {
    min-height: 104px;
  }

  .feature-card__text h2 {
    font-size: 16px;
  }

  .feature-card__text p {
    font-size: 16px;
  }
}

@media (max-width: 860px) {
  .page {
    padding: 18px 16px;
  }

  .hero {
    max-width: 460px;
    grid-template-areas:
      "logo"
      "image"
      "content";
    grid-template-columns: 1fr;
    row-gap: 18px;
    column-gap: 0;
  }

  .hero__logo {
    width: 112px;
  }

  .hero__image img {
    height: 100%;
  }

  .hero__eyebrow {
    margin-bottom: 4px;
    font-size: 18px;
  }

  .hero__title {
    max-width: 335px;
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1;
  }

  .hero__description {
    max-width: 335px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.4;
  }

  .features {
    gap: 6px;
  }

  .feature-card {
    min-height: 92px;
    padding: 8px 10px;
  }

  .feature-card__text h2 {
    font-size: 14px;
  }

  .feature-card__text p {
    font-size: 12px;
  }

  .feature-card img {
    width: 50px;
    height: 50px;
  }

  .hero__actions {
    margin-top: 12px;
    gap: 8px;
  }

  .button {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .hero__privacy {
    width: 202px;
    margin-top: 12px;
    align-self: center;
    font-size: 12px;
    line-height: 1.2;
    color: rgb(12 12 12 / 50%);
  }
}

@media (max-width: 560px) {
  .page {
    padding: 18px 18px 20px;
    align-items: flex-start;
    overflow-x: hidden;
  }

  .hero {
    width: 335px;
    max-width: 335px;
    row-gap: 14px;
  }

  .hero__logo {
    width: 96px;
  }

  .hero__image {
    width: 335px;
    height: 360px;
  }

  .hero__content {
    width: 335px;
    max-width: 335px;
    padding-bottom: 6px;
  }

  .features {
    width: 335px;
    max-width: 335px;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scroll-padding-left: 0;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .features::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    width: 220px;
    height: 127px;
    padding: 10px 14px;
    position: relative;
    align-items: flex-start;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .feature-card__text {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
  }

  .feature-card__text h2,
  .feature-card__text p {
    font-size: 16px;
    line-height: 1.2;
  }

  .feature-card__text h2 {
    white-space: nowrap;
  }

  .feature-card__picture {
    position: absolute;
  }

  .feature-card__picture img {
    position: static;
    width: 100%;
    height: 100%;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    object-fit: contain;
    object-position: center;
  }

  .feature-card__picture--washing-machine {
    right: -10px;
    bottom: 8px;
    width: 101px;
    height: 98px;
  }

  .feature-card__picture--dirty-shirt {
    right: -8px;
    top: 50%;
    width: 94px;
    height: 88px;
    transform: translateY(-50%);
  }

  .feature-card__picture--double-action {
    right: -8px;
    top: 50%;
    width: 102px;
    height: 112px;
    transform: translateY(-50%);
  }

  .feature-card__picture--formula {
    right: -8px;
    top: 55%;
    width: 106px;
    height: 98px;
    transform: translateY(-50%);
  }

  .feature-card__picture--clothes-care {
    right: -8px;
    top: 50%;
    width: 123px;
    height: 117px;
    transform: translateY(-50%);
  }

  .feature-card__picture--no-chlorine {
    right: -8px;
    top: 50%;
    width: 112px;
    height: 125px;
    transform: translateY(-50%);
  }

  .feature-card > img {
    position: absolute;
    width: 74px;
    height: 74px;
    right: 10px;
    bottom: 10px;
    top: auto;
    transform: none;
    object-fit: contain;
  }

  .hero__actions {
    width: 335px;
    max-width: 335px;
    grid-template-columns: 1fr;
  }

  .button--wb {
    width: 100%;
  }

  .button--ozon {
    width: 100%;
  }
}

@media (min-width: 861px) {
  .feature-card {
    height: 139px;
    padding: 16px;
    position: relative;
    align-items: flex-start;
    gap: 0;
    overflow: hidden;
  }

  .feature-card__text {
    max-width: 201px;
    min-height: 57px;
  }

  .feature-card img {
    width: 74px;
    height: 74px;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
  }

  .feature-card img.feature-card__icon--washing-machine {
    width: 108px;
    height: 107px;
    top: 55%;
    right: 10px;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
  }

  .feature-card img.feature-card__icon--dirty-shirt {
    width: 114px;
    height: 110px;
    top: 50%;
    right: 10px;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
  }

  .feature-card img.feature-card__icon--double-action {
    width: 102px;
    height: 112px;
    top: 50%;
    right: 10px;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
  }

  .feature-card img.feature-card__icon--formula {
    width: 123px;
    height: 113px;
    top: 50%;
    right: 10px;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
  }

  .feature-card img.feature-card__icon--clothes-care {
    width: 141px;
    height: 108px;
    top: 50%;
    right: 10px;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
  }

  .feature-card img.feature-card__icon--no-chlorine {
    width: 112px;
    height: 125px;
    top: 50%;
    right: 10px;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
  }
}
