/* Category guides only. Shared brand tokens, navigation and provider records remain authoritative. */
.provider-guide { font-size: 1rem; line-height: 1.65; }
.provider-guide [hidden] { display: none !important; }
.provider-guide h1, .provider-guide h2, .provider-guide h3 { text-wrap: balance; }
.provider-guide h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.18; }
.provider-guide h3 { font-size: 1.35rem; line-height: 1.3; }
.provider-guide a { text-underline-offset: 0.25em; }
.provider-guide :focus-visible, .pg-skip:focus-visible { outline: 3px solid var(--rp-evergreen-600); outline-offset: 4px; }
.pg-shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.provider-guide section[id], .provider-guide article[id] { scroll-margin-top: 96px; }
.pg-section { padding-block: 72px; }
.pg-kicker { font-size: 0.875rem; font-weight: 650; line-height: 1.4; letter-spacing: 0.075em; color: var(--rp-gold-700); margin-bottom: 0.85rem; }
.pg-section-intro { color: var(--muted); max-width: 760px; margin-top: 1rem; }
.pg-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; font-size: 0.875rem; color: var(--muted); padding-top: 22px; }
.pg-breadcrumb a { min-height: 32px; display: inline-flex; align-items: center; }
.pg-skip { position: fixed; top: -120px; left: 1rem; z-index: 1100; padding: 0.8rem 1rem; background: var(--rp-ivory-50); color: var(--rp-evergreen-900); border-radius: 6px; }
.pg-skip:focus { top: 0.7rem; }
.pg-hero { padding-block: 24px 48px; display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 64px; }
.pg-hero .pg-kicker { margin-bottom: 0.8rem; }
.pg-category { font-weight: 600; color: var(--rp-evergreen-700); margin-bottom: 0.8rem; }
.pg-hero h1 { font-size: clamp(2.8rem, 4.8vw, 4.25rem); font-weight: 450; line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 1.4rem; }
.pg-lead { font-size: 1.125rem; color: var(--muted); max-width: 510px; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 1.75rem; }
.provider-guide .btn-primary, .provider-guide .btn-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0.75rem 1.2rem; line-height: 1.35; text-align: center; text-decoration: none; font: inherit; font-weight: 600; border: 1px solid var(--rp-evergreen-700); cursor: pointer; }
.provider-guide .pg-text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.pg-jump { background: var(--rp-ivory-50); border-block: 1px solid var(--line); }
.pg-jump .pg-shell { display: flex; gap: 2rem; flex-wrap: wrap; }
.pg-jump a { display: inline-flex; align-items: center; min-height: 56px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.pg-jump a:hover { color: var(--rp-evergreen-700); text-decoration: underline; }
.pg-provider-logo { object-fit: contain; width: 48px; height: 48px; flex-shrink: 0; }
.pg-initials { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--rp-sage-50); color: var(--rp-evergreen-700); font-family: var(--font-serif); font-size: 1.6rem; }
.pg-filters button { min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 7px; color: var(--rp-evergreen-700); font: inherit; font-size: 0.9375rem; padding: 0.45rem 0.8rem; cursor: pointer; }
.pg-filters button:hover { background: var(--rp-sage-50); border-color: var(--rp-evergreen-600); }
.pg-situations { background: var(--rp-ivory-100); border-block: 1px solid var(--line); }
.pg-situation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.pg-situation { padding-right: 24px; }
.pg-situation + .pg-situation { border-left: 1px solid #ccd3c8; padding-left: 30px; }
.pg-situation-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid var(--rp-sage-300); color: var(--rp-evergreen-700); border-radius: 10px; }
.pg-situation-icon::before { content: ''; width: 20px; height: 16px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: inset 0 5px var(--rp-ivory-100), inset 0 6.5px currentColor; }
.pg-situation-1::before { height: 21px; width: 15px; border-radius: 8px; box-shadow: none; }
.pg-situation-2::before { width: 15px; height: 21px; box-shadow: inset 0 -5px var(--rp-ivory-100), inset 0 -6.5px currentColor; }
.pg-situation .pg-kicker { margin-bottom: 0.5rem; }
.pg-situation h3 { margin-bottom: 1rem; }
.pg-situation > p:not(.pg-kicker) { color: var(--muted); }
.pg-situation .pg-ask { font-size: 0.9375rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pg-situation a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 0.9375rem; margin-top: 0.7rem; }
.pg-filters { display: flex; flex-wrap: wrap; gap: 20px; align-items: end; margin-top: 30px; padding: 22px; background: var(--rp-sage-50); border: 1px solid var(--line); border-radius: 12px; }
.pg-filters > div { flex: 1 1 220px; min-width: 0; }
.pg-filters .pg-search-field { flex-grow: 2; }
.pg-filters label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.9375rem; font-weight: 600; }
.pg-filters select, .pg-filters input { font: inherit; width: 100%; min-height: 48px; border: 1px solid var(--rp-sage-300); border-radius: 7px; background: #fff; color: var(--ink); padding: 10px 12px; }
.pg-filters select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--rp-evergreen-700) 50%), linear-gradient(135deg, var(--rp-evergreen-700) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.pg-filters button { min-height: 48px; }
.pg-meta { font-size: 0.875rem; color: var(--muted); }
.pg-results { margin-block: 14px 22px; }
.pg-results:empty { display: none; }
.pg-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.pg-provider { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.pg-provider-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.pg-icon-tile { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 60px; height: 60px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.pg-provider-heading h3 { margin: 0; font-size: 1.25rem; overflow-wrap: anywhere; }
.pg-family { font-size: 0.875rem; color: var(--muted); line-height: 1.4; margin-bottom: 4px; }
.pg-provider-summary { color: var(--muted); min-height: 6.6em; margin-bottom: 14px; }
.pg-provider .pg-meta { margin-bottom: 14px; }
.pg-price-notes { border-top: 1px solid var(--line); }
.pg-price-notes summary { display: list-item; min-height: 44px; padding-block: 10px; color: var(--rp-evergreen-700); cursor: pointer; font-size: 0.9375rem; font-weight: 550; }
.pg-price-notes ul { padding-left: 20px; font-size: 0.9375rem; color: var(--muted); }
.pg-price-notes li { margin-bottom: 10px; }
.pg-price-notes .pg-meta { margin-top: 14px; }
.pg-details-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; font-size: 0.9375rem; margin-top: 6px; }
.pg-more { text-align: center; margin-top: 28px; }
.pg-empty { padding: 24px; color: var(--muted); border: 1px dashed var(--rp-sage-300); border-radius: 10px; }
.pg-before { background: var(--rp-sage-50); border-block: 1px solid var(--line); }
.pg-cost-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; }
.pg-cost-item { border-top: 2px solid var(--rp-sage-300); padding: 22px 22px 0 0; margin-right: 22px; }
.pg-cost-item h4 { margin-bottom: 0.85rem; font-size: 1.25rem; }
.pg-cost-item p { color: var(--muted); font-size: 0.9375rem; }
.pg-cost-note { margin-top: 28px; padding-left: 16px; border-left: 3px solid var(--rp-gold-500); color: var(--rp-evergreen-900); font-weight: 550; }
.pg-choose { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; }
.pg-questions { list-style: none; }
.pg-questions li { padding: 0 0 24px 42px; position: relative; }
.pg-questions li + li { padding-top: 24px; border-top: 1px solid var(--line); }
.pg-questions li::before { content: ''; width: 16px; height: 16px; border: 1px solid var(--rp-gold-500); border-radius: 50%; position: absolute; top: 6px; left: 4px; }
.pg-questions li + li::before { top: 30px; }
.pg-questions li h3 { font-size: 1.25rem; margin-bottom: 12px; }
.pg-questions p { color: var(--muted); }
.pg-connected { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 32px; background: var(--rp-ivory-100); border: 1px solid var(--line); border-radius: 12px; }
.pg-connected > div:first-child { flex: 1; max-width: 700px; }
.pg-connected h2 { font-size: 1.75rem; }
.pg-connected p { color: var(--muted); }
.pg-connected > div:last-child { display: grid; gap: 8px; }
.pg-connected a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 0.9375rem; }
.pg-faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; }
.pg-faq h2 { max-width: 350px; }
.pg-faq details { border-bottom: 1px solid var(--line); }
.pg-faq details:first-child { border-top: 1px solid var(--line); }
.pg-faq summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; color: var(--rp-evergreen-900); padding: 20px 8px 20px 0; }
.pg-faq details p { color: var(--muted); padding-bottom: 24px; }
.pg-invitation { background: var(--rp-evergreen-900); padding-block: 64px; color: var(--rp-ivory-50); }
.pg-invitation > .pg-shell { display: grid; grid-template-columns: 1fr 0.8fr; gap: 100px; align-items: center; }
.pg-invitation .pg-kicker { color: var(--rp-gold-200); }
.pg-invitation h2 { color: var(--rp-ivory-50); font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.25rem; }
.pg-invitation-copy > p:last-child { color: #d4dfd7; }
.pg-invitation-action { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.pg-invitation .btn-primary { background: var(--rp-ivory-50); color: var(--rp-evergreen-900); border-color: var(--rp-ivory-50); }
.pg-invitation .btn-primary:hover { background: var(--rp-gold-200); }
.pg-invitation .pg-text-link { color: var(--rp-ivory-50); }
.pg-invitation-action p { color: #c8d4ce; font-size: 0.875rem; line-height: 1.65; margin-top: 6px; }
.pg-invitation :focus-visible { outline-color: var(--rp-gold-200); }
.pg-research { padding-block: 28px; font-size: 0.875rem; color: var(--muted); }
.pg-research summary { min-height: 44px; cursor: pointer; display: list-item; padding-block: 10px; font-weight: 550; }
.pg-research p { max-width: 920px; margin-block: 8px; }
/* Hero facts panel: what the guide covers, when it was checked, and the first questions to settle. */
.pg-facts { background: var(--rp-evergreen-900); color: var(--rp-ivory-50); border-radius: 22px; padding: 32px; position: relative; overflow: hidden; }
.pg-facts::before { content: ''; position: absolute; width: 270px; height: 270px; border: 1px solid #ffffff15; border-radius: 50%; right: -100px; top: -130px; pointer-events: none; }
.pg-facts .pg-kicker { color: var(--rp-gold-200); }
.pg-facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 26px; }
.pg-facts dl > div { padding: 14px 16px; background: #ffffff09; border: 1px solid #bccabb30; border-radius: 10px; }
.pg-facts dt { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.25; }
.pg-facts dd { margin: 4px 0 0; font-size: 0.875rem; color: #d9e2d9; line-height: 1.45; }
.pg-facts-title { font-weight: 600; margin-bottom: 10px; }
.pg-facts ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; color: #e4ebe5; }
.pg-facts li::marker { color: var(--rp-gold-200); font-weight: 600; }
.pg-price { font-weight: 600; color: var(--rp-evergreen-900); margin-bottom: 4px; }
.pg-price-line { margin-top: 18px; }
.pg-help { margin-top: 36px; padding: 20px 24px; border-left: 3px solid var(--rp-gold-500); background: var(--rp-ivory-100); border-radius: 0 10px 10px 0; }
.pg-help a { font-weight: 600; white-space: nowrap; }
.pg-costs-block { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.pg-costs-heading { font-size: 1.5rem; }
.pg-cost-grid { margin-top: 24px; }
.pg-cost-item h4 { font-family: var(--font-serif); font-weight: 450; }
@media (max-width: 760px) {
  .pg-facts { padding: 24px; border-radius: 16px; }
  .pg-facts dl { grid-template-columns: 1fr; }
  .pg-help a { white-space: normal; }
}
@media (max-width: 380px) { .pg-facts { padding: 20px; } }
/* Hero logo stack: a neutral sample of the category (one per group, alphabetical), linking to the list. */
.pg-stack { display: inline-flex; margin-top: 14px; text-decoration: none; border-radius: 999px; }
.pg-stack-faces { display: flex; align-items: center; }
.pg-stack-face { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--rp-evergreen-900); overflow: hidden; }
.pg-stack-face + .pg-stack-face { margin-left: -10px; }
.pg-stack-logo { width: 26px; height: 26px; object-fit: contain; }
.pg-stack-logo.pg-initials { font-size: 0.95rem; width: 100%; height: 100%; border-radius: 50%; }
.pg-stack-more { background: var(--rp-gold-200); color: var(--rp-evergreen-900); font-size: 0.8125rem; font-weight: 700; }
.pg-stack:hover .pg-stack-face, .pg-stack:focus-visible .pg-stack-face { border-color: var(--rp-gold-200); }
/* Logo wall: every provider, grouped, in full color; tiles lift slightly on hover or focus. */
.pg-wall { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 32px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pg-wall-group { min-width: 0; }
.pg-wall-label { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.06em; color: var(--rp-gold-700); margin-bottom: 12px; }
.pg-wall ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.pg-wall a { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.pg-wall-logo { width: 32px; height: 32px; object-fit: contain; }
.pg-wall-logo.pg-initials { font-size: 1.1rem; width: 100%; height: 100%; border-radius: 11px; }
.pg-wall a:hover, .pg-wall a:focus-visible { border-color: var(--rp-evergreen-600); box-shadow: 0 6px 18px #1c3b3418; transform: translateY(-2px); }
@media (max-width: 760px) {
  .pg-wall { padding: 18px; gap: 18px; }
  .pg-wall ul { gap: 8px; }
  .pg-wall a { width: 46px; height: 46px; border-radius: 10px; }
  .pg-wall-logo { width: 28px; height: 28px; }
}
@media print { .pg-wall, .pg-stack { display: none !important; } }
/* Provider cards: a gentle lift with a soft shadow on hover or keyboard focus. */
.pg-provider { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.pg-provider:hover, .pg-provider:focus-within { transform: translateY(-4px); border-color: var(--rp-sage-300); box-shadow: 0 16px 34px rgba(20, 44, 46, 0.10); }
.pg-provider:hover .pg-icon-tile, .pg-provider:focus-within .pg-icon-tile { border-color: var(--rp-sage-300); }
@media (prefers-reduced-motion: reduce) { .pg-provider:hover, .pg-provider:focus-within { transform: none; } }
@media (max-width: 1100px) {
  .pg-shell { width: calc(100% - 56px); }
  .pg-hero { gap: 36px; grid-template-columns: 1fr 1fr; }
  .pg-hero h1 { font-size: clamp(2.75rem, 4.8vw, 3.5rem); }
  .pg-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-provider-summary { min-height: 4.95em; }
  .pg-situation-grid { gap: 24px; }
  .pg-situation { padding-right: 0; }
  .pg-situation + .pg-situation { padding-left: 24px; }
  .pg-choose, .pg-faq { gap: 36px; }
  .pg-cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .pg-invitation > .pg-shell { gap: 48px; }
}
@media (max-width: 760px) {
  .pg-shell { width: calc(100% - 40px); }
  .pg-hero { grid-template-columns: 1fr; gap: 28px; padding-block: 26px 36px; }
  .pg-hero h1 { font-size: clamp(2.75rem, 8vw, 3.5rem); }
  .pg-hero .pg-kicker { font-size: 0.8125rem; }
  .pg-lead { font-size: 1.0625rem; }
  .pg-breadcrumb { gap: 0.4rem; font-size: 0.8125rem; }
  .pg-section { padding-block: 44px; }
  .pg-jump .pg-shell { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .pg-jump a { font-size: 0.875rem; min-height: 44px; padding-inline: 4px; }
  .provider-guide section[id], .provider-guide article[id] { scroll-margin-top: 88px; }
  .pg-situation-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .pg-situation + .pg-situation { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .pg-situation-icon { margin-bottom: 16px; }
  .pg-situation .pg-ask { border-top: 0; padding-top: 0; }
  .pg-filters { padding: 16px; gap: 14px; }
  .pg-filters > div { flex-basis: 100%; }
  .pg-filters button { width: 100%; }
  .pg-provider-grid { grid-template-columns: 1fr; gap: 16px; }
  .pg-provider { padding: 22px; }
  .pg-provider-summary { min-height: 0; }
  .pg-more .btn-secondary { width: 100%; }
  .pg-cost-grid { gap: 24px 18px; }
  .pg-cost-item { margin-right: 0; padding-right: 0; }
  .pg-cost-item h4 { font-size: 1.15rem; }
  .pg-choose, .pg-faq { display: block; }
  .pg-questions { margin-top: 30px; }
  .pg-connected { display: block; padding: 24px; }
  .pg-connected > div:last-child { margin-top: 16px; }
  .pg-faq h2 { max-width: none; margin-bottom: 24px; }
  .pg-invitation { padding-block: 44px; }
  .pg-invitation > .pg-shell { grid-template-columns: 1fr; gap: 30px; }
  .pg-invitation-action .btn-primary { width: 100%; }
}
@media (max-width: 380px) {
  .pg-shell { width: calc(100% - 32px); }
  .pg-cost-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.provider-guide) { scroll-behavior: auto !important; }
  .provider-guide *, .provider-guide *::before, .provider-guide *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .pg-jump, .pg-filters, .pg-more, .pg-help { display: none !important; }
  .provider-guide [data-provider-card][hidden] { display: block !important; }
  .pg-shell { width: 100%; }
  .pg-section { padding-block: 20px; }
  .pg-hero, .pg-choose, .pg-faq, .pg-invitation > .pg-shell { display: block; }
  .pg-facts { margin-top: 20px; print-color-adjust: exact; }
  .pg-provider, .pg-situation, .pg-cost-item { break-inside: avoid; }
}
.pg-before + .pg-connected { margin-top: 56px; }
