.hm-pricing-page {
    margin: 0;
    background:
        radial-gradient(circle at 1px 1px, rgba(50, 158, 255, .07) 1px, transparent 0) 0 0 / 24px 24px,
        #f8fbff;
    color: var(--ink, #12263a);
}

.hm-pricing-shell {
    min-height: 100vh;
}

.hm-pricing-header {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hm-pricing-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
}

.hm-pricing-brand > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hm-pricing-brand strong {
    font-size: 15px;
}

.hm-pricing-brand small {
    color: #6d7f90;
    font-size: 10px;
}

.hm-pricing-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #329eff;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(50, 158, 255, .18);
}

.hm-pricing-back {
    color: #1265b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.hm-pricing-main {
    width: min(1040px, calc(100% - 32px));
    margin: 28px auto 80px;
}

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

.hm-pricing-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #1265b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.hm-pricing-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
    letter-spacing: -.045em;
}

.hm-pricing-hero p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #4a5b6e;
    font-size: 15px;
    line-height: 1.8;
}

.hm-pricing-alert,
.hm-current-plan {
    max-width: 760px;
    margin: 0 auto 16px;
    padding: 13px 16px;
    border: 1px solid #d6eaff;
    border-radius: 14px;
    background: #fff;
    font-size: 13px;
}

.hm-pricing-alert.is-success {
    border-color: rgba(50,158,255,.25);
    background: #f3f9ff;
}

.hm-pricing-alert.is-error {
    border-color: rgba(224,112,42,.25);
    background: #fff8f3;
}

.hm-current-plan {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hm-current-plan span,
.hm-current-plan small {
    color: #617285;
}

.hm-current-plan strong {
    color: #1265b8;
}

.hm-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.hm-price-card {
    position: relative;
    padding: 30px;
    border: 1px solid #d6eaff;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(18, 101, 184, .08);
}

.hm-price-card.is-standard {
    border: 2px solid #329eff;
    box-shadow: 0 20px 52px rgba(50, 158, 255, .16);
}

.hm-standard-badge {
    position: absolute;
    top: -13px;
    left: 26px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #329eff;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.hm-price-card-head > span {
    color: #1265b8;
    font-size: 13px;
    font-weight: 800;
}

.hm-price-card h2 {
    margin: 8px 0 8px;
    font-size: 38px;
    letter-spacing: -.04em;
}

.hm-price-card h2 small {
    font-size: 14px;
    color: #617285;
}

.hm-price-card-head p {
    min-height: 50px;
    margin: 0;
    color: #4a5b6e;
    font-size: 13px;
    line-height: 1.7;
}

.hm-price-card ul {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.hm-price-card li {
    position: relative;
    padding-left: 24px;
    font-size: 13px;
    line-height: 1.55;
}

.hm-price-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #329eff;
    font-weight: 900;
}

.hm-price-card li small {
    color: #718296;
}

.hm-price-primary,
.hm-price-secondary,
.hm-price-current {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.hm-price-primary {
    border: 0;
    background: #ff8a3d;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(255, 138, 61, .22);
}

.hm-price-primary:hover {
    background: #e0702a;
}

.hm-price-primary:disabled {
    opacity: .55;
    cursor: default;
}

.hm-price-secondary {
    border: 1px solid #d6eaff;
    background: #f8fbff;
    color: #1265b8;
}

.hm-price-current {
    color: #617285;
    background: #f3f6f8;
}

.hm-price-current.is-standard {
    color: #1265b8;
    background: #eaf4ff;
}

.hm-standard-actions {
    display: grid;
    gap: 10px;
}

.hm-stripe-note {
    display: block;
    margin-top: 9px;
    color: #738397;
    line-height: 1.5;
}

.hm-retention-note {
    margin: 28px 0 0;
    padding: 26px 28px;
    border: 1px solid #d6eaff;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
}

.hm-retention-note h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.hm-retention-note p {
    margin: 0;
    color: #4a5b6e;
    font-size: 13px;
    line-height: 1.75;
}

.hm-paywall-inline {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid #d6eaff;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.hm-paywall-inline strong {
    font-size: 16px;
}

.hm-paywall-inline p {
    margin: 0;
    color: #4a5b6e;
    font-size: 12px;
    line-height: 1.6;
}

.hm-paywall-inline a,
.hm-target-upgrade-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 11px;
    background: #ff8a3d;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 720px) {
    .hm-pricing-main {
        margin-top: 18px;
    }

    .hm-pricing-grid {
        grid-template-columns: 1fr;
    }

    .hm-price-card {
        padding: 24px 20px;
    }

    .hm-pricing-hero h1 {
        font-size: 34px;
    }

    .hm-current-plan {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
