.body.--old:has(.mknz-mortgage-page) {
    padding: 0;
}

.main #main-topic:has(+ .body.--old > .mknz-mortgage-page) {
    background: none;
}

.main #main-topic + .body.--old:has(> .mknz-mortgage-page) {
    overflow-x: clip;
    overflow-y: visible;
}

.mknz-mortgage-page {
    --mortgage-ink: #282928;
    --mortgage-charcoal: #404140;
    --mortgage-charcoal-deep: #323332;
    --mortgage-beige: #ffe9ba;
    --mortgage-canvas: #ffffff;
    --mortgage-warm: #f6f5f3;
    --mortgage-border: #dedcd7;
    --mortgage-muted: #686964;
    color: var(--mortgage-ink);
    background: var(--mortgage-canvas);
    font-family: "Vela Sans", Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.mknz-mortgage-page *,
.mknz-mortgage-page *::before,
.mknz-mortgage-page *::after {
    box-sizing: border-box;
}

.mknz-mortgage-page [hidden] {
    display: none !important;
}

.mknz-mortgage-page :where(h1, h2, h3, p, ul, ol) {
    margin-top: 0;
}

.mortgage-shell {
    width: min(100%, 1920px);
    margin-inline: auto;
    padding-inline: clamp(20px, 7.3vw, 140px);
}

.mortgage-kicker {
    margin: 0 0 16px;
    font-family: "Vela Sans SemiBold", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.mortgage-hero {
    position: relative;
    min-height: 720px;
    margin-top: -70px;
    color: #fff;
    background: var(--mortgage-charcoal);
    overflow: hidden;
}

.mortgage-hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(24, 25, 24, .86) 0%, rgba(24, 25, 24, .63) 47%, rgba(24, 25, 24, .17) 100%);
    content: "";
}

.mortgage-hero__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.mortgage-hero__shell {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 720px;
    padding-top: 102px;
    padding-bottom: 56px;
    flex-direction: column;
}

.mortgage-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.2;
}

.mortgage-breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.mortgage-breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mortgage-hero__grid {
    display: grid;
    margin-top: auto;
    align-items: end;
    gap: clamp(36px, 7vw, 120px);
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
}

.mortgage-hero__copy {
    max-width: 920px;
}

.mortgage-hero h1 {
    max-width: 900px;
    margin: 0 0 26px;
    font-family: "Vela Sans Medium", Arial, sans-serif;
    font-size: clamp(54px, 6.2vw, 104px);
    font-weight: 500;
    letter-spacing: -.058em;
    line-height: .91;
    text-transform: uppercase;
}

.mortgage-hero__lead {
    max-width: 730px;
    margin: 0 0 32px;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.45;
}

.mortgage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.main .mknz-mortgage-page .mortgage-button {
    display: inline-flex;
    width: auto;
    min-width: 0;
    min-height: 54px;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--mortgage-ink);
    background: transparent;
    font-family: "Vela Sans Medium", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .28s ease, background-color .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.main .mknz-mortgage-page .mortgage-button--primary {
    color: var(--mortgage-ink);
    background: var(--mortgage-beige);
}

.main .mknz-mortgage-page .mortgage-button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .62);
    background: rgba(24, 25, 24, .12);
}

.main .mknz-mortgage-page .mortgage-button--dark {
    color: #fff;
    background: var(--mortgage-charcoal);
}

.main .mknz-mortgage-page .mortgage-button:is(:hover, :focus-visible) {
    color: #fff;
    border-color: var(--mortgage-charcoal);
    background: var(--mortgage-charcoal);
    box-shadow: inset 4px 4px 7px rgba(0, 0, 0, .55);
}

.main .mknz-mortgage-page .mortgage-button:active {
    transform: translateY(1px);
}

.main .mknz-mortgage-page :where(
    a,
    button,
    summary
):focus-visible {
    outline: 2px solid var(--mortgage-ink);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px var(--mortgage-beige);
}

