/* DW Agent — landing page styles. Desktop reference: 1920px frame, 1520px container, 12-column grid, 24px gaps. */

:root {
  --bg: #121212;
  --card: #2d2d2d;
  --card-dark: #030303;
  --gold: #d0ae64;
  --gold-hover: #ddbd76;
  --gold-line: rgba(208, 174, 100, 0.72);
  --red: #e04734;
  --text: #fff;
  --muted: #7a7a7a;
  --radius: 20px;
  --gap: 24px;
  --container: 1520px;
  --edge: clamp(16px, 4vw, 80px);
  --header-h: 80px;
  --header-top: 24px;
  --font: "Manrope", "Noto Sans Ethiopic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-logo: "Montserrat", "Manrope", system-ui, sans-serif;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.32);

  /* 1 design pixel, relative to the 1520px container (falls back to viewport units outside containers) */
  --u: calc(100cqi / 1520);
  --pad: clamp(24px, calc(60 * var(--u)), 60px);
  --fs-display: clamp(72px, calc(128 * var(--u)), 128px);
  --fs-sub: clamp(36px, calc(60 * var(--u)), 60px);
  --fs-h1: clamp(32px, calc(48 * var(--u)), 48px);
  --fs-h2: clamp(28px, calc(40 * var(--u)), 40px);
  --fs-h3: clamp(19px, calc(26 * var(--u)), 26px);
  --fs-body: clamp(16px, calc(20 * var(--u)), 20px);
  --fs-sum: clamp(44px, calc(60 * var(--u)), 60px);
  --fs-stat: clamp(40px, calc(58 * var(--u)), 58px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 500 var(--fs-body)/1.4 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.i { width: 1em; height: 1em; flex: none; }
.gold { color: var(--gold); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* Spam trap: never rendered, so browsers and password managers do not autofill it (bots still do). */
.hp { display: none !important; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--gold); color: #141414; font-size: 14px; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

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

/* ---------- typography ---------- */
.display {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.167;
  text-transform: uppercase;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}
.lead { font-size: var(--fs-body); line-height: 1.4; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  min-width: 186px;
  padding: 0 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn .i { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: #1d1d1b; font-weight: 500; }
.btn--gold:hover { background: var(--gold-hover); box-shadow: 0 6px 24px rgba(208, 174, 100, 0.28); }
.btn--outline {
  background: var(--card);
  border-color: var(--gold-line);
  color: var(--gold);
}
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: #1d1d1b; }
.btn--sm { min-height: 40px; min-width: 0; padding: 0 14px 0 22px; border-radius: 10px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: var(--header-top);
  transition: padding-top 0.25s;
  pointer-events: none;
}
.site-header.is-scrolled { padding-top: 12px; }
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 60px 0 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #303030 0%, #2b2b2b 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}
.site-header.is-scrolled .header-bar { box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55); }

.logo {
  display: inline-flex;
  align-items: center;
  font: 900 31px/1 var(--font-logo);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.logo__d { color: #c9ab62; }
.logo__w { color: var(--red); }
.logo__agent { margin-left: 0.32em; color: #fff; }

.nav { margin-left: 54px; }
.nav__list { display: flex; align-items: center; gap: 24px; }
.nav__link {
  display: inline-block;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--gold); }
.nav__cta { display: none; }

.header-bar__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-bar__cta { gap: 10px; }

.lang { position: relative; }
.lang__current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 11px 0 10px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: #262626;
  font-size: 15px;
  font-weight: 700;
}
.lang__current:hover { background: #333; }
.flag { display: block; width: 22px; height: 22px; flex: none; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.flag__svg { width: 100%; height: 100%; }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  padding: 6px;
  border: 1px solid rgba(208, 174, 100, 0.45);
  border-radius: 12px;
  background: #222;
  box-shadow: var(--shadow);
}
.lang__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}
.lang__menu a:hover { background: #2f2f2f; }
.lang__menu a[aria-current] { color: var(--gold); }
.lang__name { margin-left: auto; font-weight: 500; color: #a8a8a8; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #262626;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.2s;
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before, .burger span::after { content: ""; left: 0; margin-left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- layout ---------- */
.page {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding-top: var(--gap);
}
.anchor-top { position: absolute; top: 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.card--bg {
  background-color: var(--card-dark);
  background-repeat: no-repeat;
  background-size: cover;
}
.card--photo { background: #0b0b0b; }
.card--photo > img { width: 100%; height: 100%; object-fit: cover; }

.prose p + p { margin-top: 12px; }

/* link cards (who is / how to earn) */
.link-card {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: calc(221 * var(--u));
  padding: 20px 60px 20px 52px;
  transition: background-color 0.25s;
}
.link-card:hover { background-color: #333; }
.link-card__title { flex: 1; }
.icon3d { flex: none; width: 100px; height: 100px; }
.icon3d--lg { width: clamp(110px, calc(172 * var(--u)), 172px); height: auto; aspect-ratio: 1; }
.round-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(60px, calc(80 * var(--u)), 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  color: #1b1b1b;
  transition: transform 0.3s, background-color 0.2s;
}
.round-arrow .i { width: 40%; height: 40%; }
.link-card:hover .round-arrow { background: var(--gold-hover); transform: rotate(-45deg); }
.link-card:hover .round-arrow--sw { transform: rotate(45deg); }

/* cta cards (gray, title + outline button) */
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: calc(222 * var(--u));
  padding: 32px 60px;
}
.cta-card .btn { min-width: 230px; min-height: 58px; }

/* ---------- hero ---------- */
.hero__main {
  grid-column: 1 / 8;
  min-height: calc(723 * var(--u));
  padding: calc(100 * var(--u)) var(--pad) var(--pad);
  background-image: url("../img/hero-bg.webp?v=4dfecbb0de");
  background-image: -webkit-image-set(url("../img/hero-bg.webp?v=4dfecbb0de") 1x, url("../img/hero-bg@2x.webp?v=4ffb06a5c7") 2x);
  background-image: image-set(url("../img/hero-bg.webp?v=4dfecbb0de") 1x, url("../img/hero-bg@2x.webp?v=4ffb06a5c7") 2x);
  background-position: right bottom;
}
.hero__main .h1 { max-width: 12.1em; }
.hero__text { max-width: 30.75em; margin-top: 12px; }
.hero__main .btn { margin-top: 38px; }
.hero__phone { grid-column: 8 / 13; grid-row: 1 / 3; min-height: 420px; }
.hero__who { grid-column: 1 / 8; }

/* ---------- about ---------- */
.about__photo { grid-column: 1 / 6; grid-row: 1 / 3; min-height: 420px; }
.about__text {
  grid-column: 6 / 13;
  min-height: calc(725 * var(--u));
  padding: calc(112 * var(--u)) var(--pad) var(--pad);
  background-image: url("../img/about-bg.webp?v=76f922ac04");
  background-image: -webkit-image-set(url("../img/about-bg.webp?v=76f922ac04") 1x, url("../img/about-bg@2x.webp?v=1fb7600a11") 2x);
  background-image: image-set(url("../img/about-bg.webp?v=76f922ac04") 1x, url("../img/about-bg@2x.webp?v=1fb7600a11") 2x);
  background-position: right bottom;
}
.about__text .prose { max-width: 30.75em; margin-top: 26px; }
.about__text .btn { margin-top: 44px; }
.about__how { grid-column: 6 / 13; padding-left: 46px; }

/* ---------- first step ---------- */
.step {
  display: flex;
  flex-direction: column;
  min-height: calc(728 * var(--u));
  padding: calc(79 * var(--u)) var(--pad) calc(84 * var(--u));
  background-image: url("../img/step-bg.webp?v=02a8c2d6e0");
  background-image: -webkit-image-set(url("../img/step-bg.webp?v=02a8c2d6e0") 1x, url("../img/step-bg@2x.webp?v=7fcbc0350f") 2x);
  background-image: image-set(url("../img/step-bg.webp?v=02a8c2d6e0") 1x, url("../img/step-bg@2x.webp?v=7fcbc0350f") 2x);
  background-position: right center;
}
.step__title {
  max-width: 640px;
  margin-top: auto;
  color: var(--gold);
  font-size: var(--fs-sub);
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
}
.step .display { margin-bottom: calc(88 * var(--u)); }
.step__text { max-width: 26em; margin-top: 8px; }

/* ---------- calculator ---------- */
.calc__form {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  min-height: calc(696 * var(--u));
  padding: calc(110 * var(--u)) var(--pad) var(--pad);
  background-image: url("../img/calc-bg.webp?v=88886a0e64");
  background-image: -webkit-image-set(url("../img/calc-bg.webp?v=88886a0e64") 1x, url("../img/calc-bg@2x.webp?v=5184add9ef") 2x);
  background-image: image-set(url("../img/calc-bg.webp?v=88886a0e64") 1x, url("../img/calc-bg@2x.webp?v=5184add9ef") 2x);
  background-position: left bottom;
}
.calc__note { margin-top: 18px; }
.range { margin-top: 48px; }
.range + .range { margin-top: 44px; }
.range__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.range__label { color: var(--gold); font-size: var(--fs-body); text-transform: uppercase; }
.range__value { font-size: clamp(22px, calc(29 * var(--u)), 29px); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.range__input {
  --fill: 50%;
  display: block;
  width: 100%;
  height: 32px;
  margin: 14px 0 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.range__input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold) var(--fill), #3a3a3a var(--fill));
}
.range__input::-moz-range-track { height: 4px; border-radius: 4px; background: #3a3a3a; }
.range__input::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
.range__input::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: -13px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(208, 174, 100, 0.35);
  transition: box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.range__input::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--gold); }
.range__input:hover::-webkit-slider-thumb,
.range__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px rgba(208, 174, 100, 0.22); }
.range__input:focus-visible { outline: none; }

.calc__result {
  grid-column: 7 / 13;
  min-height: calc(450 * var(--u));
  padding: calc(110 * var(--u)) var(--pad) var(--pad);
  background-image: url("../img/commission-bg.webp?v=535f8c0790");
  background-image: -webkit-image-set(url("../img/commission-bg.webp?v=535f8c0790") 1x, url("../img/commission-bg@2x.webp?v=68433d3511") 2x);
  background-image: image-set(url("../img/commission-bg.webp?v=535f8c0790") 1x, url("../img/commission-bg@2x.webp?v=68433d3511") 2x);
  background-position: right bottom;
}
.calc__result-title { max-width: 13em; }
.calc__sum {
  margin-top: 30px;
  color: var(--gold);
  font-size: var(--fs-sum);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc__period { margin-top: 30px; text-transform: uppercase; }
.calc__start { grid-column: 7 / 13; }

/* ---------- is it for me ---------- */
.fit__intro {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  min-height: calc(970 * var(--u));
  padding: calc(110 * var(--u)) var(--pad) var(--pad);
  background-image: url("../img/fit-bg.webp?v=cda99b6a2a");
  background-image: -webkit-image-set(url("../img/fit-bg.webp?v=cda99b6a2a") 1x, url("../img/fit-bg@2x.webp?v=72e7db890d") 2x);
  background-image: image-set(url("../img/fit-bg.webp?v=cda99b6a2a") 1x, url("../img/fit-bg@2x.webp?v=72e7db890d") 2x);
  background-position: center bottom;
}
.fit__intro .lead { max-width: 23.5em; margin-top: 30px; }
.fit__benefits {
  grid-column: 6 / 13;
  min-height: calc(725 * var(--u));
  padding: calc(110 * var(--u)) var(--pad) var(--pad);
  background-image: url("../img/benefits-bg.webp?v=75276c1153");
  background-image: -webkit-image-set(url("../img/benefits-bg.webp?v=75276c1153") 1x, url("../img/benefits-bg@2x.webp?v=b57d439f09") 2x);
  background-image: image-set(url("../img/benefits-bg.webp?v=75276c1153") 1x, url("../img/benefits-bg@2x.webp?v=b57d439f09") 2x);
  background-position: right bottom;
}
.fit__benefits .h2 { max-width: 11.75em; }
.bullets { max-width: 27.25em; margin-top: 64px; }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.fit__cta { grid-column: 6 / 13; }

/* ---------- promo ---------- */
.promo {
  min-height: calc(724 * var(--u));
  padding: calc(110 * var(--u)) var(--pad) var(--pad);
  background-image: url("../img/cta-bg.webp?v=9a50c51d47");
  background-image: -webkit-image-set(url("../img/cta-bg.webp?v=9a50c51d47") 1x, url("../img/cta-bg@2x.webp?v=a9c8b3f5f9") 2x);
  background-image: image-set(url("../img/cta-bg.webp?v=9a50c51d47") 1x, url("../img/cta-bg@2x.webp?v=a9c8b3f5f9") 2x);
  background-position: right center;
}
.promo__title { max-width: 13.9em; }
.promo__title .gold { display: block; }
.promo__text { max-width: 29em; margin-top: 40px; }
.promo .btn { margin-top: 36px; }

/* ---------- features ---------- */
.feature {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: calc(221 * var(--u));
  padding: 24px 40px;
}
.feature .icon3d { width: clamp(76px, calc(100 * var(--u)), 100px); height: auto; aspect-ratio: 1; }
.feature__text { font-size: clamp(17px, calc(20 * var(--u)), 20px); line-height: 1.5; }
.feature--main {
  grid-column: 1 / 6;
  padding-left: calc(272 * var(--u));
  background-image: url("../img/check-bg.webp?v=359ddf12b1");
  background-image: -webkit-image-set(url("../img/check-bg.webp?v=359ddf12b1") 1x, url("../img/check-bg@2x.webp?v=15eb2fc77a") 2x);
  background-image: image-set(url("../img/check-bg.webp?v=359ddf12b1") 1x, url("../img/check-bg@2x.webp?v=15eb2fc77a") 2x);
  background-position: left center;
}
.feature--main .h3 { line-height: 1.2; }
.feature--1 { grid-column: 6 / 10; padding-left: 60px; }
.feature--2 { grid-column: 10 / 13; padding-left: 60px; gap: 24px; }
.feature--3 { grid-column: 1 / 4; padding-left: 64px; gap: 24px; }
.feature--4 { grid-column: 4 / 9; padding-left: 64px; }
.feature--5 { grid-column: 9 / 13; padding-left: 64px; }

/* ---------- stats ---------- */
.stats { display: flex; flex-direction: column; gap: max(var(--gap), calc(35 * var(--u))); margin-block: max(0px, calc(13 * var(--u))) max(0px, calc(-1 * var(--u))); }
.stats__banner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: calc(316 * var(--u));
  padding: 32px var(--pad);
  background-image: url("../img/stats-bg.webp?v=740341548a");
  background-image: -webkit-image-set(url("../img/stats-bg.webp?v=740341548a") 1x, url("../img/stats-bg@2x.webp?v=cba015b72a") 2x);
  background-image: image-set(url("../img/stats-bg.webp?v=740341548a") 1x, url("../img/stats-bg@2x.webp?v=cba015b72a") 2x);
  background-position: right center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: #1c1c1c;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fd46f;
  box-shadow: 0 0 0 0 rgba(63, 212, 111, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(63, 212, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 212, 111, 0); }
}
.stats__title {
  flex: none;
  color: var(--gold);
  font-size: clamp(22px, calc(28 * var(--u)), 28px);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}
.stats__text { max-width: 440px; font-size: clamp(16px, calc(18 * var(--u)), 18px); line-height: 1.1; }
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: calc(221 * var(--u));
  padding: 24px 32px;
}
.stat__num {
  color: var(--gold);
  font-size: var(--fs-stat);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(15px, calc(18 * var(--u)), 18px);
  line-height: 1.1;
  text-transform: uppercase;
}
.stat__meta .i { width: 26px; height: 26px; color: var(--gold); }
.stat--day { grid-column: 1 / 4; }
.stat--week { grid-column: 4 / 8; }
.stat--total { grid-column: 8 / 13; }

/* ---------- reviews ---------- */
.results {
  padding: calc(52 * var(--u)) var(--pad) calc(60 * var(--u));
  background-image: url("../img/results-bg.webp?v=be47aad35e");
  background-image: -webkit-image-set(url("../img/results-bg.webp?v=be47aad35e") 1x, url("../img/results-bg@2x.webp?v=64af1651b3") 2x);
  background-image: image-set(url("../img/results-bg.webp?v=be47aad35e") 1x, url("../img/results-bg@2x.webp?v=64af1651b3") 2x);
  background-position: center;
}
.results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: calc(56 * var(--u));
  align-items: start;
}
.review { display: flex; flex-direction: column; }
.balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-end;
  width: min(300px, 100%);
  padding: 14px 16px 16px;
  border-radius: 12px 12px 0 0;
  background: #fbfbfd;
  color: #141414;
}
.balance__label { color: #a3a3a3; font-size: 15px; line-height: 1; }
.balance__sum {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}
.balance__coin {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f7dd43;
}
.balance__coin .i { width: 18px; height: 18px; }
.balance__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; margin-top: 14px; }
.balance__actions > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 2px 9px;
  border-radius: 8px;
  background: #f7dd43;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.balance__actions .i { width: 20px; height: 20px; }
.review__person {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 93px;
  margin-top: -2px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background: linear-gradient(90deg, #2b2b2b 0%, #161616 100%);
}
.review__person img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.review__person h3 { font-size: 18px; font-weight: 500; text-transform: uppercase; }
.review__text {
  margin-top: 13px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(23, 23, 23, 0.92);
  font-size: 16px;
  line-height: 1.21;
}

/* ---------- application form ---------- */
.apply__photo { grid-column: 1 / 6; min-height: 420px; }
.apply__card {
  grid-column: 6 / 13;
  padding: calc(52 * var(--u)) var(--pad) calc(110 * var(--u));
  background-image: url("../img/form-bg.webp?v=704da0aaab");
  background-image: -webkit-image-set(url("../img/form-bg.webp?v=704da0aaab") 1x, url("../img/form-bg@2x.webp?v=e54712e414") 2x);
  background-image: image-set(url("../img/form-bg.webp?v=704da0aaab") 1x, url("../img/form-bg@2x.webp?v=e54712e414") 2x);
  background-position: center;
}
.apply__title { text-align: center; }
.form { width: min(636px, 100%); margin: 34px auto 0; }
.field + .field,
.radios + .field { margin-top: 19px; }
.field__label { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.field__label span { margin-left: 1px; }
.field__control {
  display: block;
  width: 100%;
  height: 68px;
  padding: 0 24px;
  border: 1px solid rgba(208, 174, 100, 0.7);
  border-radius: 8px;
  background: var(--card);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__control::placeholder { color: #737373; text-transform: uppercase; opacity: 1; }
.field__control--center { text-align: center; }
.field__control:focus,
.field__control:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(208, 174, 100, 0.2); }
.field__control[aria-invalid="true"],
.field__control:has([aria-invalid="true"]) { border-color: #e2574c; }
.field__error { margin-top: 8px; color: #ff8a80; font-size: 14px; }

.select { position: relative; }
.select select {
  padding-left: 76px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.select select option { background: #2d2d2d; color: #fff; }
.select__flag,
.phone__flag {
  position: absolute;
  left: 24px;
  top: 50%;
  translate: 0 -50%;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}
.select::after {
  content: "";
  position: absolute;
  left: 52px;
  top: 50%;
  border: 5px solid transparent;
  border-top: 6px solid #fff;
  border-bottom: 0;
  translate: 0 -25%;
  pointer-events: none;
}
.phone,
.nick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone { padding-left: 76px; }
.phone::after {
  content: "";
  position: absolute;
  left: 52px;
  top: 50%;
  border: 4px solid transparent;
  border-top: 5px solid #8a8a8a;
  border-bottom: 0;
  translate: 0 -25%;
}
.phone__code { flex: none; font-size: 18px; }
.phone__input,
.nick__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  color: #fff;
  font-size: 18px;
  outline: none;
}
.phone__input { padding-right: 52px; text-align: center; }
.phone__input::placeholder,
.nick__input::placeholder { color: #737373; text-transform: uppercase; opacity: 1; }
/* The hint for countries other than the US ("Number without country code", set by main.js) is long:
   sentence case, sized from the field's own width (container units) so it fits on one line;
   an ellipsis if it still does not. */
.phone { container-type: inline-size; }
.phone__input { text-overflow: ellipsis; }
.phone__input--hint::placeholder {
  text-transform: none;
  font-size: 14px;
  font-size: clamp(11px, calc((100cqi - 112px) / 15.5), 16px);
}
:lang(ru) .phone__input--hint::placeholder { font-size: clamp(11px, calc((100cqi - 112px) / 13), 16px); }
@media (max-width: 767px) {
  .phone__input--hint::placeholder { font-size: clamp(11px, calc((100cqi - 60px) / 15.5), 16px); }
  :lang(ru) .phone__input--hint::placeholder { font-size: clamp(11px, calc((100cqi - 60px) / 13), 16px); }
}
.nick { padding-left: 36px; }
.nick__at { font-size: 18px; color: #fff; }

.radios { display: flex; gap: 24px; margin: 24px 0 0; padding: 0; border: 0; }
.radio { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; cursor: pointer; }
.radio input {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #1c1c1c;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.radio input:not(:checked) { border-color: #1f1f1f; background: #1a1a1a; }
.radio input::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.15s;
}
.radio input:checked::before { transform: scale(1); }
.form .btn--block { min-height: 68px; margin-top: 36px; font-size: 14px; }
.form__status { min-height: 1.4em; margin-top: 16px; font-size: 16px; text-align: center; }
.form__status.is-success { color: #7ee2a0; }
.form__status.is-error { color: #ff8a80; }
.form__status--noscript { margin: 0 0 24px; }
.form.is-sending [data-submit],
.form [data-submit][aria-disabled="true"] { opacity: 0.7; pointer-events: none; }

/* ---------- FAQ + contacts ---------- */
.faq {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  min-height: calc(969 * var(--u));
  padding: calc(40 * var(--u)) var(--pad) var(--pad);
  background-image: url("../img/faq-bg.webp?v=fd1695ea19");
  background-image: -webkit-image-set(url("../img/faq-bg.webp?v=fd1695ea19") 1x, url("../img/faq-bg@2x.webp?v=291376c62a") 2x);
  background-image: image-set(url("../img/faq-bg.webp?v=fd1695ea19") 1x, url("../img/faq-bg@2x.webp?v=291376c62a") 2x);
  background-position: center top;
}
.faq__title { text-align: center; }
.faq__list { display: flex; flex-direction: column; gap: 12px; margin-top: 52px; }
.faq__item {
  border-radius: 10px;
  background: linear-gradient(180deg, #303030 0%, #2a2a2a 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 18px 20px 18px 60px;
  font-size: clamp(15px, calc(18 * var(--u)), 18px);
  line-height: 1.25;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }
.faq__chev {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #1b1b1b;
  transition: transform 0.3s;
}
.faq__chev .i { width: 22px; height: 22px; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__answer { padding: 0 80px 24px 60px; color: #d5d5d5; font-size: 16px; line-height: 1.5; }
.faq__btn { align-self: center; margin-top: 66px; }

.contact {
  grid-column: 8 / 13;
  min-height: calc(969 * var(--u));
  padding: calc(56 * var(--u)) 32px 32px;
  text-align: center;
  background-image: url("../img/contact-bg.webp?v=d605337c74");
  background-image: -webkit-image-set(url("../img/contact-bg.webp?v=d605337c74") 1x, url("../img/contact-bg@2x.webp?v=d21d7f9652") 2x);
  background-image: image-set(url("../img/contact-bg.webp?v=d605337c74") 1x, url("../img/contact-bg@2x.webp?v=d21d7f9652") 2x);
  background-position: center bottom;
}
.contact .lead { max-width: 22em; margin: 20px auto 0; }
.contact__mail {
  display: inline-block;
  margin-top: 22px;
  color: var(--gold);
  font-size: var(--fs-body);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact__mail:hover { border-color: currentColor; }

/* ---------- footer ---------- */
.site-footer { padding: 40px 0 112px; }
.footer-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 14px 60px;
  border-radius: var(--radius);
  background: #2d2d2d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.teamcash { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); }
.teamcash__text { font: 800 19px/0.98 var(--font-logo); letter-spacing: -0.01em; }
.teamcash__mark { width: 42px; height: 42px; color: var(--gold); }
.footer-bar__links { display: flex; gap: 40px; margin-left: 86px; }
.footer-bar__links a { font-size: 13px; text-transform: uppercase; transition: color 0.2s; }
.footer-bar__links a:hover { color: var(--gold); }
.footer-bar__copy { flex: 1; margin-left: 48px; color: var(--muted); font-size: 12px; line-height: 1.3; }
.socials { display: flex; align-items: center; gap: 17px; }
.socials a { display: block; color: #fff; transition: color 0.2s, transform 0.2s; }
.socials a:hover { color: var(--gold); transform: translateY(-2px); }
.socials .i { width: 26px; height: 26px; }
.footer-bar .btn--sm { margin-left: 72px; }

/* ---------- manager verification ---------- */
.verify-fab {
  position: fixed;
  left: 20px;
  bottom: 40px;
  z-index: 30;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: #1d1d1b;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: background-color 0.2s, transform 0.2s;
}
.verify-fab:hover { background: var(--gold-hover); transform: translateY(-2px); }

.modal {
  width: min(560px, 100% - 32px);
  padding: 0;
  border: 1px solid rgba(208, 174, 100, 0.45);
  border-radius: var(--radius);
  background: #1b1b1b;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.modal::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in 0.25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal__box { position: relative; padding: 40px 36px 32px; }
.modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #2d2d2d;
}
.modal__close .i { width: 20px; height: 20px; }
.modal__close:hover { background: #3a3a3a; }
.modal__text { margin: 14px 0 24px; color: #cfcfcf; font-size: 16px; line-height: 1.5; }
.modal__row { display: flex; gap: 12px; }
.modal__row .field__control { height: 58px; font-size: 16px; }
.modal__row .btn { min-width: 140px; padding: 0 24px; }
.modal__result { min-height: 1.5em; margin-top: 16px; font-size: 15px; line-height: 1.5; }
.modal__result.is-ok { color: #7ee2a0; }
.modal__result.is-fail { color: #ff8a80; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */

/* compact header nav */
@media (max-width: 1599px) {
  .header-bar { padding: 0 24px 0 28px; }
  .nav { margin-left: 32px; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 12px; }
}

/* burger navigation */
@media (max-width: 1399px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    margin: 0;
    padding: 12px;
    border-radius: var(--radius);
    background: #262626;
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { display: block; width: 100%; padding: 14px 16px; border-radius: 10px; font-size: 15px; text-align: left; }
  .nav__link:hover { background: #303030; }
}

@media (max-width: 1199px) {
  :root { --gap: 20px; }
  .link-card { gap: 24px; padding: 20px 32px; }
  .cta-card { padding: 28px 32px; }
  .feature { gap: 20px; padding: 20px 28px !important; }
  .feature--main { padding-left: 200px !important; }
  .stats__banner { flex-wrap: wrap; align-content: center; }
  .stats__text { flex-basis: 100%; max-width: 520px; }
  .footer-bar { flex-wrap: wrap; justify-content: center; gap: 20px 32px; padding: 24px 32px; }
  .footer-bar__links, .footer-bar__copy, .footer-bar .btn--sm { margin-left: 0; }
  .footer-bar__copy { flex-basis: 100%; order: 5; text-align: center; }
}

/* tablet */
@media (max-width: 1023px) {
  .hero__main, .hero__who, .about__text, .about__how, .calc__form, .calc__result, .calc__start,
  .fit__intro, .fit__benefits, .fit__cta, .apply__card, .faq, .contact { grid-column: 1 / -1; grid-row: auto; }
  .hero__phone { grid-column: 1 / -1; grid-row: auto; height: 640px; }
  .about__photo { grid-column: 1 / -1; grid-row: auto; height: 560px; }
  .apply__photo { display: none; }
  .hero__main { min-height: 600px; }
  .calc__form, .calc__result, .about__text, .fit__benefits, .step, .promo { min-height: 0; }
  .calc__form { padding-bottom: 56px; }
  .calc__result { min-height: 380px; }
  .fit__intro { min-height: 860px; background-size: auto 100%; }
  .fit__benefits { padding-bottom: 220px; background-size: cover; }
  .step { min-height: 640px; }
  .step .lead { max-width: 380px; }
  .promo { min-height: 600px; background-position: 72% center; }
  .promo__title, .promo__text { max-width: 440px; }
  .feature--main { grid-column: 1 / -1; }
  .feature--1, .feature--2, .feature--3, .feature--4, .feature--5 { grid-column: span 6; }
  .feature--5 { grid-column: 1 / -1; }
  .stat--day, .stat--week, .stat--total { grid-column: span 4; }
  .stat { flex-direction: column; gap: 12px; text-align: center; }
  .stat__meta { align-items: center; }
  .results__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 32px; }
  .faq { min-height: 0; padding-bottom: 48px; }
  .contact { min-height: 760px; }
}

/* phones */
@media (max-width: 767px) {
  :root { --gap: 16px; --header-h: 64px; --header-top: 12px; --radius: 16px; }
  .header-bar { padding: 0 10px 0 16px; border-radius: 16px; }
  .logo { font-size: 23px; }
  .header-bar__cta { display: none; }
  .nav__cta { display: block; padding: 8px 4px 4px; }
  .nav__cta .btn { width: 100%; min-height: 52px; font-size: 15px; }
  .btn { min-width: 0; width: 100%; }
  .btn--sm { width: auto; }
  .hero__main { min-height: 0; padding-top: 40px; padding-bottom: 260px; background-size: 150% auto; background-position: right bottom; }
  .hero__main .btn { width: auto; }
  .hero__phone { height: 560px; }
  .link-card { flex-wrap: wrap; gap: 16px; padding: 24px; }
  .link-card .icon3d--lg { width: 96px; }
  .link-card__title { flex: 1 1 140px; }
  .about__how { flex-direction: row; }
  .about__photo { height: 460px; }
  .about__text { padding-top: 40px; padding-bottom: 260px; background-size: 160% auto; }
  .about__text .btn { width: auto; }
  .step { min-height: 0; padding-top: 40px; padding-bottom: 300px; background-size: auto 340px; background-position: right bottom; }
  .step .display { margin-bottom: 32px; }
  .calc__form, .calc__result { padding-top: 40px; }
  .calc__result { min-height: 340px; background-size: 170% auto; }
  .range__label { font-size: 15px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .fit__intro { min-height: 0; padding-top: 40px; padding-bottom: 440px; background-size: 130% auto; }
  .fit__benefits { padding-top: 40px; padding-bottom: 300px; background-size: 200% auto; }
  .bullets { margin-top: 28px; }
  .bullets li + li { margin-top: 6px; }
  .promo { min-height: 0; padding-top: 40px; padding-bottom: 400px; background-size: auto 420px; background-position: 70% bottom; }
  .promo__text { margin-top: 20px; }
  .feature { min-height: 120px; padding: 20px 24px !important; }
  .feature--1, .feature--2, .feature--3, .feature--4, .feature--5 { grid-column: 1 / -1; }
  .feature--main { min-height: 160px; padding-left: 150px !important; background-size: auto 100%; background-position: -60px center; }
  .stats__banner { min-height: 0; padding: 32px 24px 230px; background-size: auto 210px; background-position: 80% bottom; }
  .stats__title { flex-basis: 100%; }
  .stat--day, .stat--week, .stat--total { grid-column: 1 / -1; }
  .stat { min-height: 130px; flex-direction: row; gap: 20px; }
  .stat__meta { align-items: flex-start; text-align: left; }
  .results { padding: 32px 16px; }
  .balance__sum { font-size: 32px; }
  .apply__card { padding: 32px 16px 40px; }
  .field__control { height: 58px; padding: 0 16px; font-size: 16px; }
  .phone { padding-left: 68px; }
  .phone__input { padding-right: 0; text-align: left; }
  .select select { padding-left: 68px; }
  .select__flag, .phone__flag { left: 16px; }
  .select::after, .phone::after { left: 44px; }
  .faq { padding: 32px 16px 40px; }
  .faq__list { margin-top: 28px; }
  .faq__item summary { min-height: 72px; padding: 16px 16px 16px 20px; }
  .faq__answer { padding: 0 20px 20px; }
  .faq__btn { margin-top: 36px; }
  .contact { min-height: 640px; padding-top: 40px; }
  .site-footer { padding-bottom: 96px; }
  .footer-bar { padding: 24px 16px; }
  .footer-bar__links { gap: 24px; }
  .footer-bar .btn--sm { width: 100%; }
  .verify-fab { left: 12px; bottom: 12px; }
  .modal__box { padding: 36px 20px 24px; }
  .modal__row { flex-direction: column; }
  .modal__row .btn { width: 100%; }
}

@media (max-width: 380px) {
  .logo { font-size: 20px; }
  .lang__current { padding: 0 8px; }
  .stat__num { font-size: 40px; }
}

/* ---------- smooth background ----------
   One continuous dark surface with soft gold light instead of separate boxes: the page carries the
   glow, cards have no grey fill, no shadow and no hard edge, and their photos dissolve into the page. */
:root { --bg: #0b0b0b; }
body {
  background:
    radial-gradient(60vw 50vw at 85% 8%, rgba(208, 174, 100, 0.10), transparent 70%),
    radial-gradient(55vw 45vw at 10% 30%, rgba(208, 174, 100, 0.07), transparent 70%),
    radial-gradient(60vw 50vw at 90% 55%, rgba(208, 174, 100, 0.07), transparent 70%),
    radial-gradient(55vw 45vw at 12% 80%, rgba(208, 174, 100, 0.08), transparent 70%),
    var(--bg);
}
.card {
  background-color: transparent;
  box-shadow: none;
}
/* grey panels become a barely-there veil with a hairline that fades out */
.card--gray {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015) 60%, rgba(255, 255, 255, 0));
}
.card--gray::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(208, 174, 100, 0.28), rgba(255, 255, 255, 0.04) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.link-card:hover, .card--gray:hover { background-color: transparent; }
/* image panels: the picture fades into the page on every side, so no rectangle edge is visible */
.card--bg {
  background-color: transparent;
  box-shadow: inset 0 0 calc(var(--radius) * 3) calc(var(--radius) * 1.5) var(--bg);
}
.card--photo { background: transparent; }
.card--photo > img {
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  -webkit-mask-size: 118% 112%;
  mask-size: 118% 112%;
  -webkit-mask-position: center;
  mask-position: center;
}

/* ---------- tablets and phones: pictures ----------
   Below 1024px the cards stack in one column and get taller or wider than the desktop pictures. These rules keep
   faces, the phone screen and the check badge in view, and hide the straight edges where a picture ends inside
   its card (a fade in the page colour over that edge). */
@media (min-width: 768px) and (max-width: 1023px) {
  /* the desktop composition at full width: the whole check ring, the heading right of it (check-bg is wide
     enough for any tablet card, and its right end is dark) */
  .feature--main { min-height: 221px; padding-left: 272px !important; background-size: auto 100%; }
  .contact { background-position: 50% 22%; }
  /* the title and text of the step card stay left of the form mock-up in step-bg (".step" beats ".step .lead") */
  .step .step__title, .step .step__text { max-width: min(380px, 46%); }
}
@media (max-width: 1023px) {
  /* photos taller than their card: keep the top (the faces, the balance on the phone screen) */
  .hero__phone > img { object-position: 50% 10%; }
  .about__photo > img { object-position: 50% 6%; }
}
@media (max-width: 767px) {
  /* the whole check ring: drawn from x = 8px, its left side fading into the inset shadow (heading still at 150px).
     From 720px the 702px-wide picture ends inside the card: the rest gets the colour of its right end. */
  .feature--main { background-position: -40px center; background-color: var(--card-dark); }
  /* wide phones and landscape: the bottom padding grows with the picture (its objects start at 47% of its height),
     so the ring, the phone and the cards stay below the text */
  .fit__intro { padding-bottom: max(440px, calc(107% + 20px)); }
  .fit__benefits { padding-bottom: max(300px, calc(93% + 16px)); }
  /* the pictures' straight top edge then lies inside the card: above it the card shows the pictures' own black
     instead of the page, so there is no step there (the inset shadow still fades the card's border) */
  .fit__intro, .fit__benefits { background-color: #060606; }
  /* the photo below the text instead of behind it, so the e-mail does not sit on her face: the padding leaves
     room for the photo up to the top of her head (253 of 969 px), the colour is the photo's own black */
  .contact.card--bg {
    min-height: 0;
    padding-bottom: calc(115.5% + 30px);
    background-color: #010101;
    background-size: 100% auto;
    background-position: center bottom;
  }
  .step {
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), url("../img/step-bg.webp?v=02a8c2d6e0");
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), -webkit-image-set(url("../img/step-bg.webp?v=02a8c2d6e0") 1x, url("../img/step-bg@2x.webp?v=7fcbc0350f") 2x);
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), image-set(url("../img/step-bg.webp?v=02a8c2d6e0") 1x, url("../img/step-bg@2x.webp?v=7fcbc0350f") 2x);
    background-size: 100% 340px, auto 340px;
    background-position: 0 100%, right bottom;
  }
  .promo {
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), url("../img/cta-bg.webp?v=9a50c51d47");
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), -webkit-image-set(url("../img/cta-bg.webp?v=9a50c51d47") 1x, url("../img/cta-bg@2x.webp?v=a9c8b3f5f9") 2x);
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), image-set(url("../img/cta-bg.webp?v=9a50c51d47") 1x, url("../img/cta-bg@2x.webp?v=a9c8b3f5f9") 2x);
    background-size: 100% 420px, auto 420px;
    background-position: 0 100%, 70% bottom;
  }
  .stats__banner {
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 70px), url("../img/stats-bg.webp?v=740341548a");
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 70px), -webkit-image-set(url("../img/stats-bg.webp?v=740341548a") 1x, url("../img/stats-bg@2x.webp?v=cba015b72a") 2x);
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 70px), image-set(url("../img/stats-bg.webp?v=740341548a") 1x, url("../img/stats-bg@2x.webp?v=cba015b72a") 2x);
    background-size: 100% 210px, auto 210px;
    background-position: 0 100%, 80% bottom;
  }
}

/* small desktops and landscape tablets (1024-1279px): the text keeps its 16px minimum while the cards narrow, and
   the "cover" pictures grew with the taller cards and ran under the text. They keep the design's size instead (the
   cards' minimum heights), drawn at the bottom; a fade in the page colour hides their top edge when the card is
   taller. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .fit__benefits .bullets { max-width: calc(520 * var(--u)); }
  .fit__benefits {
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), url("../img/benefits-bg.webp?v=75276c1153");
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), -webkit-image-set(url("../img/benefits-bg.webp?v=75276c1153") 1x, url("../img/benefits-bg@2x.webp?v=b57d439f09") 2x);
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), image-set(url("../img/benefits-bg.webp?v=75276c1153") 1x, url("../img/benefits-bg@2x.webp?v=b57d439f09") 2x);
    background-size: 100% calc(725 * var(--u)), auto calc(725 * var(--u));
    background-position: 0 100%, right bottom;
  }
  .fit__intro {
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), url("../img/fit-bg.webp?v=cda99b6a2a");
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), -webkit-image-set(url("../img/fit-bg.webp?v=cda99b6a2a") 1x, url("../img/fit-bg@2x.webp?v=72e7db890d") 2x);
    background-image: linear-gradient(var(--bg), rgba(11, 11, 11, 0) 90px), image-set(url("../img/fit-bg.webp?v=cda99b6a2a") 1x, url("../img/fit-bg@2x.webp?v=72e7db890d") 2x);
    background-size: 100% calc(970 * var(--u)), auto calc(970 * var(--u));
    background-position: 0 100%, center bottom;
  }
}

/* the narrowest phones (320-359px): the big "Первый" and the heading "… стабильность" fit their cards */
@media (max-width: 359px) {
  .step .display { font-size: 60px; }
  .feature--main .h3 { font-size: 16px; }
}

/* The phone hint in Amharic is shorter than in Russian or English: sized by its own length, not shrunk to 11px. */
:lang(am) .phone__input--hint::placeholder { font-size: clamp(11px, calc((100cqi - 112px) / 7.5), 16px); }
@media (max-width: 767px) {
  :lang(am) .phone__input--hint::placeholder { font-size: clamp(11px, calc((100cqi - 60px) / 7.5), 16px); }
}

/* card background images load shortly before the card scrolls into view: the inline script in <head> adds
   .lazy-bgs (only where IntersectionObserver exists), main.js adds .bg-in ~800px ahead. The hero loads at once. */
.lazy-bgs .card--bg:not(.hero__main):not(.bg-in) { background-image: none !important; }
