.fh-pricing, .fh-plan-section { margin: 3rem 0; scroll-margin-top: 6rem; }
.fh-pricing-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.fh-pricing-heading h2, .fh-plan-section h2 { margin: 0 0 .4rem; color: var(--fh-text); letter-spacing: -.04em; }
.fh-billing {
  display: inline-flex; max-width: 100%; margin: 1.2rem 0 1.6rem; padding: .25rem;
  border: 1px solid var(--fh-line); border-radius: .8rem; background: var(--fh-panel);
}
.fh-billing-option { position: relative; min-width: 0; cursor: pointer; margin: 0; }
.fh-billing-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fh-billing-option span {
  display: block; color: var(--fh-copy); border-radius: .56rem; padding: .5rem clamp(.55rem, 2.2vw, 1.1rem);
  white-space: nowrap; font-size: .875rem; font-weight: 700;
}
.fh-billing-option input:checked + span { color: var(--fh-button-text); background: var(--fh-button); }
.fh-billing-option input:focus-visible + span, .fh-plan-table-wrap:focus-visible { outline: 2px solid var(--fh-focus); outline-offset: 3px; }
.fh-pricing-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.fh-plan {
  min-width: 0; display: flex; flex-direction: column; gap: 1.15rem; padding: clamp(1rem,2vw,1.45rem);
  background: var(--fh-panel); border: 1px solid var(--fh-line); border-radius: 1rem;
}
.fh-plan--recommended { background: var(--fh-accent-surface); border-color: var(--fh-brand); box-shadow: 0 .65rem 1.6rem var(--fh-shadow); }
.fh-plan-intro { min-height: 7.9rem; }
.fh-plan-intro h3 { font-size: 1.3rem; margin: 0 0 .38rem; color: var(--fh-text); letter-spacing: -.025em; }
.fh-plan-intro p { margin: 0; color: var(--fh-copy); font-size: .9rem; line-height: 1.55; }
.fh-plan-intro .fh-plan-recommended { color: var(--fh-brand); font-weight: 800; margin-bottom: .35rem; }
.fh-plan-rate { display: none; color: var(--fh-copy); min-height: 6.55rem; font-variant-numeric: tabular-nums; }
.fh-plan-rate[data-fh-term="annually"] { display: block; }
.fh-pricing:has(input[value="monthly"]:checked) .fh-plan-rate,
.fh-pricing:has(input[value="six_months"]:checked) .fh-plan-rate { display: none; }
.fh-pricing:has(input[value="monthly"]:checked) .fh-plan-rate[data-fh-term="monthly"],
.fh-pricing:has(input[value="six_months"]:checked) .fh-plan-rate[data-fh-term="six_months"] { display: block; }
.fh-plan-rate p { margin: 0; }
.fh-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .18rem; }
.fh-plan-price strong { color: var(--fh-text); font-size: clamp(1.85rem,3.5vw,2.55rem); line-height: 1.13; letter-spacing: -.06em; }
.fh-plan-price span, .fh-plan-total, .fh-plan-saving { font-size: .85rem; }
.fh-plan-rate .fh-plan-total { margin: .35rem 0 .25rem; }
.fh-plan-saving { color: var(--fh-brand); font-weight: 750; }
.fh-plan-features { padding: .9rem 0 0 1.05rem; margin: 0; list-style: disc; border-top: 1px solid var(--fh-line); color: var(--fh-copy); font-size: .9rem; line-height: 1.9; }
.fh-plan-action:disabled { margin-top: auto; width: 100%; justify-content: center; color: var(--fh-copy); background: var(--fh-surface); border: 1px solid var(--fh-line); cursor: not-allowed; }
.fh-pricing-note, .fh-plan-section > p { color: var(--fh-copy); }
.fh-pricing-note { margin: .85rem 0 0; font-size: .86rem; line-height: 1.55; }
.fh-plan-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--fh-line); border-radius: .85rem; }
.fh-plan-table { width: 100%; min-width: 36rem; margin: 0; text-align: left; color: var(--fh-copy); background: var(--fh-surface); font-size: .91rem; }
.fh-plan-table th, .fh-plan-table td { padding: .7rem .75rem; border-bottom: 1px solid var(--fh-line); }
.fh-plan-table th { color: var(--fh-text); }
.fh-plan-table thead th { background: var(--fh-panel); }
.fh-plan-table tr > .fh-plan-column { background: var(--fh-accent-surface); }
.fh-plan-table tbody tr:last-child > * { border-bottom: 0; }
.fh-plan-faq details { padding: .85rem .95rem; border: 1px solid var(--fh-line); border-radius: .7rem; margin: .55rem 0; color: var(--fh-copy); background: var(--fh-panel); }
.fh-plan-faq summary { color: var(--fh-text); font-weight: 700; cursor: pointer; }
.fh-plan-faq details p { margin: .55rem 0 0; }
@media(max-width: 990px) { .fh-pricing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 575px) {
  .fh-pricing, .fh-plan-section { margin: 2rem 0; }
  .fh-pricing-grid { grid-template-columns: minmax(0,1fr); }
  .fh-plan-intro, .fh-plan-rate { min-height: 0; }
}
