:root {
  --color-ink: #17211b;
  --color-muted: #647068;
  --color-primary: #147a4b;
  --color-primary-dark: #0d5c38;
  --color-accent: #f3b83f;
  --color-surface: #ffffff;
  --color-background: #f3f7f4;
  --color-border: #dfe8e2;
  --shadow-card: 0 18px 45px rgba(24, 57, 38, 0.08);
  --radius-card: 20px;
  --page-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--color-background);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-ink);
  background:
    linear-gradient(rgba(20, 122, 75, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 122, 75, 0.035) 1px, transparent 1px),
    var(--color-background);
  background-size: 40px 40px;
}

.site-header,
.hero,
.site-footer {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 8px 20px rgba(20, 122, 75, 0.2);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.status__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(243, 184, 63, 0.18);
}

.hero {
  flex: 1;
  display: grid;
  align-content: center;
  gap: 64px;
  padding-block: 70px 90px;
}

.hero__content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero__description {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.7;
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.journey__step {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.journey__number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #a8b5ad;
  font-size: 12px;
  font-weight: 700;
}

.journey__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 15px;
  color: var(--color-primary-dark);
  background: #e8f4ed;
  font-size: 25px;
  font-weight: 700;
}

.journey__icon--scan::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-top-width: 5px;
  box-shadow: inset 0 -5px 0 #e8f4ed, inset 0 -7px 0 currentColor;
}

.journey__icon--pay::before {
  content: "";
  width: 24px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: linear-gradient(currentColor 0 0) 0 4px / 100% 3px no-repeat;
}

.journey__step h2 {
  margin: 0 0 9px;
  font-size: 22px;
  letter-spacing: 0;
}

.journey__step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.5;
}

.journey__arrow {
  color: var(--color-primary);
  font-size: 24px;
}

.site-footer {
  padding-block: 24px 30px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .site-header {
    min-height: 82px;
  }

  .status {
    padding: 7px 10px;
    font-size: 11px;
  }

  .hero {
    gap: 42px;
    padding-block: 54px 64px;
  }

  h1 {
    font-size: 46px;
  }

  .hero__description {
    font-size: 16px;
  }

  .journey {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .journey__step {
    min-height: 0;
    padding: 24px;
  }

  .journey__icon {
    margin-bottom: 24px;
  }

  .journey__arrow {
    height: 18px;
    line-height: 18px;
    text-align: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 17px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .status {
    width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
  }

  .status__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  h1 {
    font-size: 40px;
  }

  .site-footer {
    line-height: 1.6;
  }
}