.mortgage-route {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 20px;
    background: rgba(40, 41, 40, .76);
    backdrop-filter: blur(10px);
}

.mortgage-route__label {
    margin: 0 0 18px;
    color: var(--mortgage-beige);
    font-family: "Vela Sans SemiBold", Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mortgage-route ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mortgage-route li {
    position: relative;
    display: grid;
    min-height: 64px;
    padding-bottom: 14px;
    gap: 14px;
    grid-template-columns: 34px 1fr;
}

.mortgage-route li:not(:last-child)::after {
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 16px;
    width: 1px;
    background: rgba(255, 233, 186, .5);
    content: "";
}

.mortgage-route li > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 233, 186, .72);
    border-radius: 50%;
    color: var(--mortgage-beige);
    font-size: 11px;
}

.mortgage-route li div {
    display: flex;
    padding-top: 2px;
    flex-direction: column;
}

.mortgage-route strong {
    font-family: "Vela Sans SemiBold", Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
}

.mortgage-route small {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.35;
}

.mortgage-programs,
.mortgage-calculator,
.mortgage-documents,
.mortgage-cta {
    padding-block: clamp(78px, 8vw, 128px);
}

.mortgage-programs {
    background: var(--mortgage-warm);
}

.mortgage-section-heading {
    display: grid;
    margin-bottom: clamp(34px, 5vw, 66px);
    align-items: end;
    gap: clamp(28px, 8vw, 140px);
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.mortgage-section-heading h2,
.mortgage-calculator h2,
.mortgage-documents h2,
.mortgage-cta h2 {
    margin: 0;
    font-family: "Vela Sans Medium", Arial, sans-serif;
    font-size: clamp(38px, 4.5vw, 72px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: .98;
    text-transform: uppercase;
}

.mortgage-section-heading > p {
    max-width: 610px;
    margin: 0;
    color: var(--mortgage-muted);
    font-size: 17px;
    line-height: 1.55;
}

.mortgage-programs__layout {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(260px, .34fr) minmax(0, .66fr);
}

.mortgage-program-tabs {
    display: flex;
    padding: 14px;
    border: 1px solid var(--mortgage-border);
    border-radius: 20px;
    background: #fff;
    flex-direction: column;
    gap: 6px;
}

.mortgage-program-tabs button {
    position: relative;
    display: flex;
    min-height: 58px;
    padding: 12px 42px 12px 18px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--mortgage-ink);
    background: transparent;
    font: 500 15px/1.25 "Vela Sans Medium", Arial, sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.mortgage-program-tabs button::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.mortgage-program-tabs button[aria-selected="true"] {
    color: #fff;
    background: var(--mortgage-charcoal);
}

.mortgage-program-tabs button:not([aria-selected="true"]):is(:hover, :focus-visible) {
    border-color: var(--mortgage-border);
    background: var(--mortgage-warm);
}

.mortgage-program-panels {
    min-width: 0;
}

.mortgage-program-panel {
    min-height: 100%;
    padding: clamp(28px, 4vw, 54px);
    border-radius: 20px;
    background: var(--mortgage-charcoal);
    color: #fff;
}

.mortgage-program-panel__index {
    margin-bottom: 34px;
    color: var(--mortgage-beige);
    font: 600 12px/1.2 "Vela Sans SemiBold", Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mortgage-program-panel h3 {
    max-width: 920px;
    margin: 0 0 22px;
    font-family: "Vela Sans Medium", Arial, sans-serif;
    font-size: clamp(26px, 3vw, 46px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.mortgage-program-panel > p:not(.mortgage-program-panel__index) {
    max-width: 760px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .76);
    font-size: 17px;
}

.mortgage-program-panel ul,
.mortgage-calculator__copy ul,
.mortgage-documents__card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mortgage-program-panel li,
.mortgage-calculator__copy li,
.mortgage-documents__card li {
    position: relative;
    padding: 12px 0 12px 26px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.mortgage-program-panel li::before,
.mortgage-calculator__copy li::before,
.mortgage-documents__card li::before {
    position: absolute;
    top: 19px;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mortgage-beige);
    content: "";
}

.mortgage-banks {
    display: grid;
    margin-top: 18px;
    padding: clamp(26px, 4vw, 52px);
    align-items: center;
    gap: clamp(32px, 6vw, 100px);
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    border: 1px solid var(--mortgage-border);
    border-radius: 20px;
    background: #fff;
}

.mortgage-banks__copy h3 {
    margin: 0 0 16px;
    font: 500 clamp(25px, 2.5vw, 40px)/1.05 "Vela Sans Medium", Arial, sans-serif;
    letter-spacing: -.035em;
}

.mortgage-banks__copy > p:last-child {
    margin-bottom: 0;
    color: var(--mortgage-muted);
}

.mortgage-banks__list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 10px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    list-style: none;
}

.mortgage-banks__list li {
    --bank-color: var(--mortgage-ink);
    --bank-logo: none;
    --bank-logo-width: 58px;
    --bank-logo-height: 38px;
    display: grid;
    position: relative;
    min-height: 76px;
    padding: 14px;
    place-items: center;
    grid-column: span 2;
    border: 1px solid var(--mortgage-border);
    border-radius: 14px;
    background: var(--mortgage-warm);
    overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.mortgage-banks__list li:nth-child(-n + 4) {
    grid-row: 1;
}

.mortgage-banks__list li:nth-child(5) {
    grid-row: 2;
    grid-column: 2 / span 2;
}

.mortgage-banks__list li:nth-child(6) {
    grid-row: 2;
    grid-column: 4 / span 2;
}

.mortgage-banks__list li:nth-child(7) {
    grid-row: 2;
    grid-column: 6 / span 2;
}

.mortgage-banks__list img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 35px;
    filter: brightness(0) saturate(100%) opacity(.78);
    object-fit: contain;
}

.mortgage-banks__list .mortgage-bank--sber {
    --bank-color: #21a038;
    --bank-logo: url("/local/components/mknz2025/mortgage/templates/.default/assets/images/sber.png");
    --bank-logo-width: 36px;
    --bank-logo-height: 36px;
    border-color: #cfe9d5 !important;
    background: #f3faf5 !important;
}

.mortgage-banks__list .mortgage-bank--alfa {
    --bank-color: #ef3124;
    --bank-logo: url("/local/components/mknz2025/mortgage/templates/.default/assets/images/alpha.png");
    --bank-logo-width: 24px;
    --bank-logo-height: 36px;
    border-color: #f1d2cf !important;
    background: #fff6f5 !important;
}

.mortgage-banks__list .mortgage-bank--rshb {
    --bank-color: #27722f;
    --bank-logo: url("/local/components/mknz2025/mortgage/templates/.default/assets/images/rshb.png");
    --bank-logo-width: 34px;
    --bank-logo-height: 36px;
    border-color: #cce5dc !important;
    background: #f2f8f5 !important;
}

.mortgage-banks__list .mortgage-bank--vtb {
    --bank-color: #0a2896;
    --bank-logo: url("/local/components/mknz2025/mortgage/templates/.default/assets/images/vtb.png");
    --bank-logo-width: 70px;
    --bank-logo-height: 25px;
    border-color: #d1d8ef !important;
    background: #f4f6fc !important;
}

.mortgage-banks__list .mortgage-bank--pochta {
    --bank-color: #003b7a;
    border-color: #ceddec !important;
    background: #fff !important;
    isolation: isolate;
}

.mortgage-banks__list .mortgage-bank--pochta::before,
.mortgage-banks__list .mortgage-bank--pochta::after {
    position: absolute;
    width: 80px;
    height: 39.5px;
    border-radius: 1px;
    content: "";
    pointer-events: none;
}

.mortgage-banks__list .mortgage-bank--pochta::before {
    z-index: 0;
    background:
        linear-gradient(
            90deg,
            #011689 0 calc(49.43% - 1px),
            #fff calc(49.43% - 1px) 49.43%,
            #cc003d 49.43% 100%
        );
}

.mortgage-banks__list .mortgage-bank--pochta::after {
    z-index: 1;
    background:
        url("/local/components/mknz2025/mortgage/templates/.default/assets/images/pochta.png")
        center / 80px 39.5px no-repeat;
    clip-path: inset(0 50.57% 0 0);
    filter: grayscale(1) invert(1) contrast(3);
    mix-blend-mode: screen;
}

.mortgage-banks__list .mortgage-bank--pochta img {
    position: absolute;
    z-index: 2;
    width: 80px;
    max-width: 80px;
    height: 39.5px;
    max-height: 39.5px;
    opacity: 1;
    clip-path: inset(0 0 0 49.43%);
    filter: grayscale(1) contrast(3);
    mix-blend-mode: screen;
}

.mortgage-banks__list .mortgage-bank--domrf {
    --bank-color: #252628;
    border-color: #dfe5d3 !important;
    background: #f7f9f2 !important;
}

.mortgage-banks__list .mortgage-bank--domclick {
    --bank-color: #00ae45;
    border-color: #cce9d7 !important;
    background: #f3faf5 !important;
}

.mortgage-bank__lockup {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #252628;
    font: 600 15px/1 "Vela Sans SemiBold", Arial, sans-serif;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.mortgage-bank__lockup svg {
    display: block;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.mortgage-bank__lockup--domrf svg {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
}

.mortgage-bank__lockup--domrf > span {
    letter-spacing: .015em;
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
    .mortgage-bank:not(.mortgage-bank--pochta):not(.mortgage-bank--domrf):not(.mortgage-bank--domclick) img {
        position: absolute;
        opacity: 0;
    }

    .mortgage-bank:not(.mortgage-bank--pochta):not(.mortgage-bank--domrf):not(.mortgage-bank--domclick)::after {
        display: block;
        width: var(--bank-logo-width);
        height: var(--bank-logo-height);
        flex: 0 0 auto;
        background: var(--bank-color);
        content: "";
        -webkit-mask-image: var(--bank-logo);
        mask-image: var(--bank-logo);
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
    }
}

@media (hover: hover) and (pointer: fine) {
    .mortgage-banks__list li:hover {
        border-color: var(--bank-color) !important;
        box-shadow: 0 10px 24px rgba(30, 31, 29, .08);
        transform: translateY(-2px);
    }
}

.mortgage-process {
    padding-block: clamp(76px, 8vw, 126px);
    color: #fff;
    background: var(--mortgage-charcoal);
}

.mortgage-section-heading--light > p {
    color: rgba(255, 255, 255, .7);
}

.mortgage-section-heading--light .mortgage-kicker {
    color: var(--mortgage-beige);
}

.mortgage-process__grid {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none;
}

.mortgage-process__grid li {
    position: relative;
    min-height: 265px;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-right: 1px solid rgba(255, 255, 255, .16);
}

.mortgage-process__grid li:first-child {
    border-left: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px 0 0 18px;
}

.mortgage-process__grid li:last-child {
    border-radius: 0 18px 18px 0;
}

.mortgage-process__grid li::before {
    position: absolute;
    top: -5px;
    left: 23px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mortgage-beige);
    content: "";
}

.mortgage-process__grid span {
    display: block;
    margin-bottom: 76px;
    color: var(--mortgage-beige);
    font-size: 12px;
}

.mortgage-process__grid h3 {
    margin: 0 0 12px;
    font: 500 23px/1.1 "Vela Sans Medium", Arial, sans-serif;
}

.mortgage-process__grid p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
}

.mortgage-calculator {
    background: var(--mortgage-warm);
}

.mortgage-calculator__frame {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(300px, .42fr) minmax(0, .58fr);
}

.mortgage-calculator__copy,
.mortgage-calculator__stage {
    border-radius: 24px;
}

.mortgage-calculator__copy {
    padding: clamp(30px, 5vw, 68px);
    color: #fff;
    background: var(--mortgage-charcoal);
}

.mortgage-calculator__copy h2 {
    margin-bottom: 24px;
}

.mortgage-calculator__copy > p:not(.mortgage-kicker) {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .75);
    font-size: 17px;
}

.mortgage-calculator__copy .mortgage-kicker {
    color: var(--mortgage-beige);
}

.mortgage-calculator__stage {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--mortgage-border);
    background: #fff;
}

.mortgage-calculator__facade {
    display: flex;
    min-height: 560px;
    padding: clamp(28px, 5vw, 64px);
    align-items: flex-start;
    justify-content: center;
    border-radius: 18px;
    background: var(--mortgage-warm);
    flex-direction: column;
}

.mortgage-calculator__mark {
    display: inline-flex;
    width: 58px;
    height: 58px;
    margin-bottom: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--mortgage-ink);
    background: var(--mortgage-beige);
    font: 500 25px/1 "Vela Sans Medium", Arial, sans-serif;
}

