.analytics-consent {
    position: fixed;
    inset: auto 1rem 1rem;
    z-index: 1000;
    color: #193c38;
}

.analytics-consent[hidden] {
    display: none;
}

.analytics-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 76rem;
    margin: 0 auto;
    padding: 1rem 1.15rem;
    background: #fffdf8;
    border: 1px solid #c9d9d2;
    border-radius: 1rem;
    box-shadow: 0 0.75rem 2.5rem rgba(25, 60, 56, 0.2);
}

.analytics-consent h2 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.analytics-consent p {
    max-width: 54rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.analytics-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.6rem;
}

.analytics-consent__button {
    min-height: 2.75rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.analytics-consent__button--secondary {
    color: #193c38;
    background: transparent;
    border-color: #9db8ad;
}

.analytics-consent__button--primary {
    color: #fff;
    background: #176b5a;
}

.analytics-consent__button:focus-visible {
    outline: 3px solid #74bca7;
    outline-offset: 2px;
}

.link-button {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 700px) {
    .analytics-consent {
        inset: auto 0.75rem 0.75rem;
    }

    .analytics-consent__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 0.85rem;
    }

    .analytics-consent__actions {
        justify-content: flex-end;
    }
}
