/**
 * Light hero on magento-maintenance-support only.
 * Loaded from cms_page_view_id_magento-maintenance-support.xml.
 * CMS HTML is not a Tailwind scan source. Do not restyle other heroes here.
 */

body.cms-magento-maintenance-support .tm-maint-hero--light,
body.cms-magento-maintenance-support .tm-maint-hero--light *,
body.cms-magento-maintenance-support .tm-maint-hero--light *::before,
body.cms-magento-maintenance-support .tm-maint-hero--light *::after {
    box-sizing: border-box;
}

body.cms-magento-maintenance-support .tm-hero.tm-maint-hero--light {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    margin-top: calc(var(--tm-header-height, 5.0625rem) * -1);
    padding-top: var(--tm-header-height, 5.0625rem);
    padding-bottom: 1.75rem;
    overflow: hidden;
    border-bottom: 1px solid #e6e0d6;
    background-color: #f7f4ef;
    background-image: none;
    color: #10203f;
    box-shadow: none;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__photo {
    display: none;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding: 1.15rem 1rem 0;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__copy,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__grid > #landing-contact-form {
    min-width: 0;
    max-width: 100%;
}

/*
 * Headline, lead, actions, plans link, and trust row are one stack.
 * The stack is centered against the form. Flexible tracks are not used
 * between those pieces, and the trust row is not pinned to the form baseline.
 */
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
    gap: 1.125rem;
    width: 100%;
}

body.cms-magento-maintenance-support .tm-maint-hero--light h1 {
    max-width: 11.15em;
    margin: 0 !important;
    color: #10203f;
    font-family: inherit;
    font-size: clamp(2.05rem, 1.15rem + 2.6vw, 3.35rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.034em;
    line-height: 1.04 !important;
    text-wrap: wrap;
    hyphens: manual;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__leads {
    display: flex;
    flex-direction: column;
    margin: 0;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__lead {
    max-width: 36rem;
    margin: 0;
    color: #24324d;
    font-size: 1.0625rem;
    font-weight: 400;
    letter-spacing: -0.011em;
    line-height: 1.58;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin: 0;
    width: 100%;
}

body.cms-magento-maintenance-support .tm-maint-hero--light a.tm-maint-light-call-cta,
body.cms-magento-maintenance-support .tm-maint-hero--light a.tm-maint-light-request-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    box-shadow: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.cms-magento-maintenance-support a#tm-maint-call {
    border: 1px solid #d7a25a;
    background: #e6ad61;
    color: #071e40 !important;
}

body.cms-magento-maintenance-support a#tm-maint-call:hover {
    border-color: #c9963f;
    background: #efc07a;
    color: #071e40 !important;
}

body.cms-magento-maintenance-support a#tm-maint-request {
    border: 1px solid #0a3d91;
    background: #0a3d91;
    color: #ffffff !important;
}

body.cms-magento-maintenance-support a#tm-maint-request:hover {
    border-color: #072c6a;
    background: #072c6a;
    color: #ffffff !important;
}

body.cms-magento-maintenance-support .tm-maint-hero--light a:focus-visible,
body.cms-magento-maintenance-support .tm-maint-hero--light button:focus-visible,
body.cms-magento-maintenance-support .tm-maint-hero--light input:focus-visible,
body.cms-magento-maintenance-support .tm-maint-hero--light select:focus-visible,
body.cms-magento-maintenance-support .tm-maint-hero--light textarea:focus-visible {
    outline: 2px solid #0a3d91;
    outline-offset: 3px;
}

body.cms-magento-maintenance-support a#tm-maint-request:focus-visible,
body.cms-magento-maintenance-support .tm-maint-hero--light button.tm-button:focus-visible {
    outline-color: #c9963f;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__plans-row {
    margin: 0;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.15rem;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    max-width: 100%;
    min-height: 1.35rem;
    color: #24324d;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.004em;
    line-height: 1.3;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__trust svg {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
    color: #8a6430;
}

body.cms-magento-maintenance-support .tm-maint-hero--light #landing-contact-form.tm-form-panel,
body.cms-magento-maintenance-support .tm-maint-hero--light #landing-contact-form.tm-form-panel--contrast {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-self: start;
    width: 100%;
    max-width: none;
    margin-top: 0;
    justify-self: stretch;
    padding: 1.2rem 1.15rem 1.05rem;
    border: 1px solid rgba(16, 32, 63, 0.08);
    border-radius: 1rem;
    background: #ffffff;
    color: #10203f;
    box-shadow: 0 10px 24px rgba(16, 32, 63, 0.06), 0 1px 2px rgba(16, 32, 63, 0.04);
    scroll-margin-top: calc(var(--tm-header-height, 5.0625rem) + 0.75rem);
}

