/* Booky AI · scoped homepage pricing; shared pricing-page styles remain untouched. */
.bp-section {
    --bp-featured-bg: color-mix(in srgb, var(--brand) 6%, var(--bg-card));
    --bp-trial-bg: color-mix(in srgb, var(--brand) 8%, var(--bg-card));
    --bp-action-bg: var(--brand-dark);
    --bp-action-hover: var(--color-green-900);
    padding-block: clamp(3.5rem, 7vw, 6rem);
    background: var(--bg-page);
    color: var(--text-primary);
}
.bp-header { align-items: end; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; justify-content: space-between; margin-bottom: 2rem; }
.bp-header h2 { color: var(--text-primary); font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; margin: 0; overflow-wrap: anywhere; }
.bp-header p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; margin: 1rem 0 0; max-width: 43ch; }
.bp-billing { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.25rem; }
.bp-billing[hidden], .bp-group[hidden] { display: none; }
.bp-billing button { background: transparent; border: 0; border-radius: var(--radius-sm); color: var(--text-secondary); cursor: pointer; font: inherit; font-size: 0.8125rem; font-weight: 500; min-height: 2.75rem; padding: 0.75rem 1rem; white-space: nowrap; }
.bp-billing button[aria-pressed="true"] { background: var(--bp-action-bg); color: var(--text-on-brand); }
.bp-billing button:focus-visible, .bp-button:focus-visible, .bp-section summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.bp-billing button:active, .bp-button:active { transform: translateY(1px); }
.bp-billing button:disabled { cursor: not-allowed; opacity: 0.5; }
.bp-group + .bp-group { margin-top: 2rem; }
.bp-group-heading { color: var(--text-secondary); font-size: 1rem; font-weight: 500; margin: 1.5rem 0 1rem; }
.bp-enhanced .bp-group-heading { display: none; }
.bp-enhanced .bp-group { margin-top: 0; }
.bp-grid { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.bp-card { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius-xl); display: flex; flex: 1 1 18rem; flex-direction: column; max-width: 24rem; min-width: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem); width: 100%; }
.bp-card--featured { background: var(--bp-featured-bg); border-color: var(--brand); }
.bp-plan-name { align-items: center; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; min-height: 2rem; }
.bp-plan-name h3 { color: var(--text-primary); font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.bp-featured-label { color: var(--brand); font-size: 0.6875rem; font-weight: 600; }
.bp-price { align-items: baseline; display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 1.25rem 0 0; }
.bp-price > span:first-child { color: var(--text-primary); font-family: var(--font-heading); font-size: clamp(2.25rem, 3.5vw, 3rem); font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; overflow-wrap: anywhere; }
.bp-price > span:last-child { color: var(--text-secondary); font-size: 0.8125rem; white-space: nowrap; }
.bp-commitment { color: var(--text-secondary); font-size: 0.75rem; line-height: 1.5; margin: 0.5rem 0 0; }
.bp-description { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; margin: 1.25rem 0 0; min-height: 2.8rem; }
.bp-plan-content { border-top: 1px solid var(--border-default); margin-top: 1.5rem; padding-top: 1.25rem; }
.bp-allowances { margin: 0; }
.bp-allowances > div { align-items: baseline; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; margin-bottom: 0.625rem; }
.bp-allowances dt { color: var(--text-secondary); font-size: 0.875rem; font-weight: 400; }
.bp-allowances dd { color: var(--text-primary); font-size: 0.9375rem; font-variant-numeric: tabular-nums; font-weight: 600; margin: 0; text-align: right; }
.bp-usage-period { color: var(--text-secondary); font-size: 0.6875rem; line-height: 1.4; margin: 0.625rem 0 0; }
.bp-section svg { fill: none; flex: 0 0 auto; height: 1rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 1rem; }
.bp-card-footer { margin-top: auto; padding-top: 1.75rem; }
.bp-button { align-items: center; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius-md); color: var(--text-primary); display: inline-flex; font-size: 0.875rem; font-weight: 600; justify-content: center; min-height: 2.875rem; padding: 0.75rem 1.25rem; text-decoration: none; white-space: nowrap; }
.bp-card-footer > .bp-button { width: 100%; }
.bp-button--solid { background: var(--bp-action-bg); border-color: var(--bp-action-bg); color: var(--text-on-brand); }
.bp-section summary { align-content: center; border-radius: var(--radius-sm); color: var(--text-secondary); cursor: pointer; font-size: 0.75rem; line-height: 1.5; min-height: 2.75rem; padding-block: 0.5rem; }
.bp-trial { align-items: center; background: var(--bp-trial-bg); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; margin-bottom: 1.5rem; padding: 1.5rem; }
.bp-trial h3 { color: var(--text-primary); font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; margin: 0 0 0.5rem; }
.bp-trial-copy p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; margin: 0; }
.bp-trial-copy strong { color: var(--text-primary); font-weight: 500; }
.bp-trial-limits { flex: 1 0 100%; min-width: 0; }
.bp-trial-limits .bp-allowances { display: grid; gap: 0.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.bp-trial--standalone { align-items: stretch; flex-direction: column; margin-inline: auto; max-width: 24rem; }
.bp-trial--standalone > .bp-button { width: 100%; }
.bp-currency-note { color: var(--text-secondary); font-size: 0.75rem; line-height: 1.6; margin: 1.25rem 0 0; max-width: 70ch; }
.bp-shared-features { border-top: 1px solid var(--border-default); margin-top: 2rem; padding-top: 1.5rem; }
.bp-shared-features h3 { color: var(--text-primary); font-size: 1.125rem; font-weight: 600; margin: 0 0 1rem; }
.bp-shared-features ul { display: grid; gap: 0.75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.bp-shared-features li { align-items: start; display: flex; gap: 0.5rem; font-size: 0.875rem; line-height: 1.5; }
.bp-shared-features svg { color: var(--brand); margin-top: 0.125rem; }
.bp-feature-access { margin-top: 1rem; }
.bp-feature-table-wrap { overflow-x: auto; }
.bp-feature-table-wrap:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.bp-feature-table { border-collapse: collapse; font-size: 0.8125rem; line-height: 1.5; width: 100%; }
.bp-feature-table th, .bp-feature-table td { border-bottom: 1px solid var(--border-default); padding: 0.875rem; text-align: left; min-width: 8rem; }
.bp-feature-table th { color: var(--text-primary); font-weight: 500; }
.bp-feature-table td { color: var(--text-secondary); }
.bp-empty { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 2rem; }
.bp-empty h3 { font-size: 1.375rem; margin: 0 0 0.75rem; }
.bp-empty p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.5; margin-bottom: 1.5rem; }
.bp-sr-only { clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
@media (hover: hover) and (pointer: fine) {
    .bp-billing button:hover:not([aria-pressed="true"]) { background: var(--bg-card-raised); color: var(--text-primary); }
    .bp-button:hover { background: var(--bg-card-raised); color: var(--text-primary); }
    .bp-button--solid:hover { background: var(--bp-action-hover); border-color: var(--bp-action-hover); color: var(--text-on-brand); }
}
@media (max-width: 25rem) {
    .bp-billing { width: 100%; }
    .bp-billing button { flex: 1; padding-inline: 0.75rem; }
    .bp-trial > .bp-button { width: 100%; }
}
