:root {
  --color-text: #171515;
  --color-muted: #666666;
  --color-orange: #df7646;
  --color-orange-hover: #cd6537;
  --color-purple: #5046e5;
  --color-purple-hover: #4037cf;
  --color-purple-soft: #efedff;
  --color-warm-soft: #fff3ed;
  --color-border: #ececec;
}

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

html,
body {
  min-height: 100%;
}

body {
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
}

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

img {
  max-width: 100%;
  vertical-align: top;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: "Segoe UI", Arial, sans-serif;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.page {
  flex: 1 1 auto;
}

.article__container,
.footer__container,
.legal__container {
  box-sizing: content-box;
  max-width: 754px;
  margin: 0 auto;
  padding-inline: 16px;
}

/* Article header */

.article {
  padding-bottom: 36px;
}

.article__advertisement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  margin-bottom: 33px;
  border-bottom: 1px solid var(--color-border);
  color: #acacac;
}

.article__brand {
  display: inline-flex;
  align-items: center;
}

.article__brand-logo {
  display: block;
  width: 137px;
  height: auto;
}

.article__advertisement > span {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 100%;
  letter-spacing: 0;
}

.article__meta {
  margin-bottom: 10px;
  color: var(--color-muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0;
}

.article__title {
  margin-bottom: 16px;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: 0;
}

.article__title-accent {
  color: var(--color-orange);
}

.article__lead {
  margin-bottom: 24px;
  color: var(--color-text);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

/* Article content */

.article__figure {
  margin-bottom: 24px;
}

.article__image {
  display: block;
  width: 100%;
  height: auto;
}

.article__caption {
  margin-top: 24px;
  color: var(--color-text);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

.article__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.article__text {
  margin-bottom: 32px;
  color: var(--color-text);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

.article__text--compact {
  margin-bottom: 16px;
}

.article__text strong {
  font-weight: 700;
}

.article__highlight {
  margin-bottom: 17px;
  color: var(--color-orange);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 33px;
  letter-spacing: 0;
}

.article__section {
  margin-bottom: 16px;
}

.article__section--spaced {
  margin-bottom: 32px;
}

.article__section-title {
  margin-bottom: 20px;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0;
}

.article__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-bottom: 36px;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
  background: var(--color-orange);
  transition: background-color 160ms ease, transform 160ms ease;
}

.article__button:hover {
  background: var(--color-orange-hover);
}

.article__button:focus-visible {
  outline: 3px solid rgba(80, 70, 229, 0.35);
  outline-offset: 2px;
}

.article__button:active {
  transform: translateY(1px);
}

.article__button--no-margin {
  margin-bottom: 0;
}

/* Quotes */

.article__quote-title {
  margin-bottom: 16px;
  padding: 16px 12px;
  border-left: 4px solid #c8161d;
  color: var(--color-text);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

.article__quote {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 3px;
  color: var(--color-text);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
  background: var(--color-purple-soft);
}

.article__quote-author {
  display: block;
  margin-top: 12px;
  color: var(--color-text);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
}

/* Signs and offer cards */

.article__signs
 {
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 3px;
}
.article__offer {
  margin-bottom: 36px;
  padding: 24px 16px;
  border-radius: 3px;
}
.article__signs,
.article__offer {
  background: var(--color-purple-soft);
}

.article__signs-title,
.article__final-card-title {
  margin-bottom: 16px;
  font-size: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0;
}
.article__final-card-title {
  font-size: 28px;
  margin-bottom: 24px;
}
.article__offer-title {
  margin-bottom: 32px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 122%;
  letter-spacing: 0;
}

.article__signs-title,
.article__offer-title {
  color: var(--color-purple);
}

.article__signs-list {
  margin-bottom: 18px;
  padding-left: 24px;
  list-style: disc;
}

.article__sign {
  padding-left: 2px;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

.article__numbered-list {
  margin-bottom: 25px;
  padding-left: 28px;
  list-style: decimal;
}

.article__numbered-item {
  padding-left: 2px;
  font-size: 20px;
  font-weight: 400;
  line-height: 129%;
}

.article__offer-text {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

.article__button--signs,
.article__button--offer {
  margin-bottom: 0;
  background: var(--color-purple);
}

.article__button--signs:hover,
.article__button--offer:hover {
  background: var(--color-purple-hover);
}

.article__button--final {
  margin-bottom: 0;
  background: #df7646;
}

.article__button--final:hover {
  background: var(--color-orange-hover);
}

.article__map {
  display: block;
  width: 440px;
  max-height: 290px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.article__final-card {
  margin-bottom: 26px;
  padding: 24px 16px;
  border-radius: 3px;
  background: var(--color-warm-soft);
}

.article__bullet-list {
  padding-left: 24px;
  list-style: disc;
}

.article__bullet-list--card {
  margin-bottom: 24px;
}

.article__bullet-item {
  padding-left: 2px;
  font-size: 20px;
  font-weight: 500;
  line-height: 131%;
}

.article__disclaimer {
  margin-top: 5px;
  color: #ACACAC;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
}

/* Footer */

.footer {
  padding: 26px 0;
  border-top: 1px solid var(--color-border);
  background: #F5F5F5;
}

.footer__container {
  text-align: center;
}

.footer__title {
  margin-bottom: 8px;
  color: #556065;
  font-size: 16px;
  font-weight: 600;
  line-height: 21px;
}

.footer__contacts {
  margin-bottom: 16px;
}

.footer__text {
  font-size: 14px;
  line-height: 17px;
}

.footer__disclaimer {
  margin-bottom: 12px;
  color: #171515;
  font-size: 14px;
  line-height: 110%;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
}

.footer__link {
  color: #4E46DF;
  font-size: 16px;
  line-height: 110%;
}

.footer__link:hover,
.footer__link:focus-visible {
  text-decoration: underline;
}

.footer__copyright {
  color: #acacac;
  font-size: 16px;
  line-height: 16px;
}

/* Legal pages */

.legal {
  padding: 52px 0 100px;
}

.legal__back {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--color-purple);
  font-size: 16px;
  font-weight: 600;
  line-height: 21px;
}

.legal__title {
  margin-bottom: 32px;
  font-size: 40px;
  font-weight: 700;
  line-height: 45px;
}

.legal__section {
  margin-bottom: 28px;
}

.legal__section:last-child {
  margin-bottom: 0;
}

.legal__subtitle {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 31px;
}

.legal__text,
.legal__item {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.legal__text {
  margin-bottom: 12px;
}

.legal__text:last-child {
  margin-bottom: 0;
}

.legal__list {
  margin-bottom: 12px;
  padding-left: 24px;
  list-style: disc;
}

.legal__link {
  color: var(--color-purple);
}

.legal__back:hover,
.legal__back:focus-visible,
.legal__link:hover,
.legal__link:focus-visible {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 767px) {
  .article__advertisement {
    height: 60px;
    margin-bottom: 24px;
  }

  

  .article__title {
    font-size: 28px;
    line-height: 110%;
  }

  .article__lead,
  .article__caption,
  .article__text,
 
  .article__quote,
  .article__sign,
  .article__offer-text {
    font-size: 16px;
 
  }
.article__image {
  height: 288px;
}
.article__quote-author {
  font-size: 14px;
}
  .article__highlight
   {
    font-size: 28px;
    
  }
  .article__final-card-title {
    font-size: 24px;
  }
  .article__offer-title {
    font-size: 24px;
    margin-bottom: 26px;
    
  }
.article__section-title {
  font-size: 24px;
}
  .article__button {
   margin-bottom: 12px;
  }

  .article__signs,
  .article__offer,
  .article__final-card {
    padding: 18px 14px;
  }

  .article__numbered-item,
  .article__bullet-item {
    font-size: 16px;
    line-height: 160%;
  }

  .article__map {
    width: 100%;
  }

  .footer__container {
    text-align: left;
  }

  .footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer__copyright {
    text-align: center;
  }

  .legal {
    padding: 32px 0 64px;
  }

  .legal__back,
  .legal__title {
    margin-bottom: 24px;
  }

  .legal__title {
    font-size: 30px;
    line-height: 34px;
  }

  .legal__subtitle {
    font-size: 22px;
    line-height: 28px;
  }

  .legal__text,
  .legal__item {
    font-size: 16px;
    line-height: 24px;
  }
}
