.hosting-checkout-page {
    padding: 42px 0 70px;
}

.hosting-checkout-container {
    max-width: 1180px;
}

.hosting-checkout-hero {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.hosting-checkout-eyebrow,
.hosting-checkout-summary-label,
.hosting-checkout-card header > span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.76;
}

.hosting-checkout-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.03;
}

.hosting-checkout-hero p {
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.78;
}

.hosting-checkout-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.6fr);
    gap: 24px;
    align-items: start;
}

.hosting-checkout-summary,
.hosting-checkout-card,
.hosting-checkout-success {
    border: 1px solid var(--public-border);
    border-radius: 24px;
    background: var(--public-card-bg);
    box-shadow: var(--public-shadow);
}

.hosting-checkout-summary {
    position: sticky;
    top: 92px;
    padding: 28px;
}

.hosting-checkout-summary h2 {
    margin: 0 0 10px;
    font-size: 1.7rem;
}

.hosting-checkout-price {
    margin-bottom: 24px;
    font-size: 2.3rem;
    font-weight: 850;
    line-height: 1;
}

.hosting-checkout-price small {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.66;
}

.hosting-checkout-summary dl {
    display: grid;
    gap: 0;
    margin: 0 0 22px;
}

.hosting-checkout-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--public-border);
}

.hosting-checkout-summary dt {
    opacity: 0.7;
}

.hosting-checkout-summary dd {
    margin: 0;
    font-weight: 750;
    text-align: right;
}

.hosting-checkout-change {
    display: inline-flex;
    text-decoration: none;
    font-weight: 750;
}

.hosting-checkout-card {
    padding: 30px;
}

.hosting-checkout-card header {
    margin-bottom: 25px;
}

.hosting-checkout-card header h2 {
    margin: 0 0 7px;
    font-size: 1.65rem;
}

.hosting-checkout-card header p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.7;
}

.hosting-checkout-message {
    margin-bottom: 22px;
    padding: 15px 17px;
    border-radius: 14px;
    line-height: 1.55;
}

.hosting-checkout-message.is-error {
    border: 1px solid rgba(210, 50, 60, 0.3);
    background: rgba(210, 50, 60, 0.08);
}

.hosting-checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hosting-checkout-grid label {
    display: grid;
    gap: 7px;
}

.hosting-checkout-grid label.is-wide {
    grid-column: 1 / -1;
}

.hosting-checkout-grid label > span {
    font-size: 0.9rem;
    font-weight: 700;
}

.hosting-checkout-grid input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--public-border);
    border-radius: 12px;
    background: var(--public-input-bg, transparent);
    color: inherit;
    font: inherit;
    outline: none;
}

.hosting-checkout-grid input:focus {
    border-color: currentColor;
}

.hosting-checkout-payment-info {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding: 17px 18px;
    border: 1px solid var(--public-border);
    border-radius: 14px;
}

.hosting-checkout-payment-info strong {
    white-space: nowrap;
}

.hosting-checkout-payment-info span {
    text-align: right;
    opacity: 0.72;
}

.hosting-checkout-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    background: var(--public-primary);
    color: #fff;
}

.hosting-checkout-success {
    display: flex;
    gap: 22px;
    max-width: 820px;
    margin: 0 auto;
    padding: 34px;
}

.hosting-checkout-success-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    font-size: 1.45rem;
    font-weight: 900;
    background: rgba(40, 170, 90, 0.13);
}

.hosting-checkout-success h2 {
    margin: 0 0 12px;
}

.hosting-checkout-success p {
    margin: 7px 0;
    line-height: 1.6;
}

.hosting-checkout-success-actions {
    margin-top: 22px;
}

.hosting-checkout-success-actions a {
    display: inline-flex;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    background: var(--public-primary);
    color: #fff;
}

@media (max-width: 820px) {
    .hosting-checkout-layout {
        grid-template-columns: 1fr;
    }

    .hosting-checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .hosting-checkout-page {
        padding: 26px 0 46px;
    }

    .hosting-checkout-card,
    .hosting-checkout-summary,
    .hosting-checkout-success {
        border-radius: 18px;
    }

    .hosting-checkout-card,
    .hosting-checkout-summary {
        padding: 21px;
    }

    .hosting-checkout-grid {
        grid-template-columns: 1fr;
    }

    .hosting-checkout-grid label.is-wide {
        grid-column: auto;
    }

    .hosting-checkout-payment-info {
        flex-direction: column;
    }

    .hosting-checkout-payment-info span {
        text-align: left;
    }

    .hosting-checkout-success {
        flex-direction: column;
        padding: 24px;
    }
}
