/* =========================================================
   SUPPORT PAGE
   Shared header/footer are inherited from index.css.
========================================================= */

html,
body.support-page {
    width: 100%;
    min-height: 100%;
}

body.support-page {
    overflow-x: clip;
    background: #f4f2eb;
}

.support-page > .site-header {
    position: sticky;
    top: 0;
    z-index: 1003;
}

.support-viewport {
    position: relative;
    z-index: 2;
    min-height: calc(100svh - var(--shell-header));
    background: linear-gradient(
        180deg,
        #f8f6f0 0%,
        #f4f5ef 34%,
        #eaf0ea 72%,
        #f4f2eb 100%
    );
}

.support-shell {
    width: min(1180px, calc(100% - clamp(80px, 10vw, 160px)));
    margin-inline: auto;
    padding: clamp(64px, 8vh, 100px) 0 clamp(88px, 11vh, 140px);
}

.support-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(70px, 10vw, 150px);
    margin-bottom: clamp(58px, 7vh, 88px);
}

.support-heading__copy {
    max-width: 760px;
}

.support-heading__copy > span,
.support-contact > span {
    display: block;
    margin-bottom: 10px;
    color: rgba(31, 87, 72, .58);
    font: 680 .66rem/1 "Manrope", sans-serif;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.support-heading h1 {
    max-width: 10ch;
    margin: 0;
    color: #173f35;
    font: 560 clamp(3.4rem, 5.4vw, 6rem)/.94 "Manrope", sans-serif;
    letter-spacing: -.067em;
    text-wrap: balance;
}

.support-heading__copy > p {
    max-width: 610px;
    margin: 24px 0 0;
    color: #64756e;
    font: 410 clamp(.92rem, 1vw, 1.05rem)/1.68 "Manrope", sans-serif;
}

.support-contact {
    min-width: 245px;
    padding-bottom: 6px;
}

.support-contact > span {
    margin-bottom: 13px;
}

.support-contact a {
    display: block;
    color: #204f43;
    font: 560 clamp(1.25rem, 1.65vw, 1.65rem)/1.15 "Manrope", sans-serif;
    letter-spacing: -.035em;
    text-decoration: none;
}

.support-contact small {
    display: block;
    margin-top: 9px;
    color: rgba(58, 82, 73, .58);
    font: 410 .75rem/1.5 "Manrope", sans-serif;
}

.support-form,
.support-form__body {
    width: 100%;
    min-width: 0;
}

.support-form__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(31, 83, 69, .14);
}

.support-form__head h2 {
    margin: 0;
    color: #244d42;
    font: 560 clamp(1.55rem, 2vw, 2.1rem)/1.1 "Manrope", sans-serif;
    letter-spacing: -.045em;
}

.support-form__head > span {
    color: rgba(73, 94, 85, .54);
    font: 500 .68rem/1 "Manrope", sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.support-grid {
    display: grid;
    gap: 22px 26px;
}

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

.support-field {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.support-field--wide {
    grid-column: 1 / -1;
}

.support-field > span {
    color: #52635b;
    font: 520 .78rem/1.2 "Manrope", sans-serif;
}

.support-field > span small {
    margin-left: 6px;
    color: #8a9690;
    font: 430 .88em/1 "Manrope", sans-serif;
}

.support-field input,
.support-field select,
.support-field textarea {
    width: 100%;
    border: 1px solid rgba(20, 91, 87, .13);
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, .54);
    color: #303b37;
    font: 420 .88rem/1.5 "Inter", sans-serif;
    box-shadow: 0 10px 32px rgba(31, 73, 61, .025);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.support-field input,
.support-field select {
    min-height: 52px;
    padding: 11px 14px;
}

.support-field textarea {
    min-height: 148px;
    padding: 14px;
    resize: vertical;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
    border-color: rgba(20, 91, 87, .38);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 0 0 3px rgba(20, 91, 87, .05);
}

.support-upload > small {
    color: #7d8b85;
    font: 410 .7rem/1.4 "Inter", sans-serif;
}

.support-upload input[type="file"] {
    padding: 10px;
}

.support-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    margin-top: 18px;
    color: #61716a;
    font: 410 .77rem/1.58 "Inter", sans-serif;
}

.support-consent input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #145b57;
}

