/* Open buying workflow; only this section is styled here. */
body.page-carrot #algorithm.carrot-workflow {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
    text-align: left;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-header {
    max-width: 900px;
    margin-bottom: 36px;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-eyebrow {
    margin: 0 0 14px;
    color: #ff801f !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-title {
    display: block;
    margin: 0 0 14px;
    color: #f6f7f8 !important;
    font-size: 36px !important;
    font-weight: 750;
    line-height: 1.4 !important;
    letter-spacing: -0.035em;
    text-align: left;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-title br {
    display: block;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-lead {
    max-width: 760px;
    margin: 0;
    color: #aeb5be !important;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.8 !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-steps::before {
    position: absolute;
    top: 11px;
    right: 0;
    left: 0;
    border-top: 1px solid #343941;
    content: "";
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-step {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-index {
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 0 12px 0 0;
    background: #000;
    color: #ff801f !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 22px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-content {
    min-width: 0;
    margin-top: 22px;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-name {
    margin: 0 0 10px;
    color: #f0f2f5 !important;
    font-size: 21px !important;
    font-weight: 700;
    line-height: 1.45 !important;
    letter-spacing: -0.025em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-description {
    margin: 0;
    color: #b0b9c5 !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.8 !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #343941;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-offer-copy {
    min-width: 0;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-plan {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin: 0;
    color: #dce1e8 !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.6 !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-plan strong {
    color: #f8f9fa;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.025em;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-account {
    margin: 6px 0 0;
    color: #8f9aa8 !important;
    font-size: 12px !important;
    font-weight: 400;
    line-height: 1.7 !important;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid #ff801f;
    border-radius: 6px;
    background: #ff801f;
    color: #101113 !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-link i {
    font-size: 16px;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-link:hover {
    border-color: #ff963f;
    background: #ff963f;
    color: #101113 !important;
}

body.page-carrot #algorithm.carrot-workflow .carrot-workflow-link:focus-visible {
    outline: 2px solid #f5f6f8;
    outline-offset: 4px;
}

/* Leave the site's existing floating section rail untouched. */
@media (min-width: 1200px) {
    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-steps,
    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-offer {
        margin-right: 112px;
    }
}

@media (max-width: 767px) {
    body.page-carrot #algorithm.carrot-workflow {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-header {
        margin-bottom: 28px;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-title {
        font-size: 28px !important;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-lead {
        font-size: 14px !important;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-steps::before {
        top: 11px;
        right: auto;
        bottom: 0;
        left: 10px;
        border-top: 0;
        border-left: 1px solid #343941;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-step {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: start;
        gap: 16px;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-index {
        padding: 0 0 8px;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-content {
        margin-top: 0;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-name {
        font-size: 20px !important;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-offer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-top: 30px;
        padding-top: 24px;
    }

    body.page-carrot #algorithm.carrot-workflow .carrot-workflow-link {
        width: 100%;
    }
}
