
.hosting-page {
    --hosting-navy: #0b1f3a;
    --hosting-blue: #1790e2;
    --hosting-blue-dark: #0879c5;
    --hosting-orange: #ff9400;
    --hosting-ink: #17283c;
    --hosting-muted: #627184;
    --hosting-border: #dce5ed;
    --hosting-soft: #f4f8fb;
    background: #f7f9fc;
    color: var(--hosting-ink);
    font-family: "DM Sans", sans-serif;
    min-height: 70vh;
    padding: 56px 22px 86px;
    box-sizing: border-box;
}

.hosting-banner {
    background: #03152b;
}

.hosting-banner .container {
    position: relative;
    z-index: 3;
}

.hosting-banner-art {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.hosting-banner:before {
    background: linear-gradient(90deg, rgba(1, 13, 29, .55), rgba(1, 13, 29, .08) 78%);
    opacity: 1;
}

.hosting-banner h1,
.hosting-banner h5 {
    max-width: 58%;
    position: relative;
    z-index: 2;
}

.hosting-banner h1 {
    color: #fff;
    text-align: left;
}

.hosting-banner h5 {
    color: rgba(255, 255, 255, .94);
    margin: 0;
    text-align: left;
    width: 100%;
}

.hosting-page h1,
.hosting-page h2,
.hosting-page button,
.hosting-page input {
    font-family: inherit;
}

/* Main container */
.hosting-shell {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hosting-progress {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0 auto 38px;
    max-width: 570px;
}

.hosting-progress-step {
    align-items: center;
    color: #8a98a8;
    display: flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    gap: 9px;
}

.hosting-progress-number {
    align-items: center;
    background: #e8eef4;
    border: 1px solid #d9e2ea;
    border-radius: 50%;
    color: #768698;
    display: inline-flex;
    font-size: 11px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.hosting-progress-step.is-current,
.hosting-progress-step.is-complete {
    color: var(--hosting-navy);
}

.hosting-progress-step.is-current .hosting-progress-number,
.hosting-progress-step.is-complete .hosting-progress-number {
    background: var(--hosting-blue);
    border-color: var(--hosting-blue);
    color: #fff;
}

.hosting-progress-line {
    background: #dce5ed;
    flex: 1 1 auto;
    height: 1px;
    margin: 0 13px;
    max-width: 70px;
}

.hosting-heading {
    margin: 0 auto 34px;
    max-width: 700px;
    text-align: center;
}

.hosting-eyebrow {
    align-items: center;
    color: var(--hosting-blue-dark);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: .1em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hosting-eyebrow-dot,
.hosting-countdown-dot {
    background: var(--hosting-orange);
    border-radius: 50%;
    height: 8px;
    width: 8px;
}

.hosting-heading h1 {
    color: var(--hosting-navy);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.12;
    margin: 0 0 12px;
}

/* Keep programmatic heading focus for page navigation without showing a ring. */
.hosting-heading h1:focus {
    outline: none;
}

.hosting-heading > p {
    color: var(--hosting-muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.hosting-type-selector {
    background: #fff;
    border: 1px solid #c9ddec;
    border-top: 5px solid var(--hosting-blue);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(11, 31, 58, .09);
    box-sizing: border-box;
    margin: 0 auto 28px;
    max-width: 1000px;
    padding: 23px 26px 25px;
    text-align: center;
}

.hosting-type-selector-heading {
    margin: 0 auto;
}

.hosting-type-selector-label {
    color: var(--hosting-navy);
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.hosting-type-selector-heading p {
    color: var(--hosting-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0 0;
}

.hosting-type-tabs {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 18px auto 0;
    max-width: 790px;
}

.hosting-type-tab {
    background: #fff;
    border: 2px solid #bdcedd;
    border-radius: 9px;
    box-shadow: 0 3px 8px rgba(11, 31, 58, .06);
    color: var(--hosting-ink);
    cursor: pointer;
    flex: 1 1 auto;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    min-height: 58px;
    padding: 13px 22px;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.hosting-type-tab:hover {
    background: #f1f8fd;
    border-color: var(--hosting-blue);
    color: var(--hosting-blue-dark);
    transform: translateY(-1px);
}

.hosting-type-tab.is-active {
    background: var(--hosting-navy);
    border-color: var(--hosting-navy);
    box-shadow: 0 5px 13px rgba(11, 31, 58, .2);
    color: #fff;
}

.hosting-type-tab:focus-visible {
    outline: 3px solid rgba(23, 144, 226, .28);
    outline-offset: 3px;
}

.hosting-type-heading {
    margin: 0 auto 22px;
    text-align: center;
}

.hosting-type-heading h2 {
    color: var(--hosting-navy);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    margin: 0 0 5px;
}

.hosting-type-heading p {
    color: var(--hosting-muted);
    font-size: 14px;
    margin: 0;
}

.hosting-type-panel[hidden] {
    display: none;
}

/* Hosting plans - centered three-column layout */
.hosting-plans-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    gap: 26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    box-sizing: border-box;
    align-items: stretch;
}

.hosting-plan-card {
    background: #fff;
    border: 1px solid var(--hosting-border);
    border-radius: 13px;
    box-shadow: 0 8px 26px rgba(11, 31, 58, .045);
    min-width: 0;
    width: 100%;
    padding: 44px 25px 28px;
    position: relative;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Default card appearance */
.hosting-plan-card {
    border: 1px solid var(--hosting-border);
    box-shadow: 0 8px 26px rgba(11, 31, 58, .045);
    transition: border-color .2s ease,
                box-shadow .2s ease,
                transform .2s ease;
}

/* Remove permanent featured blue border */
.hosting-plan-card-featured {
    border-color: var(--hosting-border);
    box-shadow: 0 8px 26px rgba(11, 31, 58, .045);
}

.hosting-recommended-banner {
    background: var(--hosting-navy);
    border-radius: 12px 12px 0 0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    left: 0;
    letter-spacing: .13em;
    padding: 8px 12px;
    position: absolute;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    top: 0;
}

/* Blue border only on the card being hovered */
.hosting-plan-card:hover {
    border-color: var(--hosting-blue);
    box-shadow: 0 15px 34px rgba(11, 31, 58, .10);
    transform: translateY(-3px);
}

.hosting-plan-label {
    color: var(--hosting-muted);
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hosting-plan-icon {
    align-items: center;
    background: #edf7fd;
    border-radius: 9px;
    color: var(--hosting-blue-dark);
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    width: 32px;
    flex-shrink: 0;
}

.hosting-plan-icon svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 22px;
}

.hosting-plan-card h2,
.hosting-plan-card h3 {
    color: var(--hosting-navy);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.03em;
    margin: 0 0 11px;
}

.hosting-saving {
    align-items: center;
    display: flex;
    gap: 9px;
    margin-bottom: 4px;
}

.hosting-saving span {
    background: #fff2d9;
    border-radius: 4px;
    color: #845300;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 7px;
}

.hosting-saving s {
    color: #778393;
    font-size: 12px;
}

.hosting-price {
    color: var(--hosting-navy);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.1;
    margin: 0;
}

.hosting-currency {
    font-size: 23px;
    margin-right: 2px;
    vertical-align: 5px;
}

.hosting-price-unit {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    margin-left: 3px;
}

.hosting-price-note {
    color: var(--hosting-muted);
    font-size: 12px;
    margin: 5px 0 17px;
}

.hosting-button {
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    min-height: 46px;
    padding: 11px 16px;
    text-decoration: none;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hosting-button:hover {
    transform: translateY(-1px);
}

.hosting-button-primary {
    background: var(--hosting-navy);
    box-shadow: 0 6px 13px rgba(11, 31, 58, .12);
    color: #fff;
}

.hosting-button-primary:hover,
.hosting-button-primary:focus-visible {
    background: var(--hosting-blue-dark);
    color: #fff;
}

.hosting-select-plan {
    gap: 9px;
    justify-content: space-between;
    width: 100%;
}

.hosting-select-plan span {
    font-size: 17px;
}

.hosting-feature-list {
    display: grid;
    gap: 11px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.hosting-feature-list li {
    align-items: flex-start;
    color: #33465a;
    display: flex;
    font-size: 13px;
    gap: 9px;
    line-height: 1.5;
}

.hosting-feature-check {
    align-items: center;
    background: #eaf7f2;
    border-radius: 50%;
    color: #16845e;
    display: inline-flex;
    flex: 0 0 17px;
    font-size: 10px;
    font-weight: 700;
    height: 17px;
    justify-content: center;
    margin-top: 1px;
    width: 17px;
}

.hosting-disclaimer {
    color: #748294;
    font-size: 12px;
    margin: 17px 0 0;
    text-align: center;
}

.hosting-heading-compact {
    margin-bottom: 25px;
}

.hosting-back-button,
.hosting-text-button {
    background: none;
    border: 0;
    color: var(--hosting-blue-dark);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 0;
    text-decoration: none;
}

.hosting-back-button {
    margin: 0 0 18px;
}

.hosting-back-button {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.hosting-back-button svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .18s ease;
    width: 18px;
}

.hosting-back-button:hover svg {
    transform: translateX(-3px);
}

.hosting-review-layout,
.hosting-payment-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, .8fr);
}

.hosting-review-card,
.hosting-order-summary,
.hosting-qr-card,
.hosting-scan-guide {
    background: #fff;
    border: 1px solid var(--hosting-border);
    border-radius: 14px;
    box-shadow: 0 10px 34px rgba(11, 31, 58, .055);
}

.hosting-review-card {
    align-items: start;
    display: grid;
    gap: 19px;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    padding: 26px;
}

.hosting-review-icon {
    align-items: center;
    background: var(--hosting-soft);
    border-radius: 12px;
    display: flex;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.hosting-review-icon svg {
    fill: none;
    height: 42px;
    stroke: var(--hosting-navy);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
    width: 42px;
}

.hosting-review-main h2 {
    color: var(--hosting-navy);
    font-size: 22px;
    font-weight: 700;
    margin: 4px 0 3px;
}

.hosting-review-term,
.hosting-review-price span {
    color: var(--hosting-muted);
    font-size: 13px;
    margin: 0;
}

.hosting-review-term span {
    color: var(--hosting-ink);
    font-weight: 600;
}

.hosting-term-picker {
    border: 0;
    margin: 15px 0 0;
    min-width: 0;
    padding: 0;
}

.hosting-term-picker legend {
    color: var(--hosting-muted);
    float: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    margin: 0 0 8px;
    width: auto;
}

.hosting-term-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hosting-term-option {
    cursor: pointer;
    margin: 0;
    position: relative;
}

.hosting-term-option input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.hosting-term-option span {
    align-items: center;
    background: #f1f6fa;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #44566a;
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    min-height: 34px;
    padding: 6px 11px;
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.hosting-term-option input:checked + span {
    background: #e8f5fd;
    border-color: var(--hosting-blue);
    color: var(--hosting-navy);
}

.hosting-term-option input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(23, 144, 226, .2);
}

.hosting-term-option:hover span {
    border-color: #a8d5f3;
}

.hosting-review-features {
    color: #44566a;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 17px 0 0;
    padding: 0;
}

.hosting-review-features li {
    background: #f1f6fa;
    border-radius: 6px;
    font-size: 11px;
    padding: 6px 9px;
}

.hosting-review-price {
    display: grid;
    gap: 5px;
    justify-items: end;
    padding-top: 7px;
    white-space: nowrap;
}

.hosting-review-price strong {
    color: #087d87;
    font-size: 17px;
}

.hosting-order-summary {
    background: #f2f6f9;
    padding: 25px;
}

.hosting-summary-kicker {
    color: var(--hosting-blue-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hosting-order-summary h2,
.hosting-scan-guide h2 {
    color: var(--hosting-navy);
    font-size: 23px;
    font-weight: 700;
    margin: 7px 0 21px;
}

.hosting-summary-line,
.hosting-summary-total {
    align-items: center;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    margin: 0 0 13px;
}

.hosting-summary-line span,
.hosting-summary-total span {
    color: var(--hosting-muted);
}

.hosting-summary-line strong {
    color: var(--hosting-ink);
    font-weight: 600;
}

.hosting-summary-total {
    border-top: 1px solid #d7e0e7;
    color: var(--hosting-navy);
    font-size: 15px;
    font-weight: 700;
    margin: 18px 0 8px;
    padding-top: 17px;
}

.hosting-summary-total strong {
    color: #087d87;
    font-size: 21px;
}

.hosting-summary-tax {
    color: var(--hosting-muted);
    font-size: 11px;
    line-height: 1.5;
    margin: 0 0 17px;
}

.hosting-button-wide {
    gap: 10px;
    width: 100%;
}

.hosting-secure-note {
    color: #738295;
    font-size: 11px;
    margin: 13px 0 0;
    text-align: center;
}

.hosting-payment-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    margin: 0 auto;
    max-width: 990px;
}

.hosting-qr-card,
.hosting-scan-guide {
    padding: 25px;
}

.hosting-qr-card-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.hosting-qr-card-heading h2 {
    color: var(--hosting-navy);
    font-size: 23px;
    font-weight: 700;
    margin: 5px 0 0;
}

.hosting-countdown {
    align-items: center;
    background: #fff4e2;
    border-radius: 20px;
    color: #875700;
    display: inline-flex;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    gap: 8px;
    padding: 9px 12px;
}

.hosting-countdown-dot {
    height: 7px;
    width: 7px;
}

.hosting-qr-wrap {
    align-items: center;
    background: #f5f8fb;
    border: 1px dashed #d4e0e9;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    margin: 22px 0 16px;
    min-height: 270px;
    padding: 18px;
    position: relative;
}

.hosting-qr-code {
    align-items: center;
    background: #fff;
    border: 1px solid #e3eaf0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    min-height: 234px;
    min-width: 234px;
    padding: 7px;
}

.hosting-qr-code img,
.hosting-qr-code canvas {
    display: block;
    max-height: 220px;
    max-width: 220px;
}

.hosting-qr-load-error {
    color: #884b00;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    max-width: 190px;
    text-align: center;
}

.hosting-qr-expired {
    align-items: center;
    background: rgba(245, 248, 251, .97);
    display: flex;
    flex-direction: column;
    gap: 10px;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: absolute;
    text-align: center;
}

.hosting-qr-expired[hidden] {
    display: none;
}

.hosting-expired-icon {
    align-items: center;
    background: #e5f3fc;
    border-radius: 50%;
    color: var(--hosting-blue-dark);
    display: flex;
    font-size: 28px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.hosting-qr-expired strong {
    color: var(--hosting-navy);
    font-size: 17px;
}

.hosting-qr-expired > span:not(.hosting-expired-icon) {
    color: var(--hosting-muted);
    font-size: 13px;
}

.hosting-amount-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.hosting-amount-row span {
    color: var(--hosting-muted);
    font-size: 13px;
}

.hosting-amount-row strong {
    color: var(--hosting-navy);
    font-size: 20px;
}

.hosting-qr-note {
    align-items: flex-start;
    background: #fff8e9;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    margin-top: 17px;
    padding: 11px 12px;
}

.hosting-qr-note > span {
    align-items: center;
    background: #ffe5b5;
    border-radius: 50%;
    color: #76501b;
    display: inline-flex;
    flex: 0 0 18px;
    font-size: 11px;
    font-weight: 700;
    height: 18px;
    justify-content: center;
    margin-top: 1px;
    width: 18px;
}

.hosting-qr-note p {
    color: #6e5b3c;
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
}

.hosting-scan-guide {
    background: linear-gradient(160deg, #f2f9fe 0%, #fff 72%);
}

.hosting-guide-icon {
    align-items: center;
    background: #e3f3fd;
    border-radius: 13px;
    display: inline-flex;
    height: 60px;
    justify-content: center;
    width: 60px;
}

.hosting-guide-icon svg {
    fill: none;
    height: 34px;
    stroke: var(--hosting-blue-dark);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
    width: 34px;
}

.hosting-scan-guide h2 {
    margin: 17px 0 21px;
}

.hosting-scan-steps {
    display: grid;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hosting-scan-steps li {
    align-items: flex-start;
    display: flex;
    gap: 12px;
}

.hosting-scan-steps li > span {
    align-items: center;
    background: #e8f4fc;
    border-radius: 50%;
    color: var(--hosting-blue-dark);
    display: inline-flex;
    flex: 0 0 27px;
    font-size: 12px;
    font-weight: 700;
    height: 27px;
    justify-content: center;
    width: 27px;
}

.hosting-scan-steps p {
    color: #44566a;
    font-size: 13px;
    line-height: 1.55;
    margin: 3px 0 0;
}

.hosting-order-reference {
    border-top: 1px solid var(--hosting-border);
    display: grid;
    gap: 5px;
    margin-top: 25px;
    padding-top: 17px;
}

.hosting-order-reference span {
    color: var(--hosting-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.hosting-order-reference strong {
    color: var(--hosting-navy);
    font-size: 15px;
    letter-spacing: .08em;
}

.hosting-text-button {
    display: inline-block;
    margin-top: 17px;
}

.hosting-page button:focus-visible,
.hosting-page a:focus-visible {
    outline: 3px solid rgba(23, 144, 226, .33);
    outline-offset: 3px;
}

.hosting-screen[hidden] {
    display: none !important;
}

/* Tablet */
@media (max-width: 1050px) {
    .hosting-shell {
        max-width: 900px;
    }

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

    .hosting-plan-card {
        padding: 23px;
    }
}

@media (max-width: 760px) {
    .hosting-page {
        padding: 42px 16px 60px;
    }

    .hosting-banner h1,
    .hosting-banner h5 {
        max-width: 88%;
    }

    .hosting-progress {
        margin-bottom: 31px;
        max-width: 460px;
    }

    .hosting-progress-step {
        font-size: 11px;
        gap: 6px;
    }

    .hosting-progress-number {
        height: 27px;
        width: 27px;
    }

    .hosting-progress-line {
        margin: 0 8px;
    }

    .hosting-heading {
        margin-bottom: 25px;
    }

    .hosting-heading > p {
        font-size: 14px;
    }

    .hosting-review-layout,
    .hosting-payment-layout {
        grid-template-columns: 1fr;
    }

    .hosting-review-card {
        grid-template-columns: 58px minmax(0, 1fr);
        padding: 20px;
    }

    .hosting-review-icon {
        height: 58px;
        width: 58px;
    }

    .hosting-review-icon svg {
        height: 34px;
        width: 34px;
    }

    .hosting-review-price {
        border-top: 1px solid var(--hosting-border);
        grid-column: 1 / -1;
        justify-items: start;
        padding-top: 14px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .hosting-page {
        padding-left: 13px;
        padding-right: 13px;
    }

    .hosting-banner:before {
        background: linear-gradient(90deg, rgba(1, 13, 29, .74), rgba(1, 13, 29, .25));
    }

    .hosting-banner h1,
    .hosting-banner h5 {
        max-width: 94%;
    }

    .hosting-shell {
        max-width: 100%;
    }

    .hosting-type-selector {
        padding: 20px 15px;
    }

    .hosting-type-selector-label {
        font-size: 18px;
    }

    .hosting-type-tabs {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .hosting-type-tab {
        min-height: 54px;
        width: 100%;
    }

    .hosting-plans-grid {
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .hosting-plan-card {
        padding: 21px;
    }

    .hosting-plan-card h2 {
        font-size: 23px;
    }

    .hosting-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hosting-feature-list li {
        font-size: 11px;
    }

    .hosting-progress-step {
        align-items: center;
        flex-direction: column;
        gap: 4px;
    }

    .hosting-progress-line {
        margin: -14px 7px 0;
    }

    .hosting-qr-card,
    .hosting-scan-guide,
    .hosting-order-summary {
        padding: 19px;
    }

    .hosting-qr-card-heading h2 {
        font-size: 20px;
    }

    .hosting-countdown {
        font-size: 12px;
        padding: 8px 9px;
    }

    .hosting-qr-wrap {
        min-height: 250px;
    }

    .hosting-qr-code {
        min-height: 220px;
        min-width: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hosting-page *,
    .hosting-page *::before,
    .hosting-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Payment success */
.hosting-payment-success {
    background: #fff;
    border: 1px solid var(--hosting-border);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(11, 31, 58, .07);
    margin: 0 auto;
    max-width: 990px;
    padding: 34px;
}

.hosting-payment-layout[hidden] {
    display: none !important;
}

.hosting-payment-success[hidden] {
    display: none;
}

.hosting-success-heading {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.hosting-success-icon {
    align-items: center;
    background: #e8f8ef;
    border-radius: 50%;
    display: inline-flex;
    height: 58px;
    justify-content: center;
    margin-bottom: 15px;
    width: 58px;
}

.hosting-success-icon svg {
    fill: none;
    height: 30px;
    stroke: #16834b;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    width: 30px;
}

.hosting-success-label {
    color: #16834b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hosting-success-heading h2 {
    color: var(--hosting-navy);
    font-size: clamp(25px, 3vw, 32px);
    margin: 7px 0 8px;
}

/* Keep programmatic heading focus for payment confirmation without showing a ring. */
.hosting-success-heading h2:focus {
    outline: none;
}

.hosting-success-heading p {
    color: var(--hosting-muted);
    font-size: 14px;
    margin: 0;
}

.hosting-success-details {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.hosting-success-detail-card {
    background: #fbfcfe;
    border: 1px solid var(--hosting-border);
    border-radius: 11px;
    padding: 19px;
}

.hosting-success-detail-card h3 {
    color: var(--hosting-navy);
    font-size: 15px;
    margin: 0 0 14px;
}

.hosting-success-row {
    align-items: flex-start;
    border-top: 1px solid #e9eef3;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 10px 0;
}

.hosting-success-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.hosting-success-row:last-child {
    padding-bottom: 0;
}

.hosting-success-row span {
    color: var(--hosting-muted);
    font-size: 12px;
}

.hosting-success-row strong {
    color: var(--hosting-navy);
    font-size: 12px;
    text-align: right;
}

.hosting-success-row .hosting-success-status {
    color: #16834b;
}

.hosting-success-disclaimer {
    color: var(--hosting-muted);
    font-size: 12px;
    margin: 20px 0 0;
    text-align: center;
}

.hosting-success-again {
    display: flex;
    margin: 20px auto 0;
}

@media (max-width: 680px) {
    .hosting-payment-success {
        padding: 24px 18px;
    }

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

    .hosting-success-detail-card {
        padding: 16px;
    }
}

/* Policy copy is kept in templates and shown only in the policy dialog. */
.hosting-policy-copy {
    color: #44566a;
    font-size: 13px;
    line-height: 1.65;
}

.hosting-policy-copy p {
    margin: 0 0 11px;
}

.hosting-policy-copy p:last-child {
    margin-bottom: 0;
}

.hosting-policy-copy ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 19px;
}

.hosting-policy-copy li {
    padding-left: 2px;
}

.hosting-policy-copy a {
    color: var(--hosting-blue-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Checkout policy review and consent */
.hosting-consent-controls {
    background: #fff;
    border: 1px solid var(--hosting-border);
    border-radius: 10px;
    display: grid;
    gap: 12px;
    margin: 0 0 17px;
    padding: 14px;
}

.hosting-privacy-note {
    color: var(--hosting-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.hosting-consent-row {
    align-items: center;
    border-top: 1px solid #edf1f5;
    display: grid;
    gap: 6px 9px;
    grid-template-columns: 17px minmax(0, 1fr);
    padding-top: 11px;
}

.hosting-consent-row input {
    accent-color: var(--hosting-blue);
    height: 17px;
    margin: 0;
    width: 17px;
}

.hosting-consent-row label {
    color: var(--hosting-ink);
    cursor: pointer;
    font-size: 12.5px;
    line-height: 1.5;
}

.hosting-inline-policy-link {
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: var(--hosting-blue-dark);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hosting-inline-policy-link:hover {
    color: var(--hosting-navy);
}

.hosting-inline-policy-link:focus-visible,
.hosting-consent-row input:focus-visible {
    outline: 3px solid rgba(23, 144, 226, .3);
    outline-offset: 2px;
}

.hosting-consent-row .hosting-inline-policy-link {
    grid-column: 2;
    justify-self: start;
}

.hosting-button:disabled,
.hosting-button-primary:disabled:hover {
    background: #9aa8b5;
    box-shadow: none;
    color: #fff;
    cursor: not-allowed;
    transform: none;
}

.hosting-policy-dialog {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(11, 31, 58, .24);
    color: var(--hosting-ink);
    inset: 50% auto auto 50%;
    margin: 0;
    max-height: min(88vh, 760px);
    max-width: min(680px, calc(100% - 32px));
    overflow: hidden;
    padding: 0;
    position: fixed;
    transform: translate(-50%, -50%);
    width: 680px;
}

.hosting-policy-dialog::backdrop {
    background: rgba(11, 31, 58, .58);
    backdrop-filter: blur(2px);
}

.hosting-policy-dialog-header {
    align-items: center;
    background: #f2f8fc;
    border-bottom: 1px solid var(--hosting-border);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 18px 22px;
}

.hosting-policy-dialog-header h2 {
    color: var(--hosting-navy);
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
}

.hosting-policy-dialog-close {
    align-items: center;
    background: #fff;
    border: 1px solid var(--hosting-border);
    border-radius: 50%;
    color: var(--hosting-navy);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 22px;
    height: 34px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 34px;
}

.hosting-policy-dialog-content {
    max-height: calc(min(88vh, 760px) - 72px);
    overflow-y: auto;
    padding: 22px 25px 25px;
}

@media (max-width: 520px) {
    .hosting-consent-controls {
        padding: 12px;
    }

    .hosting-policy-dialog-header {
        padding: 15px 17px;
    }

    .hosting-policy-dialog-header h2 {
        font-size: 18px;
    }

    .hosting-policy-dialog-content {
        padding: 18px 17px 20px;
    }
}
