@font-face {
  font-family: "Gilroy";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Gilroy-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Gilroy";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Gilroy-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Gilroy";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Gilroy-Medium.woff2") format("woff2");
}

:root {
  --orange: rgb(255, 151, 4);
  --yellow: rgb(255, 199, 2);
  --ink: #242424;
  --brown: #62452b;
  --dark: #38322e;
  --cream: #f8f6f0;
  --container: 1165px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
img { display: block; max-width: none; }
a { color: inherit; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.title {
  font-weight: 500;
  font-size: 73px;
  line-height: 0.95;
  color: var(--ink);
}
.title--dark { color: #000; }
.title--light { color: #fff; }

/* Illustration boxes: children are positioned exactly as in the Figma frame */
.art { position: relative; }
.art span { position: absolute; display: block; }
.art span > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.art .c { display: flex; align-items: center; justify-content: center; }
.art .q { container-type: size; }
.art .c > .t { position: relative; flex: none; }
.art .cd { mix-blend-mode: color-dodge; }
.art .sc { mix-blend-mode: screen; }
.art .mu { mix-blend-mode: multiply; }

/* Hero */
.hero {
  position: relative;
  height: 583px;
  overflow: hidden;
  background-image: linear-gradient(39.21deg, var(--orange) 48.801%, var(--yellow) 91.927%);
}
.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 29px;
}
.logo img { width: 100px; height: 45.962px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 165px;
  height: 54px;
  border: 1px solid #000;
  border-radius: 59px;
  font-size: 24px;
  line-height: 0.95;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.hero__title {
  position: relative;
  max-width: 683px;
  margin-top: 110px;
  font-weight: 500;
  font-size: 94px;
  line-height: 0.95;
  color: #fff;
}
.hero__art {
  position: absolute;
  left: calc(50% + 2px);
  top: 96px;
  width: 719px;
  height: 487px;
}
.hero__clip { position: absolute; inset: 0; overflow: hidden; }
.hero__icon { left: 224px; top: 62px; width: 290px; height: 256.239px; }

/* We deliver */
.deliver { padding: 132px 0 185px; }
.deliver .title { text-align: center; }
.deliver__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 35px;
  margin-top: 43px;
}
.card {
  position: relative;
  flex: none;
  width: 265px;
  height: 450px;
  border-radius: 20px;
  background: var(--cream);
}
.card__blob {
  position: absolute;
  left: var(--x);
  top: 32px;
  width: 178px;
  height: 178px;
  transform: rotate(var(--r, 0deg));
}
.card__blob img, .card__icon img { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__icon { position: absolute; }
.card__icon .o { position: absolute; }
.card__title, .card__text {
  position: absolute;
  left: 50%;
  text-align: center;
}
.card__title {
  transform: translateX(-50%);
  font-weight: 400;
  font-size: 25px;
  line-height: 0.945;
  color: var(--ink);
}
.card__text {
  top: 355px;
  transform: translate(-50%, -50%);
  font-size: 14px;
  line-height: 1.14;
  color: var(--brown);
}

/* Statistics */
.stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  height: 503px;
  margin-bottom: -115px;
}
.stats__text { width: 408px; padding-top: 74px; }
.stats__text p {
  width: 323px;
  margin-top: 46px;
  font-size: 14px;
  line-height: 1.14;
  color: var(--brown);
}
.stats__card {
  position: relative;
  flex: none;
  width: 765px;
  height: 503px;
  border: 1px solid #e9e9e9;
  border-radius: 37px;
  background: #fff;
  box-shadow: 0 44px 92px rgba(0, 0, 0, 0.12);
}
.stats__card img {
  position: absolute;
  left: 5.36%;
  top: 6.56%;
  width: 89.15%;
  height: 88.87%;
  object-fit: contain;
  opacity: 0.67;
}

/* Accept / API */
.accept {
  padding: 257px 0 224px;
  background-image: linear-gradient(60.88deg, var(--orange) 48.801%, var(--yellow) 91.927%);
}
.accept__row { display: flex; justify-content: space-between; }
.accept__row--api { margin-top: 168px; }
.accept__text, .accept__api { text-align: center; }
.accept__text { width: 583px; margin: 17px 0 0 -15px; }
.accept__text p, .accept__api p {
  margin: 25px auto 0;
  font-size: 17px;
  line-height: 1.455;
  color: #000;
}
.accept__text p { width: 425px; }
.links-art { flex: none; width: 565px; height: 334px; }
.links-art__url {
  position: absolute;
  left: 138.29px;
  top: 40.94px;
  width: 296.651px;
  font-weight: 500;
  line-height: 0.95;
  color: #fff;
  text-align: center;
  white-space: pre-wrap;
}
.links-art__url span { position: static; display: inline; }
.links-art__url .s40 { font-size: 40px; }
.links-art__url .s36 { font-size: 36px; }
.links-art__url .s73 { font-size: 73px; }
.api-art { flex: none; width: 489px; height: 300px; margin-left: 61px; }
.api-art img { width: 100%; height: 100%; }
.accept__api { width: 411px; margin: 54px 78px 0 0; }
.accept__api p { width: 322px; margin-top: 27px; }

/* How to start */
.how { padding: 175px 0 207px; }
.how .title { color: #000; text-align: center; }
.how__steps {
  display: flex;
  justify-content: center;
  margin: 41px -17.5px 0;
  list-style: none;
}
.step {
  display: flex;
  flex: 0 1 400px;
  flex-direction: column;
  align-items: center;
}
.step__art { width: 265px; height: 234px; }
.step__monitor { left: 0; top: 29px; width: 265px; height: 205px; }
.step__badge { top: 0; width: 58px; height: 58px; }
.step__num {
  top: 6px;
  transform: translateX(-50%);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.455;
  color: #fff;
}
.step__screen { border-radius: 5px; background: var(--dark); }
.step__stand { top: 219px; width: 111px; height: 15px; border-radius: 80px; background: var(--dark); }
.step p {
  max-width: 100%;
  margin-top: 47px;
  font-size: 17px;
  line-height: 1.455;
  text-align: center;
}

/* Become a client */
.become { padding-bottom: 152px; scroll-margin-top: 24px; }
.become__card {
  height: 650px;
  padding-top: 57px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--cream);
}
.become__card .title { font-size: 63px; text-align: center; }
.become__art {
  width: 601px;
  height: 454px;
  margin: 25px 0 0 calc(50% - 350px);
}

/* Footer */
.footer {
  padding: 100px 0 89px;
  background: var(--dark);
  color: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: 266fr 292fr 607fr;
}
.footer__grid > div { padding-right: 24px; }
.footer__grid > div > p { max-width: var(--w); }
.footer h3 {
  font-weight: 400;
  font-size: 24px;
  line-height: 0.945;
}
.footer p, .footer li {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.415;
}
.footer h3 + p, .footer h3 + ul { margin-top: 23px; }
.footer ul { list-style: none; }
.footer li + li { margin-top: 13px; }
.footer__company + p { margin-top: 13px; }
.footer__phone { margin-top: 32px; }
.footer__phone a, .footer li a { text-decoration: none; }
.footer li a:hover { text-decoration: underline; }
.footer__divider {
  position: relative;
  width: min(1307px, 100% - 2 * var(--gutter));
  height: 0;
  margin: 122px auto 0;
}
.footer__divider .o { position: absolute; inset: -0.5px 0; }
.footer__divider img { width: 100%; height: 100%; }
.footer .footer__copy {
  padding-top: 38px;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.18;
  text-align: center;
}

/* Legal pages */
.legal-hero {
  padding-bottom: 72px;
  background-image: linear-gradient(39.21deg, var(--orange) 48.801%, var(--yellow) 91.927%);
}
.legal-hero__title {
  margin-top: 72px;
  font-weight: 500;
  font-size: 73px;
  line-height: 0.95;
  color: #fff;
}
.legal { padding: 80px 0 140px; }
.legal__body {
  max-width: 760px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--brown);
}
.legal__updated { font-size: 14px; line-height: 1.4; }
.legal__body h2 {
  margin: 48px 0 16px;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  color: var(--ink);
}
.legal__body h3 {
  margin: 28px 0 10px;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.2;
  color: var(--ink);
}
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 14px; }
.legal__body ul { padding-left: 1.3em; }
.legal__body li + li { margin-top: 8px; }
.legal__body a { color: var(--ink); }
.legal__body strong { font-weight: 500; color: var(--ink); }
.legal__lead { margin-top: 32px; font-size: 20px; line-height: 1.5; }
.legal__contact {
  margin-top: 16px;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--cream);
}
.legal__contact p + p { margin-top: 6px; }