body.cms-magento-maintenance-support .tm-maint-hero--light #landing-contact-form.tm-form-panel--contrast::after {
    content: none;
}

body.cms-page-view.cms-magento-maintenance-support .tm-hero.tm-maint-hero--light #landing-contact-form.space-y-5 > * + *,
body.cms-page-view.cms-magento-maintenance-support .tm-hero.tm-maint-hero--light .tm-landing-form-panel form.space-y-4 > * + * {
    margin-top: 0;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__form-intro {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__form-intro h2 {
    margin: 0 !important;
    color: #10203f;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.022em;
    line-height: 1.25 !important;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-form-note,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-form-note--light {
    margin: 0;
    color: #3d4a63;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__form-intro > .tm-form-note:first-child {
    color: #8a6430;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__privacy {
    color: #5c6578;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-landing-form-panel form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    margin: 0;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-form-field > span.sr-only,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-form-field > span.tm-form-note {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    border: 0;
    color: #1a2744;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-transform: none;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input--contrast,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-plan-select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid #d5d8e0;
    border-radius: 0.625rem;
    background: #ffffff;
    color: #1a1d2e;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    caret-color: #10203f;
}

body.cms-page-view.cms-magento-maintenance-support .tm-hero.tm-maint-hero--light textarea.tm-input,
body.cms-page-view.cms-magento-maintenance-support .tm-hero.tm-maint-hero--light textarea.tm-input--textarea {
    min-height: 4.75rem;
    max-height: none;
    height: auto;
    padding-top: 0.65rem;
    resize: vertical;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input::placeholder,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input--contrast::placeholder {
    color: #5c6778;
    font-weight: 400;
    opacity: 1;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input:focus,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input--contrast:focus,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-plan-select:focus {
    border-color: #0a3d91;
    background: #ffffff;
    color: #1a1d2e;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input:user-invalid,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input--contrast:user-invalid,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input[aria-invalid="true"] {
    border-color: #9f2d2d;
    background: #fffafa;
    color: #1a1d2e;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input:user-invalid:focus-visible,
body.cms-magento-maintenance-support .tm-maint-hero--light .tm-input[aria-invalid="true"]:focus-visible {
    outline-color: #9f2d2d;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .message.error,
body.cms-magento-maintenance-support .tm-maint-hero--light .message-error,
body.cms-magento-maintenance-support .tm-maint-hero--light .mage-error {
    margin: 0;
    padding: 0.45rem 0.65rem;
    border: 1px solid #e3b0b0;
    border-radius: 0.5rem;
    background: #fdecec;
    color: #6f1d1d;
    font-size: 0.8125rem;
    line-height: 1.4;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-landing-form-panel .tm-button.tm-button--inverse {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 3rem;
    margin: 0.15rem 0 0;
    padding: 0.35rem 0.4rem 0.35rem 1rem;
    border: 0;
    border-radius: 0.7rem;
    background: #0a3d91;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    box-shadow: none;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-landing-form-panel .tm-button.tm-button--inverse > span:first-child {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-landing-form-panel .tm-button.tm-button--inverse:hover {
    background: #072c6a;
    color: #ffffff;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-button--inverse .tm-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    flex: 0 0 1.85rem;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

body.cms-magento-maintenance-support .tm-maint-hero--light .tm-button--inverse .tm-button__icon svg {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
}

@media (max-width: 480px) {
    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__form-intro h2 {
        font-size: 1.0625rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 1199px) {
    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.42rem;
    }
}

@media (min-width: 768px) {
    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__inner {
        padding-inline: 1.5rem;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__lead {
        font-size: 1.125rem;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        width: auto;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light a.tm-maint-light-call-cta,
    body.cms-magento-maintenance-support .tm-maint-hero--light a.tm-maint-light-request-cta {
        width: auto;
    }
}

@media (min-width: 1024px) {
    body.cms-magento-maintenance-support .tm-maint-hero--light {
        padding-bottom: 2rem;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__photo {
        display: block;
        position: absolute;
        inset: 0 0 0 auto;
        width: min(62%, 1040px);
        z-index: 0;
        pointer-events: none;
        opacity: 0.9;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 74% 42%;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__photo::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #f7f4ef 0%, #f7f4ef 22%, rgba(247, 244, 239, 0.94) 40%, rgba(247, 244, 239, 0.62) 58%, rgba(247, 244, 239, 0.28) 76%, rgba(247, 244, 239, 0.1) 100%);
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__inner {
        padding-top: 1.65rem;
        padding-inline: 2rem;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(22.5rem, 26.5rem);
        column-gap: 2rem;
        align-items: center;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__lead {
        font-size: 1.125rem;
        line-height: 1.6;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light #landing-contact-form.tm-form-panel {
        max-width: 26.5rem;
        justify-self: end;
        padding: 1.25rem 1.25rem 1.1rem;
    }
}

@media (min-width: 1200px) {
    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(26rem, 29.25rem);
        column-gap: 2.75rem;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__lead {
        font-size: 1.1875rem;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light #landing-contact-form.tm-form-panel {
        max-width: 29.25rem;
    }
}

/*
 * At 1024–1399 the 62% right-aligned crop sits under the form card.
 * Spread the photo across the hero and mask it so the window shows in the
 * open band beside the copy. The mask stays clear over the type.
 */
@media (min-width: 1024px) and (max-width: 1399px) {
    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__photo {
        inset: 0;
        width: auto;
        opacity: 1;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 50%, #000 100%);
        mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 50%, #000 100%);
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__photo img {
        object-position: 72% 42%;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__photo::after {
        background: linear-gradient(90deg, #f7f4ef 0%, rgba(247, 244, 239, 0.72) 42%, rgba(247, 244, 239, 0.28) 56%, rgba(247, 244, 239, 0) 70%);
    }
}

/* 1200–1399 is wide enough that a cover crop hides the window under the form. */
@media (min-width: 1200px) and (max-width: 1399px) {
    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__photo img {
        position: absolute;
        width: 170%;
        height: 120%;
        max-width: none;
        left: -28%;
        top: -8%;
        object-fit: cover;
        object-position: 60% 30%;
    }
}

/* Prose paints bare hero links gold from @layer components, and layered
   !important beats an unlayered one. Stay in that layer so the text link
   can be navy without becoming a fourth button. */
@layer components {
    body.cms-magento-maintenance-support .cms-content .tm-hero a#tm-maint-plans-link,
    body.cms-magento-maintenance-support .cms-content .tm-hero a#tm-maint-form-call {
        color: #0a3d91 !important;
        font-size: 0.9375rem;
        font-weight: 700;
        line-height: 1.4;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 0.18em;
    }

    body.cms-magento-maintenance-support .cms-content .tm-hero a#tm-maint-form-call {
        font-size: inherit;
        white-space: nowrap;
    }

    body.cms-magento-maintenance-support .cms-content .tm-hero a#tm-maint-plans-link:hover,
    body.cms-magento-maintenance-support .cms-content .tm-hero a#tm-maint-form-call:hover {
        color: #072c6a !important;
    }
}

/* Shared landing CSS compresses every hero h1 under 920px tall. Keep this page's lockup. */
@media (max-height: 920px) {
    body.cms-page-view.cms-magento-maintenance-support .tm-hero.tm-maint-hero--light h1 {
        font-size: clamp(2rem, 1.2rem + 2vw, 3.15rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 360px) {
    body.cms-page-view.cms-magento-maintenance-support .tm-hero.tm-maint-hero--light h1 {
        font-size: 1.58rem !important;
        line-height: 1.08 !important;
        max-width: 11.2em;
    }
}

@media (min-width: 361px) and (max-width: 389px) {
    body.cms-page-view.cms-magento-maintenance-support .tm-hero.tm-maint-hero--light h1 {
        font-size: 1.85rem !important;
        line-height: 1.06 !important;
        max-width: 11.15em;
    }

    body.cms-magento-maintenance-support .tm-maint-hero--light .tm-maint-hero__form-intro h2 {
        font-size: 1rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.cms-magento-maintenance-support .tm-maint-hero--light,
    body.cms-magento-maintenance-support .tm-maint-hero--light * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
