/* База главной и локальная нормализация общих компонентов. */

/* Изоляция от типографики и сетки родительской темы. */
body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) {
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog),
body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) * {
    box-sizing: border-box;
}

body.st-redesign-v2 :where(.st-header, .st2-footer) [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0;
    flex: initial;
}

body.st-redesign-v2 .st-header .st2-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

body.st-redesign-v2 .st-header .st2-row {
    margin: 0;
}

body.st-redesign-v2 .st2-footer .st2-footer__wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.st-redesign-v2 .st2-footer .st2-footer__accordion-body {
    max-height: none;
    overflow: visible;
    padding: 0;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) :where(a, button) {
    -webkit-tap-highlight-color: transparent;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) a {
    color: inherit;
    text-decoration: none;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) :where(button, input, textarea, select) {
    font: inherit;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) button {
    color: inherit;
    cursor: pointer;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) :where(h1, h2, h3, h4) {
    margin: 0;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.045em;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) p {
    margin: 0 0 20px;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) img {
    max-width: 100%;
    height: auto;
}

body.st-redesign-v2 :where(.st-header, .st2-footer, .st-dialog) :where(a, button, input, summary):focus-visible {
    outline: 3px solid #7b6bf3;
    outline-offset: 5px;
}

body.st-home-v2 * {
    box-sizing: border-box;
}

html:has(body.st-home-v2) {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}

body.st-home-v2 {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.st-redesign-v2:has(dialog[open]) {
    overflow: hidden;
}

body.st-home-v2 button,
body.st-home-v2 input,
body.st-home-v2 textarea,
body.st-home-v2 select {
    font: inherit;
}

body.st-home-v2 button,
body.st-home-v2 a {
    -webkit-tap-highlight-color: transparent;
}

body.st-home-v2 button {
    cursor: pointer;
}

body.st-home-v2 a {
    color: inherit;
    text-decoration: none;
}

body.st-home-v2 p {
    margin: 0 0 20px;
}

body.st-home-v2 h1,
body.st-home-v2 h2,
body.st-home-v2 h3,
body.st-home-v2 h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.045em;
}

body.st-home-v2 h2 {
    font-size: 38px;
}

body.st-home-v2 h3 {
    font-size: 23px;
}

body.st-home-v2 ul {
    padding-left: 22px;
}

body.st-home-v2 img {
    max-width: 100%;
    height: auto;
}

body.st-home-v2 svg {
    flex-shrink: 0;
}

body.st-home-v2 button {
    color: inherit;
}

body.st-home-v2 a,
body.st-home-v2 button {
    transition: background .2s,color .2s,box-shadow .2s,transform .2s;
}

body.st-home-v2 a:focus-visible,
body.st-home-v2 button:focus-visible,
body.st-home-v2 input:focus-visible,
body.st-home-v2 summary:focus-visible {
    outline: 3px solid #7b6bf3;
    outline-offset: 5px;
}

body.st-home-v2 button:disabled {
    cursor: default;
}

body.st-redesign-v2 .st-skip {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 1000;
    background: white;
    padding: 12px;
    border-radius: 10px;
}

body.st-redesign-v2 .st-skip:focus {
    top: 10px;
}

body.st-home-v2 .container {
    max-width: var(--max);
    width: calc(100% - 80px);
    margin: 0 auto;
}

body.st-home-v2 .row {
    display: grid;
    gap: 24px;
}

body.st-home-v2 [class*=col-] {
    min-width: 0;
}

body.st-home-v2 main>.container>.row {
    display: block;
}

body.st-home-v2 main .col-xl-9 {
    width: 100%;
}

body.st-redesign-v2 .st-eyebrow {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .13em;
    font-weight: 750;
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 24px;
    color: var(--blue);
}

body.st-home-v2 main section {
    margin-top: 90px;
}

body.st-home-v2 .landing-section__title {
    font-size: 36px;
    line-height: 1.23;
    letter-spacing: -.045em;
    margin: 0 0 32px;
    font-weight: 600;
    max-width: 820px;
}

body.st-home-v2 .landing-section__line {
    display: none;
}

body.st-redesign-v2 [hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    body.st-home-v2 .container {
        width: calc(100% - 48px);
    }

    body.st-home-v2 .landing-section__title {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    html:has(body.st-home-v2) {
        scroll-padding-top: 30px;
    }

    body.st-home-v2 .container {
        width: calc(100% - 32px);
    }

    body.st-home-v2 {
        font-size: 14px;
    }

    body.st-redesign-v2 .st-eyebrow {
        font-size: 8px;
        margin-bottom: 21px;
    }

    body.st-home-v2 main section {
        margin-top: 55px;
    }

    body.st-home-v2 .landing-section__title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 25px;
        max-width: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.st-home-v2) {
        scroll-behavior: auto;
    }

    body.st-home-v2 *,
    body.st-home-v2 *:before,
    body.st-home-v2 *:after {
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    body.st-home-v2 .container {
        width: 100%;
    }

    body.st-home-v2 {
        font-size: 11pt;
    }

    body.st-home-v2 main section {
        break-inside: avoid;
        margin-top: 30px;
    }
}

body.st-home-v2 .row {
    margin: 0;
}

body.st-home-v2 [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    flex: initial;
}
