.main-menu > .logo img {
    height: 45px;
}

:where(body:not(.homepage, .section-banner-page)) > .page-header,
.page-header.fixed {
    background-color: rgb(255 255 255 / 70%);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.page-header.mobile-active {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

@media (prefers-reduced-motion: no-preference) {
    .page-header.fixed {
        animation: sticky-header-reveal 260ms ease-out 320ms backwards;
    }

    .page-header.fixed:has(:focus-visible),
    .page-header.fixed.mobile-active {
        transform: none !important;
    }
}

@keyframes sticky-header-reveal {
    from { transform: translateY(calc(-100% - 16px)); }
    to { transform: none; }
}

/* Heading alignment also overrides the shared text-center utility. */
:is(h1, h2, h3, h4, h5, h6),
:is(h1, h2, h3, h4, h5, h6).text-center {
    text-align: var(--heading-align, left) !important;
}

.heading-centered { --heading-align: center; }

.page-heading {
    margin-inline: 0;
    text-align: left;
}

.page-heading:has(> .heading-centered) { margin-inline: auto; }

.page-heading--references { margin-bottom: clamp(16px, 1.6vw, 28px); }

.main-banner .title,
.main-banner .infinity,
.page-heading--error .title {
    font-size: var(--font-size-h1);
}

.main-banner .one {
    height: 1.7em;
    font-size: var(--font-size-h1);
}

/* Reach the existing desktop sizes gradually, up to a 1900px viewport. */
@media (max-width: 1899px) {
    :root {
        --font-size-body: clamp(1rem, .625rem + .625vw, 1.375rem);
        --font-size-copy: clamp(1rem, .75rem + .416667vw, 1.25rem);
        --font-size-lead: clamp(1rem, .5rem + .833333vw, 1.5rem);
        --font-size-h2: clamp(1.5rem, .75rem + 1.25vw, 2.25rem);
        --font-size-h3: clamp(1.375rem, .3125rem + 1.8vw, 2.5rem);
        --font-size-h4: clamp(1.125rem, .5rem + .833333vw, 1.5rem);
        --font-size-zigzag-h2: clamp(1.625rem, .8rem + 1.45vw, 2.55rem);
        --font-size-card-title: clamp(1.1875rem, .6875rem + .572917vw, 1.375rem);
        --font-size-card-copy: clamp(1rem, .75rem + .3125vw, 1.125rem);
        --font-size-ui: clamp(.9375rem, .8125rem + .208333vw, 1.0625rem);
        --font-size-button: clamp(1rem, .5rem + .833333vw, 1.5rem);
        --header-height: clamp(4rem, 2.75rem + 2.15vw, 5.3125rem);
        --header-logo-height: clamp(1.875rem, 1.125rem + 1.4vw, 2.8125rem);
        --header-control-height: clamp(2.5rem, 1.625rem + 1vw, 2.8125rem);
    }

    body, ol, ul {
        font-size: var(--font-size-body);
    }

    p {
        font-size: var(--font-size-copy);
        line-height: 1.55;
    }

    h1 { font-size: var(--font-size-h1); line-height: 1.18; }
    h2 { font-size: var(--font-size-h2); line-height: 1.3; }
    h3 { font-size: var(--font-size-h3); }
    h4 { font-size: var(--font-size-h4); }

    .main-banner .infinity-symbol { height: .95em; }
    .main-banner .subtitle { font-size: var(--font-size-lead); }
    .u-bigger-text { font-size: clamp(1rem, .5rem + .885417vw, 1.5625rem); }
    .u-fs-24 { font-size: var(--font-size-h4); }
    .page-heading .subtitle { font-size: var(--font-size-copy); }

    .list-card .title,
    .container .list-cards > .list-card .title,
    .home-solutions .list-card .title {
        font-size: var(--font-size-card-title);
    }

    .module-media__benefits .list-card .title,
    .overlap-zigzag .col--list-cards .list-card .title {
        font-size: var(--font-size-h4);
    }

    .list-card p,
    .container .list-cards > .list-card p,
    .home-solutions .list-card p,
    .module-media__benefits .list-card p,
    .overlap-zigzag .col--list-cards .list-card p {
        font-size: var(--font-size-card-copy);
    }

    .icon-list-card p, .caret-list li, .reference-table,
    .contact-card__position, .feature-more-link, .price-functions .function {
        font-size: var(--font-size-copy);
    }

    .home-solutions .list-card a { font-size: clamp(.9375rem, .8125rem + .15625vw, 1rem); }
    .tile-cards .tile-card { font-size: clamp(1rem, .75rem + .3125vw, 1.125rem); }
    .tile-cards p { font-size: clamp(15px, .8125rem + .15625vw, 16px); }
    .zigzag h4 { font-size: var(--font-size-card-title); }
    .contact-card__name, .contact-info-card__name { font-size: clamp(22px, .625rem + 1.041667vw, 30px); }
    .contact-card a, .contact-info-card p { font-size: var(--font-size-body); }
    .contact-bar__faq summary { font-size: clamp(1rem, .75rem + .3125vw, 1.125rem); }

    .breadcrumb, .breadcrumb .list, .breadcrumb li, .breadcrumb a {
        font-size: clamp(.9375rem, .875rem + .208333vw, 1.125rem);
    }

    .btn {
        font-size: var(--font-size-button);
        line-height: 1.4;
        padding: clamp(12px, .5rem + .625vw, 20px) clamp(20px, .625rem + 2.08vw, 50px);
    }

    .btn.btn--small { font-size: 14px; padding: 12px 18px; }

    .price-offer__intro > p { font-size: var(--font-size-card-copy); }
    .price-offer__plan h3 { font-size: clamp(20px, .75rem + .572917vw, 23px); }
    .price-offer .price-offer__price { font-size: clamp(28px, .75rem + 1.5625vw, 42px); }
    .price-offer__included > h3 { font-size: clamp(24px, .5rem + 1.25vw, 32px); }
    .price-offer__services h4 { font-size: clamp(17px, .9375rem + .15625vw, 18px); }
    .references .more-link { font-size: var(--font-size-copy); }

    .footer, .footer .info-table .text, .footer .menu,
    .footer a, .footer__inner ul {
        font-size: var(--font-size-copy);
    }

    .footer .title { font-size: clamp(20px, .625rem + 1.04vw, 30px); }
    .footer__copyright, .footer__copyright .copyright,
    .footer .footer__copyright ul.menu, .footer__copyright a {
        font-size: clamp(15px, .8125rem + .15625vw, 16px);
    }

    .feature-navigation__group h2 { font-size: var(--font-size-ui); }
    .feature-navigation__group li a { font-size: clamp(15px, .875rem + .104167vw, 16px); }
    .feature-navigation > summary { font-size: var(--font-size-card-copy); }

    .address-demo__header h3 {
        font-size: clamp(20px, 1rem + .46875vw, 25px);
    }

    .transaction-email-demo__body h3 { font-size: clamp(20px, 1rem + .364583vw, 23px); }
    .message-log-demo__heading { font-size: clamp(18px, .875rem + .416667vw, 22px); }

    .page-header {
        display: flex;
        align-items: center;
        height: var(--header-height);
        padding-block: 0;
    }

    body > .main { margin-top: var(--header-height); }
    .feature-page { padding-top: var(--header-height); }
    .main-menu { gap: clamp(16px, 1.3vw, 25px); }
    .main-menu .logo { height: var(--header-logo-height); max-height: none; line-height: 0; }
    .main-menu .logo img { height: var(--header-logo-height); max-height: none; width: auto; }
    .main-menu .menu { font-size: clamp(16px, .75rem + .3125vw, 18px); }
    .main-menu .submenu li { font-size: clamp(16px, .75rem + .3125vw, 18px); }
    .main-menu .solutions-menu .solutions-menu__panel a { font-size: clamp(15px, .875rem + .104167vw, 16px); }
    .main-menu .sectors-menu .sectors-menu__heading { font-size: clamp(15px, .875rem + .104167vw, 16px); }

    .page-header .right-links a {
        height: var(--header-control-height);
    }

    .page-header .right-links a.btn {
        font-size: clamp(14px, .75rem + .208333vw, 16px);
        line-height: 1.2;
        padding: 8px 12px;
    }

    .page-header .right-links a.support-link img {
        width: clamp(22px, 1rem + .535vw, 26.2px);
        height: auto;
    }
}

@media (min-width: 1200px) {
    :where(main, .feature-page) .btn:not(.btn--small) { font-size: 20px; }
}

@media (min-width: 1200px) and (max-width: 1899px) {
    .main-menu .menu > li > a { padding: 8px clamp(10px, .78vw, 15px); }
    .main-menu .solutions-menu__entry > a { padding: 8px 4px 8px clamp(10px, .78vw, 15px); }
    .main-menu .solutions-menu__trigger { min-height: 39px; }
}

@media (min-width: 1400px) and (max-width: 1899px) {
    .page-header .right-links a.support-link {
        font-size: clamp(14px, .75rem + .208333vw, 16px);
    }
}

@media (max-width: 1199px) {
    .main-menu .menus {
        padding-top: calc((var(--header-height) - var(--header-logo-height)) / 2);
    }

    .main-menu .menus .menu { margin-top: 16px; font-size: clamp(18px, 1rem + .4vw, 20px); }
    .main-menu .solutions-menu__section-row > a { font-size: 16px; }
    .main-menu .solutions-menu .solutions-menu__panel a { padding-block: 10px; }
    .main-menu .menu-toggle { width: 44px; height: 44px; right: 0; }

    .main-menu .menu-toggle span {
        width: 26px;
        height: 3px;
        left: 50%;
        transform: translateX(-50%);
    }

    .main-menu .menu-toggle span:nth-child(1) { top: 13px; }
    .main-menu .menu-toggle span:nth-child(2) { top: 21px; }
    .main-menu .menu-toggle span:nth-child(3) { top: 29px; }
    .main-menu .menu-toggle.active.in-menu { top: calc((var(--header-height) - 44px) / 2); right: 15px; }

    .main-menu .menu-toggle.active span:nth-child(1) {
        top: 20.5px;
        transform: translateX(-50%) rotate(45deg);
    }

    .main-menu .menu-toggle.active span:nth-child(2) { left: 50%; }

    .main-menu .menu-toggle.active span:nth-child(3) {
        top: 20.5px;
        transform: translateX(-50%) rotate(-45deg);
    }
}

@media (max-width: 479px) {
    .page-header .right-links { gap: 8px; }
    .main-banner .infinity { font-size: clamp(1.25rem, 8.333vw - .375rem, 2rem); }
    .main-banner__actions .btn { font-size: 14px; padding: 11px 15px; line-height: 20px; }
}
