.rh-thanks {
    background: var(--paper);
}

.rh-thanks .wrap {
    width: min(var(--max), 100%);
    margin: auto;
    padding-inline: var(--pad);
}

.thanks-confirm {
    background: #161616;
    color: #fff;
    padding-block: 112px 96px;
}

.thanks-confirm-in {
    display: flex;
    gap: 28px;
    max-width: 900px;
}

.thanks-bar {
    flex: none;
    width: 6px;
    background: var(--red);
}

.thanks-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.thanks-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 16px;
}

.thanks-confirm h1 {
    max-width: 14ch;
    margin: 0 0 26px;
    color: #fff;
    font-size: 60px;
    line-height: 1.08;
    text-transform: uppercase;
}

.thanks-copy {
    max-width: 640px;
    margin: 0;
    color: #cfcfcf;
    font-size: 20px;
    line-height: 1.55;
}

.thanks-inbox {
    max-width: 640px;
    margin-top: 34px;
    padding: 22px 24px;
    background: #2b2b2b;
}

.thanks-inbox p {
    margin: 0;
    color: #cfcfcf;
    font-size: 16px;
}

.thanks-actions {
    margin-top: 40px;
}

.thanks-confirm .button {
    background: var(--red);
    color: #fff;
}

.thanks-note {
    max-width: 640px;
    margin: 28px 0 0;
    color: #9a9a9a;
    font-size: 15px;
}

.thanks-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    color: #fff;
    font-weight: 600;
}

.thanks-more span {
    color: var(--red);
}

.thanks-rail {
    background: #1d1d1d;
    color: #fff;
    padding-block: 112px;
}

.thanks-rail h2 {
    margin: 14px 0 18px;
    color: #fff;
    font-size: 44px;
    line-height: 1.15;
}

.thanks-rail-sub {
    max-width: 560px;
    margin: 0 0 44px;
    color: #bfbfbf;
}

.thanks-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.thanks-card {
    display: block;
    background: #2b2b2b;
    border: 1px solid #3a3a3a;
    color: #fff;
    text-decoration: none;
}

.thanks-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.thanks-card-body {
    padding: 26px;
}

.thanks-card-kicker {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.thanks-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 23px;
    line-height: 1.25;
}

.thanks-card p {
    margin: 0;
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.55;
}

.thanks-card-go {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
}

.thanks-card-go::after {
    content: "\2192";
    color: var(--red);
}

@media (max-width: 900px) {
    .thanks-confirm,
    .thanks-rail {
        padding-block: 72px;
    }

    .thanks-confirm h1 {
        font-size: 40px;
    }

    .thanks-rail h2 {
        font-size: 32px;
    }

    .thanks-cards {
        grid-template-columns: 1fr;
    }
}