.mortgage-calculator__facade h3 {
    margin: 0 0 14px;
    font: 500 clamp(30px, 3.2vw, 50px)/1 "Vela Sans Medium", Arial, sans-serif;
    letter-spacing: -.04em;
}

.mortgage-calculator__facade p {
    max-width: 520px;
    margin-bottom: 28px;
    color: var(--mortgage-muted);
    font-size: 16px;
}

.mortgage-calculator__external {
    display: inline-flex;
    min-height: 44px;
    margin-top: 12px;
    align-items: center;
    color: var(--mortgage-ink);
    font-size: 14px;
    text-underline-offset: 4px;
}

.mortgage-calculator__embed {
    position: relative;
    min-height: 560px;
    border-radius: 18px;
    background: var(--mortgage-warm);
    overflow: hidden;
}

.mortgage-calculator__embed iframe {
    display: block;
    width: 100%;
    min-width: 0;
    height: 1794px;
    border: 0;
    background: #fff;
    opacity: 0;
    transition: opacity .25s ease;
}

.mortgage-calculator__embed.is-ready iframe {
    opacity: 1;
}

.mortgage-calculator__status {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    display: flex;
    min-height: 560px;
    padding: 36px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--mortgage-muted);
    background: var(--mortgage-warm);
    text-align: center;
}

