@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Light.woff') format('woff'), url('../fonts/e-Ukraine-Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Regular.woff') format('woff'), url('../fonts/e-Ukraine-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Medium.woff') format('woff'), url('../fonts/e-Ukraine-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Bold.woff') format('woff'), url('../fonts/e-Ukraine-Bold.otf') format('opentype');
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --green-900: #0A3814;
  --green-800: #065516;
  --green-700: #215D2E;
  --green-500: #7C9E84;
  --green-300: #B7CABB;
  --green-100: #E1ECE1;
  --black: #101010;
  --text: #36373C;
  --gray: #68696D;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --step-duration: 5s;
}

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

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--black);
  font-family: 'e-Ukraine', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.mobile-only {
  display: none !important;
}

.h2 {
  font-size: 50px;
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.05em;
}

.text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.05em;
  color: var(--text);
}

.eyebrow {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--gray);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 45px;
  background: var(--green-800);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.16s ease-out, opacity 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.phone {
  flex: none;
  width: 366px;
  height: auto;
}

.features__phone {
  width: 400px;
  aspect-ratio: 400 / 778;
  object-fit: cover;
}

/* Header */

.header {
  padding: 24px 0;
}

.header__inner {
  display: flex;
  justify-content: center;
}

.header__logo {
  width: 164px;
  height: 55px;
  object-fit: contain;
}

/* Hero */

.hero {
  padding: 66px 0;
}

.hero {
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero__text {
  position: relative;
  z-index: 1;
  flex: 0 0 706px;
  display: flex;
  flex-direction: column;
  gap: 83px;
}

.hero__title {
  font-size: 50px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero__qr-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__qr {
  flex: none;
  width: 175px;
  height: 175px;
}

.hero__qr-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 470px;
}

.hero__qr-title {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: -0.03em;
  color: var(--green-900);
}

.hero__note {
  max-width: 607px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: -0.02em;
  color: #68696D;
}

.hero__visual {
  position: relative;
  flex: 0 1 599px;
  min-width: 0;
  aspect-ratio: 599 / 660;
}

/* anchored 40px into the page gutter; width keeps the fan-out ~60px clear of the text */
.hero__video {
  position: absolute;
  top: 50%;
  right: -40px;
  width: calc(100.65% + 86px);
  max-width: none;
  height: auto;
  transform: translateY(-50%);
}

/* Features */

.features {
  padding: 80px 0;
}

.features__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.features__content {
  flex: 0 1 781px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.features__head {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.features__lead {
  max-width: 675px;
}

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

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 135px;
  padding: 18px;
  border-radius: 12px;
  background: var(--green-100);
}

.feature__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.05em;
  color: #191919;
}

.feature__title img {
  flex: none;
}

.feature__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: -0.05em;
  color: #333333;
}

.feature--accent {
  background: var(--green-800);
}

.feature--accent .feature__title {
  color: #FFFFFF;
}

.feature--accent .feature__text {
  color: #CDDDD0;
}

/* How it works */

.how {
  padding: 40px 0;
}

.how__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 14vw, 200px);
  min-height: 749px;
}

.how__content {
  flex: 0 1 494px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.how__head .h2 {
  margin-top: 8px;
  line-height: 1.2;
}

.how__lead {
  margin-top: 24px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  position: relative;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 32px;
  bottom: -24px;
  width: 1px;
  background: var(--green-500);
}

.step__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  text-align: left;
}

.step__marker {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1.19px solid var(--green-500);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--green-700);
  font-size: 14.2px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.step__num,
.step__check {
  grid-area: 1 / 1;
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}

.step__check {
  opacity: 0;
  transform: scale(0.4);
}

.step__title {
  padding: 5px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: #000000;
  transform-origin: left center;
  transition: color 0.2s;
}

.step:not(.is-active) .step__title {
  animation: step-title-shrink 0.45s var(--ease-out);
}

.step.is-active .step__title {
  animation: step-title-grow 0.45s var(--ease-out);
}

@keyframes step-title-grow {
  from {
    transform: scale(0.818);
  }
}

@keyframes step-title-shrink {
  from {
    transform: scale(1.222);
  }
}

@media (hover: hover) {
  .step__head:hover .step__title {
    color: var(--green-700);
  }
}

.step__details {
  display: grid;
  grid-template-rows: 0fr;
  padding-left: 48px;
  transition: grid-template-rows 0.55s var(--ease-out);
}

.step__details-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease-out, transform 0.45s var(--ease-out);
}

.step__text {
  margin: 4px 0 0;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}

