@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-cyrillic-wght.woff2") format("woff2-variations"), url("fonts/inter-cyrillic-wght.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght.woff2") format("woff2-variations"), url("fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #1F0946;
  --text: #3A3550;
  --muted: #6E6A85;
  --line: #E3E1F2;
  --bg: #F0F0FB;
  --bg-soft: #F5F4F8;
  --card: #FFFFFF;
  --green: #5EBA2F;
  --green-hover: #52A528;
  --green-tint: #EAF6E3;
  --polza-dark: #161616;
  --polza-yellow: #FBBD00;
  --radius-card: 20px;
  --radius-btn: 8px;
  --gutter: 16px;
  --maxw: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--card);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 56px 0; }
.section-title { font-size: 26px; margin-bottom: 12px; }
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 28px; }
.section-lead--flush { margin-bottom: 0; }
figure { margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border-radius: var(--radius-btn); border: 1px solid var(--green);
  background: var(--green); color: #fff;
  font: 600 16px/1 Inter, Arial, sans-serif; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .link:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--white { background: #fff; color: var(--green); border-color: #fff; }
.btn--white:hover { background: var(--green-tint); border-color: var(--green-tint); }
.btn--block { width: 100%; }
.link { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- header ---------- */
.header { background: var(--bg); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.header__md img { height: 44px; width: auto; }
.header__partner { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.header__partner img { height: 26px; width: auto; }

/* ---------- hero ---------- */
.hero { background: var(--bg); padding: 28px 0 56px; border-radius: 0 0 32px 32px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--green-tint); color: #3F8A1A; font-size: 14px; font-weight: 600;
  margin-bottom: 16px;
}
.badge svg { width: 16px; height: 16px; }
.hero h1 { font-size: 32px; margin-bottom: 16px; }
.hero h1 span { color: var(--green); }
.hero__lead { font-size: 17px; margin-bottom: 28px; max-width: 560px; }
.hero__cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero__hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.hero__hint svg { width: 18px; height: 18px; flex: none; color: var(--green); }

.polza-card {
  position: relative; overflow: hidden;
  width: 100%; max-width: 320px; margin: 8px auto 0;
  aspect-ratio: 1.6;
  border-radius: 22px; padding: 20px;
  background: var(--polza-dark); color: #fff;
  box-shadow: 0 24px 48px -20px rgba(31, 9, 70, .45);
  transform: rotate(-3deg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.polza-card::after {
  content: ""; position: absolute; right: -60px; bottom: -80px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 189, 0, .35), rgba(251, 189, 0, 0) 70%);
}
.polza-card img { height: 34px; width: auto; align-self: flex-start; }
.polza-card__big { font-size: clamp(34px, 11vw, 44px); font-weight: 700; color: var(--polza-yellow); line-height: 1; }
.polza-card__sub { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 6px; }
.polza-card__tags { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.polza-card__tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }

/* ---------- about ---------- */
.stats { display: grid; gap: 12px; margin-bottom: 16px; }
.stat { background: var(--bg); border-radius: var(--radius-card); padding: 22px 24px; }
.stat b { display: block; font-size: 34px; line-height: 1.1; color: var(--green); font-weight: 700; }
.stat span { color: var(--ink); font-weight: 500; }

.perks { display: grid; gap: 12px; margin-bottom: 28px; }
.perk { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; }
.perk__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; }
.perk__icon svg { width: 24px; height: 24px; }
.perk h3 { font-size: 17px; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 15px; }

.chips-title { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips span { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; }
.note { font-size: 14px; color: var(--muted); }

/* ---------- where to find ---------- */
.find { background: var(--bg); }
.find .wrap { display: grid; gap: 28px; align-items: center; }
.find__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.find__list li { display: flex; gap: 14px; align-items: flex-start; }
.num {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
}
.find__list b { color: var(--ink); display: block; }
.find__list span { color: var(--muted); font-size: 15px; }

.cert {
  background: #fff; border-radius: var(--radius-card); padding: 22px;
  box-shadow: 0 20px 40px -24px rgba(31, 9, 70, .35);
  font-size: 13px; color: #333;
}
.cert__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #ECECEC; margin-bottom: 14px; }
.cert__title { font-size: 18px; font-weight: 700; color: #222; line-height: 1.2; }
.cert__title small { display: block; font-size: 12px; font-weight: 400; color: #777; margin-top: 4px; }
.cert__sample { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.cert__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cert__field { border-radius: 10px; padding: 10px 12px; background: #FAFAFA; position: relative; }
.cert__field b { display: block; font-size: 12px; color: #555; font-weight: 600; margin-bottom: 4px; }
.cert__field i { font-style: normal; letter-spacing: .14em; color: #999; }
.cert__field.is-key { background: var(--green-tint); outline: 2px solid var(--green); }
.cert__field.is-key b { color: #2F6E12; }
.cert__field.is-key i { color: var(--ink); }
.cert__field .num { position: absolute; top: -12px; right: -10px; width: 26px; height: 26px; font-size: 13px; box-shadow: 0 0 0 3px #fff; }
.cert__lines { margin-top: 16px; display: grid; gap: 7px; }
.cert__lines span { height: 8px; border-radius: 4px; background: #F0F0F0; }
.cert__lines span:nth-child(2) { width: 85%; }
.cert__lines span:nth-child(3) { width: 65%; }

/* ---------- steps ---------- */
.steps-grid { display: grid; gap: 28px; align-items: start; }
.steps { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.step { background: var(--bg); border-radius: var(--radius-card); padding: 24px 20px; display: flex; gap: 16px; }
.step .num { width: 36px; height: 36px; font-size: 16px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step p b { color: var(--ink); font-weight: 600; }

.login-mock { background: #D9D9D9; border-radius: var(--radius-card); padding: 18px; }
.login-mock__panel { background: #E6E6E6; border-radius: 14px; padding: 22px 18px; max-width: 340px; margin: 0 auto; text-align: center; }
.login-mock__panel img { height: 40px; width: auto; margin: 0 auto 10px; }
.login-mock__title { font-size: 18px; font-weight: 600; color: #222; margin-bottom: 14px; }
.login-mock__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #C9C9C9; margin-bottom: 14px; font-size: 13px; }
.login-mock__tabs span { padding: 8px 4px; color: #888; }
.login-mock__tabs span.is-active { background: #fff; color: #222; border-radius: 6px 6px 0 0; outline: 2px solid var(--green); outline-offset: -2px; font-weight: 600; }
.login-mock__input { background: #fff; border: 1px solid #CFCFCF; border-radius: 6px; padding: 9px 10px; text-align: left; color: #888; font-size: 13px; margin-bottom: 10px; }
.login-mock__btn { background: #EDB846; color: #fff; border-radius: 6px; padding: 9px; font-size: 14px; font-weight: 600; }
.login-mock__cap { text-align: center; color: #5B5B5B; font-size: 13px; margin-top: 12px; }

/* ---------- final CTA ---------- */
.final { padding-top: 0; }
.final__card { background: var(--green); color: #fff; border-radius: var(--radius-card); padding: 32px 24px; display: grid; gap: 20px; align-items: center; }
.final__card h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.final__card p { color: rgba(255,255,255,.9); }

/* ---------- faq ---------- */
.faq { background: var(--bg-soft); }
.faq__list { display: grid; gap: 10px; max-width: 820px; }
details { background: #fff; border-radius: 14px; border: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600; color: var(--ink); border-radius: 14px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg);
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details > div { padding: 0 20px 18px; color: var(--text); font-size: 15px; }
details > div p + p { margin-top: 8px; }
.support { margin-top: 24px; display: grid; gap: 12px; max-width: 820px; }
.support a { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.support a span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.support svg { width: 22px; height: 22px; color: var(--green); flex: none; }

/* ---------- footer ---------- */
.footer { background: var(--bg); padding: 36px 0 44px; font-size: 13px; color: var(--muted); }
.footer .wrap { display: grid; gap: 20px; }
.footer img { height: 36px; width: auto; }
.footer p + p { margin-top: 6px; }
.footer__polza { padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- mobile sticky CTA ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.is-visible { transform: translateY(0); }
@media (max-width: 719px) {
  .footer { padding-bottom: calc(44px + 80px + env(safe-area-inset-bottom)); }
}

@media (min-width: 720px) {
  :root { --gutter: 24px; }
  section { padding: 72px 0; }
  .section-title { font-size: 30px; }
  .hero h1 { font-size: 42px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; }
  .polza-card { max-width: 420px; padding: 24px; border-radius: 24px; margin-top: 0; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: 1fr 1fr; }
  .find .wrap { grid-template-columns: 1fr 1fr; gap: 48px; }
  .final__card { grid-template-columns: 1fr auto; padding: 40px; }
  .support { grid-template-columns: 1fr 1fr; }
  .footer .wrap { grid-template-columns: auto 1fr; gap: 32px; }
  .footer__polza { grid-column: 1 / -1; }
  .sticky { display: none; }
}
@media (min-width: 980px) {
  .steps-grid { grid-template-columns: 1.2fr .8fr; }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .perk { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky, summary::after { transition: none; }
}
