.pricing-section {
    margin: 2rem 0 3rem;
    color: #203a32;
    scroll-margin-top: 2rem;
}
.pricing-section h1, .pricing-section h2, .pricing-section h3 { color: inherit; font-family: inherit; }
.pricing-section h1, .pricing-section h2 { font-size: 1.6rem; }
.pricing-banner {
    padding: 1.4rem;
    text-align: center;
    border: 1px solid #ced9c4;
    border-radius: 16px;
    background: #e8eddf;
    margin: 1.25rem 0;
}
.pricing-banner strong { color: var(--accent); font-size: 1.2rem; }
.pricing-banner p { color: #526658; margin: .5rem 0 0; line-height: 1.6; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.price-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.5rem;
    background: #fffefa;
    display: flex;
    flex-direction: column;
}
.price-card[data-plan=best-value] { border-color: #819b82; box-shadow: 0 3px 16px #254b3d08; }
.price-card.selected { border: 2px solid var(--accent); padding: calc(1.5rem - 1px); background: #edf3e7; box-shadow: 0 0 0 2px #254b3d24, 0 6px 18px #254b3d10; }
.clickable-plan { cursor:pointer; }
.clickable-plan:not(.selected):hover { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
.clickable-plan:has(input:focus-visible), .clickable-plan:has(button:focus-visible) { outline:3px solid #b47b3d; outline-offset:4px; }
.plan-badge { align-self: flex-start; border-radius: 30px; background: #e9eee4; color: var(--accent); padding: .3rem .75rem; font-size: .85rem; font-weight: 700; }
.price-card[data-plan=best-value] .plan-badge { background: var(--accent); color: white; }
.price-card h3 { font-size: 1.8rem; margin: 1rem 0 .25rem; }
.price-card .price-period { margin: 0 0 .7rem; color: #526658; }
.price-highlight { color: var(--accent); font-size: .9rem; font-weight: 700; }
.price-card ul { list-style: none; padding: 1rem 0 0; margin: 1rem 0; border-top: 1px solid var(--line); flex: 1; }
.price-card li { padding: .4rem 0 .4rem 1.3rem; position: relative; line-height: 1.6; }
.price-card li:before { content: '✓'; position: absolute; left: 0; color: var(--accent); }
.price-card small { display: block; font-size: .8rem; font-weight: 400; color: #526658; line-height: 1.65; }
.plan-choice { display: flex; gap: .7rem; align-items: center; border: 3px solid #668571; border-radius: 10px; padding: 1.1rem; cursor: pointer; color: var(--accent); background: #e9eee4; font-size: 1.15rem; font-weight: 900; }
.plan-choice span { font-weight: 900; }
.plan-choice:has(input[aria-invalid=true]) { border-color:#903822; background:#fff1ec; }
.plan-selection-error { font-weight:750; scroll-margin:2rem; }
.plan-choice:hover { background: #dce7d6; border-color: var(--accent); }
.plan-choice:focus-within { outline: 3px solid #b47b3d; outline-offset: 4px; }
.plan-choice input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.price-card.selected .plan-choice { border-color: var(--accent); background: var(--accent); color: white; }
.price-card.selected .plan-choice::after { content: '✓'; margin-left: auto; font-size: 1.2rem; font-weight: 800; }
.pricing-section .primary { background: var(--accent); color: white; text-align: center; }
.pricing-section a:focus-visible, .pricing-section input:focus-visible, .pricing-section button:focus-visible { outline: 3px solid #b47b3d; outline-offset: 4px; }
.custom-plan { grid-column: 1/-1; }
.custom-plan ul { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 2rem; }
.custom-plan h3 { font-size: 1.4rem; }
.custom-plan > p { color: #526658; }
.pricing-foot { text-align: center; margin: 2rem 0 0; }
.pricing-foot strong { color: var(--accent); }
.pricing-foot p { color: #526658; }
.pricing-foot small { display: block; color: #526658; margin: .65rem auto; max-width: 850px; line-height: 1.6; }
@media (max-width: 640px) {
    .pricing-grid, .custom-plan ul { grid-template-columns: 1fr; }
    .price-card { padding: 1.25rem; }
    .price-card.selected { padding: calc(1.25rem - 1px); }
}

.pricing-section .current-plan:disabled { opacity:1; cursor:default; background:#e9eee4; color:var(--accent); border:1px solid #b8c7bc; }
.plan-review { width:min(620px, calc(100% - 32px)); padding:28px; background:#fffefa; border-radius:16px; }
.plan-review h2 { margin:0 0 20px; font-size:24px; }
.plan-review p { font-size:15px; line-height:1.65; color:#526658; }
.plan-review .plan-review-selected { color:var(--accent); font-weight:700; }
.plan-review .error { color:#903822; }
.plan-review-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:24px; flex-wrap:wrap; }
.plan-review .primary { background:var(--accent); color:white; border:0; border-radius:8px; padding:12px 20px; font-weight:600; }
@media (max-width:640px) { .plan-review { padding:22px; } .plan-review-actions button { flex:1; } }
