.gtmc-launcher-wrap {
    margin: 0.85rem 0 0;
    text-align: center;
}

.gtmc-launcher {
    color: #2c70b7;
    cursor: pointer;
    font: inherit;
    line-height: 1.4;
    padding: 0.35rem 0.5rem;
    text-decoration: underline;
    text-decoration-color: rgba(44, 112, 183, 0.35);
    text-underline-offset: 0.2em;
}

.gtmc-launcher:hover,
.gtmc-launcher:focus-visible {
    color: #1f5b96;
    text-decoration-color: currentColor;
}

.gtmc-launcher:focus-visible,
.gtmc-close:focus-visible,
.gtmc-submit:focus-visible,
.gtmc-email:focus-visible {
    outline: 2px solid #2c70b7;
    outline-offset: 2px;
}

.gtmc-modal[hidden] {
    display: none !important;
}

.gtmc-modal {
    align-items: center;
    background: transparent;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1.25rem;
    position: fixed;
    z-index: 10000;
}

.gtmc-backdrop {
    background: rgba(12, 18, 24, 0.64);
    cursor: default;
    inset: 0;
    padding: 0;
    position: absolute;
}

.gtmc-dialog {
    background: #fff;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 1.25rem 3.5rem rgba(18, 28, 38, 0.28);
    color: #2b2f33;
    max-width: 27rem;
    padding: 1.5rem;
    position: relative;
    text-align: left;
    width: 100%;
    z-index: 1;
}

.gtmc-dialog h2 {
    color: inherit;
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 2rem 0.5rem 0;
}

.gtmc-description {
    color: #626b73;
    line-height: 1.5;
    margin: 0 0 1.1rem;
}

.gtmc-close {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #69737c;
    cursor: pointer;
    font-size: 1.7rem;
    height: 2.25rem;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    width: 2.25rem;
}

.gtmc-close:hover {
    background: #edf0f2;
    color: #24292e;
}

.gtmc-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.gtmc-email {
    min-height: 2.75rem;
    width: 100%;
}

.gtmc-status {
    color: #52606b;
    min-height: 1.5rem;
    padding: 0.5rem 0 0.25rem;
}

.gtmc-status.is-error {
    color: #b3261e;
}

.gtmc-submit {
    min-height: 2.75rem;
    position: relative;
    width: 100%;
}

.gtmc-submit.is-loading {
    cursor: wait;
    opacity: 0.72;
}

.gtmc-modal-open {
    overflow: hidden;
}

html.dark-mode .gtmc-launcher {
    color: #00acff;
    text-decoration-color: rgba(0, 172, 255, 0.5);
}

html.dark-mode .gtmc-launcher:hover,
html.dark-mode .gtmc-launcher:focus-visible {
    color: #52c7ff;
}

html.dark-mode .gtmc-launcher:focus-visible,
html.dark-mode .gtmc-close:focus-visible,
html.dark-mode .gtmc-submit:focus-visible,
html.dark-mode .gtmc-email:focus-visible {
    outline-color: #00acff;
}

html.dark-mode .gtmc-dialog {
    background: #21292c;
    color: #c5d1d3;
}

html.dark-mode .gtmc-description {
    color: #afbec2;
}

html.dark-mode .gtmc-close {
    background: transparent !important;
    color: #afbec2;
}

html.dark-mode .gtmc-close:hover {
    background: #2c373b !important;
    color: #fff;
}

html.dark-mode .gtmc-status {
    color: #afbec2;
}

html.dark-mode .gtmc-status.is-error {
    color: #ff8a94;
}

@media (max-width: 480px) {
    .gtmc-modal {
        align-items: flex-end;
        padding: 0;
    }

    .gtmc-dialog {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        max-width: none;
        padding: 1.35rem 1.15rem calc(1.35rem + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: no-preference) {
    .gtmc-dialog {
        animation: gtmc-dialog-in 160ms ease-out;
    }

    @keyframes gtmc-dialog-in {
        from {
            opacity: 0;
            transform: translateY(0.5rem) scale(0.985);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}