.mortgage-calculator__embed.is-ready .mortgage-calculator__status {
    position: static;
    min-height: 0;
    padding: 12px 18px;
    justify-content: flex-start;
    background: #fff;
    font-size: 13px;
}

.mortgage-calculator__spinner {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border: 2px solid var(--mortgage-border);
    border-top-color: var(--mortgage-charcoal);
    border-radius: 50%;
    animation: mortgage-spin .8s linear infinite;
}

.mortgage-calculator__embed.is-ready .mortgage-calculator__spinner,
.mortgage-calculator__embed.is-error .mortgage-calculator__spinner {
    display: none;
}

.mortgage-calculator__error-actions {
    position: absolute;
    z-index: 3;
    top: 330px;
    left: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    transform: translateX(-50%);
}

.mortgage-calculator__retry {
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--mortgage-charcoal);
    font: 500 14px/1 "Vela Sans Medium", Arial, sans-serif;
    cursor: pointer;
}

.mortgage-calculator__error-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--mortgage-ink);
    font-size: 14px;
    text-underline-offset: 4px;
}

.mortgage-calculator__noscript {
    padding: 20px;
}

.mortgage-documents {
    background: #fff;
}

.mortgage-documents__grid {
    display: grid;
    gap: clamp(34px, 8vw, 140px);
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
}