.step:first-child .step__text {
  line-height: 1.2;
}

.stores {
  display: flex;
  gap: 8px;
}

.path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.path__chip {
  padding: 8px 12px;
  border-radius: 7px;
  background: var(--green-300);
  color: var(--green-700);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.step__progress {
  display: block;
  width: 230px;
  height: 3px;
  margin-bottom: 1px;
  border-radius: 100px;
  background: var(--green-300);
  overflow: hidden;
}

.step__progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
}

.step.is-active .step__marker {
  border-color: var(--green-700);
  background: var(--green-700);
  color: #FFFFFF;
}

.step.is-active .step__title {
  font-size: 22px;
}

.step.is-active .step__details {
  grid-template-rows: 1fr;
}

.step.is-active .step__details-inner {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.step.is-active .step__progress-fill {
  animation: step-progress var(--step-duration) linear forwards;
}

.steps.is-paused .step__progress-fill,
.steps:focus-within .step__progress-fill {
  animation-play-state: paused;
}

@media (hover: hover) {
  .steps:hover .step__progress-fill {
    animation-play-state: paused;
  }
}

.step.is-done .step__marker {
  border-color: var(--green-500);
  background: var(--green-300);
}

.step.is-done .step__num {
  opacity: 0;
  transform: scale(0.4);
}

.step.is-done .step__check {
  opacity: 1;
  transform: none;
}

@keyframes step-progress {
  to {
    transform: scaleX(1);
  }
}

.how__phone {
  display: grid;
}

.how__phone img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.5s ease-out, transform 0.7s var(--ease-out);
}

.how__phone img.is-active {
  opacity: 1;
  transform: none;
}

/* Services */

.services {
  padding: 60px 0;
}

.services__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.services__title {
  line-height: 1.2;
  text-align: center;
}

.services__list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 6px;
  max-width: 1228px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 302px;
  text-align: center;
}

.service:nth-child(n + 5) {
  width: 289px;
  min-height: 380px;
  margin: 0 9px;
}

.service img {
  width: auto;
  height: 240px;
  margin-bottom: 27px;
}

.service__title {
  padding: 0 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #04050B;
}

.service__text {
  margin-top: 8px;
  padding: 0 8px 8px;
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* CTA */

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 612px;
  padding: 0 40px;
}

