@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-cyrillic.03d41c3239e3.woff2") format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin.756049f32875.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 {
    color-scheme: only light;
    --paper: #ffffff;
    --wash: #f0f4f5;
    --ink: #172931;
    --text: #42555e;
    --blue: #205b82;
    --blue-hover: #154565;
    --rule: #bbc8cd;
    --edge: #788d96;
    --gutter: clamp(20px, 4.5vw, 72px);
    background: var(--paper);
    color: var(--ink);
    font-family: 'Manrope', system-ui, 'Segoe UI', sans-serif;
    line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
body { background: var(--paper); color: var(--ink); }
html { scroll-padding-top: 92px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.container { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; }
h1, h2, h3, h4 { line-height: 1.13; font-weight: 800; }
h1, h2 { letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); }
h3 { font-size: 1.25rem; letter-spacing: -.025em; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid var(--blue);
    border-radius: 0;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn--ghost { color: var(--ink); background: var(--paper); border-color: var(--edge); }
.btn--ghost:hover { color: var(--blue); border-color: var(--blue); }
.btn--sm { min-height: 40px; padding: 9px 15px; font-size: .875rem; }
.btn--block { width: 100%; }

.header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--edge); }
.header__inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.logo__img { width: 54px; height: auto; }
.logo__text { font-size: 1rem; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
.nav { display: flex; gap: clamp(14px, 1.65vw, 28px); margin-inline: auto; }
.nav a, .header__phone { font-size: .9rem; font-weight: 700; white-space: nowrap; }
.nav a:hover, .header__phone:hover, .contact__list a:hover, .footer a:hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: .22em;
}
.header__actions, .header__phone { display: flex; align-items: center; gap: 14px; }
.header__phone { gap: 6px; }
.header__phone .icon { color: var(--blue); }
.header__cta-short, .burger { display: none; }
.burger {
    flex: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--rule);
    background: var(--paper);
    cursor: pointer;
}
.burger span { display: block; width: 21px; height: 2px; background: var(--ink); }
.header.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.open .burger span:nth-child(2) { opacity: 0; }
.header.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 4vw, 72px);
    padding-block: clamp(40px, 5vw, 80px);
}
.hero__kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .105em;
    text-transform: uppercase;
}
.hero__kicker::before { content: ''; width: 30px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(2.5rem, 3.85vw, 3.9rem); line-height: 1.06; }
.hero__product { display: block; color: var(--blue); }
.hero__lead { max-width: 55ch; margin-top: 24px; color: var(--text); font-size: clamp(1rem, 1.25vw, 1.125rem); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 30px; }
.hero__cta .btn--primary span { font-size: 1.3em; line-height: 1; }
.hero__figure { border: 1px solid var(--edge); background: var(--wash); }
.hero__figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__figure figcaption {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px; border-top: 1px solid var(--edge);
    color: var(--text); font-size: .8125rem; font-weight: 700;
}
.hero__figure .icon { color: var(--blue); font-size: 1.05rem; }

.stats { background: var(--wash); border-block: 1px solid var(--edge); }
.stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); padding-block: 26px; }
.stat + .stat { border-left: 1px solid var(--rule); padding-left: clamp(16px, 3vw, 48px); }
.stat__value { flex: none; color: var(--ink); font-size: clamp(2rem, 3.25vw, 3.25rem); font-weight: 800; line-height: 1; letter-spacing: -.055em; }
.stat__label { max-width: 23ch; padding-right: 8px; color: var(--text); font-size: .875rem; line-height: 1.4; }