.support-consent a {
    color: #145b57;
    text-decoration: none;
}

.support-consent a:hover {
    color: #0f4542;
}

.support-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 20px;
}

.support-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 184px;
    min-height: 48px;
    padding-inline: 20px;
    border-radius: 12px;
    background: #145b57;
    color: #fff;
    font: 560 .82rem/1 "Manrope", sans-serif;
    text-align: center;
}

.support-actions button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.support-actions > span {
    color: #7d8984;
    font: 430 .73rem/1.4 "Inter", sans-serif;
}

.support-actions .support-form-message {
    color: #315d50;
    font-weight: 520;
}

.support-faq {
    display: grid;
    grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
    gap: clamp(70px, 10vw, 150px);
    margin-top: clamp(100px, 13vh, 160px);
}

.support-faq__heading > span {
    display: block;
    margin-bottom: 10px;
    color: rgba(31, 87, 72, .58);
    font: 680 .64rem/1 "Manrope", sans-serif;
    letter-spacing: .21em;
    text-transform: uppercase;
}

.support-faq__heading h2 {
    max-width: 8ch;
    margin: 0;
    color: #173f35;
    font: 560 clamp(2.5rem, 4vw, 4.4rem)/.96 "Manrope", sans-serif;
    letter-spacing: -.06em;
}

.support-faq__item {
    border-bottom: 1px solid rgba(31, 83, 69, .16);
}

.support-faq__item:last-child {
    border-bottom: 0;
}

.support-faq__item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    align-items: center;
    gap: 28px;
    padding: 25px 0;
    color: #244d42;
    font: 560 clamp(.96rem, 1.15vw, 1.15rem)/1.4 "Manrope", sans-serif;
    list-style: none;
    cursor: pointer;
}

.support-faq__item summary::-webkit-details-marker {
    display: none;
}

.support-faq__icon {
    position: relative;
    width: 18px;
    height: 18px;
}

.support-faq__icon::before,
.support-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: #4b7a6e;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease;
}

.support-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.support-faq__item[open] .support-faq__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0);
}

.support-faq__answer {
    overflow: hidden;
}

.support-faq__answer p {
    max-width: 68ch;
    margin: -6px 48px 25px 0;
    color: #66766f;
    font: 410 clamp(.83rem, .92vw, .96rem)/1.7 "Manrope", sans-serif;
}

.support-faq__item summary:focus-visible,
.support-contact a:focus-visible,
.support-consent a:focus-visible {
    outline: 2px solid #0f8071;
    outline-offset: 5px;
    border-radius: 4px;
}

.support-page .desktop-global-footer {
    border-top-color: rgba(44, 76, 66, .06);
    background: #f4f2eb;
}

.support-page--modal .site-header,
.support-page--modal .desktop-global-footer {
    display: none;
}

.support-page--modal .support-viewport {
    min-height: 100vh;
}

.support-page--modal .support-shell {
    width: min(960px, calc(100% - 72px));
    padding: 48px 0 88px;
}

.support-page--modal .support-heading {
    gap: 64px;
    margin-bottom: 52px;
}

.support-page--modal .support-heading h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);
}

.support-page--modal .support-faq {
    gap: 68px;
    margin-top: 88px;
}

@media (max-width: 860px) {
    .support-shell {
        width: calc(100% - 40px);
        padding-block: 52px 84px;
    }

    .support-heading,
    .support-faq {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .support-heading h1 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .support-grid--two {
        grid-template-columns: 1fr;
    }

    .support-field--wide {
        grid-column: auto;
    }

    .support-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-actions button {
        width: 100%;
    }

    .support-faq {
        margin-top: 90px;
    }
}