.cta__text {
  flex: 0 1 357px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.badge {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 25px;
  background: #FFCC00;
  color: #282828;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.cta__title {
  font-size: 50px;
  font-weight: 500;
  line-height: 62px;
  letter-spacing: -3.2px;
}

.cta__image {
  flex: none;
  width: 418px;
  height: auto;
  margin: 16px;
}

/* Footer */

.footer {
  background: var(--green-900);
  color: #FFFFFF;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 91px;
  min-height: 410px;
  padding: 40px 56px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer__about {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 574px;
}

.footer__logo {
  width: 211px;
  height: auto;
}

.footer__about p {
  max-width: 455px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.89);
}

.footer__cols {
  display: flex;
  justify-content: space-between;
  width: 348px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.44;
}

.footer__col:first-child {
  width: 168px;
}

.footer__col:last-child {
  width: 126px;
}

.footer__heading {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__col:last-child .footer__heading {
  margin-bottom: 23px;
}

.footer a {
  color: #FFFFFF;
}

.footer__phone {
  text-decoration: none;
}

.footer__copyright {
  font-size: 10px;
  font-weight: 300;
  line-height: 1.2;
}

.sticky-qr {
  position: fixed;
  right: 32px;
  bottom: 16px;
  z-index: 10;
  width: 128px;
  height: 128px;
  border-radius: 8px;
  background: #E9EFEA;
  box-shadow: 0 0 4px rgba(13, 54, 11, 0.25);
}

@media (max-width: 1439px) {
  .hero__inner {
    gap: 32px;
  }

  .hero__text {
    flex: 1 1 0;
    min-width: 40%;
    gap: 48px;
  }

  .hero__title {
    font-size: clamp(32px, 3.6vw, 46px);
  }

  .hero__qr-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero__qr {
    width: 128px;
    height: 128px;
  }

  .hero__qr-title {
    font-size: 18px;
  }

  .hero__qr-text .text {
    font-size: 14px;
    line-height: 21px;
  }

  /* the text column ends at the box edge here, so the fan-out can reach ~40px from it */
  .hero__video {
    width: calc(100.65% + 32px);
  }
}

@media (max-width: 1279px) {
  .features__inner {
    flex-direction: column-reverse;
    gap: 48px;
  }

  .features__content {
    flex: none;
    width: 100%;
    max-width: 781px;
  }

  .how__inner {
    flex-direction: column;
    gap: 48px;
    min-height: 0;
  }

  .how__content {
    flex: none;
    width: 100%;
    max-width: 494px;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 16px;
  }

  .desktop-only,
  .sticky-qr {
    display: none !important;
  }

  .mobile-only {
    display: revert !important;
  }

  .btn.mobile-only,
  .badge.mobile-only {
    display: flex !important;
  }

  .h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .text {
    font-size: 14px;
    line-height: 21px;
  }

  .phone {
    width: 302px;
    max-width: 100%;
    margin: 0 auto;
  }

  .features__phone {
    width: 318px;
  }

  .header__logo {
    width: 137px;
    height: 46px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .hero__text {
    flex: none;
    gap: 24px;
  }

  .hero__title {
    font-size: 30px;
    line-height: 33px;
  }

  .hero__visual {
    flex: none;
    aspect-ratio: 1400 / 1200;
  }

  .hero__video {
    top: 0;
    right: auto;
    left: 0;
    width: 100%;
    transform: none;
  }

  .features {
    padding: 60px 0;
  }

  .features__inner {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .features__content {
    flex: none;
    gap: 0;
  }

  .features__head {
    gap: 24px;
  }

  .features__caption {
    margin: 32px 0 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
  }

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

  .feature {
    position: relative;
    gap: 4px;
    min-height: 0;
    padding: 12px 16px;
    border-radius: 0;
  }

  .feature:first-child {
    padding-top: 16px;
    border-radius: 12px 12px 0 0;
  }

  .feature:nth-child(8) {
    padding-bottom: 16px;
    border-radius: 0 0 12px 12px;
  }

  .feature:not(:first-child):not(.feature--accent)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: rgba(6, 85, 22, 0.27);
  }

  .feature__title {
    color: #404040;
  }

  .feature__text {
    padding-left: 32px;
  }

  .feature--accent {
    margin-top: 8px;
    padding: 16px;
    border-radius: 12px;
  }

  .how {
    padding: 60px 0;
  }

  .how__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    min-height: 0;
  }

  .how__content {
    display: contents;
  }

  .how__phone {
    order: 1;
    width: 293px;
  }

  .steps {
    order: 2;
  }

  .eyebrow {
    font-size: 12px;
  }

  .how__lead {
    margin-top: 16px;
  }

  .step.is-active .step__title {
    font-size: 18px;
  }

  .step:not(.is-active) .step__title,
  .step.is-active .step__title {
    animation: none;
  }

  .step__text,
  .step:first-child .step__text {
    line-height: 1.4;
  }

  .step:nth-child(3) .step__text {
    line-height: 1.35;
  }

  .path__chip {
    padding: 8px;
  }

  .services {
    padding: 103px 0;
  }

  .services .container {
    padding: 0;
  }

  .services__inner {
    gap: 16px;
  }

  .services__title {
    padding: 10px 16px;
  }

  .services__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: none;
    padding: 0 calc(50% - 121px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

  .service,
  .service:nth-child(n + 5) {
    flex: none;
    width: 242px;
    margin: 0;
    scroll-snap-align: center;
    transform: scale(0.87);
    transform-origin: 50% 100%;
    opacity: 0.85;
    transition: transform 0.4s var(--ease-out), opacity 0.4s;
  }

  .service.is-current {
    transform: none;
    opacity: 1;
  }

  .service img {
    margin-bottom: 24px;
  }

  .service__title {
    font-size: 14px;
  }

  .cta {
    padding: 60px 0;
  }

  .cta__inner {
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 0 16px;
  }

  .cta__text {
    flex: none;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .badge {
    height: 24px;
    font-size: 11px;
  }

  .cta__title {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -0.05em;
  }

  .cta__image {
    width: 247px;
    margin: 0;
  }

  .footer__inner {
    min-height: 555px;
    padding: 24px 16px;
  }

  .footer__top {
    flex-direction: column;
    gap: 91px;
  }

  .footer__logo {
    width: 140px;
  }

  .footer__about p {
    font-size: 12px;
  }

  .footer__cols {
    justify-content: flex-start;
    gap: 32px;
    width: auto;
    font-size: 13px;
  }

  .footer__heading {
    margin-bottom: 28px;
  }

  .footer__col:last-child .footer__heading {
    margin-bottom: 19px;
  }

  .footer__copyright {
    font-weight: 400;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .step__progress {
    display: none;
  }
}
