.section.thank-you {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 12rem);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    max-width: 64rem;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
    box-sizing: border-box;
}

.thank-you-card {
    width: 100%;
    min-width: 0;
    max-width: 38rem;
    text-align: left;
}

.thank-you-logo {
    display: block;
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.thank-you .eyebrow {
    margin: 0 0 1rem;
    line-height: 1.6;
}

.thank-you h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 0 0 1.5rem;
    text-wrap: balance;
}

.thank-you .thank-you-message {
    font-size: 1rem;
    line-height: 1.85;
    margin: 0;
    max-width: 52ch;
}

.thank-you-next {
    border-top: 1px solid currentColor;
    padding-top: 1.5rem;
    margin-block: 2rem;
}

.thank-you .thank-you-next h2 {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.thank-you-next p {
    font-size: 1rem;
    line-height: 1.85;
    margin: 0;
    max-width: 56ch;
}

.thank-you .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.thank-you-photo {
    display: block;
    width: 100%;
    max-width: 12rem;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 1rem;
    justify-self: center;
}

@media (max-width: 700px) {
    .section.thank-you {
        grid-template-columns: minmax(0, 1fr);
    }

    .thank-you-photo {
        max-width: 11rem;
    }
}

.thank-you .eyebrow,
.thank-you .hero-actions .mud-button {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: normal;
    text-transform: none;
}

.thank-you h1,
.thank-you .thank-you-next h2 {
    font-family: inherit;
    font-weight: 600;
}