html.pricing-lock,
html.pricing-lock body.pricing-page {
    height: 100%;
    overflow: hidden;
}
.pricing-page {
    --home-left-shift: 0px;
    background: #F8F6FF;
    display: flex;
    flex-direction: column;
}
.pricing-page .header-inner {
    max-width: 1120px;
    padding: 12px 28px;
}
.pricing-page .brand,
.pricing-page .header-actions {
    margin: 0;
}
.pricing-page .nav-links a.active {
    color: #4338CA;
    box-shadow: inset 0 -2px 0 #5850EC;
    padding-bottom: 4px;
}

.pricing {
    flex: 1 1 auto;
    min-height: 0;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 28px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pricing-hero {
    text-align: center;
    flex: 0 0 auto;
    margin-bottom: 16px;
}
.pricing-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    margin-bottom: 8px;
    padding: 4px 10px;
}
.pricing-hero h1 {
    font-family: Sora, Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #1A1730;
}
.pricing-hero .lede {
    margin: 6px auto 14px;
    max-width: 36rem;
    color: #6B6880;
    font-size: 0.9rem;
}
.preview-note {
    margin: 8px 0 0;
    color: #8A8598;
    font-size: 0.75rem;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #E4E1F2;
    box-shadow: 0 8px 20px rgba(30, 27, 46, 0.05);
}
.billing-toggle button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #3D3A4E;
    font: inherit;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 7px 18px;
    border-radius: 999px;
    cursor: pointer;
}
.billing-toggle button.is-on {
    background: #5850EC;
    color: #fff;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: stretch;
    min-height: 0;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #EEEAF8;
    border-radius: 18px;
    padding: 18px 20px 16px;
    box-shadow: 0 14px 36px rgba(30, 27, 46, 0.07);
}
.plan h2 {
    font-family: Sora, Inter, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1E1B2E;
}
.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 8px 0 4px;
    color: #1A1730;
}
.amount-wrap {
    display: inline-flex;
    align-items: flex-start;
    font-family: Sora, Inter, sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.9;
}
.currency {
    font-size: 1rem;
    margin-top: 3px;
    margin-right: 2px;
}
.amount { font-size: 2rem; }
.period {
    color: #8A8598;
    font-size: 0.85rem;
    font-weight: 500;
}
.plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 28px;
}
.plan-desc {
    color: #9A96AB;
    font-size: 0.8rem;
    line-height: 1.4;
    min-height: 2.8em;
    margin: 0;
}
.plan-rule {
    border: 0;
    border-top: 1px solid #EEEAF6;
    margin: 12px 0 6px;
    width: 100%;
}
.plan-cta {
    width: 100%;
    height: 40px;
    border-radius: 12px;
    margin-top: auto;
    margin-bottom: 0;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.plan-cta.plan-go {
    background: #F3F0FF;
    color: #6E66A8;
}
.plan-cta.is-soon {
    pointer-events: none;
    cursor: default;
    background: #F4F3F8;
    color: #B7B3C7;
}
.plan-popular {
    border-color: #C4B5FD;
    box-shadow: 0 18px 40px rgba(88, 80, 236, 0.16);
}
.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    background: #6D5EF5;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.popular-badge i { font-size: 0.6rem; }

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    flex: 1;
}
.features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    color: #3D3A4E;
    font-size: 0.8rem;
    line-height: 1.35;
}
.features li > span { min-width: 0; }
.features .cap-unit { white-space: nowrap; }
.features i {
    width: 16px;
    flex: 0 0 16px;
    margin-top: 1px;
    font-size: 0.9rem;
    font-weight: 700;
}
.ok-green { color: #22C55E; }
.ok-purple { color: #5850EC; }
.features .off { color: #9A96AB; }
.features .no { color: #F472B6; }

.trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    gap: 0;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    color: #5B5670;
    font-size: 0.8rem;
    font-weight: 500;
}
.trust-row li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    white-space: nowrap;
}
.trust-row li + li {
    border-left: 1px solid #D9D4EA;
}
.trust-row i { color: #5850EC; font-weight: 700; }

@media (max-height: 760px) {
    .pricing-page .header-inner { padding-top: 8px; padding-bottom: 8px; }
    .pricing { padding-top: 4px; padding-bottom: 10px; }
    .pricing-hero { margin-bottom: 10px; }
    .pricing-hero .lede { margin-bottom: 10px; }
    .plan { padding: 14px 16px 12px; }
    .plan-cta { height: 34px; }
    .trust-row { margin-top: 10px; }
}

@media (max-width: 900px) {
    html.pricing-lock,
    html.pricing-lock body.pricing-page {
        height: auto;
        overflow: auto;
    }
    .pricing-page .nav-links { display: none; }
    .pricing { justify-content: flex-start; padding-bottom: 28px; }
    .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .trust-row { flex-direction: column; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
    .trust-row li { padding: 0; }
    .trust-row li + li { border-left: 0; }
}