.mortgage-documents h2 {
    margin-bottom: 24px;
}

.mortgage-documents__intro > p:not(.mortgage-kicker) {
    max-width: 620px;
    color: var(--mortgage-muted);
    font-size: 17px;
}

.mortgage-documents__card {
    margin-top: 36px;
    padding: 28px;
    border-radius: 18px;
    color: #fff;
    background: var(--mortgage-charcoal);
}

.mortgage-documents__card h3 {
    margin: 0 0 14px;
    font: 500 24px/1.1 "Vela Sans Medium", Arial, sans-serif;
}

.mortgage-faq {
    min-width: 0;
    border-top: 1px solid var(--mortgage-border);
}

.mortgage-faq details {
    border-bottom: 1px solid var(--mortgage-border);
}

.mortgage-faq summary {
    position: relative;
    min-height: 86px;
    padding: 26px 64px 24px 0;
    font: 500 clamp(18px, 1.7vw, 24px)/1.25 "Vela Sans Medium", Arial, sans-serif;
    list-style: none;
    cursor: pointer;
}

.mortgage-faq summary::-webkit-details-marker {
    display: none;
}

.mortgage-faq summary::before,
.mortgage-faq summary::after {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 20px;
    height: 2px;
    background: var(--mortgage-ink);
    content: "";
    transition: transform .25s ease;
}

