@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

:root {
  --blue: #002855;
  --brand: #0072ce;
  --yellow: #ffbf00;
  --green: #0d8742;
  --green-bg: #d9f0df;
  --pale-blue: #e5f4f9;
  --soft-grey: #f4f6f9;
  --line: #c2d1d9;
  --shadow: 0 5px 16px rgba(0, 40, 85, .09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--blue);
  font-family: "Albert Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ol,
ul {
  margin-top: 0;
}

.container {
  width: min(1218px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding-left: 0;
  padding-right: 0;
}

.hero {
  min-height: 717px;
  background-color: var(--pale-blue);
  background-image: url("assets/hero-landing-1.jpg"), linear-gradient(90deg, var(--pale-blue) 0 50%, var(--soft-grey) 50% 100%);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero__inner {
  width: min(1218px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 80px;
}

.hero__logo {
  width: 143px;
  height: auto;
  margin-bottom: 55px;
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.21;
  letter-spacing: 0;
}

.hero p {
  max-width: 508px;
  margin-bottom: 48px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 29px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--yellow);
  color: #001022;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro {
  padding-top: 137px;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: center;
}

.intro__media {
  display: flex;
  justify-content: flex-end;
}

.intro__media img {
  width: 580px;
  transform: translateX(7px);
}

.intro__copy {
  max-width: 534px;
  padding-top: 7px;
}

.intro__copy h2,
.advantage h2 {
  margin-bottom: 38px;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.18;
}

.intro__copy p,
.intro__copy li,
.advantage p,
.advantage li {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.intro__copy p {
  margin-bottom: 0;
}

.intro__copy ol {
  margin: 30px 0 0 21px;
  padding: 0;
}

.benefits {
  padding-top: 101px;
}

.section-title {
  margin-bottom: 41px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}

.benefit-card {
  min-height: 242px;
  padding: 25px 25px 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  margin-bottom: 34px;
  background: var(--green-bg);
  color: var(--green);
  font-family: "Material Icons";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.benefit-card h3 {
  margin-bottom: 13px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
  text-transform: uppercase;
}

.benefit-card p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.33;
  font-weight: 400;
}

.product {
  padding-top: 213px;
}

.product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 77px;
  align-items: center;
}

.price-card {
  width: 389px;
  margin-left: auto;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-card__head {
  display: flex;
  align-items: center;
  height: 122px;
  padding-left: 95px;
  background: #f2f2f2;
  border-bottom: 1px solid #d7d7d7;
}

.price-card__head img {
  width: 168px;
}

.price-card__body {
  padding: 26px 24px 31px;
}

.price {
  text-align: center;
  color: var(--brand);
  font-weight: 600;
  line-height: 1;
}

.price__main {
  font-size: 52px;
}

.price sup {
  top: -.38em;
  position: relative;
  font-size: 25px;
}

.price__currency {
  font-size: 30px;
  margin-left: 3px;
}

.price__period {
  margin-left: 5px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
}

.vat {
  margin: 8px 0 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}

.price-card__desc {
  margin-bottom: 33px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.check-list,
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 45px;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 400;
}

.check-list li::before {
  content: "check";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  background: var(--green-bg);
  color: var(--green);
  font-family: "Material Icons";
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.price-card__button {
  width: 100%;
  min-width: 0;
  height: 58px;
}

.advantage {
  max-width: 563px;
  padding-top: 63px;
}

.advantage h2 {
  margin-bottom: 11px;
}

.advantage p {
  margin-bottom: 65px;
}

.feature-list {
  display: grid;
  gap: 26px;
}

.feature-list li {
  min-height: 42px;
  padding-left: 61px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 22px;
  font-weight: 400;
  font-family: "Material Icons";
  line-height: 1;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.feature-list__badge::before {
  content: "badge";
}

.feature-list__mail::before {
  content: "mail";
  font-size: 18px;
}

.feature-list__web::before {
  content: "web";
}

.steps {
  padding-top: 168px;
}

.steps .section-title {
  margin-bottom: 47px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  min-height: 212px;
  padding: 0 32px 0 21px;
  border-right: 1px solid rgba(0, 40, 85, .55);
}

.step:first-child {
  padding-left: 17px;
}

.step:last-child {
  border-right: 0;
}

.step h3 {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.step h3 span {
  font-size: 53px;
  font-weight: 700;
  line-height: 1;
}

.step p {
  margin: 0;
  font-size: 17px;
  line-height: 1.38;
  font-weight: 400;
}

.step a {
  font-weight: 700;
  text-decoration: underline;
}

.stories {
  padding-top: 146px;
  padding-bottom: 169px;
}

.stories__title {
  margin-bottom: 44px;
}

.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.story-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 2px;
}

.story-card img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.story-card div {
  padding: 24px 24px 27px;
}

.story-card h3 {
  margin-bottom: 28px;
  font-size: 15px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.story-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.48;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.footer {
  padding-bottom: 15px;
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 400;
}

.footer::before {
  content: "";
  display: block;
  width: min(1218px, calc(100% - 48px));
  height: 1px;
  margin: 0 auto 24px;
  background: linear-gradient(270deg, rgba(194, 209, 217, .3) 0%, var(--line) 50%, rgba(194, 209, 217, .3) 100%);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 18px;
  max-width: 660px;
  text-align: right;
}

.footer__right span {
  flex-basis: 100%;
  margin-bottom: 4px;
  color: #8799a8;
}

.footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    background-position: 58% top;
  }

  .hero__inner {
    padding-top: 42px;
  }

  .hero h1 {
    max-width: 420px;
    font-size: 34px;
  }

  .hero p {
    max-width: 390px;
    margin-bottom: 42px;
  }

  .intro__grid,
  .product__grid,
  .benefits__grid,
  .steps__grid,
  .stories__grid {
    grid-template-columns: 1fr;
  }

  .intro,
  .benefits,
  .product,
  .steps,
  .stories {
    padding-top: 70px;
  }

  .intro__media,
  .price-card {
    margin: 0 auto;
  }

  .price-card {
    width: min(389px, 100%);
  }

  .advantage {
    padding-top: 60px;
  }

  .benefits__grid,
  .stories__grid {
    gap: 24px;
  }

  .step {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 40, 85, .2);
  }

  .step:first-child {
    padding-left: 0;
  }

  .step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .container,
  .hero__inner,
  .footer::before {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: 620px;
    background-position: 63% top;
  }

  .hero__logo {
    width: 118px;
    margin-bottom: 36px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 14px;
  }

  .section-title,
  .intro__copy h2,
  .advantage h2 {
    font-size: 25px;
  }

  .footer__inner,
  .footer__right {
    display: block;
    text-align: left;
  }

  .footer__right {
    margin-top: 16px;
  }

  .footer a {
    display: inline-block;
    margin-right: 12px;
  }
}
