.pricing-page {
    overflow-x: clip;
    background: radial-gradient(ellipse at 85% 4%, rgba(244, 207, 50, 0.07), transparent 38rem), var(--bg);
}

.pricing-page :focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    z-index: 50;
    top: 8px;
    left: 20px;
    padding: 12px 18px;
    background: var(--yellow);
    color: var(--bg);
    transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }
.pricing-page .nav-links [aria-current="page"] { color: var(--yellow); }
.pricing-main { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.pricing-intro { padding: 76px 0 42px; }
.pricing-kicker { margin: 0 0 18px; color: var(--yellow); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; }
.pricing-intro h1 { margin: 0; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.08; font-weight: 900; letter-spacing: -0.045em; }
.pricing-intro h1 span { color: var(--yellow); }
.pricing-lede { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.pricing-jump-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; }
.pricing-jump-links a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.pricing-jump-links a:hover { color: var(--yellow); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr); gap: 20px; }
.plan-card { display: flex; flex-direction: column; padding: 30px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; }
.plan-pro { border-color: rgba(244, 207, 50, 0.55); background: linear-gradient(145deg, rgba(244, 207, 50, 0.04), transparent 70%), var(--bg-soft); }
.plan-label { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.plan-card h2 { margin: 0; font-size: 25px; line-height: 1.3; letter-spacing: -0.025em; }
.pro-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.pro-mark { color: var(--yellow); }
.plan-badge { padding: 7px 10px; border-radius: 6px; background: rgba(244, 207, 50, 0.12); color: var(--yellow); font-size: 10px; font-weight: 700; }
.free-price { margin: 25px 0 12px; font-size: 52px; font-weight: 800; line-height: 1.2; letter-spacing: -0.04em; }
.free-price span { color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.plan-description { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.plan-free .plan-description { margin-top: 0; }
.plan-highlights { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 13px; font-size: 12px; color: var(--muted); }
.plan-highlights li { position: relative; padding-left: 22px; }
.plan-highlights li::before { content: "\2713"; color: var(--mint); position: absolute; left: 0; }
.pro-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 28px; }
.price-option { padding: 0 14px; border-left: 1px solid var(--line); }
.price-option:first-child { padding-left: 0; border-left: 0; }
.price-option:last-child { padding-right: 0; }
.price-option h3 { margin: 0 0 10px; font-size: 12px; font-weight: 700; }
.price-amount { margin: 0; font-size: clamp(25px, 2.8vw, 34px); line-height: 1.3; font-weight: 800; letter-spacing: -0.04em; }
.price-lifetime .price-amount { color: var(--yellow); }
.price-period { margin: 4px 0 12px; color: var(--muted); font-size: 11px; }
.price-detail { margin: 0; min-height: 38px; color: var(--dim); font-size: 10px; line-height: 1.8; }
.plan-card .button { display: flex; width: 100%; justify-content: space-between; margin-top: auto; font-size: 13px; }
.plan-footnote { margin: 12px 0 0; color: var(--dim); font-size: 10px; text-align: center; }
.pricing-source { margin: 22px 0 0; color: var(--dim); font-size: 11px; line-height: 1.9; }
.pricing-source a, .feature-notes a, .pricing-faq a { text-underline-offset: 3px; }
.comparison-section, .pricing-faq { padding-top: 86px; scroll-margin-top: 24px; }
.pricing-section-heading { margin-bottom: 30px; }
.pricing-section-heading .pricing-kicker { margin-bottom: 12px; }
.pricing-section-heading h2, .pricing-close h2 { margin: 0; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -0.035em; }
.pricing-section-heading > p:last-child { max-width: 660px; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.comparison-table { width: 100%; table-layout: fixed; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; }
.feature-column { width: 48%; }
.comparison-table th, .comparison-table td { padding: 20px 24px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.comparison-table thead th { position: sticky; top: 0; z-index: 2; background: #151a24; font-size: 16px; font-weight: 800; }
.comparison-table thead th:first-child { border-radius: 13px 0 0 0; }
.comparison-table thead th:last-child { border-radius: 0 13px 0 0; }
.comparison-table .pro-column { color: var(--yellow); background: #252319; }
.comparison-table tbody th[scope="row"] { font-weight: 500; }
.comparison-table td { color: var(--muted); font-size: 13px; }
.comparison-table tbody td:last-child { background: rgba(244, 207, 50, 0.035); color: var(--text); }
.comparison-table small { display: block; margin-top: 6px; color: var(--dim); font-size: 11px; font-weight: 400; line-height: 1.7; }
.comparison-table .comparison-group th { padding-top: 13px; padding-bottom: 13px; background: var(--bg-soft); color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: 0.025em; }
.comparison-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.feature-notes { margin-top: 22px; color: var(--dim); font-size: 11px; line-height: 1.9; }
.feature-notes p { margin: 10px 0 0; }
.feature-notes strong { color: var(--muted); }
.pricing-faq { max-width: 820px; }
.pricing-faq details { border-top: 1px solid var(--line); }
.pricing-faq details:last-child { border-bottom: 1px solid var(--line); }
.pricing-faq summary { position: relative; padding: 23px 36px 23px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; }
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after { content: "+"; position: absolute; right: 4px; top: 19px; font-size: 24px; color: var(--yellow); font-weight: 400; }
.pricing-faq details[open] summary::after { content: "\2212"; }
.pricing-faq details > div { padding: 0 32px 20px 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.pricing-faq details p { margin: 0 0 12px; }
.pricing-faq details p:last-child { margin-bottom: 0; }
.pricing-close { margin: 84px 0 66px; padding: 36px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.pricing-close .pricing-kicker { margin-bottom: 12px; }
.pricing-close h2 { font-size: 28px; }
.pricing-close p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.pricing-close .button { flex-shrink: 0; gap: 20px; font-size: 13px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
    .plan-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 14px; }
    .plan-card { padding: 24px; }
    .pro-prices { gap: 18px 0; }
    .price-option { padding-inline: 10px; }
    .price-amount { font-size: 26px; }
    .plan-badge { font-size: 10px; }
}

@media (max-width: 680px) {
    .pricing-page .site-header { flex-wrap: wrap; gap: 4px 12px; }
    .pricing-page .nav-links { flex-wrap: wrap; gap: 0; }
    .pricing-page .nav-links a { font-size: 12px; padding-inline: 7px; }
    .pricing-page .nav-links a.nav-cta { padding-inline: 11px; }
    .pricing-main { width: calc(100% - 32px); }
    .pricing-intro { padding-top: 48px; }
    .pricing-lede { font-size: 16px; }
    .plan-grid { grid-template-columns: 1fr; gap: 20px; }
    .plan-card { padding: 26px; }
    .free-price { margin-top: 20px; }
    .price-amount { font-size: clamp(25px, 6.4vw, 34px); }
    .comparison-section, .pricing-faq { padding-top: 60px; }
    .feature-column { width: 44%; }
    .comparison-table th, .comparison-table td { padding: 16px 10px; }
    .comparison-table thead th { font-size: 14px; }
    .comparison-table tbody th[scope="row"] { font-size: 12px; }
    .comparison-table td { font-size: 11px; }
    .comparison-table small { font-size: 10px; }
    .comparison-table .comparison-group th { font-size: 10px; }
    .pricing-faq summary { font-size: 14px; }
    .pricing-close { margin: 58px 0 36px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
    .pricing-page .nav-logo span { display: none; }
    .plan-card { padding: 22px; }
    .price-option { padding-inline: 8px; }
    .price-period { font-size: 10px; }
}