.mortgage-faq summary::after {
    transform: rotate(90deg);
}

.mortgage-faq details[open] summary::after {
    transform: rotate(0);
}

.mortgage-faq details > div {
    padding: 0 64px 28px 0;
    color: var(--mortgage-muted);
    font-size: 16px;
}

.mortgage-faq details p {
    margin-bottom: 0;
}

.mortgage-cta {
    padding-top: 0;
    background: #fff;
}

.mortgage-cta__frame {
    display: grid;
    padding: clamp(34px, 5vw, 68px);
    align-items: end;
    gap: clamp(30px, 7vw, 110px);
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    border-radius: 28px;
    background: var(--mortgage-beige);
}

.mortgage-cta__frame > * {
    min-width: 0;
}

.mortgage-cta .mortgage-button {
    max-width: 100%;
}

.mortgage-cta h2 {
    max-width: 980px;
    margin-bottom: 18px;
}

.mortgage-cta__frame > div:first-child > p:last-child {
    max-width: 760px;
    margin-bottom: 0;
    color: #4e4f4c;
    font-size: 17px;
}

@keyframes mortgage-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
    .mortgage-hero__grid,
    .mortgage-section-heading,
    .mortgage-banks,
    .mortgage-calculator__frame,
    .mortgage-documents__grid,
    .mortgage-cta__frame {
        grid-template-columns: 1fr;
    }

    .mortgage-hero__grid {
        gap: 34px;
    }

    .mortgage-route {
        max-width: 720px;
    }

    .mortgage-programs__layout {
        grid-template-columns: minmax(230px, .32fr) minmax(0, .68fr);
    }

    .mortgage-banks__list {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

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

    .mortgage-process__grid li,
    .mortgage-process__grid li:first-child,
    .mortgage-process__grid li:last-child {
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 16px;
    }

    .mortgage-process__grid {
        gap: 10px;
    }

    .mortgage-process__grid span {
        margin-bottom: 52px;
    }

    .mortgage-calculator__copy {
        min-height: 420px;
    }

    .mortgage-cta__frame .mortgage-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .mortgage-shell {
        padding-inline: 20px;
    }

    .mortgage-hero {
        min-height: 700px;
        margin-top: -56px;
    }

    .mortgage-hero__media {
        object-position: 59% center;
    }

    .mortgage-hero__shell {
        min-height: 700px;
        padding-top: 72px;
        padding-bottom: 28px;
    }

    .mortgage-breadcrumbs {
        margin-bottom: 28px;
        font-size: 11px;
    }

    .mortgage-hero__grid {
        display: flex;
        margin-top: 0;
        flex: 1;
        flex-direction: column;
        justify-content: flex-end;
    }

    .mortgage-hero h1 {
        margin-bottom: 20px;
        font-size: clamp(42px, 12.4vw, 58px);
        line-height: .92;
    }

    .mortgage-hero__lead {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .mortgage-route {
        width: 100%;
        padding: 20px;
        background: rgba(40, 41, 40, .84);
        backdrop-filter: none;
    }

    .mortgage-route li {
        min-height: 55px;
    }

    .mortgage-route small {
        display: none;
    }

    .main .mknz-mortgage-page .mortgage-button {
        width: 100%;
        min-height: 53px;
        padding-inline: 20px;
        font-size: 13px;
    }

    .mortgage-programs,
    .mortgage-process,
    .mortgage-calculator,
    .mortgage-documents,
    .mortgage-cta {
        padding-block: 68px;
    }

    .mortgage-section-heading {
        margin-bottom: 32px;
        gap: 20px;
    }

    .mortgage-section-heading h2,
    .mortgage-calculator h2,
    .mortgage-documents h2,
    .mortgage-cta h2 {
        font-size: clamp(34px, 10.5vw, 46px);
    }

    .mortgage-section-heading > p,
    .mortgage-documents__intro > p:not(.mortgage-kicker),
    .mortgage-calculator__copy > p:not(.mortgage-kicker),
    .mortgage-cta__frame > div:first-child > p:last-child {
        font-size: 15px;
    }

    .mortgage-programs__layout {
        display: block;
    }

    .mortgage-program-tabs {
        margin-bottom: 10px;
        padding: 8px;
        border-radius: 16px;
    }

    .mortgage-program-tabs button {
        min-height: 52px;
        padding: 10px 38px 10px 14px;
        font-size: 14px;
    }

    .mortgage-program-panel {
        min-height: 470px;
        padding: 26px 22px;
    }

    .mortgage-program-panel__index {
        margin-bottom: 46px;
    }

    .mortgage-program-panel h3 {
        font-size: 29px;
    }

    .mortgage-program-panel > p:not(.mortgage-program-panel__index) {
        font-size: 15px;
    }

    .mortgage-banks {
        margin-top: 12px;
        padding: 24px 20px;
        gap: 24px;
    }

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

    .mortgage-banks__list li,
    .mortgage-banks__list li:nth-child(-n + 4),
    .mortgage-banks__list li:nth-child(5),
    .mortgage-banks__list li:nth-child(6),
    .mortgage-banks__list li:nth-child(7) {
        grid-row: auto;
        grid-column: auto;
    }

    .mortgage-banks__list li:last-child {
        grid-column: 1 / -1;
    }

    .mortgage-process__grid {
        grid-template-columns: 1fr;
    }

    .mortgage-process__grid li {
        min-height: 0;
        padding: 22px;
    }

    .mortgage-process__grid span {
        margin-bottom: 32px;
    }

    .mortgage-calculator__copy,
    .mortgage-calculator__stage {
        border-radius: 20px;
    }

    .mortgage-calculator__copy {
        min-height: 0;
        padding: 28px 22px;
    }

    .mortgage-calculator__stage {
        padding: 8px;
    }

    .mortgage-calculator__facade {
        min-height: 470px;
        padding: 26px 20px;
    }

    .mortgage-calculator__mark {
        margin-bottom: 64px;
    }

    .mortgage-calculator__embed iframe {
        height: 1900px;
    }

    .mortgage-documents__grid {
        gap: 46px;
    }

    .mortgage-documents__card {
        padding: 22px;
    }

    .mortgage-faq summary {
        min-height: 72px;
        padding: 22px 52px 20px 0;
        font-size: 18px;
    }

    .mortgage-faq details > div {
        padding: 0 40px 22px 0;
        font-size: 15px;
    }

    .mortgage-faq summary::before,
    .mortgage-faq summary::after {
        right: 8px;
    }

    .mortgage-cta {
        padding-top: 0;
    }

    .mortgage-cta__frame {
        padding: 28px 22px;
        border-radius: 22px;
    }
}

@media (max-width: 420px) {
    .mortgage-shell {
        padding-inline: 15px;
    }

    .mortgage-hero {
        min-height: 720px;
    }

    .mortgage-hero__shell {
        min-height: 720px;
    }

    .mortgage-hero h1 {
        font-size: 40px;
    }

    .mortgage-route {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mknz-mortgage-page *,
    .mknz-mortgage-page *::before,
    .mknz-mortgage-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
