/* Styling specifically for the offline activation page */

#contact .steps {
    counter-reset: step;
    list-style: none;
    width: 100%;
    max-width: 620px;
    margin: 30px 0 0 0;
    padding: 0;
}

#contact .steps li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    margin: 0;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#contact .steps li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#contact .steps li::before {
    content: counter(step);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #BE8170;
    color: #222;
    font-family: Sora;
    font-weight: 600;
    font-size: 1.05rem;
}

#contact .steps .step-body {
    flex: 1 1 auto;
    min-width: 0;
}

#contact .steps .step-title {
    display: block;
    margin-bottom: 4px;
    font-family: Sora;
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.35;
    color: #eee;
}

#contact .steps .step-detail {
    display: block;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #b3b3b3;
}

#contact .steps .step-detail a {
    color: #BE8170;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* The one thing we want people to click */
[data-md-color-primary] .md-typeset a.button.cta {
    max-width: none;
    margin: 40px 0 0 0;
    padding: 16px 34px;
    font-size: 1.1rem;
}

#contact p.footnote {
    margin: 40px 0 30px 0;
    font-size: 0.9rem;
    font-weight: 300;
    color: #999;
}

#contact p.footnote a {
    color: #ccc;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media only screen and (max-width: 60em) {
    /* Keep the heading and steps off the edge of the viewport */
    #contact {
        padding-left: 18px;
        padding-right: 18px;
    }

    #contact .steps {
        max-width: inherit;
    }

    #contact .steps li {
        gap: 15px;
        padding: 18px 0;
    }

    #contact .steps li::before {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    #contact .steps .step-title {
        font-size: 1.05rem;
    }

    /* Let the label wrap rather than run off a narrow screen, but never
       break the address itself across lines */
    [data-md-color-primary] .md-typeset a.button.cta {
        width: 100%;
        padding: 16px 20px;
        font-size: 0.95rem;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
    }
}
