.pricing-page [hidden] { display: none !important; }
.pricing-page .home-nav { border-bottom: 1px solid var(--home-line); }
.pricing-page .home-nav-links [aria-current=page] { color: var(--home-fg); font-weight: 600; }
.plans-hero { padding: 82px 0 68px; text-align: center; border-bottom: 1px solid var(--home-line); background: radial-gradient(65% 100% at 0 100%,var(--home-a),transparent 80%),radial-gradient(60% 90% at 100% 100%,var(--home-b),transparent 80%),var(--home-bg); }
.plans-hero h1 { max-width: 930px; margin: 0 auto 24px; font-size: clamp(38px,5vw,62px); font-weight: 600; letter-spacing: -.05em; line-height: 1.1; text-wrap: balance; }
.plans-hero .home-wrap > p:not(.home-hero-badge) { max-width: 640px; margin: 0 auto 28px; color: var(--home-muted); font-size: 17px; line-height: 1.75; text-wrap: balance; }
.plans-section { padding-top: 64px; scroll-margin-top: 8px; }
.plans-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 30px; }
.plans-section-heading h2 { margin: 0; font-size: 36px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; text-wrap: balance; }
.plans-section-heading .home-eyebrow { margin-bottom: 12px; }
.plans-section-heading > p { max-width: 370px; margin: 0; color: var(--home-muted); font-size: 15px; line-height: 1.75; }
.plans-billing-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.plans-billing-row .home-billing { margin: 0; }
.plans-billing-row > p { margin: 0; color: var(--home-muted); font-size: 12px; line-height: 1.75; }
.plans-saving { padding: 6px 10px; border: 1px solid var(--home-line); border-radius: 99px; background: var(--home-d); font-size: 12px; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(235px,1fr)); align-items: start; gap: 18px; }
.plan-card { min-width: 0; padding: 24px 22px 18px; border: 1px solid var(--home-line); border-radius: 15px; background: var(--home-card); }
.plan-card-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan-card-heading h3 { margin: 0; font-size: 23px; font-weight: 550; letter-spacing: -.035em; }
.plan-card-heading > span { color: var(--home-muted); font-size: 12px; }
.plan-card-price { margin-top: 26px; font-size: 31px; font-weight: 550; letter-spacing: -.04em; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.plan-card-period { margin: 7px 0 0; font-size: 13px; color: var(--home-muted); }
.plan-card-saving { min-height: 40px; margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--home-muted); }
.plan-card-limits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 18px 0 0; padding-top: 20px; border-top: 1px solid var(--home-line); }
.plan-card-limits dt { min-height: 38px; font-size: 12px; line-height: 1.6; color: var(--home-muted); }
.plan-card-limits dd { margin: 6px 0 0; font-size: 23px; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan-card-trial { margin: 18px 0; font-size: 13px; color: var(--home-muted); }
.plan-card > .home-pill { width: 100%; border-radius: 10px; }
.plan-highlights-title { margin: 25px 0 14px; font-size: 13px; font-weight: 600; }
.plan-highlights { display: grid; gap: 11px; min-height: 170px; margin: 0 0 20px; padding: 0; list-style: none; }
.plan-highlights li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.65; color: var(--home-muted); }
.plan-highlights li::before { content: '✓'; flex-shrink: 0; color: var(--home-fg); font-size: 12px; }
.plan-full-features { padding-top: 4px; border-top: 1px solid var(--home-line); }
.plan-full-features summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 46px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 500; }
.plan-full-features summary::-webkit-details-marker { display: none; }
.plan-full-features summary > span { color: var(--home-muted); font-size: 20px; }
.plan-full-features[open] summary > span { transform: rotate(45deg); }
.plan-full-features summary:focus-visible { outline: 2px solid var(--home-c); outline-offset: 4px; border-radius: 3px; }
.plan-full-features h4 { margin: 18px 0 9px; font-size: 13px; font-weight: 600; }
.plan-full-features ul { margin: 0; padding-left: 18px; color: var(--home-muted); font-size: 13px; line-height: 1.8; }
.plans-note { margin: 26px 0 0; text-align: center; color: var(--home-muted); font-size: 14px; line-height: 1.75; }
.plans-note a { color: var(--home-fg); text-decoration: underline; text-underline-offset: 4px; }
.plans-empty { padding: 36px; border: 1px solid var(--home-line); border-radius: 16px; background: var(--home-soft); }
.plans-empty h3 { margin: 0 0 12px; font-size: 26px; font-weight: 500; }
.plans-empty p { margin: 0 0 24px; color: var(--home-muted); font-size: 15px; }
.plans-common { padding-top: 76px; }
.plans-common > h2 { margin: 0 0 25px; font-size: 28px; font-weight: 500; letter-spacing: -.035em; }
.plans-common-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 16px; }
.plans-common-grid > div { display: flex; align-items: center; gap: 13px; padding: 22px; border: 1px solid var(--home-line); border-radius: 13px; background: var(--home-soft); }
.plans-common-grid > div > span { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--home-brand-gradient); color: var(--home-brand-ink); font-size: 13px; }
.plans-common-grid h3 { margin: 0; font-size: 15px; font-weight: 550; }
.plans-comparison { padding-top: 80px; scroll-margin-top: 8px; }
.plans-comparison-controls { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.plans-comparison-controls > p { display: grid; gap: 8px; margin: 0; color: var(--home-muted); font-size: 13px; line-height: 1.75; }
.plans-comparison-controls > p b { display: inline-block; margin: 0 5px 0 16px; color: var(--home-fg); font-weight: 500; }
.plans-comparison-controls > p b:first-child { margin-left: 0; }
.plans-comparison-controls label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.plans-comparison-controls input { width: 18px; height: 18px; margin: 0; accent-color: var(--home-brand-start); }
.plans-table-scroll { position: relative; max-height: 70dvh; overflow: auto; border: 1px solid var(--home-line); border-radius: 14px; scrollbar-width: thin; }
.plans-table-scroll:focus-visible { outline: 2px solid var(--home-c); outline-offset: 4px; }
.plans-table { width: 100%; border-spacing: 0; border-collapse: separate; background: var(--home-card); font-size: 14px; }
.plans-table th, .plans-table td { padding: 16px 18px; min-width: 155px; border-bottom: 1px solid var(--home-line); line-height: 1.6; }
.plans-table td { text-align: center; font-variant-numeric: tabular-nums; }
.plans-table thead th { position: sticky; top: 0; z-index: 3; background: var(--home-card); text-align: center; font-size: 16px; font-weight: 600; }
.plans-table thead th > strong { display: block; margin-bottom: 7px; font-weight: 600; }
.plans-table thead th > span { font-size: 12px; font-weight: 400; color: var(--home-muted); white-space: nowrap; }
.plans-table thead th:first-child { left: 0; z-index: 4; text-align: left; }
.plans-table tbody th[scope=row] { position: sticky; left: 0; z-index: 1; min-width: 225px; max-width: 260px; background: var(--home-card); font-size: 14px; font-weight: 450; text-align: left; }
.plans-table-group th { padding: 12px 18px; background: var(--home-soft); text-align: left; font-size: 13px; font-weight: 600; }
.plan-inclusion { display: inline-grid; place-items: center; width: 26px; height: 26px; color: var(--home-muted); }
.plan-inclusion.is-included { border-radius: 50%; background: var(--home-d); color: var(--home-fg); }
.plans-custom { padding-top: 80px; }
.plans-custom-inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 38px; border: 1px solid var(--home-line); border-radius: 16px; background: linear-gradient(135deg,var(--home-soft),var(--home-d)); }
.plans-custom-inner h2 { margin: 0 0 16px; font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.plans-custom-inner p { max-width: 58ch; margin: 0; color: var(--home-muted); font-size: 15px; line-height: 1.75; }
.plans-custom-actions { display: flex; align-items: center; flex-direction: column; flex-shrink: 0; }
@media (max-width: 1050px) {
    .plans-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .plan-highlights { min-height: 150px; }
    .plans-custom-inner { gap: 30px; padding: 30px; }
}
@media (max-width: 760px) {
    .plans-hero { padding: 60px 0 50px; }
    .plans-hero h1 { font-size: clamp(36px,6.5vw,48px); }
    .plans-hero .home-wrap > p:not(.home-hero-badge) { font-size: 16px; }
    .plans-section { padding-top: 48px; }
    .plans-section-heading { flex-direction: column; align-items: start; gap: 18px; }
    .plans-section-heading h2 { font-size: 31px; }
    .plans-section-heading > p { max-width: 60ch; }
    .plans-custom-inner { flex-direction: column; align-items: start; }
    .plans-custom-actions { align-items: start; }
    .plans-table th, .plans-table td { padding: 14px 12px; min-width: 140px; }
    .plans-table tbody th[scope=row], .plans-table thead th:first-child { min-width: 150px; max-width: 150px; }
}
@media (max-width: 600px) {
    .plans-hero h1 br { display: none; }
    .plans-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .plan-card { padding: 25px 23px 18px; }
    .plan-card-price { font-size: 35px; }
    .plan-highlights { min-height: 0; }
    .plan-card-saving { min-height: 0; }
    .plans-billing-row { align-items: start; gap: 14px; }
    .plans-common, .plans-comparison, .plans-custom { padding-top: 56px; }
    .plans-common-grid { grid-template-columns: minmax(0,1fr); }
    .plans-custom-inner { padding: 26px; }
    .plans-custom-inner h2 { font-size: 29px; }
}
