/**
 * Canonical marketing CTA recipe.
 *
 * The visual source is the primary download button on /download/dev/.
 * Layout owners may still choose intrinsic or full-width placement.
 */

body :is(
    a.button,
    a.button-white,
    a.button-transparent,
    .ar-button,
    .plans-primary-button,
    .plans-teaser__link,
    .download-preview__primary,
    button.form-contactus__button
) {
    box-sizing: border-box;
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #b84b18;
    border-radius: 7px;
    padding: 0 24px !important;
    background: #b84b18;
    box-shadow: 0 18px 42px -22px rgba(0, 0, 0, 0.72);
    color: #fff;
    font-family: OpenSans, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    outline: 0;
    transition: background 200ms ease, box-shadow 200ms ease;
}

body .header .header__button {
    min-height: 56px;
}

body :is(
    a.button,
    a.button-white,
    a.button-transparent,
    .ar-button,
    .plans-primary-button,
    .plans-teaser__link,
    .download-preview__primary,
    button.form-contactus__button
) svg {
    position: static;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: currentColor;
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2;
    animation: none !important;
    transform: none;
}

body :is(
    a.button,
    a.button-white,
    a.button-transparent,
    .ar-button,
    .plans-primary-button,
    .plans-teaser__link,
    .download-preview__primary,
    button.form-contactus__button
):hover {
    border-color: #94370f;
    background: #94370f;
    box-shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.82);
    color: #fff;
}

body :is(
    a.button,
    a.button-white,
    a.button-transparent,
    .ar-button,
    .plans-primary-button,
    .plans-teaser__link,
    .download-preview__primary,
    button.form-contactus__button
):focus-visible {
    outline: 3px solid #ffb087;
    outline-offset: 4px;
}

body button.form-contactus__button:disabled {
    opacity: 0.45;
    pointer-events: none;
}

body .features-text-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
}

@media (max-width: 30em) {
    body :is(
        a.button,
        a.button-white,
        a.button-transparent,
        .ar-button,
        .plans-primary-button,
        .plans-teaser__link,
        .download-preview__primary,
        button.form-contactus__button
    ) {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    body :is(
        a.button,
        a.button-white,
        a.button-transparent,
        .ar-button,
        .plans-primary-button,
        .plans-teaser__link,
        .download-preview__primary,
        button.form-contactus__button
    ) {
        transition: none;
    }
}
