.care-pricing { --pricing-forest: #1b241b; }
.care-pricing .site-header {
  position: relative;
  inset: auto;
  width: min(1160px, calc(100% - 64px));
  margin: auto;
  padding: 14px 0;
  min-height: 72px;
  color: var(--ink);
}
.care-pricing .header-contact { background: var(--pricing-forest); color: white; }
.care-pricing .menu-toggle { color: var(--ink); }
.care-pricing nav [aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.care-pricing :focus-visible { outline-color: #abc65a; }
.sr-only, .billing-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pricing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(50px, 5.2vw, 80px);
  background: var(--pricing-forest);
  color: white;
}
.pricing-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 43%;
  background: linear-gradient(90deg, var(--pricing-forest), rgba(27,36,27,.45) 24%, transparent 60%),
              url('hara-clinician-consultation.jpg') center 30% / cover no-repeat;
}
.pricing-hero .practice-kicker { margin-bottom: 15px; color: #d4e5a0; }
.pricing-hero h1 { font-size: clamp(44px, 5.3vw, 76px); line-height: 1.02; font-weight: 550; letter-spacing: -.055em; }
.pricing-hero h1 em { font: 400 1em/1 HaraRufina, Georgia, serif; letter-spacing: -.055em; }
.pricing-hero h1, .pricing-hero p:last-child { max-width: 55%; }
.pricing-hero p:last-child { width: 46ch; margin-top: 18px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: #eef0e8; }

.care-pricing h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; font-weight: 550; letter-spacing: -.05em; }
.pricing-plans, .comparison-band, .pricing-faq { padding-block: clamp(44px, 5vw, 76px); }
.plans-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 26px; }
.plans-header p { color: var(--muted); margin-top: 8px; line-height: 1.5; }
.billing-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 4px; margin: 0; }
.billing-switch label { position: relative; cursor: pointer; }
.billing-switch span { display: grid; min-width: 84px; min-height: 40px; padding-inline: 14px; place-items: center; font-size: 14px; font-weight: 600; border-radius: 999px; }
.billing-switch input:checked + span { color: white; background: var(--pricing-forest); }
.billing-switch input:focus-visible + span { outline: 2px solid #abc65a; outline-offset: 2px; }

.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 1.8vw, 26px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.plan-pro { background: var(--brand-soft); border-color: #adbd78; }
.plan h3 { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.2; font-weight: 650; letter-spacing: -.045em; }
.audience { margin: 8px 0 24px; min-height: 3em; color: var(--muted); font-size: 14px; line-height: 1.5; }
.plan-price { display: flex; gap: 5px; align-items: baseline; }
.plan-price strong { font-size: clamp(38px, 3.3vw, 50px); font-weight: 550; letter-spacing: -.065em; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.plan-price span, .billing-note { font-size: 13px; color: var(--muted); }
.billing-note { margin-top: 6px; }
.plan .yearly { display: none; }
.pricing-plans:has(#billing-yearly:checked) .monthly { display: none; }
.pricing-plans:has(#billing-yearly:checked) .plan-price.yearly { display: flex; }
.pricing-plans:has(#billing-yearly:checked) .billing-note.yearly { display: block; }
.plan-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-block: 20px;
  padding: 10px 16px;
  border: 1px solid #bfc6bb;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}
.plan-action span { font-size: 18px; line-height: 1; }
.plan-pro .plan-action { color: var(--pricing-forest); background: var(--lime); border-color: var(--lime); }
.plan-action:hover { color: #fff; background: var(--pricing-forest); border-color: var(--pricing-forest); }
.capacity { border-top: 1px solid #d7ddd1; padding-top: 18px; line-height: 1.4; font-weight: 700; font-size: 15px; }
.plan ul { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.plan li { display: flex; align-items: baseline; gap: 8px; color: #454c44; font-size: 14px; line-height: 1.4; }
.plan li::before { content: ""; width: 7px; height: 4px; flex: none; align-self: flex-start; margin-top: .48em; border: solid var(--brand-ink); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.plan-footnote { margin-top: 17px; max-width: 96ch; color: var(--muted); font-size: 14px; line-height: 1.5; }

.comparison-band { background: var(--surface); }
.comparison-hint { display: none; }
.table-scroll { position: relative; margin-top: 24px; overflow-x: auto; }
.table-scroll table { background: var(--surface); width: 100%; min-width: 670px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; }
.table-scroll th, .table-scroll td { padding: 14px 12px; border-bottom: 1px solid #e7e7e7; vertical-align: middle; text-align: left; }
.table-scroll thead th { font-weight: 700; border-bottom-color: #d6d6d6; }
.table-scroll tr > :first-child { position: sticky; left: 0; z-index: 1; width: 34%; padding-left: 0; background: var(--surface); }
.table-scroll tbody th { font-weight: 500; }
.availability { font-size: 16px; color: #262626; }
.pricing-faq { align-items: start; }
.question-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 12px; text-decoration: underline; text-underline-offset: 4px; }
.care-pricing .practice-faq summary { min-height: 52px; }
@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .care-pricing .site-header { min-height: 62px; padding-block: 8px; }
  .care-pricing .content-shell, .care-pricing .site-header { width: calc(100% - 40px); }
  .pricing-hero { padding-block: 42px; }
  .pricing-hero::before { inset-inline-start: 28%; opacity: .48; }
  .pricing-hero h1, .pricing-hero p:last-child { max-width: 76%; }
  .table-scroll table { font-size: 14px; }
  .table-scroll tr > :first-child { width: 145px; padding-right: 14px; }
  .question-link { margin-top: 2px; }
}
@media (max-width: 540px) {
  .pricing-hero::before { inset-inline-start: 0; opacity: .42; background-position: center, 64% 27%; }
  .pricing-hero h1 { max-width: 100%; }
  .pricing-hero p:last-child { max-width: 90%; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 22px; }
  .audience { min-height: 0; margin-bottom: 20px; }
  .comparison-hint { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
  .table-scroll { padding-bottom: 8px; }
}
