:root {
  --text: #102e2a;
  --text-soft: #4d675f;
  --mint: #e7f6ef;
  --mint-strong: #12b37a;
  --line: #e4eeea;
  --max: 1160px;
  --pad: 24px;
  --font: "Segoe UI", system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
}

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

p,
h1,
h2,
ul {
  margin: 0;
}

.page {
  min-height: 100vh;
}

/* Hero: background photo sits only behind the header and the two-column content */

.hero {
  position: relative;
  isolation: isolate;
  background:
    /* linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 46%, rgba(255, 255, 255, 0) 68%), */
    #c5ddd4 url("../assets/hero.jpg") center / cover no-repeat;
  padding: 28px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -150px;
  left: calc(max(var(--pad), (100% - var(--max)) / 2) - 280px);
  width: min(1160px, calc(100% + 200px));
  height: 900px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1160' height='900' viewBox='0 0 1160 900'%3E%3Cdefs%3E%3CradialGradient id='s' cx='24%25' cy='36%25' r='72%25'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.58' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.78' stop-color='%23fff' stop-opacity='0.4'/%3E%3Cstop offset='0.92' stop-color='%23fff' stop-opacity='0.08'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='18'/%3E%3C/filter%3E%3C/defs%3E%3Cellipse cx='580' cy='450' rx='530' ry='400' fill='url(%23s)' filter='url(%23b)'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}

.header,
.hero__body,
.benefits__list,
.footer {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.langs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.lang:hover {
  background: #fff;
}

.lang__flag {
  display: block;
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand__divider {
  width: 1px;
  height: 36px;
  background: #c5d5d0;
}

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

.logo img {
  display: block;
  width: auto;
  height: 48px;
}

.header .logo img {
  height: 52px;
}

.logo--partner img {
  height: 28px;
}

.header .logo--partner img {
  height: 36px;
}

.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 520px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 430px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #eff2f9;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
}

.notice__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
}

.hero__title {
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__text {
  max-width: 420px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.45;
}

.promo {
  display: flex;
  align-items: center;
  gap: 18px;
  /* width: 100%; */
  padding: 26px 32px;
  border-radius: 16px;
  background: var(--mint);
}

.promo__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #d7f3e6;
}

.promo__icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(43%) sepia(64%) saturate(470%) hue-rotate(112deg)
    brightness(93%) contrast(89%);
}

.promo__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.promo__note {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 14px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  line-height: 0;
}

.store img {
  display: block;
  height: 56px;
  width: auto;
}

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

.hero__media img {
  display: block;
  width: min(100%, 560px);
  min-height: 320px;
  height: auto;
  object-fit: contain;
}

/* Benefits sit on a white band under the photo */

.benefits {
  background: #fff;
  border-top: 1px solid var(--line);
}

.benefits__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 36px 0;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  text-align: center;
}

.benefit + .benefit {
  border-left: 1px solid var(--line);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-strong);
}

.benefit__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.benefit__title {
  font-size: 16px;
  font-weight: 700;
}

.benefit__text {
  max-width: 220px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.4;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: none;
  padding: 18px max(var(--pad), calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--text-soft);
}

.footer__nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.footer__nav a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero__body,
  .benefits__list {
    grid-template-columns: 1fr;
  }

  .benefit + .benefit {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

}

@media (max-width: 640px) {
  .header {
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
  }

  .langs {
    order: -1;
    align-self: flex-end;
    margin-left: 0;
    gap: 6px;
  }

  .lang {
    gap: 4px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .lang__flag {
    width: 14px;
    height: 10px;
  }

  .header .brand,
  .footer .brand {
    justify-content: center;
  }

  .promo {
    width: 100%;
  }

  .stores {
    width: 100%;
    justify-content: center;
  }

  .footer {
    flex-direction: column;
    align-items: center;
  }
}
