:root {
    color-scheme: light;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #f7f9fc;
    color: #162033;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: #f7f9fc;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: #f7f9fc;
    color: #162033;
}

button,
input,
textarea {
    font: inherit;
}

a {
    color: #2157d5;
    text-underline-offset: 2px;
}

.page-shell {
    width: min(100% - 36px, 700px);
    margin: 0 auto;
    padding: clamp(36px, 8vh, 78px) 0 24px;
}

.hero {
    background: #ffffff;
    border: 1px solid #e4e9f2;
    border-radius: 24px;
    padding: clamp(26px, 5vw, 46px);
    box-shadow: 0 18px 55px rgba(23, 39, 74, 0.07);
}

.eyebrow {
    margin: 0 0 14px;
    color: #2157d5;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

h1 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 760;
}

.lead {
    margin: 22px 0 0;
    max-width: 610px;
    color: #47556f;
    font-size: clamp(17px, 2.3vw, 20px);
    line-height: 1.48;
}

.lead-form {
    margin-top: 30px;
}

.field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 650;
}

.phone-input {
    width: 100%;
    height: 58px;
    padding: 0 17px;
    border: 1px solid #bac6da;
    border-radius: 12px;
    background: #ffffff;
    color: #162033;
    font-size: 20px;
    outline: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.phone-input:focus {
    border-color: #2157d5;
    box-shadow: 0 0 0 4px rgba(33, 87, 213, 0.12);
}

.phone-input::placeholder,
.text-area::placeholder {
    color: #8d99ad;
}

.text-area {
    width: 100%;
    min-height: 150px;
    margin-bottom: 14px;
    padding: 14px 16px;
    resize: vertical;
    border: 1px solid #bac6da;
    border-radius: 12px;
    background: #ffffff;
    color: #162033;
    font-size: 16px;
    line-height: 1.5;
    outline: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.text-area:focus {
    border-color: #2157d5;
    box-shadow: 0 0 0 4px rgba(33, 87, 213, 0.12);
}

.consent-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    margin: 14px 0 16px;
    color: #5c6980;
    font-size: 13px;
    line-height: 1.42;
}

.consent-row input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #2157d5;
}

.primary-button {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 12px;
    padding: 14px 20px;
    background: #2157d5;
    color: #ffffff;
    font-size: 17px;
    font-weight: 750;
    cursor: pointer;
    transition: transform 120ms ease, background-color 120ms ease, opacity 120ms ease;
}

.primary-button:hover:not(:disabled) {
    background: #1849bd;
}

.primary-button:active:not(:disabled) {
    transform: translateY(1px);
}

.primary-button:focus-visible {
    outline: 3px solid rgba(33, 87, 213, 0.28);
    outline-offset: 3px;
}

.primary-button:disabled {
    cursor: default;
    opacity: 0.82;
}

.form-status {
    min-height: 22px;
    margin: 11px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.form-status[data-kind="error"] {
    color: #a12a2a;
}

.form-status[data-kind="success"] {
    color: #17643a;
    font-weight: 650;
}

.working-hours-note {
    margin: 10px 0 0;
    color: #647187;
    font-size: 12px;
    line-height: 1.45;
}

.night-followup {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #cbd7ec;
    border-radius: 16px;
    background: #f3f6fc;
}

.night-followup[hidden] {
    display: none !important;
}

.night-followup h2 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.night-followup > p {
    margin: 0 0 16px;
    color: #526077;
    font-size: 14px;
    line-height: 1.5;
}

.price-note {
    margin: 17px 0 0;
    color: #647187;
    font-size: 13px;
    line-height: 1.5;
}

.info-section,
.legal-warning,
#lead-form {
    scroll-margin-top: 24px;
}

.info-section {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid #e0e6f0;
    border-radius: 18px;
    background: #ffffff;
}

.section-kicker {
    margin: 0 0 8px;
    color: #2157d5;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.info-section h2 {
    margin: 0;
    font-size: clamp(22px, 3.5vw, 30px);
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.steps-grid,
.benefits-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.benefit-item {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 14px;
    background: #f6f8fc;
}

.info-card strong,
.benefit-item strong {
    font-size: 14px;
    line-height: 1.35;
}

.info-card span,
.benefit-item span {
    color: #5b6880;
    font-size: 13px;
    line-height: 1.45;
}

.legal-warning {
    display: flex;
    align-items: center;
    min-block-size: max(84px, 8vh);
    margin-top: 18px;
    padding: 18px 22px;
    border: 1px solid #d8deea;
    border-radius: 16px;
    background: #eef2f8;
    color: #374359;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.48;
}

.site-footer {
    padding: 0 18px 34px;
}

.footer-inner {
    width: min(100%, 700px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #778297;
    font-size: 12px;
    line-height: 1.45;
}

.footer-inner a {
    color: #5b6780;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.metrika-pixel {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.legal-page {
    width: min(100% - 36px, 820px);
    margin: 0 auto;
    padding: 48px 0 72px;
}

.legal-page h1 {
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.legal-page h2 {
    margin: 30px 0 10px;
    font-size: 20px;
    line-height: 1.25;
}

.legal-page p,
.legal-page li {
    color: #47556f;
    font-size: 15px;
    line-height: 1.62;
}

.legal-page ul {
    padding-left: 22px;
}

.back-link {
    display: inline-block;
    margin-bottom: 26px;
    font-size: 14px;
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 28px, 700px);
        padding-top: 18px;
    }

    .hero {
        border-radius: 19px;
        padding: 24px 20px 22px;
    }

    .eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
    }

    h1 {
        font-size: clamp(34px, 10.5vw, 42px);
        line-height: 1.03;
    }

    .lead {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.42;
    }

    .lead-form {
        margin-top: 22px;
    }

    .phone-input,
    .primary-button {
        min-height: 56px;
    }

    .info-section {
        padding: 20px;
    }

    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .legal-warning {
        min-block-size: 92px;
        padding: 16px 18px;
        font-size: 13px;
    }

    .site-footer {
        padding-bottom: 28px;
    }

    .footer-inner {
        display: grid;
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