/* Responsive */
@media (max-width: 1240px) {
  .deliver__grid { justify-content: center; }
  .stats { flex-direction: column; height: auto; gap: 40px; align-items: center; }
  .stats__text { width: 100%; padding-top: 0; text-align: center; }
  .stats__text p { margin-inline: auto; }
  .stats__card { width: 100%; max-width: 765px; height: auto; aspect-ratio: 765 / 503; }
  .accept { padding-top: 215px; }
  .accept__row { flex-direction: column; align-items: center; gap: 48px; }
  .accept__row--api { flex-direction: column-reverse; margin-top: 120px; }
  .accept__text, .accept__api { margin: 0; max-width: 100%; }
  .api-art { margin-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}

@media (max-width: 1100px) {
  .hero { height: auto; padding-bottom: 0; }
  .hero__title { margin-top: 72px; }
  .hero__art { position: relative; left: auto; top: auto; margin: 24px 0 0 auto; }
}

@media (max-width: 900px) {
  .title { font-size: 56px; }
  .hero__title, .legal-hero__title { font-size: 64px; }
  .become__card { height: auto; padding-bottom: 40px; }
  .become__art { margin: 32px auto 0; zoom: 0.9; }
  .how__steps { flex-direction: column; align-items: center; gap: 56px; margin-inline: 0; }
  .step { flex-basis: auto; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .title, .become__card .title { font-size: 40px; }
  .hero__title { margin-top: 48px; font-size: 48px; }
  .btn-outline { width: 120px; height: 44px; font-size: 18px; }
  .hero__art { zoom: 0.55; }
  .deliver { padding: 72px 0 96px; }
  .accept { padding: 180px 0 120px; }
  .accept__text p, .accept__api p { width: auto; }
  .links-art, .api-art { zoom: 0.6; }
  .how { padding: 96px 0; }
  .become { padding-bottom: 96px; }
  .become__art { zoom: 0.5; }
  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr; }
  .legal-hero { padding-bottom: 48px; }
  .legal-hero__title { margin-top: 48px; font-size: 44px; }
  .legal { padding: 48px 0 96px; }
  .legal__body { font-size: 16px; }
  .legal__lead { font-size: 18px; }
  .legal__body h2 { margin-top: 40px; font-size: 26px; }
  .legal__contact { padding: 20px; }
}