.section { padding-block: clamp(50px, 6vw, 88px); }
.section + .section { border-top: 1px solid var(--rule); }
.section--alt, .contact { background: var(--wash); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section__head p { max-width: 50ch; color: var(--text); font-size: .95rem; }
.section__note { margin-top: 20px; color: var(--text); font-size: .9rem; }
.cards, .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    border-top: 2px solid var(--ink);
    border-left: 1px solid var(--rule);
}
.card, .step { padding: clamp(20px, 2.2vw, 34px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.card__icon { width: 29px; height: 29px; color: var(--blue); }
.card--feature .card__icon { margin-bottom: 18px; }
.formula { color: var(--blue); font: 600 .875rem/1.4 ui-monospace, Consolas, monospace; }
.card p, .step p { margin-top: 9px; color: var(--text); font-size: .95rem; }
.steps { list-style: none; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { padding-inline: clamp(16px, 1.6vw, 25px); }
.step__num { display: block; margin-bottom: 21px; color: var(--blue); font: 600 1rem/1.2 ui-monospace, Consolas, monospace; }
.step h3 { font-size: 1.12rem; }

.contact__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(32px, 7vw, 100px); }
.contact__info h2 { margin-bottom: 18px; }
.contact__info > p { max-width: 45ch; color: var(--text); }
.contact__list { margin-top: 30px; padding: 0; list-style: none; border-top: 1px solid var(--edge); }
.contact__list li { display: flex; align-items: center; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.contact__list .icon { color: var(--blue); }
.contact__list a { font-weight: 700; overflow-wrap: anywhere; }
.contact__terms { margin-top: 16px; font-size: .875rem; }
.contact__form-wrap { padding: clamp(20px, 3vw, 42px); border: 1px solid var(--edge); border-top: 3px solid var(--blue); background: var(--paper); }
.contact__form-wrap h3 { margin-bottom: 23px; font-size: 1.55rem; }
.form, .field { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { gap: 6px; min-width: 0; }
.field > span { font-size: .875rem; font-weight: 700; }
.field input, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 12px;
    border: 1px solid var(--edge); border-radius: 0;
    color: var(--ink); background: var(--paper); caret-color: var(--blue);
}
.field textarea { resize: vertical; }
.field ::placeholder { color: #5f7078; opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field__err { font-size: .84rem; font-style: normal; color: #96372d; }
.form__policy { color: var(--text); font-size: .8rem; }
.alert { margin-bottom: 20px; padding: 12px 15px; border-left: 3px solid var(--blue); background: var(--wash); }
.alert--success { background: #eaf3ee; color: #24503a; border-color: #377457; }

.footer { padding-block: 48px 24px; border-top: 1px solid var(--edge); background: var(--paper); }
.footer__inner { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 32px; padding-bottom: 34px; }
.footer__brand p { max-width: 38ch; margin-top: 16px; color: var(--text); font-size: .9rem; }
.footer__col h4 { margin-bottom: 13px; font-size: 1rem; }
.footer__col a, .footer__col span { display: block; width: fit-content; margin-top: 6px; color: var(--text); font-size: .9rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--text); font-size: .8rem; }

@media (max-width: 74rem) {
    .header__phone { display: none; }
}
@media (max-width: 60rem) {
    .nav { display: none; }
    .header__actions { margin-left: auto; }
    .burger { display: grid; place-content: center; gap: 4px; }
    .header.open .nav {
        display: grid; position: absolute; inset: 100% 0 auto; gap: 0;
        padding: 6px var(--gutter) 14px; border-bottom: 1px solid var(--edge);
        background: var(--paper);
    }
    .header.open .nav a { padding: 12px 0; border-top: 1px solid var(--rule); }
    .hero__inner { gap: 24px; }
    .hero__cta .btn { padding-inline: 12px; }
    .stat { flex-direction: column; align-items: flex-start; gap: 8px; }
    .stat__label { max-width: 20ch; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: 1fr; }
    .step { display: grid; grid-template-columns: 3ch minmax(8rem, .45fr) 1fr; align-items: baseline; gap: 20px; }
    .step__num, .step p { margin: 0; }
    .section__head { align-items: start; flex-direction: column; gap: 12px; }
}
@media (max-width: 48rem) {
    html { scroll-padding-top: 78px; }
    .header__inner { min-height: 62px; gap: 9px; }
    .header__cta-long { display: none; }
    .header__cta-short { display: inline; }
    .hero__inner, .contact__inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(2.25rem, 7.4vw, 3.5rem); }
    .hero__figure img { aspect-ratio: 16 / 10; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
    .logo { gap: 6px; }
    .logo__img { width: 37px; }
    .logo__text { font-size: .82rem; }
    .header .btn { min-height: 38px; padding: 7px 10px; }
    .burger { width: 38px; height: 38px; }
    .hero__kicker { margin-bottom: 15px; }
    .hero__lead { margin-top: 18px; }
    .hero__cta { margin-top: 22px; }
    .hero__cta .btn { flex: 1 1 13rem; }
    .stats__grid, .cards, .form__row, .footer__inner { grid-template-columns: 1fr; }
    .stat { display: grid; grid-template-columns: minmax(100px, .72fr) 1fr; align-items: center; padding: 15px 0; }
    .stat + .stat { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
    .stat__label { max-width: 24ch; }
    .step { grid-template-columns: 3ch 1fr; gap: 5px 12px; }
    .step p { grid-column: 2; }
    .footer__inner { gap: 25px; }
}
