/* =========================================================
   CAREPLANCOMPASS™ / CAREPLANCOMPASS.COM — main.css
   CLEAN REBUILD v1.0
   Last reviewed: 2026-05-08

   PURPOSE
   This file replaces the prior duplicate-heavy CSS file.
   It is organized as a searchable governance stylesheet.

   EDITING RULES
   1. Do not add CSS at the bottom as a "final override."
   2. Add or edit styles inside the labeled page/section block.
   3. Keep HTML structure-only. No inline styles.
   4. Use /route.php for CTA-driven buttons/cards.
   5. Use one class system per component. Avoid duplicate selectors.
   6. If a selector must be reused, document why.

   SEARCH INDEX
   00 — Design Tokens
   01 — Reset + Base
   02 — Typography
   03 — Layout Foundation
   04 — Buttons + CTA System
   05 — Cards + Grids
   06 — Forms + Consent
   07 — Header / Navigation
   08 — Footer
   09 — Global Modals
   10 — Global Close CTA Section
   11 — Home Page
   12 — Free Resources Page
   13 — QR Hub Page
   14 — Library Page
   15 — Companions Page
   16 — Functional Outcomes Section
   17 — Legal / FAQ Pages
   18 — Utility Classes
   19 — Responsive Helpers
   20 - Global Item Close / Cross Sell
   21 - For Organizations / Institutional Pages
   22 - Implementation Programs
   23 - Stripe Cart (icon)
   ========================================================= */


/* =========================================================
   00 — DESIGN TOKENS
   PAGE: GLOBAL / SITEWIDE
   USED BY: Entire website
   PURPOSE: Brand colors, spacing, radius, shadows, widths
   NOTES: Add new global values here only when reused across pages.
   ========================================================= */

:root {
  /* Brand */
  --cprx-primary: #0A4FA3;
  --cprx-primary-bright: #2458F2;
  --cprx-secondary: #4D77C2;

  /* Text */
  --cprx-ink: #07184A;
  --cprx-text: #24345F;
  --cprx-body: #222222;
  --cprx-muted: #52627F;
  --cprx-legal: #666666;

  /* Surfaces */
  --cprx-bg: #F5F7FA;
  --cprx-soft: #F8FBFF;
  --cprx-soft-blue: #EEF5FF;
  --cprx-card: #FFFFFF;
  --cprx-white: #FFFFFF;

  /* Borders */
  --cprx-line: #DDE8FA;
  --cprx-line-soft: #E6ECF6;
  --cprx-line-strong: #D8E4F4;

  /* Shape */
  --cprx-radius-sm: 12px;
  --cprx-radius-md: 16px;
  --cprx-radius-lg: 22px;
  --cprx-radius-xl: 28px;

  /* Shadows */
  --cprx-shadow-sm: 0 6px 18px rgba(7, 24, 74, 0.05);
  --cprx-shadow-md: 0 14px 35px rgba(7, 24, 74, 0.08);
  --cprx-shadow-lg: 0 22px 60px rgba(7, 24, 74, 0.12);
  --cprx-shadow-blue: 0 18px 42px rgba(10, 79, 163, 0.12);

  /* Width + rhythm */
  --cprx-max: 1080px;
  --cprx-wide: 1180px;
  --cprx-pad: 24px;
  --cprx-section-y: 28px;

  /* Legacy aliases kept to prevent old sections from breaking */
  --brand-primary: var(--cprx-primary);
  --brand-secondary: var(--cprx-secondary);
  --neutral-bg: var(--cprx-bg);
  --ink: var(--cprx-body);
  --muted: var(--cprx-muted);
  --legal: var(--cprx-legal);
  --line: var(--cprx-line-soft);
  --card: var(--cprx-card);
  --bg: var(--cprx-bg);
  --radius: var(--cprx-radius-md);
  --shadow: var(--cprx-shadow-md);
}

/* Pillar gradients and utility backgrounds */
.g-por { background: linear-gradient(135deg, #0A4FA3, #4D77C2); color: #fff; }
.g-dcm { background: linear-gradient(135deg, #BFC1C2, #E0E0E0); color: #222; }
.g-inj { background: linear-gradient(135deg, #C9A43E, #F3D17B); color: #222; }
.g-mwp { background: linear-gradient(135deg, #F06292, #F8BBD0); color: #fff; }
.g-hmb { background: linear-gradient(135deg, #E2A24F, #F7C88C); color: #222; }
.g-free { background: linear-gradient(135deg, #6A1B9A, #9B59B6); color: #fff; }

/* Series color tokens */
.series--s01-ortho,
.companions-series-card--s01-ortho { --series-color: #3F566F; }

.series--s02-neuro,
.companions-series-card--s02-neuro { --series-color: #4B5C8A; }

.series--s03-onc,
.companions-series-card--s03-onc { --series-color: #E1B9C4; }

.series--s04-cardio,
.companions-series-card--s04-cardio { --series-color: #742E2E; }

.series--s05-headneck,
.companions-series-card--s05-headneck { --series-color: #6F7FA6; }

.series--s06-gensurg,
.companions-series-card--s06-gensurg { --series-color: #2F5E4E; }

.series--s07-comprecon,
.companions-series-card--s07-comprecon { --series-color: #24A206; }

.series--s08-trans,
.companions-series-card--s08-trans { --series-color: #2F8F6B; }

.series--s09-pelvicrepro,
.companions-series-card--s09-pelvicrepro { --series-color: #BF7375; }

.series--s10-endomet,
.companions-series-card--s10-endomet { --series-color: #C89B4A; }

.series--s11-plastic,
.companions-series-card--s11-plastic { --series-color: #BFCFC7; }

.series--s12-milvet,
.companions-series-card--s12-milvet { --series-color: #6B6F2A; }

.series--s13-peds,
.companions-series-card--s13-peds { --series-color: #5DC1C8; }

.series--s14-cogsen,
.companions-series-card--s14-cogsen { --series-color: #8A7CB8; }

.series--s15-well,
.companions-series-card--s15-well { --series-color: #F1F468; }


/* =========================================================
   01 — RESET + BASE
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: Consistent browser foundation
   RELATED HTML: All PHP pages
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--cprx-bg);
  color: var(--cprx-body);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(36, 88, 242, 0.45);
  outline-offset: 3px;
}

::selection {
  background: rgba(10, 79, 163, 0.18);
}


/* =========================================================
   02 — TYPOGRAPHY
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: Shared heading/body rhythm
   RELATED HTML: All PHP pages
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 10px;
  color: var(--cprx-ink);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.25rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }

p {
  margin: 10px 0;
  color: var(--cprx-text);
}

ul,
ol {
  margin: 12px 0 16px;
  padding-left: 20px;
}

li {
  margin: 6px 0;
  color: var(--cprx-text);
}

h1,
h2,
h3,
p,
li,
a,
span {
  overflow-wrap: break-word;
}

.subtitle,
.section-support,
.hero__sub,
.hero-subtext,
.cprx-subtitle,
.legal-intro {
  color: var(--cprx-muted);
}

.eyebrow,
.section-eyebrow,
.cprx-eyebrow,
.legal-kicker,
.library-eyebrow,
.lib-eyebrow,
.companions-intro__eyebrow,
.companions-hero__eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 1px solid rgba(10, 79, 163, 0.18);
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.08);
  color: var(--cprx-primary);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* =========================================================
   03 — LAYOUT FOUNDATION
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: Page width, sections, containers
   RELATED HTML: All PHP pages
   ========================================================= */

.site-main {
  padding: 20px 0 56px;
}

.container,
.site-wrap,
.cprx-home-wrap,
.cprx-library-wrap {
  width: min(var(--cprx-max), calc(100% - 48px));
  margin: 0 auto;
}

.container--wide {
  width: min(var(--cprx-wide), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: var(--cprx-section-y) 0;
}

.section--soft {
  background: var(--cprx-bg);
}

.page-hero,
.page-section,
.hero,
.series-hero,
.series-explainer,
.home-anchor,
.page-close {
  padding-left: 0;
  padding-right: 0;
}

.card-pad {
  padding: 24px;
}

.grid-2,
.grid-3,
.grid-4,
.grid-5,
.card-grid,
.support-grid,
.pillars-grid,
.series-grid,
.library-system-grid,
.library-product-grid,
.library-pathways__grid,
.library-product-grid,
.companions-series-preview,
.qr-index-grid,
.fo-bottom-grid,
.fo-journey-actions {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.grid-list li {
  padding: 12px 14px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: var(--cprx-radius-sm);
  background: #fff;
  box-shadow: var(--cprx-shadow-sm);
  font-weight: 750;
}


/* =========================================================
   04 — BUTTONS + CTA SYSTEM
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: All visible buttons and CTA routing anchors
   CTA RULE: User-facing resources/products should route through /route.php.
   RELATED HTML: All PHP pages using .btn, .cprx-btn, .lib-btn
   ========================================================= */

.btn,
.cprx-btn,
.hero-btn,
.lib-btn,
.lib-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover,
.cprx-btn:hover,
.hero-btn:hover,
.lib-btn:hover,
.lib-card__btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn--primary,
.cprx-btn--primary,
.lib-btn--primary,
.lib-card__btn {
  background: linear-gradient(135deg, var(--cprx-primary-bright), var(--cprx-primary));
  color: #fff;
  border-color: rgba(10, 79, 163, 0.2);
  box-shadow: 0 12px 26px rgba(36, 88, 242, 0.22);
}

.btn-primary:hover,
.btn--primary:hover,
.cprx-btn--primary:hover,
.lib-btn--primary:hover,
.lib-card__btn:hover {
  box-shadow: 0 16px 32px rgba(36, 88, 242, 0.28);
}

.btn-secondary,
.btn--secondary,
.cprx-btn--secondary,
.lib-btn--secondary {
  background: #fff;
  color: var(--cprx-primary);
  border-color: rgba(10, 79, 163, 0.3);
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.05);
}

.btn-secondary:hover,
.btn--secondary:hover,
.cprx-btn--secondary:hover,
.lib-btn--secondary:hover {
  background: var(--cprx-soft);
  border-color: rgba(10, 79, 163, 0.45);
  box-shadow: 0 12px 24px rgba(7, 24, 74, 0.08);
}

.btn--ghost,
.cprx-btn--ghost {
  background: transparent;
  color: var(--cprx-primary);
  border-color: rgba(10, 79, 163, 0.2);
}

.btn--danger {
  background: #fff;
  color: #b00020;
  border-color: rgba(176, 0, 32, 0.25);
}

.btn--disabled,
.btn[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--lg,
.hero-btn {
  min-width: 190px;
}

.cta-row,
.cta-actions,
.cprx-btnrow,
.hero-actions,
.home-anchor__actions,
.clinical-jumpnav-links,
.library-hero__actions,
.library-help__actions,
.lib-hero__actions,
.companions-hero__actions,
.system-card__actions,
.product-card__actions,
.qr-search-actions,
.qr-contact-actions,
.cta-band_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.actions--mt {
  margin-top: 16px;
}


/* =========================================================
   05 — CARDS + GRIDS
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: Reusable cards without page-specific styling
   RELATED HTML: Multiple pages
   ========================================================= */

.card,
.support-card,
.resource-card,
.card-lite,
.pillar-card,
.series-card,
.institutional-card,
.framework-signal-card,
.framework-journey-card,
.framework-layer-card,
.framework-audience-card,
.framework-deploy-card,
.clinical-usecase-block,
.clinical-modeled-card__panel,
.pricing__tier,
.lanak-item,
.kpi,
.pyramid-level,
.legal-callout,
.system-card,
.product-card,
.lib-card,
.lib-path-card,
.lib-product-card,
.qr-card,
.fo-panel,
.fo-outcome-card {
  background: var(--cprx-card);
  border: 1px solid var(--cprx-line-soft);
  border-radius: var(--cprx-radius-md);
  box-shadow: var(--cprx-shadow-sm);
}

.card {
  position: relative;
  padding: 24px;
}

.support-card,
.resource-card,
.pillar-card,
.series-card,
.institutional-card,
.framework-signal-card,
.framework-journey-card,
.framework-layer-card,
.framework-audience-card,
.framework-deploy-card,
.clinical-usecase-block,
.pricing__tier,
.lanak-item,
.system-card,
.product-card,
.lib-card,
.lib-path-card,
.qr-card,
.fo-panel {
  padding: 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.support-card:hover,
.resource-card:hover,
.pillar-card:hover,
.series-card:hover,
.institutional-card:hover,
.framework-signal-card:hover,
.framework-journey-card:hover,
.framework-layer-card:hover,
.framework-audience-card:hover,
.framework-deploy-card:hover,
.clinical-usecase-block:hover,
.pricing__tier:hover,
.lanak-item:hover,
.system-card:hover,
.product-card:hover,
.lib-card:hover,
.lib-path-card:hover,
.qr-card:hover {
  transform: translateY(-3px);
  border-color: #cfdcf0;
  box-shadow: var(--cprx-shadow-md);
}

.series-card {
  position: relative;
  overflow: hidden;
}

.series-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: var(--series-color, var(--cprx-primary));
}

.pill-tag,
.kpi__tag,
.lib-meta-pill,
.product-card__meta,
.qr-card__pill,
.qr-card__format {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.pill-tag,
.lib-meta-pill,
.product-card__meta {
  background: rgba(10, 79, 163, 0.08);
  color: var(--cprx-primary);
  border: 1px solid rgba(10, 79, 163, 0.15);
}

.note-band,
.callout,
.consent-details,
.preview-slot,
.cprx-proof {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 14px;
  background: var(--cprx-soft);
}

.callout {
  border-left: 4px solid var(--cprx-primary);
}

.preview-slot {
  border-style: dashed;
}

.cprx-checklist,
.kpi-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cprx-checklist li,
.kpi-list li,
.kpi {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 14px;
  background: var(--cprx-soft);
  line-height: 1.5;
}

.cprx-checklist li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.12);
  color: var(--cprx-primary);
  font-weight: 950;
}

/* =====================================================
   05.10 — GLOBAL ITEM CARD THEME
   PAGE: GLOBAL / LIBRARY / COMPANIONS / RESOURCES / KAJA / BUNDLES
   USED BY: /00-core/item-renderer.php
   PURPOSE:
   Premium clickable item tiles inspired by the 39 Applied Companion
   visual theme. First click opens /item.php. No direct gate/download.
   ===================================================== */

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.item-card {
  min-width: 0;
}

.item-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.item-card__frame {
  position: relative;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(220px 140px at 50% 8%, rgba(77, 119, 194, 0.10), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 20px rgba(7, 24, 74, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.item-card__link:hover .item-card__frame,
.item-card__link:focus-visible .item-card__frame {
  transform: translateY(-4px);
  border-color: rgba(10, 79, 163, 0.34);
  background:
    radial-gradient(240px 160px at 50% 6%, rgba(77, 119, 194, 0.14), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 38px rgba(7, 24, 74, 0.10);
}

.item-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 10px;
}

.item-card__number {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 999px;
  background: #0F8A91;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(15, 138, 145, 0.22);
}

.item-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.07);
  color: var(--cprx-primary);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.item-card__visual {
  width: 100%;
  height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 2px 0 12px;
  border-radius: 16px;
  background:
    radial-gradient(circle at center, rgba(10, 79, 163, 0.09), transparent 62%),
    #f8fbff;
}

.item-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.item-card__visual--placeholder {
  border: 1px dashed rgba(10, 79, 163, 0.20);
}

.item-card__visual--placeholder span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 999px;
  background: rgba(15, 138, 145, 0.12);
  color: #0F8A91;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.item-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.item-card__title {
  margin: 0 0 8px;
  color: #07345F;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-align: center;
}

.item-card__description {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--cprx-text);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.item-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: auto;
}

.item-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(10, 79, 163, 0.13);
  border-radius: 999px;
  background: #ffffff;
  color: var(--cprx-muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

.item-card__actions {
  margin-top: 14px;
}

.item-card__button {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1.5px solid rgba(10, 79, 163, 0.24);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(10, 79, 163, 0.08), rgba(77, 119, 194, 0.10));
  color: var(--cprx-primary);
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.item-card__link:hover .item-card__button,
.item-card__link:focus-visible .item-card__button {
  border-color: var(--cprx-primary);
  background: linear-gradient(135deg, var(--cprx-primary), var(--cprx-secondary));
  color: #ffffff;
}

.item-card__button--disabled {
  opacity: 0.65;
}

/* Layer accents */

.item-card[data-layer="cpn"] .item-card__number,
.item-card[data-layer="cpn"] .item-card__visual--placeholder span {
  background: #0F8A91;
  color: #ffffff;
}

.item-card[data-layer="bundle"] .item-card__number,
.item-card[data-layer="bundle"] .item-card__visual--placeholder span {
  background: #0A4FA3;
  color: #ffffff;
}

.item-card[data-layer="qr"] .item-card__number,
.item-card[data-layer="qr"] .item-card__visual--placeholder span {
  background: #6A1B9A;
  color: #ffffff;
}

.item-card[data-layer="kaja"] .item-card__number,
.item-card[data-layer="kaja"] .item-card__visual--placeholder span {
  background: #2E7D32;
  color: #ffffff;
}

.item-card[data-layer="pro-tools"] .item-card__number,
.item-card[data-layer="pro-tools"] .item-card__visual--placeholder span,
.item-card[data-layer="mbs"] .item-card__number,
.item-card[data-layer="mbs"] .item-card__visual--placeholder span {
  background: #C9A43E;
  color: #07184A;
}

.item-card[data-layer="white-paper"] .item-card__number,
.item-card[data-layer="white-paper"] .item-card__visual--placeholder span {
  background: #17324d;
  color: #ffffff;
}

/* White paper library card image */
.item-card[data-layer="white-paper"] .item-card__visual--placeholder {
  background-image: url('/01-assets/images/white-paper-icon.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 92px 92px;
  background-color: #f8fbff;
  border: 1px dashed rgba(10, 79, 163, 0.20);
}

/* Hide old WHITE PAPER circle only on white paper cards */
.item-card[data-layer="white-paper"] .item-card__visual--placeholder span {
  display: none !important;
}
/* Responsive */

@media (max-width: 900px) {
  .item-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .item-card__frame {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .item-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .item-card__frame {
    min-height: auto;
    padding: 14px;
  }

  .item-card__visual {
    height: 118px;
  }

  .item-card__title,
  .item-card__description {
    text-align: left;
  }

  .item-card__meta {
    justify-content: flex-start;
  }
}

/* =========================================================
   06 — FORMS + CONSENT
   PAGE: GLOBAL / SITEWIDE
   PURPOSE:
   Shared form styling, consent blocks, and bot-trap honeypot fields.
   USED BY:
   - contact.php
   - capture.php
   - footer email capture
   - future feedback/reminder/support forms
   ========================================================= */


/* =========================================================
   06.10 — FORM SECURITY / HONEYPOT FIELD
   PAGE: GLOBAL / ALL FORMS
   PURPOSE:
   Hide bot-trap fields from users while keeping them available in POST.
   Do not remove. Used by contact-submit.php spam protection.
   ========================================================= */

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.hp-field input,
.hp-field label {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* =========================================================
   06.20 — CONTACT FORM
   PAGE: contact.php
   PURPOSE:
   Contact/support form layout, fields, consent, and submit button.
   ========================================================= */

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.contact-form .form-group {
  display: grid;
  gap: 7px;
}

.contact-form label {
  color: var(--cprx-ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid rgba(10, 79, 163, 0.18);
  border-radius: 14px;
  background: #ffffff;
  color: var(--cprx-ink);
  font-size: 0.96rem;
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.04);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cprx-secondary);
  box-shadow: 0 0 0 4px rgba(77, 119, 194, 0.14);
}

.contact-form .form-consent {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 16px;
  background: var(--cprx-soft);
}

.contact-form .form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--cprx-text);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.contact-form .form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex: 0 0 auto;
}

.contact-form .form-consent a {
  color: var(--cprx-primary);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form button[type="submit"] {
  width: fit-content;
}

@media (max-width: 640px) {
  .contact-form button[type="submit"] {
    width: 100%;
  }
}

/* =========================================================
   06 — FORMS + CONSENT
   PAGE: GLOBAL / SITEWIDE
   PURPOSE:
   Shared form styling, consent blocks, and bot-trap honeypot fields.
   USED BY:
   - contact.php
   - capture.php
   - footer email capture
   - future feedback/reminder/support forms
   ========================================================= */


/* =========================================================
   06.10 — FORM SECURITY / HONEYPOT FIELD
   PAGE: GLOBAL / ALL FORMS
   PURPOSE:
   Hide bot-trap fields from users while keeping them available in POST.
   Do not remove. Used by contact-submit.php spam protection.
   ========================================================= */

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.hp-field input,
.hp-field label {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* =========================================================
   06.20 — CONTACT PAGE FORM + SUPPORT LAYOUT
   PAGE: contact.php
   PURPOSE:
   Contact/support intake page layout, cards, form fields, consent,
   and clean bottom resource close.
   ========================================================= */

.contact-hero {
  padding-top: 28px;
  padding-bottom: 14px;
}

.contact-body {
  padding-top: 14px;
  padding-bottom: 28px;
}

.contact-body .legal-card,
.contact-hero .legal-card {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(77, 119, 194, 0.10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 42px rgba(7, 24, 74, 0.07);
}

.contact-hero .legal-title {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.contact-hero .legal-intro {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.65;
}

.contact-body .legal-section {
  padding: 0;
  margin: 0 0 30px;
}

.contact-body .legal-section:last-child {
  margin-bottom: 0;
}

.contact-body .legal-h2 {
  margin-bottom: 12px;
  color: var(--cprx-ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.12;
}

.contact-body .support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.contact-body .support-card {
  padding: 18px;
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.04);
}

.contact-body .support-card h3 {
  margin-bottom: 6px;
  color: var(--cprx-ink);
  font-size: 1.05rem;
}

.contact-body .support-card p {
  margin: 0 0 12px;
  color: var(--cprx-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-body .support-card .btn {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 24, 74, 0.055);
}

.contact-form .form-group {
  display: grid;
  gap: 8px;
}

.contact-form label {
  color: var(--cprx-ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1.5px solid rgba(10, 79, 163, 0.20);
  border-radius: 14px;
  background: #ffffff;
  color: var(--cprx-ink);
  font-size: 0.96rem;
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.04);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select {
  min-height: 50px;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cprx-secondary);
  box-shadow: 0 0 0 4px rgba(77, 119, 194, 0.14);
}

.contact-form .form-consent {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 16px;
  background: var(--cprx-soft);
}

.contact-form .form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--cprx-text);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.contact-form .form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex: 0 0 auto;
}

.contact-form .form-consent a {
  color: var(--cprx-primary);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form button[type="submit"] {
  width: fit-content;
  min-width: 160px;
}


/* =========================================================
   06.30 — CONTACT PAGE RESOURCE CLOSE
   PAGE: contact.php
   PURPOSE:
   Replaces the oversized global blue close on contact page.
   ========================================================= */

.contact-resource-close {
  padding-top: 10px;
  padding-bottom: 38px;
}

.contact-resource-close__card {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(77, 119, 194, 0.12), transparent 64%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 16px 38px rgba(7, 24, 74, 0.07);
}

.contact-resource-close__content h2 {
  margin-bottom: 8px;
  color: var(--cprx-ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.contact-resource-close__content p {
  max-width: 620px;
  margin: 0;
  color: var(--cprx-text);
  line-height: 1.6;
}

.contact-resource-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 760px) {
  .contact-body .legal-card,
  .contact-hero .legal-card,
  .contact-resource-close__card {
    max-width: none;
  }

  .contact-resource-close__card {
    grid-template-columns: 1fr;
  }

  .contact-resource-close__actions {
    justify-content: flex-start;
  }

  .contact-resource-close__actions .btn,
  .contact-form button[type="submit"] {
    width: 100%;
  }
}

/* =========================================================
   06.40 — CONTACT PAGE WIDTH + POLISH REFINEMENT
   PAGE: contact.php
   PURPOSE:
   Use global .container width, remove artificial narrowing,
   improve support-card and form layout.
   ========================================================= */

.contact-body .legal-card,
.contact-hero .legal-card,
.contact-resource-close__card {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.contact-body .support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-body .support-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.contact-body .support-card .btn {
  width: fit-content;
  margin-top: auto;
}

.contact-form {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form .form-group:nth-of-type(3),
.contact-form .form-group:nth-of-type(4),
.contact-form .form-consent,
.contact-form button[type="submit"] {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 190px;
}

.contact-resource-close__card {
  padding: 28px 32px;
}

.contact-resource-close__actions .btn {
  min-width: 170px;
}

@media (max-width: 900px) {
  .contact-body .support-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .form-group:nth-of-type(3),
  .contact-form .form-group:nth-of-type(4),
  .contact-form .form-consent,
  .contact-form button[type="submit"] {
    grid-column: auto;
  }

  .contact-body .support-card .btn,
  .contact-form button[type="submit"] {
    width: 100%;
  }
}

/* =========================================================
   07 — HEADER / NAVIGATION
   PAGE: GLOBAL HEADER
   PURPOSE: Header, dropdowns, mobile drawer
   RELATED HTML: /00-core/header.php
   NOTES:
   Header remains global.
   Mobile header uses one strategy only:
   logo/brand left + hamburger fixed-width right.
   ========================================================= */

.cprx-topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid var(--cprx-primary);
  backdrop-filter: blur(10px);
}

.cprx-topbar__inner {
  width: min(var(--cprx-wide), calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cprx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.cprx-brand__logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  overflow: hidden;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--cprx-shadow-sm);
}

.cprx-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cprx-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.cprx-brand__name {
  color: var(--cprx-primary);
  font-size: 0.9rem;
  font-weight: 950;
}

.cprx-brand__tag {
  margin-top: 2px;
  color: var(--cprx-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

/* ------------------------------
   DESKTOP NAVIGATION
   ------------------------------ */

.cprx-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.cprx-nav__link,
.cprx-dd__btn {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--cprx-primary);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}

.cprx-nav__link:hover,
.cprx-dd__btn:hover,
.cprx-dd:focus-within .cprx-dd__btn {
  background: var(--cprx-soft);
}

.cprx-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cprx-dd__btn {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cprx-dd__chev {
  margin-left: 6px;
  font-size: 0.65rem;
  font-weight: 900;
}

.cprx-dd__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  display: none;
  z-index: 9999;
  padding: 8px;
  border: 1px solid var(--cprx-line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--cprx-shadow-lg);
}

.cprx-dd:hover .cprx-dd__menu,
.cprx-dd:focus-within .cprx-dd__menu,
.cprx-dd__menu.is-open {
  display: block;
}

.cprx-dd__item,
.cprx-dd__menu .nav-hub {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--cprx-text);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.cprx-dd__item:hover,
.cprx-dd__menu .nav-hub:hover {
  background: var(--cprx-soft-blue);
  color: var(--cprx-primary);
}

/* ------------------------------
   RIGHT CTA + HAMBURGER
   ------------------------------ */

.cprx-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cprx-btn--secure {
  min-width: 142px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1.5px solid var(--cprx-primary);
  background: rgba(10, 79, 163, 0.06);
  color: var(--cprx-primary);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}

.cprx-hamburger {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 14px;
  background: #fff;
  color: var(--cprx-primary);
  box-shadow: var(--cprx-shadow-sm);
  cursor: pointer;
}

.cprx-hamburger svg {
  width: 22px;
  height: 22px;
}

/* =========================================================
   MOBILE DRAWER — CANONICAL
   PAGE: GLOBAL HEADER
   USED BY: #cprxDrawer / #cprxHamburger
   PURPOSE: Mobile hamburger drawer layout, links, dropdowns
   ========================================================= */

#cprxDrawer[hidden],
.cprx-mobile-drawer[hidden],
.cprx-drawer[hidden] {
  display: none !important;
}

#cprxDrawer,
.cprx-mobile-drawer,
.cprx-drawer {
  position: fixed;
  top: 64px;
  left: 50%;
  right: auto;
  z-index: 10000;

  width: min(100vw, 390px);
  max-height: calc(100vh - 64px);
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 0;

  padding: 10px 12px 18px;
  border-top: 1px solid rgba(10, 79, 163, 0.14);
  border-left: 1px solid rgba(10, 79, 163, 0.08);
  border-right: 1px solid rgba(10, 79, 163, 0.08);
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(7, 24, 74, 0.18);

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px);
  pointer-events: none;

  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

#cprxDrawer.is-open,
.cprx-mobile-drawer.is-open,
.cprx-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

#cprxDrawer a,
#cprxDrawer button,
.cprx-mobile-drawer a,
.cprx-mobile-drawer button,
.cprx-drawer a,
.cprx-drawer button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(10, 79, 163, 0.08);
  border-radius: 10px;
  background: transparent;

  color: var(--cprx-ink);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;

  pointer-events: auto;
}

#cprxDrawer a:hover,
#cprxDrawer a:focus,
#cprxDrawer button:hover,
#cprxDrawer button:focus,
.cprx-mobile-drawer a:hover,
.cprx-mobile-drawer a:focus,
.cprx-mobile-drawer button:hover,
.cprx-mobile-drawer button:focus,
.cprx-drawer a:hover,
.cprx-drawer a:focus,
.cprx-drawer button:hover,
.cprx-drawer button:focus {
  background: var(--cprx-soft);
  color: var(--cprx-primary);
}

/* Mobile handling for desktop dropdown markup */
#cprxDrawer .cprx-dd,
.cprx-mobile-drawer .cprx-dd,
.cprx-drawer .cprx-dd {
  width: 100%;
  display: block;
}

#cprxDrawer .cprx-dd__btn,
.cprx-mobile-drawer .cprx-dd__btn,
.cprx-drawer .cprx-dd__btn {
  cursor: default;
}

#cprxDrawer .cprx-dd__menu,
.cprx-mobile-drawer .cprx-dd__menu,
.cprx-drawer .cprx-dd__menu {
  position: static;
  display: block;
  min-width: 0;
  width: 100%;

  margin: 0;
  padding: 0 0 6px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#cprxDrawer .cprx-dd__item,
#cprxDrawer .cprx-dd__menu .nav-hub,
.cprx-mobile-drawer .cprx-dd__item,
.cprx-mobile-drawer .cprx-dd__menu .nav-hub,
.cprx-drawer .cprx-dd__item,
.cprx-drawer .cprx-dd__menu .nav-hub {
  min-height: 38px;
  padding: 9px 12px;
  border-bottom: 0;
  color: var(--cprx-muted);
  font-size: 0.86rem;
  font-weight: 750;
}

body.cprx-drawer-open {
  overflow: hidden;
}

/* ------------------------------
   HEADER RESPONSIVE RULES
   ------------------------------ */

@media (max-width: 1100px) {
  .cprx-topbar__inner {
    width: min(var(--cprx-wide), calc(100% - 28px));
    gap: 12px;
  }

  .cprx-nav {
    gap: 10px;
  }

  .cprx-nav__link,
  .cprx-dd__btn {
    padding: 8px 7px;
    font-size: 11px;
  }

  .cprx-btn--secure {
    min-width: 126px;
    padding: 0 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .cprx-topbar {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .cprx-topbar__inner {
    width: 100%;
    max-width: 100vw;
    min-height: 64px;
    margin: 0;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
    gap: 10px;
  }

  .cprx-brand {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .cprx-brand__text {
    min-width: 0;
    overflow: hidden;
  }

  .cprx-brand__name,
  .cprx-brand__tag {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cprx-nav {
    display: none;
  }

  .cprx-cta {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  .cprx-cta > a.cprx-btn--secure {
    display: none;
  }

  .cprx-hamburger {
    display: inline-flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex: 0 0 44px;
    z-index: 10001;
  }
}

/* Desktop safety: drawer stays unavailable unless JS says it is open */
@media (min-width: 901px) {
  body:not(.cprx-drawer-open) #cprxDrawer,
  body:not(.cprx-drawer-open) .cprx-mobile-drawer,
  body:not(.cprx-drawer-open) .cprx-drawer {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .cprx-topbar__inner {
    padding: 8px 10px;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .cprx-brand {
    gap: 8px;
  }

  .cprx-brand__logo {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
  }

  .cprx-brand__name {
    font-size: 0.78rem;
  }

  .cprx-brand__tag {
    font-size: 0.62rem;
  }

  .cprx-cta {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
  }

  .cprx-hamburger {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex-basis: 42px;
  }

  #cprxDrawer,
  .cprx-mobile-drawer,
  .cprx-drawer {
    top: 60px;
    width: min(100vw, 390px);
    max-height: calc(100vh - 60px);
    padding: 8px 10px 16px;
  }
}

@media (max-width: 380px) {
  .cprx-brand__tag {
    display: none;
  }

  .cprx-brand__name {
    font-size: 0.76rem;
  }

  #cprxDrawer a,
  #cprxDrawer button,
  .cprx-mobile-drawer a,
  .cprx-mobile-drawer button,
  .cprx-drawer a,
  .cprx-drawer button {
    font-size: 0.9rem;
  }
}
/* =========================================================
   08 — FOOTER
   PAGE: GLOBAL FOOTER
   PURPOSE: Footer layout and legal links
   RELATED HTML: /00-core/footer.php
   NOTES: No footer hide/restore hacks allowed.
   ========================================================= */

.site-footer,
.cprx-footer {
  display: block;
  background: #f4f8fd;
  border-top: 1px solid var(--cprx-line-strong);
  color: var(--cprx-ink);
}

.footer-wrap,
.cprx-footer__inner,
.footer-inner {
  width: min(var(--cprx-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.footer-columns,
.cprx-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand h2,
.footer-title,
.cprx-footer__name,
.footer-col h3,
.cprx-footer__title {
  color: var(--cprx-primary);
}

.footer-brand p,
.footer-col a,
.footer-disclaimer p,
.footer-links a,
.footer-bottom p,
.footer-note,
.footer-copy,
.cprx-footer__tag,
.cprx-footer__powered,
.cprx-footer__location,
.cprx-footer__copyright {
  color: var(--cprx-text);
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-links a,
.cprx-footer__col a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-col a:hover,
.footer-links a:hover,
.cprx-footer__col a:hover {
  color: var(--cprx-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-disclaimer {
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--cprx-line-strong);
  border-bottom: 1px solid var(--cprx-line-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cprx-line-strong);
}

.footer-bottom {
  padding-top: 14px;
}

/* =====================================================
PAGE: GLOBAL / SITEWIDE
SECTION: FOOTER — AOTA BADGE SIZE CONTROL
USED BY: Footer AOTA membership badge
PURPOSE: Prevent badge from overpowering footer content
===================================================== */

.site-footer img[alt*="American Occupational Therapy Association"],
.cprx-footer img[alt*="American Occupational Therapy Association"] {
  width: 120px;
  max-width: 120px;
  height: auto;
  margin: 16px auto 8px;
}

/* =====================================================
PAGE: GLOBAL / SITEWIDE
SECTION: FOOTER — GLOBAL EMAIL CAPTURE / STAY CONNECTED
USED BY: /00-core/footer.php
PURPOSE: Premium newsletter capture above footer aligned to global content rail
CTA MATRIX: cta-newsletter-hard-c002
===================================================== */

.email-capture {
  width: 100%;
  padding: 44px 0 38px;
  background:
    linear-gradient(180deg, #f5f7fb 0%, #eef5ff 100%);
}

.email-capture .container {
  width: min(var(--cprx-max), calc(100vw - 48px));
  max-width: var(--cprx-max);
  margin-left: auto;
  margin-right: auto;
}
.email-capture_card {
  width: 100%;
  max-width: none;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px;
  align-items: center;

  padding: 32px 36px;
  border: 3px solid transparent;
  border-radius: 30px;

  background:
    radial-gradient(720px 300px at 100% 0%, rgba(77, 119, 194, 0.24), transparent 60%) padding-box,
    radial-gradient(540px 260px at 0% 100%, rgba(10, 79, 163, 0.12), transparent 58%) padding-box,
    linear-gradient(135deg, #ffffff 0%, #f3f8ff 48%, #eaf3ff 100%) padding-box,
    linear-gradient(135deg, #0A4FA3 0%, #4D77C2 52%, #B8D4FF 100%) border-box;

  box-shadow: 0 22px 54px rgba(7, 24, 74, 0.10);
}

.email-capture_content {
  width: 100%;
  max-width: 480px;
  justify-self: start;
}

.email-capture_content h2 {
  max-width: 460px;
  margin: 0 0 8px;
  color: #07184a;
  font-size: clamp(1.5rem, 2.05vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.email-capture_content p {
  max-width: 460px;
  margin: 0;
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.58;
}

.email-capture_form {
  width: 100%;
  max-width: 620px;
  justify-self: end;
  display: grid;
  gap: 12px;
}

.email-capture_inputrow {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(250px, 1fr) 124px;
  gap: 12px;
  align-items: end;
}

.email-capture_field {
  min-width: 0;
}

.email-capture_card input[type="text"],
.email-capture_card input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1.5px solid #bfd0ea;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--cprx-body);
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.04);
}

.email-capture_card input[type="text"]:focus,
.email-capture_card input[type="email"]:focus {
  outline: none;
  border-color: var(--cprx-secondary);
  box-shadow: 0 0 0 4px rgba(77, 119, 194, 0.14);
}

.email-capture_card label {
  color: #07184a;
  font-size: 0.9rem;
  font-weight: 750;
}

.email-capture_inputrow .btn,
.email-capture_inputrow button[type="submit"] {
  width: 124px;
  min-width: 124px;
  min-height: 50px;
  padding-left: 0;
  padding-right: 0;
  border-radius: 15px;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(10, 79, 163, 0.22);
}

.email-capture_consent {
  width: 100%;
  max-width: 620px;
  margin: 0;
  color: #52606d;
  font-size: 0.78rem;
  line-height: 1.45;
}

.email-capture_consent .form-consent__label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.email-capture_consent input[type="checkbox"] {
  margin-top: 3px;
  flex: 0 0 auto;
}

/* Hide honeypot field from humans but keep it available for bot detection */
.hp-field,
.email-capture .hp-field,
.email-capture_field--website,
.email-capture input[name="website"],
.email-capture input[id="website"],
.email-capture label[for="website"] {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ------------------------------
   FOOTER EMAIL CAPTURE RESPONSIVE RULES
   ------------------------------ */

@media (max-width: 1000px) {
  .email-capture_card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .email-capture_content,
  .email-capture_content h2,
  .email-capture_content p,
  .email-capture_form,
  .email-capture_consent {
    max-width: 100%;
  }

  .email-capture_form {
    justify-self: stretch;
  }

  .email-capture_inputrow {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 124px;
  }
}

@media (max-width: 700px) {
  .email-capture .container {
    width: min(var(--cprx-wide), calc(100vw - 32px));
  }

  .email-capture_card {
    padding: 24px;
    border-radius: 26px;
  }

  .email-capture_inputrow {
    grid-template-columns: 1fr;
  }

  .email-capture_inputrow .btn,
  .email-capture_inputrow button[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .email-capture {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .email-capture_card {
    padding: 20px;
    border-radius: 24px;
  }
}
/* =========================================================
   09 — GLOBAL MODALS
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: CPRX image/resource preview modal
   RELATED HTML: Free resources preview, pillar preview, generic modal JS
   ========================================================= */

.cprx-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.cprx-modal.is-open {
  display: flex;
}

.cprx-modal__dialog,
.cprx-modal-content {
  position: relative;
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.cprx-modal__close,
.cprx-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
}

.cprx-modal__image,
.cprx-modal-content img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  margin: 0 auto 16px;
  background: #fff;
}

.cprx-modal__actions,
.cprx-modal-actions {
  margin-top: 10px;
  text-align: center;
}

body.cprx-modal-open {
  overflow: hidden;
}


/* =========================================================
   10 — GLOBAL CLOSE CTA SECTION
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: Required bottom-of-page CTA band
   RELATED HTML: Standard CLOSE SECTION using .cta-band_actions
   CTA RULE: Buttons here still route through controlled CTA system.
   ========================================================= */

.page-close {
  padding: 32px 0 24px;
}

.close-deep {
  position: relative;
  overflow: hidden;
  padding: 40px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--cprx-primary), var(--cprx-secondary));
  color: #fff;
  text-align: center;
  box-shadow: var(--cprx-shadow-blue);
}

.close-deep::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 200%;
  pointer-events: none;
  transform: rotate(20deg);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 70%);
}

.close-deep > * {
  position: relative;
  z-index: 1;
}

.close-deep h2,
.close-deep p,
.close-deep .subtitle {
  color: #fff;
}

.close-deep .subtitle,
.close-deep p,
.cta-band_actions .legal-intro {
  color: rgba(255, 255, 255, 0.92);
}

.close-deep .btn-primary,
.close-deep .btn--primary,
.cta-band_actions .btn-primary,
.cta-band_actions .btn--primary {
  background: #fff;
  color: var(--cprx-primary);
  border-color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.close-deep .btn-secondary,
.close-deep .btn--secondary,
.cta-band_actions .btn-secondary,
.cta-band_actions .btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

/* =========================================================
   11 — HOME PAGE
   PAGE: index.php / content/home.html
   STRUCTURE:
   - cprx-home-hero
   - cprx-home-steps
   - home-condition-search
   - home-problem / support lanes / organized / community close
   PURPOSE:
   Restores the working homepage layout with updated CarePlanRx™ language.
   ========================================================= */


/* =========================================================
   11.00 — HOME WRAP
   ========================================================= */

.cprx-home-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   11.10 — HERO
   ========================================================= */

.cprx-home-hero {
  display: block;
  width: 100%;
  padding: 46px 0 24px;
  background:
    radial-gradient(circle at 84% 10%, rgba(77, 119, 194, 0.14), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
}

.cprx-home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  min-height: 520px;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(620px 300px at 88% 14%, rgba(77, 119, 194, 0.14), transparent 70%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 22px 58px rgba(7, 24, 74, 0.10);
  overflow: hidden;
}

.cprx-home-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.cprx-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.08);
  color: #0A4FA3;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cprx-home-hero__copy h1 {
  margin: 0 0 18px;
  color: #061a46;
  font-size: clamp(3rem, 5.6vw, 5rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.cprx-home-hero__copy h1 span {
  color: #0A4FA3;
}

.cprx-home-hero__copy p {
  max-width: 540px;
  margin: 0;
  color: #263d62;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.62;
}

.cprx-home-hero__support {
  margin-top: 14px !important;
  color: #40516f !important;
}

.cprx-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 18px;
}

.cprx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.cprx-btn:hover,
.cprx-btn:focus-visible {
  transform: translateY(-2px);
}

.cprx-btn--primary {
  border: 1px solid #0A4FA3;
  background: #0A4FA3;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(10, 79, 163, 0.22);
}

.cprx-btn--secondary {
  border: 1px solid rgba(10, 79, 163, 0.28);
  background: #ffffff;
  color: #0A4FA3;
}

.cprx-home-hero__trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 540px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 16px;
  background: rgba(238, 246, 255, 0.78);
  color: #40516f;
}

.cprx-home-hero__trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #0A4FA3;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
}

.cprx-home-hero__trust p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.cprx-home-hero__visual {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.cprx-home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 28px 4px 28px;
  z-index: 0;
  border-radius: 38px;
  background:
    radial-gradient(420px 250px at 50% 30%, rgba(255,255,255,0.96), transparent 72%),
    linear-gradient(135deg, rgba(10,79,163,0.08), rgba(77,119,194,0.14));
  filter: drop-shadow(0 24px 46px rgba(7, 24, 74, 0.12));
}

.cprx-home-hero__visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-width: 620px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}


/* =========================================================
   11.20 — HERO STEP CARDS
   ========================================================= */

.cprx-home-steps {
  display: block;
  width: 100%;
  padding: 0 0 44px;
  background:
    linear-gradient(180deg, #f1f7ff 0%, #ffffff 100%);
}

.cprx-home-steps__grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -34px;
  margin-bottom: 20px;
}

.cprx-home-step-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 22px 24px;
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(77, 119, 194, 0.10), transparent 72%),
    #ffffff;
  color: #061a46;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(7, 24, 74, 0.10);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.cprx-home-step-card:hover,
.cprx-home-step-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(10, 79, 163, 0.32);
  box-shadow: 0 26px 56px rgba(7, 24, 74, 0.16);
}

.cprx-home-step-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 79, 163, 0.08);
  color: #0A4FA3;
  font-size: 1.35rem;
  font-weight: 950;
}

.cprx-home-step-card h2 {
  margin: 0 0 6px;
  color: #061a46;
  font-size: 1.04rem;
  font-weight: 950;
  line-height: 1.15;
}

.cprx-home-step-card p {
  margin: 0;
  color: #40516f;
  font-size: 0.86rem;
  line-height: 1.42;
}

.cprx-home-step-card > span {
  color: #0A4FA3;
  font-size: 1.2rem;
  font-weight: 950;
}

.cprx-home-steps__note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 16px;
  background: rgba(238, 246, 255, 0.72);
  color: #40516f;
  text-align: center;
}

.cprx-home-steps__note span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #0A4FA3;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
}

.cprx-home-steps__note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}


/* =========================================================
   11.30 — SEARCH GATEWAY
   ========================================================= */

.home-condition-search {
  padding: clamp(34px, 5vw, 58px) 0;
  background: #ffffff;
}

.home-condition-search__card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(620px 260px at 100% 0%, rgba(77, 119, 194, 0.12), transparent 66%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 44px rgba(7, 24, 74, 0.08);
}

.home-condition-search .home-section-head {
  text-align: left;
  max-width: 1060px;
  margin: 0 auto 24px;
}

.home-condition-search h2 {
  max-width: 1040px;
  margin: 0 0 14px;
  color: #061a46;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.home-condition-search p {
  max-width: 1000px;
  margin: 0;
  color: #40516f;
  font-size: 1rem;
  line-height: 1.65;
}

.home-condition-search__form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 230px) auto auto;
  gap: 10px;
  align-items: center;
  max-width: 1060px;
  margin: 22px auto 0;
}

.home-condition-search__form input[type="search"],
.home-condition-search__form select {
  width: 100%;
  min-height: 54px;
  border: 1.5px solid rgba(10, 79, 163, 0.20);
  border-radius: 16px;
  background: #ffffff;
  color: #061a46;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.04);
}

.home-condition-search__form input:focus,
.home-condition-search__form select:focus {
  outline: none;
  border-color: #4D77C2;
  box-shadow: 0 0 0 4px rgba(77, 119, 194, 0.14);
}

.home-condition-search__form .btn {
  min-height: 54px;
  white-space: nowrap;
}

.home-condition-search__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 1060px;
  margin: 16px auto 0;
  color: #40516f;
  font-size: 0.92rem;
}

.home-condition-search__suggestions span {
  font-weight: 850;
  color: #061a46;
}

.home-condition-search__suggestions a {
  color: #0A4FA3;
  font-weight: 850;
  text-decoration: none;
}


/* =========================================================
   11.90 — RESPONSIVE
   ========================================================= */

@media (max-width: 1040px) {
  .cprx-home-hero__grid {
    grid-template-columns: 1fr;
  }

  .cprx-home-hero__copy {
    max-width: 760px;
  }

  .cprx-home-hero__visual {
    min-height: 360px;
  }

  .cprx-home-steps__grid {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .home-condition-search__form {
    grid-template-columns: 1fr 1fr;
  }

  .home-condition-search__form input[type="search"],
  .home-condition-search__form select {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .cprx-home-wrap {
    width: min(100% - 28px, 1180px);
  }

  .cprx-home-hero {
    padding-top: 24px;
  }

  .cprx-home-hero__grid {
    padding: 24px;
    border-radius: 24px;
  }

  .cprx-home-hero__copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.75rem);
  }

  .cprx-home-hero__actions,
  .home-condition-search__form {
    grid-template-columns: 1fr;
  }

  .cprx-home-hero__actions .cprx-btn,
  .home-condition-search__form .btn {
    width: 100%;
  }

  .cprx-home-steps__note {
    text-align: left;
  }

  .home-condition-search .home-section-head {
    text-align: center;
  }

  .home-condition-search h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
}

/* =========================================================
   12 — FREE RESOURCES PAGE - hidden from header and footer
   PAGE: free-resources.php / free-resources.html
   SECTION: SPLIT LAYOUT + PILLAR PREVIEW STRIP
   PURPOSE: Free resources overview and pillar images
   RELATED HTML: Free resources page body sections
   ========================================================= */

.cprx-split__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.cprx-split__card {
  width: 100%;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cprx-shadow-sm);
}

.cprx-proof p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.cprx-proof ul {
  margin: 0;
  padding-left: 18px;
}

.cprx-proof-note {
  margin-top: 10px;
  color: var(--cprx-primary);
  font-weight: 750;
}

.cprx-disclaimer,
.legal-disclaimer,
.cprx-micro {
  color: var(--cprx-legal);
  font-size: 13px;
  line-height: 1.45;
}

.legal-disclaimer {
  max-width: 700px;
  margin: 20px auto 0;
  text-align: center;
}

.cprx-preview-strip {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 16px;
  background: #fff;
}

.cprx-preview-title {
  margin-bottom: 12px;
  color: var(--cprx-body);
  font-weight: 850;
}

.cprx-preview-row,
.pillars-grid,
.pillars-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pillar-tile,
.cprx-preview-item,
.pillar-img,
.collection-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.pillar-tile img,
.cprx-preview-item img,
.pillar-img img,
.collection-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.pillar-tile:hover,
.cprx-preview-item:hover,
.pillar-img:hover,
.collection-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--cprx-shadow-md);
}

.pillars-visual img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* ------------------------------
   FREE RESOURCES HERO
   Used by:
   /content/free-resources.html
   .resources-hero__panel
   ------------------------------ */

.resources-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: var(--cprx-radius-lg);
  background:
    radial-gradient(620px 280px at 100% 0%, rgba(77, 119, 194, 0.12), transparent 62%),
    #ffffff;
  box-shadow: var(--cprx-shadow-sm);
}

.resources-hero__content {
  max-width: 620px;
}

.resources-hero__subtitle {
  max-width: 620px;
  color: var(--cprx-text);
  font-size: 1rem;
  line-height: 1.6;
}

.resources-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.resources-hero__visual img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 22px;
}

.resources-hero__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 14px;
  background: var(--cprx-soft);
}

.resources-hero__note span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  background: var(--cprx-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
}

.resources-hero__note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ------------------------------
   FREE RESOURCES HERO RESPONSIVE
   ------------------------------ */

@media (max-width: 900px) {
  .resources-hero__panel {
    grid-template-columns: 1fr;
  }

  .resources-hero__visual img {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .resources-hero__panel {
    padding: 20px;
  }

  .resources-hero__visual img {
    max-width: 100%;
  }
}
/* =========================================================
   13 — QR HUB PAGE
   PAGE: qr-hub.php / free QR hub equivalent
   SECTION: HERO + SEARCH + INDEX CARDS + CONTACT
   PURPOSE: QR landing/search/index portal
   RELATED HTML: QR hub page body sections
   ========================================================= */

.qr-hub-hero {
  padding: 42px 0 22px;
  background:
    radial-gradient(1000px 420px at 0% 0%, rgba(10, 79, 163, 0.08), transparent 58%),
    radial-gradient(800px 360px at 100% 10%, rgba(77, 119, 194, 0.08), transparent 55%),
    var(--cprx-bg);
}

.qr-hero-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--cprx-shadow-blue);
}

.qr-hero-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
}

.qr-hero-copy .subtitle {
  max-width: 620px;
  margin-bottom: 18px;
}

.qr-hero-context {
  margin-top: 10px;
  color: var(--cprx-legal);
  font-size: 13px;
}

.qr-hero-context a {
  margin-left: 6px;
  color: var(--cprx-primary);
  font-weight: 850;
}

.qr-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-hero-visual img {
  width: 100%;
  max-width: 500px;
}

.qr-hub-search {
  padding-top: 8px;
}

.qr-search-shell {
  position: relative;
  padding: 24px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--cprx-shadow-md);
}

.qr-search-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cprx-primary), var(--cprx-secondary));
}

.qr-search-head {
  margin-bottom: 16px;
}

.qr-search-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.qr-search-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--cprx-primary);
  font-size: 13px;
  font-weight: 850;
}

.qr-search-results {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--cprx-line-soft);
}

.qr-hub-quick-nav {
  padding-top: 12px;
  padding-bottom: 18px;
}

.qr-jump-shell {
  position: sticky;
  top: 84px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--cprx-shadow-sm);
  backdrop-filter: blur(10px);
}

.qr-jump-label {
  color: var(--cprx-primary);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.qr-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qr-jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(10, 79, 163, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--cprx-primary);
  font-size: 13px;
  font-weight: 850;
  box-shadow: var(--cprx-shadow-sm);
}

.qr-jump-link:hover {
  background: var(--cprx-soft);
  border-color: rgba(10, 79, 163, 0.32);
}

.qr-index-section {
  padding-top: 22px;
  padding-bottom: 22px;
}

.qr-index-section .card {
  padding: 22px;
  border-radius: 24px;
}

.qr-index-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.qr-index-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.qr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
}

.qr-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.qr-card__title {
  margin: 0 0 10px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.qr-card__meta {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--cprx-legal);
  font-size: 0.95rem;
  line-height: 1.55;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.qr-card__actions {
  margin-top: auto;
  padding-top: 4px;
}

.qr-card[data-pillar="por"] .qr-card__pill,
.qr-card--por .qr-card__pill {
  background: rgba(10, 79, 163, 0.1);
  color: #0A4FA3;
  border: 1px solid rgba(10, 79, 163, 0.18);
}

.qr-card[data-pillar="dcm"] .qr-card__pill,
.qr-card--dcm .qr-card__pill {
  background: rgba(191, 193, 194, 0.24);
  color: #4b5563;
  border: 1px solid rgba(191, 193, 194, 0.5);
}

.qr-card[data-pillar="inj"] .qr-card__pill,
.qr-card--inj .qr-card__pill {
  background: rgba(201, 164, 62, 0.16);
  color: #8a6a00;
  border: 1px solid rgba(201, 164, 62, 0.34);
}

.qr-card[data-pillar="mwp"] .qr-card__pill,
.qr-card--mwp .qr-card__pill {
  background: rgba(240, 98, 146, 0.14);
  color: #b0235f;
  border: 1px solid rgba(240, 98, 146, 0.3);
}

.qr-card[data-pillar="hmb"] .qr-card__pill,
.qr-card--hmb .qr-card__pill {
  background: rgba(226, 162, 79, 0.16);
  color: #b66a32;
  border: 1px solid rgba(226, 162, 79, 0.34);
}

.qr-card[data-pillar="global"] .qr-card__pill,
.qr-card--global .qr-card__pill {
  background: rgba(106, 27, 154, 0.12);
  color: #6A1B9A;
  border: 1px solid rgba(106, 27, 154, 0.26);
}

.qr-index-section--por .card { border-top: 6px solid #0A4FA3; }
.qr-index-section--dcm .card { border-top: 6px solid #BFC1C2; }
.qr-index-section--inj .card { border-top: 6px solid #C9A43E; }
.qr-index-section--mwp .card { border-top: 6px solid #F06292; }
.qr-index-section--hmb .card { border-top: 6px solid #E2A24F; }
.qr-index-section--global .card { border-top: 6px solid #6A1B9A; }

.qr-contact-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid #d9e6f5;
  border-radius: 26px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
  box-shadow: 0 16px 32px rgba(10, 79, 163, 0.08);
}

.qr-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #d7e4f4;
  border-radius: 16px;
  background: #fbfdff;
  color: var(--cprx-legal);
}

#qr-hub-search,
#qr-hub-index,
#qr-section-por,
#qr-section-dcm,
#qr-section-inj,
#qr-section-mwp,
#qr-section-hmb,
#qr-section-global {
  scroll-margin-top: 110px;
}

/* =========================================================
   14 — LIBRARY PAGE
   PAGE: library.php
   CONTENT: /content/library.html

   PURPOSE:
   Premium CarePlanRx™ Library page with:
   - blended beach hero background
   - glass-style search jump bar
   - oversized pathway cards
   - Care Compass™ feature block
   - trust strip
   - protected live Library search/results section rendered by library.php

   SEARCH RULE:
   Do not change search behavior here.
   #librarySearch filtering is controlled by JavaScript in /library.php.
   This CSS only controls layout and appearance.
   ========================================================= */


/* =========================================================
   14.00 — PAGE BASE
   ========================================================= */

.library-page {
  background:
    radial-gradient(circle at top left, rgba(77, 119, 194, 0.10), transparent 34rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f7fbff 100%);
  color: #10233f;
}

.library-page .container {
  width: min(1280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.library-page section[id] {
  scroll-margin-top: 96px;
}

.library-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin: 0 0 10px;
  padding: 6px 10px;
  border: 1px solid rgba(10, 79, 163, 0.18);
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.08);
  color: #0A4FA3;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-card-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 9px;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.08);
  color: #0A4FA3;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* =========================================================
   14.10 — HERO / CONTAINED BEACH BACKGROUND
   Keeps the same full image composition, but inside the site rail.
   ========================================================= */

.library-hero--beach {
  position: relative;
  padding: 26px 0 0;
  overflow: visible;
  background: #f7fbff;
}

.library-hero__frame {
  position: relative;
  height: clamp(460px, 48vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 32px;
  background: #f7fbff;
  box-shadow: 0 24px 58px rgba(7, 24, 74, 0.10);
}

.library-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.library-hero__background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  object-position: center center;
}

.library-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.58) 0%,
      rgba(255,255,255,0.38) 28%,
      rgba(255,255,255,0.14) 58%,
      rgba(255,255,255,0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.14) 0%,
      rgba(255,255,255,0.02) 54%,
      rgba(247,251,255,0.88) 100%
    );
}

.library-hero__frame::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -1px;
  z-index: 2;
  height: clamp(78px, 8vw, 120px);
  pointer-events: none;
  background:
    radial-gradient(
      120% 120% at 50% -10%,
      rgba(255,255,255,0.10),
      rgba(255,255,255,0) 58%
    ),
    linear-gradient(
      175deg,
      rgba(255,255,255,0) 0 42%,
      rgba(225,239,255,0.62) 43% 64%,
      #f7fbff 65% 100%
    );
  border-top: 1px solid rgba(77, 119, 194, 0.16);
  transform: skewY(-1.4deg);
  transform-origin: bottom left;
}

.library-hero__content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(42px, 5vw, 72px) 24px 0;
  text-align: center;
}

.library-hero__content .library-kicker {
  margin-left: auto;
  margin-right: auto;
}

.library-hero__content h1 {
  max-width: 820px;
  margin: 0 auto 14px;
  color: #061a46;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5.4vw, 4.85rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.055em;
}


/* =========================================================
   14.20 — STARTING POINT CARDS
   ========================================================= */

.library-pathways {
  position: relative;
  z-index: 4;
  margin-top: clamp(-72px, -5vw, -42px);
  padding: 0 0 clamp(52px, 6vw, 84px);
}

.library-section-head {
  max-width: 880px;
  margin: 0 0 24px;
}

.library-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.library-section-head--center .library-kicker {
  margin-left: auto;
  margin-right: auto;
}

.library-section-head h2,
.library-results-header h2 {
  margin: 0;
  color: #061a46;
  font-size: clamp(1.9rem, 3.9vw, 3.15rem);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.library-section-head p,
.library-results-header p {
  max-width: 740px;
  margin: 10px auto 0;
  color: #40516f;
  line-height: 1.6;
}

.library-pathways__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.library-path-card {
  min-height: 292px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 34px 34px 30px;
  border: 1px solid rgba(10, 79, 163, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(280px 140px at 100% 0%, rgba(77, 119, 194, 0.12), transparent 70%),
    rgba(255,255,255,0.96);
  color: #10233f;
  text-decoration: none;
  box-shadow: 0 22px 52px rgba(7, 24, 74, 0.12);
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.library-path-card:hover,
.library-path-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(10, 79, 163, 0.30);
  box-shadow: 0 28px 62px rgba(7, 24, 74, 0.17);
}

.library-path-card__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(10, 79, 163, 0.10), rgba(77, 119, 194, 0.16));
  color: #0A4FA3;
  font-size: 1.6rem;
  font-weight: 950;
}

.library-path-card h3 {
  max-width: 320px;
  margin: 0;
  color: #061a46;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.1;
}

.library-path-card p {
  margin: 0;
  color: #40516f;
  font-size: 0.96rem;
  line-height: 1.56;
}

.library-path-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 8px;
  color: #0A4FA3;
  font-size: 0.92rem;
  font-weight: 950;
}

.library-path-card__link::after {
  content: "→";
  font-size: 1.1em;
}


/* =========================================================
   14.30 — CARE COMPASS FEATURE
   ========================================================= */

.library-compass-feature {
  padding: clamp(20px, 4vw, 34px) 0 clamp(34px, 6vw, 72px);
}

.library-compass-feature__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  max-width: 1040px;
  min-height: 420px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(620px 300px at 100% 20%, rgba(226, 196, 138, 0.18), transparent 68%),
    linear-gradient(135deg, #ffffff 0%, #fbfaf6 48%, #f6f9ff 100%);
  box-shadow: 0 28px 68px rgba(7, 24, 74, 0.13);
}

.library-compass-feature__image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.library-compass-feature__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.library-compass-feature__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 74, 0.08), rgba(255,255,255,0.38) 78%, rgba(255,255,255,0.78) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.05));
}

.library-compass-feature__note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  width: min(280px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 22px;
  background: rgba(255,255,255,0.91);
  color: #10233f;
  box-shadow: 0 18px 38px rgba(7, 24, 74, 0.16);
  backdrop-filter: blur(10px);
}

.library-compass-feature__note span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.10);
  color: #0A4FA3;
  font-size: 1.45rem;
  font-weight: 950;
}

.library-compass-feature__note strong {
  display: block;
  color: #061a46;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.15;
}

.library-compass-feature__note p {
  margin: 8px 0 0;
  color: #40516f;
  line-height: 1.5;
}
.library-compass-feature__content {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 4vw, 46px);
}

.library-compass-feature__content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86));
}

.library-compass-feature__compass {
  position: absolute;
  right: -44px;
  bottom: -60px;
  z-index: -1;
  width: min(350px, 42%);
  opacity: 0.92;
  filter: drop-shadow(0 22px 34px rgba(7, 24, 74, 0.16));
  pointer-events: none;
}

.library-compass-feature__content .library-kicker {
  margin-bottom: 12px;
}

.library-compass-feature__content h2 {
  max-width: 560px;
  margin: 0 0 12px;
  color: #061a46;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.library-compass-feature__content > p {
  max-width: 660px;
  margin: 0;
  color: #40516f;
  font-size: 1.02rem;
  line-height: 1.66;
}

.library-compass-feature__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 16px 20px;
  max-width: 620px;
  margin-top: 22px;
}

.library-compass-feature__points div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.library-compass-feature__points span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.09);
  color: #0A4FA3;
  font-weight: 950;
}

.library-compass-feature__points strong {
  color: #061a46;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.25;
}

.library-compass-feature__points p {
  margin: 4px 0 0;
  color: #52627f;
  font-size: 0.9rem;
  line-height: 1.45;
}

.library-compass-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}


/* =========================================================
   14.40 — TRUST STRIP
   ========================================================= */

.library-trust-strip {
  padding: 0 0 48px;
}

.library-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.library-trust-strip__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  padding: 20px 14px;
}

.library-trust-strip__item span {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 999px;
  background: #f4f8ff;
  color: #0A4FA3;
  font-weight: 950;
}

.library-trust-strip__item strong {
  color: #061a46;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.25;
}

.library-trust-strip__item p {
  margin: 4px 0 0;
  color: #52627f;
  font-size: 0.9rem;
  line-height: 1.4;
}


/* =========================================================
   14.50 — LIVE LIBRARY RESULTS + SEARCH
   Rendered by library.php
   ========================================================= */

.library-results-section {
  padding: 44px 0 80px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), #f7fbff 100%);
}

.library-results-header {
  text-align: center;
  margin-bottom: 18px;
}

.library-results-header .library-kicker {
  margin-left: auto;
  margin-right: auto;
}

.library-results-header h2 {
  margin-left: auto;
  margin-right: auto;
}

.library-results-header p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.library-tools {
  margin: 20px auto 24px;
}

.library-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 26px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(15, 138, 145, 0.12), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 38px rgba(7, 24, 74, 0.08);
}

.library-search-panel__copy h3 {
  margin: 0 0 8px;
  color: var(--cprx-ink, #061a46);
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.15;
}

.library-search-panel__copy p {
  max-width: 580px;
  margin: 0;
  color: var(--cprx-text, #40516f);
}

.library-search-panel__controls {
  display: grid;
  gap: 8px;
}

.library-search-label {
  color: var(--cprx-primary, #0A4FA3);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.library-search-box {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 9px 8px 16px;
  border: 1.5px solid rgba(10, 79, 163, 0.2);
  border-radius: 19px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(7, 24, 74, 0.04);
}

.library-search-box span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(15, 138, 145, 0.11);
  color: #0F8A91;
  font-size: 1.08rem;
  font-weight: 900;
}

.library-search-box input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cprx-ink, #061a46);
  font-size: 1rem;
  font-weight: 700;
}

.library-search-box input[type="search"]::placeholder {
  color: rgba(82, 98, 127, 0.78);
  font-weight: 650;
}

.library-search-box button {
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(10, 79, 163, 0.18);
  border-radius: 13px;
  background: var(--cprx-soft, #eef5ff);
  color: var(--cprx-primary, #0A4FA3);
  font-size: 0.78rem;
  font-weight: 950;
}

.library-search-box button:hover {
  background: var(--cprx-primary, #0A4FA3);
  color: #ffffff;
}

.library-search-count {
  margin: 0;
  color: var(--cprx-muted, #6b7890);
  font-size: 0.84rem;
  font-weight: 750;
}

.library-empty-search {
  max-width: 780px;
  margin: 22px auto 8px;
  padding: 22px 24px;
  border: 1.5px dashed rgba(10, 79, 163, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.96));
  text-align: center;
}

.library-empty-search h3 {
  margin: 0 0 6px;
  color: var(--cprx-ink, #061a46);
  font-size: 1rem;
  font-weight: 900;
}

.library-empty-search p {
  margin: 0;
  color: var(--cprx-muted, #6b7890);
  font-size: 0.88rem;
}

/* Hidden filtered cards should fully collapse */
.item-card[hidden] {
  display: none !important;
}


/* =========================================================
   14.90 — RESPONSIVE
   ========================================================= */

@media (max-width: 1040px) {
  .library-pathways__grid,
  .library-trust-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-compass-feature__panel {
    grid-template-columns: 1fr;
  }

  .library-compass-feature__image,
  .library-compass-feature__image img {
    min-height: 370px;
  }

  .library-compass-feature__image::after {
    background: linear-gradient(180deg, rgba(7,24,74,0.04), rgba(255,255,255,0.70));
  }

  .library-compass-feature__compass {
    width: 260px;
    opacity: 0.55;
  }

  .library-search-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .library-page .container {
    width: min(100% - 28px, 1280px);
  }

  .library-hero--beach {
    min-height: 610px;
  }

  .library-hero__content {
    padding-top: 54px;
  }

  .library-hero__content h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .library-hero__search-link {
    grid-template-columns: minmax(0, 1fr) 46px;
    min-height: 58px;
    padding-left: 18px;
  }

  .library-hero__search-link strong {
    width: 46px;
    height: 46px;
  }

  .library-hero__quick-links span {
    width: 100%;
    justify-content: center;
  }

  .library-pathways {
    margin-top: -72px;
  }

  .library-pathways__grid,
  .library-compass-feature__points,
  .library-trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .library-path-card {
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
  }

  .library-compass-feature__panel {
    border-radius: 26px;
  }

  .library-compass-feature__image,
  .library-compass-feature__image img {
    min-height: 310px;
  }

  .library-compass-feature__note {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -70px 18px 18px;
  }

  .library-compass-feature__content {
    padding: 26px 22px 30px;
  }

  .library-compass-feature__actions {
    flex-direction: column;
  }

  .library-compass-feature__actions .btn {
    width: 100%;
  }

  .library-search-box {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .library-search-box button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .library-path-card h3,
  .library-compass-feature__content h2 {
    letter-spacing: -0.035em;
  }

  .library-trust-strip__item {
    grid-template-columns: 44px minmax(0, 1fr);
  }
}


/* =========================================================
   ITEM PAGE — BOTTOM HALF CLEANUP
   Purpose: reduce clutter below details, make related tools premium/compact
========================================================= */

#item-next-steps {
    padding-top: 18px;
    padding-bottom: 18px;
}

#item-next-steps .section-heading {
    margin-bottom: 16px;
}

#item-next-steps .section-heading h2,
.item-related-section .section-heading h2 {
    margin-bottom: 6px;
}

#item-next-steps .section-heading p,
.item-related-section .section-heading p {
    max-width: 680px;
    margin-top: 0;
    color: #56677f;
    line-height: 1.55;
}

.item-next-grid {
    align-items: stretch;
}

.item-next-card {
    padding: 20px;
}

.item-next-card h3 {
    font-size: 1.05rem;
}

.item-next-card p {
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.item-related-section {
    padding-top: 14px;
    padding-bottom: 18px;
}

.item-related-section .section-heading {
    margin-bottom: 14px;
}

.item-related-accordion {
    max-width: 1040px;
    margin: 0 auto;
    border: 1px solid rgba(6, 33, 74, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(6, 33, 74, 0.055);
    overflow: hidden;
}

.item-related-accordion summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    color: #06214a;
    font-weight: 900;
}

.item-related-accordion summary::-webkit-details-marker {
    display: none;
}

.item-related-accordion summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #06214a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.05rem;
    line-height: 1;
}

.item-related-accordion[open] summary::after {
    content: "–";
    background: #2f7d32;
}

.item-related-accordion summary strong {
    margin-left: auto;
    color: #2f7d32;
    font-size: 0.88rem;
    white-space: nowrap;
}

.item-related-grid--compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    border-top: 1px solid rgba(6, 33, 74, 0.08);
    background: #fbfdfc;
}

.item-related-card--compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(6, 33, 74, 0.08);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: none;
}

.item-related-card--compact h3 {
    margin: 6px 0 5px;
    color: #06214a;
    font-size: 0.96rem;
    line-height: 1.25;
}

.item-related-card--compact p {
    margin: 0;
    color: #56677f;
    font-size: 0.84rem;
    line-height: 1.45;
}

.item-related-card--compact .item-card__badge {
    display: inline-flex;
    width: fit-content;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.item-card__button--compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    white-space: nowrap;
}

.item-evidence-close-section {
    padding-top: 14px;
    padding-bottom: 14px;
}

.item-reference-card--accordion {
    padding: 24px;
}

.item-reference-card--accordion h2 {
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.item-reference-intro {
    font-size: 0.92rem;
    line-height: 1.6;
}

.item-close-section {
    padding-top: 14px;
    padding-bottom: 18px;
}

.item-close-card {
    padding: 24px;
}

.item-close-card h2 {
    margin-bottom: 8px;
}

.item-close-card p {
    max-width: 760px;
    line-height: 1.58;
}

@media (max-width: 900px) {
    .item-related-grid--compact {
        grid-template-columns: 1fr;
    }

    .item-related-card--compact {
        grid-template-columns: 1fr;
    }

    .item-card__button--compact {
        width: fit-content;
    }
}

/* =========================================================
   ITEM PAGE — NESTED PREMIUM ACCORDION
   Purpose: keep Start Here visible, collapse deeper guidance
========================================================= */

.item-description-group--visible {
    border-color: rgba(47, 125, 50, 0.16);
}

.item-description-more {
    border-radius: 24px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(10, 79, 163, 0.08), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(6, 33, 74, 0.08);
    box-shadow: 0 14px 36px rgba(6, 33, 74, 0.045);
}

.item-description-more__header {
    margin-bottom: 16px;
}

.item-description-more__header h3 {
    margin: 0;
    color: #06214a;
    font-size: clamp(1.18rem, 1.7vw, 1.55rem);
    line-height: 1.15;
}

.item-description-more__header p {
    margin: 8px 0 0;
    color: #56677f;
    line-height: 1.55;
    max-width: 720px;
    font-size: 0.94rem;
}

.item-description-master-list {
    display: grid;
    gap: 12px;
}

.item-description-master {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(6, 33, 74, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(6, 33, 74, 0.045);
}

.item-description-master > summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    color: #06214a;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
}

.item-description-master > summary::-webkit-details-marker {
    display: none;
}

.item-description-master > summary span {
    display: grid;
    gap: 5px;
}

.item-description-master > summary strong {
    color: #06214a;
    font-size: 1rem;
    line-height: 1.25;
}

.item-description-master > summary em {
    color: #56677f;
    font-size: 0.88rem;
    line-height: 1.35;
    font-style: normal;
    font-weight: 500;
}

.item-description-master > summary b {
    color: #2f7d32;
    font-size: 0.78rem;
    white-space: nowrap;
    background: #eef6ec;
    border: 1px solid rgba(47, 125, 50, 0.1);
    border-radius: 999px;
    padding: 6px 10px;
}

.item-description-master > summary::after {
    content: "+";
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #06214a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(6, 33, 74, 0.16);
}

.item-description-master[open] > summary {
    background: linear-gradient(90deg, rgba(47, 125, 50, 0.06), rgba(255, 255, 255, 0));
    border-bottom: 1px solid rgba(6, 33, 74, 0.08);
}

.item-description-master[open] > summary::after {
    content: "–";
    background: #2f7d32;
}

.item-description-card-list--nested {
    padding: 16px;
    background: #fbfdfc;
}

.item-description-card--nested {
    box-shadow: none;
}

.item-description-card--nested summary {
    padding: 14px 16px;
    font-size: 0.92rem;
}

.item-description-card--nested .item-description-card__body {
    font-size: 0.94rem;
    line-height: 1.68;
    border-left: 3px solid rgba(47, 125, 50, 0.26);
}

/* subtle category accents */
.item-description-master--roadmap {
    border-color: rgba(10, 79, 163, 0.14);
}

.item-description-master--daily {
    border-color: rgba(47, 125, 50, 0.14);
}

.item-description-master--questions {
    border-color: rgba(226, 162, 79, 0.18);
}

.item-description-master--evidence {
    border-color: rgba(6, 33, 74, 0.14);
}

@media (max-width: 900px) {
    .item-description-more {
        padding: 18px;
    }

    .item-description-master > summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .item-description-master > summary b {
        display: none;
    }
}

/* =========================================================
   ITEM PAGE — LOWER PAGE ALIGNMENT / CLEAN RAIL
   Purpose: stop bottom-half zig-zagging and align all lower sections
========================================================= */

:root {
    --item-rail-width: 1040px;
}

/* Keep all lower-page content on the same visual rail */
#item-next-steps .container,
.item-related-section .container,
.item-evidence-close-section .container,
.item-close-section .container {
    max-width: var(--item-rail-width);
    margin-left: auto;
    margin-right: auto;
}

/* Section heading alignment */
#item-next-steps .section-heading,
.item-related-section .section-heading {
    max-width: var(--item-rail-width);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

/* Make bottom sections feel stacked, not scattered */
#item-next-steps,
.item-related-section,
.item-evidence-close-section,
.item-close-section {
    padding-top: 18px;
    padding-bottom: 18px;
}

/* Next-options area: stop awkward 3-column behavior when only 2 cards show */
.item-next-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: var(--item-rail-width);
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

/* If 3 cards are present, allow clean 3-column layout on wide screens */
.item-next-grid:has(.item-next-card:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Make next cards feel equal and grounded */
.item-next-card {
    min-height: 100%;
    padding: 22px;
    border-radius: 22px;
}

.item-next-card .cprx-btn,
.item-next-card .item-card__button {
    margin-top: auto;
}

/* Keep featured bundle card from visually overpowering the lower section */
#item-next-steps .item-next-card--featured {
    background: #ffffff;
    border-color: rgba(47, 125, 50, 0.18);
}

/* Related accordion should align with the same rail */
.item-related-accordion,
.item-reference-card--accordion,
.item-close-card {
    max-width: var(--item-rail-width);
    margin-left: auto;
    margin-right: auto;
}

/* Related section: reduce visual jump */
.item-related-accordion {
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(6, 33, 74, 0.05);
}

/* Reference section should not feel wider/narrower than related tools */
.item-reference-card--accordion {
    width: 100%;
    box-sizing: border-box;
}

/* CarePlanRx close should align and feel like a closing band */
.item-close-card {
    width: 100%;
    box-sizing: border-box;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(6, 33, 74, 0.08);
    box-shadow: 0 14px 34px rgba(6, 33, 74, 0.055);
}

/* Reduce excess gaps before footer/email capture */
.item-close-section {
    padding-bottom: 10px;
}

/* Email capture alignment if it sits directly under item page */
.global-email-capture,
.email-capture,
.capture-section {
    max-width: var(--item-rail-width);
    margin-left: auto;
    margin-right: auto;
}

/* Mobile: stack cleanly */
@media (max-width: 900px) {
    :root {
        --item-rail-width: 100%;
    }

    #item-next-steps .container,
    .item-related-section .container,
    .item-evidence-close-section .container,
    .item-close-section .container {
        max-width: 100%;
    }

    .item-next-grid,
    .item-next-grid:has(.item-next-card:nth-child(3)) {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ITEM PAGE — PREMIUM FINALE / NEXT STEP HUB
   Purpose: replace clunky lower stack with one designed closing experience
========================================================= */

.item-finale-section {
    padding-top: 28px;
    padding-bottom: 34px;
}

.item-finale-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(47, 125, 50, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(10, 79, 163, 0.10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(6, 33, 74, 0.10);
    box-shadow: 0 28px 72px rgba(6, 33, 74, 0.10);
}

.item-finale-header {
    max-width: 760px;
    margin-bottom: 26px;
}

.item-finale-header h2 {
    margin: 0;
    color: #06214a;
    font-size: clamp(1.85rem, 3vw, 2.8rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.item-finale-header p:not(.item-section-eyebrow) {
    margin: 12px 0 0;
    color: #4a5d76;
    font-size: 1rem;
    line-height: 1.62;
}

.item-finale-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: 20px;
    align-items: stretch;
}

.item-finale-bundle,
.item-finale-action-card,
.item-finale-panel,
.item-finale-close {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(6, 33, 74, 0.09);
    box-shadow: 0 16px 38px rgba(6, 33, 74, 0.065);
}

.item-finale-bundle {
    position: relative;
    min-height: 100%;
    border-radius: 28px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(47, 125, 50, 0.20), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #eef9ed 100%);
    border-color: rgba(47, 125, 50, 0.28);
    overflow: hidden;
}

.item-finale-bundle::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0)),
        radial-gradient(circle at bottom right, rgba(10, 79, 163, 0.06), transparent 34%);
    pointer-events: none;
}

.item-finale-bundle > * {
    position: relative;
    z-index: 1;
}

.item-finale-bundle__badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(47, 125, 50, 0.18);
    color: #2f7d32;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.item-finale-bundle h3 {
    margin: 0;
    color: #06214a;
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.item-finale-bundle p {
    max-width: 700px;
    margin: 12px 0 0;
    color: #30445f;
    font-size: 1rem;
    line-height: 1.62;
}

.item-finale-includes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 20px;
}

.item-finale-includes span {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(6, 33, 74, 0.08);
    border-radius: 14px;
    padding: 9px 11px;
    color: #30445f;
    font-size: 0.84rem;
    line-height: 1.25;
    font-weight: 800;
}

.item-finale-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.item-finale-action-stack {
    display: grid;
    gap: 14px;
}

.item-finale-action-card {
    border-radius: 24px;
    padding: 22px;
}

.item-finale-action-card--soft {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.item-finale-action-card span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #2f7d32;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.item-finale-action-card h3 {
    margin: 0;
    color: #06214a;
    font-size: 1.14rem;
    line-height: 1.18;
}

.item-finale-action-card p {
    margin: 10px 0 16px;
    color: #56677f;
    font-size: 0.92rem;
    line-height: 1.55;
}

.item-finale-trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 20px;
    margin-top: 20px;
}

.item-finale-panel {
    border-radius: 28px;
    padding: 22px;
}

.item-finale-panel--evidence {
    background:
        radial-gradient(circle at top right, rgba(10, 79, 163, 0.08), transparent 32%),
        #ffffff;
}

.item-finale-panel__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.item-finale-panel__header h3 {
    margin: 0;
    color: #06214a;
    font-size: 1.25rem;
    line-height: 1.15;
}

.item-finale-panel__header > span {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef6ec;
    border: 1px solid rgba(47, 125, 50, 0.10);
    color: #2f7d32;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.item-finale-tool-list {
    display: grid;
    gap: 9px;
}

.item-finale-tool {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 16px;
    background: #fbfdfc;
    border: 1px solid rgba(6, 33, 74, 0.07);
}

.item-finale-tool small {
    display: block;
    color: #2f7d32;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.item-finale-tool strong {
    display: block;
    color: #06214a;
    font-size: 0.91rem;
    line-height: 1.25;
}

.item-finale-tool__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #0A4FA3;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
}

.item-finale-more-tools {
    margin-top: 12px;
    border-radius: 18px;
    border: 1px solid rgba(6, 33, 74, 0.08);
    overflow: hidden;
    background: #ffffff;
}

.item-finale-more-tools summary {
    cursor: pointer;
    list-style: none;
    padding: 13px 15px;
    color: #06214a;
    font-weight: 900;
}

.item-finale-more-tools summary::-webkit-details-marker {
    display: none;
}

.item-finale-tool-list--extra {
    padding: 12px;
    border-top: 1px solid rgba(6, 33, 74, 0.08);
}

.item-finale-evidence-snapshot {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.item-finale-evidence-snapshot div {
    border-radius: 16px;
    background: #fbfdfc;
    border: 1px solid rgba(6, 33, 74, 0.07);
    padding: 13px 14px;
}

.item-finale-evidence-snapshot strong {
    display: block;
    color: #06214a;
    font-size: 0.94rem;
    line-height: 1.2;
}

.item-finale-evidence-snapshot p {
    margin: 5px 0 0;
    color: #56677f;
    font-size: 0.86rem;
    line-height: 1.45;
}

.item-finale-methodology {
    margin: 0 0 12px;
}

.item-finale-methodology a {
    color: #245f2d;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.item-finale-reference-accordion {
    border-radius: 18px;
    border: 1px solid rgba(6, 33, 74, 0.09);
    overflow: hidden;
    background: #ffffff;
}

.item-finale-reference-accordion summary {
    cursor: pointer;
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #06214a;
    font-weight: 900;
}

.item-finale-reference-accordion summary::-webkit-details-marker {
    display: none;
}

.item-finale-reference-accordion summary strong {
    color: #2f7d32;
    font-size: 0.78rem;
    white-space: nowrap;
}

.item-finale-reference-accordion summary::after {
    content: "+";
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #06214a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.item-finale-reference-accordion[open] summary::after {
    content: "–";
    background: #2f7d32;
}

.item-finale-reference-list {
    max-height: 320px;
    overflow: auto;
    margin: 0;
    padding: 16px 24px 18px 42px;
    border-top: 1px solid rgba(6, 33, 74, 0.08);
    color: #30445f;
    font-size: 0.84rem;
    line-height: 1.55;
}

.item-finale-reference-list li {
    margin-bottom: 10px;
}

.item-finale-reference-list a {
    color: #245f2d;
    font-weight: 800;
}

.item-finale-close {
    margin-top: 20px;
    border-radius: 28px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(10, 79, 163, 0.07), rgba(47, 125, 50, 0.07)),
        #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.item-finale-close h3 {
    margin: 0;
    color: #06214a;
    font-size: 1.35rem;
    line-height: 1.15;
}

.item-finale-close p:not(.item-section-eyebrow) {
    margin: 8px 0 0;
    color: #56677f;
    line-height: 1.55;
    max-width: 760px;
}

.item-finale-close__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 980px) {
    .item-finale-shell {
        padding: 24px;
        border-radius: 28px;
    }

    .item-finale-grid,
    .item-finale-trust-grid,
    .item-finale-close {
        grid-template-columns: 1fr;
    }

    .item-finale-includes {
        grid-template-columns: 1fr;
    }

    .item-finale-close__actions {
        justify-content: flex-start;
    }

    .item-finale-reference-accordion summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .item-finale-reference-accordion summary strong {
        display: none;
    }
}


/* =========================================================
   15 — COMPANIONS PAGE
   PAGE: companions.php
   PURPOSE:
   Defines the Applied Companions page as a medical-publisher style
   conversion page for paid structured guides.
   ARCHITECTURE RULE:
   Resources are pillar-based. Applied Companions are organized primarily
   by series and/or systems.
   CTA RULE:
   Major CTAs route through /route.php and include data attributes for
   analytics/governance.
   RELATED HTML:
   /content/companions.html
   ========================================================= */


/* ------------------------------
   SECTION 01 — HERO
   ------------------------------ */

.companions-hero {
  position: relative;
}

.companions-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(720px 360px at 96% 8%, rgba(255, 255, 255, 0.56), transparent 58%),
    linear-gradient(135deg, rgba(10, 79, 163, 0.98) 0%, rgba(77, 119, 194, 0.94) 48%, rgba(238, 245, 255, 1) 100%);
  box-shadow: var(--cprx-shadow-blue);
}

.companions-hero__content {
  max-width: 740px;
}

.companions-hero__eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.companions-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.companions-hero__subtitle {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.08rem;
  line-height: 1.65;
}

.companions-hero__actions {
  margin-top: 22px;
}

.companions-hero__actions .btn-primary,
.companions-hero__actions .btn--primary {
  background: #fff;
  color: var(--cprx-primary);
  border-color: #fff;
}

.companions-hero__actions .btn-secondary,
.companions-hero__actions .btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.companions-hero__publisher-card {
  width: min(100%, 370px);
  justify-self: center;
  padding: 24px;
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(7, 24, 74, 0.14);
}

.companions-hero__publisher-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.08);
  color: var(--cprx-primary);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.companions-hero__publisher-card strong {
  display: block;
  color: #07184a;
  font-size: 1.32rem;
  line-height: 1.15;
}

.companions-hero__publisher-card p {
  margin: 12px 0 0;
  color: #334155;
  line-height: 1.6;
}


/* ------------------------------
   SHARED COMPANIONS PAGE HEADERS
   ------------------------------ */

.companions-section-head {
  max-width: 860px;
  margin-bottom: 24px;
}

.companions-section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.companions-section-head h2 {
  margin: 0 0 12px;
  color: #1f2a37;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.companions-section-head p {
  margin: 0;
  color: #334155;
  font-size: 1.03rem;
  line-height: 1.65;
}


/* ------------------------------
   SECTION 02 — WHY COMPANIONS MATTER VISUAL
   Used by:
   /content/companions.html
   .companions-story-visual
   ------------------------------ */

.companions-story-visual {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 18px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(520px 260px at 50% 0%, rgba(77, 119, 194, 0.12), transparent 65%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: 0 12px 28px rgba(7, 24, 74, 0.06);
}

.companions-story-visual img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
}
/* ------------------------------
   SECTION 03 — FIND AN APPLIED COMPANION
   ------------------------------ */

.companions-finder__shell {
  padding: 26px;
  border: 1px solid #d9e5f4;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 32px rgba(10, 79, 163, 0.08);
}

.companions-finder__head {
  max-width: 820px;
  margin-bottom: 20px;
}

.companions-finder__head h2 {
  margin: 0 0 10px;
  color: #1f2a37;
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  line-height: 1.1;
}

.companions-finder__head p {
  margin: 0;
  color: #334155;
  line-height: 1.65;
}
.companions-microtrust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 14px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.06);
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}
.companions-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 240px) auto auto;
  gap: 12px;
  align-items: end;
}

.companions-search__field {
  display: grid;
  gap: 6px;
}

.companions-search__field span {
  color: var(--cprx-primary);
  font-size: 0.82rem;
  font-weight: 850;
}

.companions-search__field input,
.companions-search__field select {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid #d7e4f4;
  border-radius: 14px;
  background: #fff;
  color: #111827;
}

.companions-search__field input:focus,
.companions-search__field select:focus {
  outline: none;
  border-color: var(--cprx-primary);
  box-shadow: 0 0 0 4px rgba(10, 79, 163, 0.12);
}


/* ------------------------------
   SECTION 04 — WHY BUY
   ------------------------------ */

.companions-why-buy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 20px;
  align-items: stretch;
}

.companions-why-buy__main p {
  max-width: 72ch;
}

.companions-why-buy__side {
  display: grid;
  gap: 12px;
}

.companions-proof-point {
  padding: 18px;
  border: 1px solid var(--cprx-line);
  border-radius: 18px;
  background: #fff;
}

.companions-proof-point h3 {
  margin: 0 0 8px;
  color: var(--cprx-primary);
  font-size: 1.04rem;
}

.companions-proof-point p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}


/* ------------------------------
   SECTION 05 — BROWSE BY SERIES / SYSTEM
   ------------------------------ */

.companions-browse__card {
  display: grid;
  gap: 24px;
}

.companions-browse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.companions-browse-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--cprx-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.companions-browse-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 79, 163, 0.22);
  box-shadow: 0 14px 28px rgba(7, 24, 74, 0.08);
}

.companions-browse-card--featured {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-color: rgba(10, 79, 163, 0.24);
}

.companions-browse-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.08);
  color: var(--cprx-primary);
  font-weight: 950;
}

.companions-browse-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.18rem;
}

.companions-browse-card p {
  margin: 0 0 18px;
  color: #52606d;
  line-height: 1.6;
}

.companions-browse-card .btn {
  width: 100%;
  margin-top: auto;
}


/* ------------------------------
   SECTION 07 — HOW PURCHASE WORKS
   ------------------------------ */

.companions-purchase__card {
  display: grid;
  gap: 22px;
}

.companions-purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.companions-purchase-step {
  padding: 18px;
  border: 1px solid var(--cprx-line);
  border-radius: 18px;
  background: #fff;
}

.companions-purchase-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--cprx-primary);
  color: #fff;
  font-weight: 950;
}

.companions-purchase-step h3 {
  margin: 0 0 8px;
  color: #111827;
}

.companions-purchase-step p {
  margin: 0;
  color: #52606d;
  line-height: 1.55;
}

.companions-purchase__actions {
  margin-top: 4px;
}


/* ------------------------------
   SECTION 08 — CLOSE
   ------------------------------ */

.companions-close .close-deep {
  border-radius: 24px;
}

.companions-hero__visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* ------------------------------
   SECTION 15 RESPONSIVE RULES
   ------------------------------ */

@media (max-width: 1100px) {
  .companions-search {
    grid-template-columns: 1fr 1fr;
  }

  .companions-trust-grid,
  .companions-browse-grid,
  .companions-purchase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .companions-hero__panel,
  .companions-why-buy__grid {
    grid-template-columns: 1fr;
  }

  .companions-hero__panel {
    padding: 26px;
  }

  .companions-hero__publisher-card {
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .companions-search {
    grid-template-columns: 1fr;
  }

  .companions-search .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .companions-hero__panel,
  .companions-trust__card,
  .companions-finder__shell,
  .companions-browse__card,
  .companions-purchase__card {
    padding: 20px;
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .companions-microtrust {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 16px;
    text-align: left;
  }
}
/* =========================================================
   16 — COMMON QUESTIONS + FUNCTIONAL SUPPORT
   PAGE: companions.php
   SECTION: #companion-questions
   PURPOSE:
   Answers common visitor questions before purchase and uses the Journey to
   Independence image as supporting visual context.
   RELATED HTML:
   /content/companions.html, Section 06
   IMAGE:
   /01-assets/images/journey-to-independence.png
   CTA RULE:
   CTAs route through /route.php using governed CTA IDs and data attributes.
   ========================================================= */

#companion-questions .companion-questions {
  padding: 32px;
}

#companion-questions .companion-questions__header {
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
}

#companion-questions .companion-questions__header h2 {
  margin: 0 0 14px;
  color: #1f2a37;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

#companion-questions .companion-questions__header p {
  margin: 0;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.65;
}

#companion-questions .companion-questions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

#companion-questions .companion-question-card {
  padding: 20px;
  border: 1px solid var(--cprx-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 6px 18px rgba(7, 24, 74, 0.04);
}

#companion-questions .companion-question-card h3 {
  margin: 0 0 10px;
  color: var(--cprx-primary);
  font-size: 1.05rem;
  line-height: 1.25;
}

#companion-questions .companion-question-card p {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

#companion-questions .companion-questions__visual-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: center;
  max-width: 920px;
  margin: 8px auto 0;
  padding: 18px;
  border: 1px solid #d9e5f4;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

#companion-questions .companion-questions__media {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 12px;
  border: 1px solid #d9e5f4;
  border-radius: 20px;
  background: #eef4fb;
  box-shadow: 0 8px 22px rgba(10, 79, 163, 0.06);
}

#companion-questions .companion-questions__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(10, 79, 163, 0.04), rgba(10, 79, 163, 0.08));
}

#companion-questions .companion-questions__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  filter: saturate(0.72) contrast(0.96);
}

#companion-questions .companion-questions__note {
  padding: 4px;
}

#companion-questions .companion-questions__note h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.25rem;
  line-height: 1.2;
}

#companion-questions .companion-questions__note p {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

#companion-questions .companion-questions__actions {
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 900px) {
  #companion-questions .companion-questions {
    padding: 24px;
  }

  #companion-questions .companion-questions__grid,
  #companion-questions .companion-questions__visual-wrap {
    grid-template-columns: 1fr;
  }

  #companion-questions .companion-questions__media img {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  #companion-questions .companion-questions {
    padding: 20px;
  }

  #companion-questions .companion-question-card {
    padding: 18px;
  }

  #companion-questions .companion-questions__visual-wrap {
    padding: 14px;
    border-radius: 20px;
  }

  #companion-questions .companion-questions__media img {
    max-width: 100%;
  }

  #companion-questions .companion-questions__actions,
  #companion-questions .companion-questions__actions .btn {
    width: 100%;
  }
}


/* =========================================================
   17 — LEGAL / FAQ PAGES
   PAGE: privacy.php, terms.php, accessibility.php, FAQ sections
   SECTION: Legal card, TOC, FAQ accordion
   PURPOSE: Compliance/legal readability
   RELATED HTML: Legal pages and FAQ components
   ========================================================= */

.legal-card {
  max-width: 980px;
  margin: 0 auto;
}

.legal-title {
  margin: 0 0 10px;
}

.legal-meta {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(34, 34, 34, 0.1);
  border-radius: 14px;
}

.legal-meta__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(34, 34, 34, 0.75);
  font-size: 13.5px;
}

.legal-meta__label {
  color: rgba(34, 34, 34, 0.7);
  font-weight: 750;
}

.legal-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
}

.legal-list {
  margin: 8px 0 0 18px;
  color: rgba(34, 34, 34, 0.78);
}

.legal-toc {
  margin-bottom: 32px;
}

.legal-toc__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 18px;
}

.legal-toc__link {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #333;
  font-size: 15px;
}

.legal-toc__link:hover,
.legal-toc__link.active {
  background: #f3f7fd;
  color: var(--cprx-primary);
}

.legal-related {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
}

.legal-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.legal-related__links a {
  color: var(--cprx-secondary);
  font-weight: 700;
}

.legal-related__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-card {
  padding-top: 6px;
}

.faq-item {
  padding: 14px 0;
  border-top: 1px solid var(--cprx-line-soft);
  transition: background-color 0.18s ease;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--cprx-line-soft);
}

.faq-item summary {
  position: relative;
  padding: 2px 34px 2px 0;
  color: var(--cprx-body);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 8px;
  background: #fff;
  color: var(--cprx-primary);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-content {
  margin-top: 10px;
  color: var(--cprx-muted);
  line-height: 1.65;
}

.faq-item[open] {
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 12px;
  background-color: rgba(248, 251, 255, 0.6);
}


/* =========================================================
   18 — UTILITY CLASSES
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: Small helpers only
   NOTES: Keep this short. Do not hide major layout fixes here.
   ========================================================= */

.muted {
  color: var(--cprx-muted);
}

.nav-hub {
  display: block;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cprx-line-soft);
  font-weight: 800;
}

.blockwrap {
  position: relative;
}

.edit-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #cfe5ff;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--cprx-primary);
  box-shadow: var(--cprx-shadow-sm);
  font-size: 12px;
  font-weight: 800;
}

#backToTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(34, 34, 34, 0.15);
  border-radius: 999px;
  background: #fff;
  color: var(--cprx-primary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  font-size: 18px;
  font-weight: 900;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#backToTop.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}


/* =========================================================
   19 — RESPONSIVE HELPERS
   PAGE: GLOBAL / SITEWIDE
   PURPOSE: Shared breakpoint behavior
   NOTES: Page-specific mobile rules should stay near the page block
   unless they apply across the site.
   ========================================================= */

@media (max-width: 1100px) {
  .grid-4,
  .home-whats-happening .grid-4,
  .companions-series-preview,
  .lib-grid,
  .library-system-grid,
  .library-product-grid,
  .lib-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-columns,
  .cprx-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cprx-preview-row,
  .pillars-grid,
  .pillars-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .cprx-nav {
    display: none;
  }

  .cprx-hamburger {
    display: inline-flex;
  }

  .cprx-drawer {
    display: block;
  }

  .cprx-home-hero__grid,
  .cprx-home-steps__grid,
  .qr-hero-shell,
  .qr-contact-shell,
  .lib-hero,
  .lib-hero__card,
  .cprx-library-grid,
  .companions-hero__panel,
  .footer-top,
  .cprx-split__grid,
  #functional-outcomes .fo-bottom-grid {
    grid-template-columns: 1fr;
  }

  .cprx-home-hero__copy {
    max-width: none;
  }

  .cprx-home-hero__visual {
    min-height: auto;
  }

  .cprx-home-hero__visual img {
    width: 100%;
  }

  .qr-search-controls {
    grid-template-columns: 1fr 1fr;
  }

  .library-pathways__grid,
  .lib-pathways__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  .cprx-drawer {
    display: none;
  }
}

@media (max-width: 768px) {
  .cta-row,
  .cta-actions,
  .cprx-btnrow,
  .hero-actions,
  .home-anchor__actions,
  .clinical-jumpnav-links,
  .library-hero__actions,
  .library-help__actions,
  .lib-hero__actions,
  .companions-hero__actions,
  .system-card__actions,
  .product-card__actions,
  .qr-search-actions,
  .qr-contact-actions,
  .cta-band_actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn,
  .cta-actions .btn,
  .cprx-btnrow .btn,
  .hero-actions .btn,
  .library-hero__actions .btn,
  .library-help__actions .btn,
  .lib-hero__actions .lib-btn,
  .companions-hero__actions .btn,
  .system-card__actions .btn,
  .product-card__actions .btn,
  .qr-search-actions .btn,
  .qr-contact-actions .btn,
  .cta-band_actions .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .home-whats-happening .grid-4,
  .lib-grid,
  .library-system-grid,
  .library-product-grid,
  .lib-preview__grid,
  .companions-series-preview,
  #functional-outcomes .fo-journey-actions {
    grid-template-columns: 1fr;
  }

  .qr-search-controls {
    grid-template-columns: 1fr;
  }

  .footer-columns,
  .cprx-footer__grid {
    grid-template-columns: 1fr;
  }

  .cprx-preview-row,
  .pillars-grid,
  .pillars-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-photo {
    height: 140px;
  }
}

@media (max-width: 640px) {
  :root {
    --cprx-pad: 18px;
    --cprx-section-y: 22px;
  }

  .container,
  .site-wrap,
  .cprx-home-wrap,
  .cprx-library-wrap,
  .container--wide,
  .lib .container,
  .footer-wrap,
  .cprx-footer__inner,
  .footer-inner {
    width: min(100% - 32px, var(--cprx-max));
  }

  .card,
  .card-pad,
  .cprx-split__card,
  .lib-hero,
  .lib-hero__card,
  .cprx-library-grid,
  .companions-hero__panel,
  #functional-outcomes .functional-outcomes {
    padding: 20px;
  }

  .close-deep {
    padding: 32px 20px;
  }

  .cprx-home-step-card {
    grid-template-columns: 52px 1fr;
  }

  .cprx-home-step-card > span {
    display: none;
  }

  .companions-hero__visual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .companions-hero__tile {
    min-height: 110px;
    border-radius: 20px;
  }

  .qr-jump-shell {
    top: 74px;
  }
}

@media (max-width: 480px) {
  .cprx-preview-row,
  .pillars-grid,
  .pillars-row {
    grid-template-columns: 1fr;
  }

  .companions-hero__visual-grid {
    grid-template-columns: 1fr;
  }
}




/* =========================================================
   21 — FOR ORGANIZATIONS / INSTITUTIONAL PAGES

   PAGES:
   /institutional-overview.php
   /institutional-framework.php
   Future dropdown pages under For Organizations

   CONTENT FILES:
   /content/institutional-overview.html
   /content/institutional-framework.html

   STORY ARC:
   ACT 6 — SCALE
   "This helps teams support people beyond the handoff."

   PURPOSE:
   Styles the organization-facing CarePlanRx™ pages in the For Organizations
   dropdown. These pages explain how CarePlanRx™ helps teams support clarity,
   caregiver education, follow-through, feedback, and practical support after care.

   HERO RULE:
   These pages reuse the shared premium hero family by pairing page-specific
   classes with .companions-hero classes in the HTML.

   GLOBAL CLOSE RULE:
   Do not create custom close sections here.
   Pages should call:
   getContent('global-item-close');

   CTA RULE:
   Normal navigation uses direct links.
   Controlled, gated, paid, download, notify, email capture, checkout,
   and item-specific actions must route through /route.php only when tied
   to real cta_matrix records and real item IDs.
   ========================================================= */


/* =========================================================
   21 — FOR ORGANIZATIONS / INSTITUTIONAL PAGES

   PAGES:
   /institutional-overview.php
   /institutional-framework.php
   Future For Organizations dropdown pages

   PURPOSE:
   Styles the organization-facing CarePlanRx™ pages in the For Organizations
   dropdown. These pages explain how CarePlanRx™ helps teams support people
   beyond the handoff with clarity, caregiver education, follow-through,
   feedback, and practical support after care.

   HERO RULE:
   These pages reuse the shared premium hero family by pairing page-specific
   classes with .companions-hero classes in the HTML.

   GLOBAL CLOSE RULE:
   Do not create custom close sections here.
   Pages should call:
   getContent('global-item-close');

   CTA RULE:
   Normal navigation uses direct links.
   Controlled, gated, paid, download, notify, email capture, checkout,
   and item-specific actions must route through /route.php only when tied
   to real cta_matrix records and real item IDs.
   ========================================================= */


/* ------------------------------
   21.00 — SHARED ORGANIZATION PAGE RULES
   ------------------------------ */

.org-page .section,
.institutional-page .section,
.orgfw-page .section,
.org-hero,
.orgfw-hero {
  scroll-margin-top: 96px;
}

.org-gap__card,
.org-tools__card,
.org-fit__card,
.org-trust__card,
.orgfw-pillars__card,
.orgfw-process__card,
.orgfw-tools__card,
.orgfw-trust__card {
  overflow: hidden;
}

.org-gap__card .grid-3,
.org-tools__card .grid-3,
.org-fit__card .grid-3,
.org-trust__card .grid-2,
.orgfw-tools__card .grid-3,
.orgfw-trust__card .grid-3 {
  margin-top: 18px;
}

.org-gap__card .note-band,
.org-trust__card .note-band,
.orgfw-pillars__card .note-band,
.orgfw-trust__card .note-band {
  margin-top: 18px;
}


/* ------------------------------
   21.01 — SHARED ORGANIZATION HERO PATTERN
   Used by:
   .org-hero
   .orgfw-hero
   ------------------------------ */

.org-hero__media,
.orgfw-hero__media {
  display: grid;
  gap: 14px;
  justify-items: center;
  align-items: center;
}

.org-hero__visual,
.orgfw-hero__visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.org-hero__visual img,
.orgfw-hero__visual img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

.org-hero__publisher-card,
.orgfw-hero__publisher-card {
  margin-top: 0;
}


/* ------------------------------
   21.02 — INSTITUTIONAL OVERVIEW
   PAGE:
   /institutional-overview.php
   ------------------------------ */

.org-tools__card .support-card,
.org-trust__card .support-card {
  display: flex;
  flex-direction: column;
}

.org-tools__card .support-card .btn,
.org-trust__card .support-card .btn {
  width: 100%;
  margin-top: auto;
}

.org-tools__card .support-card .cta-row,
.org-trust__card .support-card .cta-row {
  margin-top: auto;
}

.org-trust__card .cta-row {
  justify-content: center;
  margin-top: 20px;
}


/* ------------------------------
   21.03 — INSTITUTIONAL FRAMEWORK
   PAGE:
   /institutional-framework.php

   Used by:
   .orgfw-pillars
   .orgfw-process
   .orgfw-solutions
   .orgfw-trust
   ------------------------------ */

/* Framework pillar row */

.orgfw-pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}

.orgfw-pillar-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 18px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.orgfw-pillar-card .pill-tag {
  align-self: center;
  margin-bottom: 8px;
}

.orgfw-pillar-card h3 {
  margin: 4px 0 10px;
  font-size: 1.05rem;
  line-height: 1.16;
}

.orgfw-pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.orgfw-pillar-card:hover,
.orgfw-pillar-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(10, 79, 163, 0.28);
  box-shadow: 0 14px 28px rgba(7, 24, 74, 0.08);
}

.orgfw-pillar-card:focus-visible {
  outline: 3px solid rgba(10, 79, 163, 0.24);
  outline-offset: 4px;
}


/* Visual process strip — matches mockup style */

.orgfw-process__card--visual {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(760px 260px at 50% 0%, rgba(77, 119, 194, 0.12), transparent 65%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.orgfw-steps-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

.orgfw-steps-strip::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  border-top: 3px dotted rgba(10, 79, 163, 0.34);
  pointer-events: none;
}

.orgfw-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.orgfw-step__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(238, 245, 255, 0.92)),
    #ffffff;
  color: var(--cprx-primary);
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(7, 24, 74, 0.08);
}

.orgfw-step h3 {
  margin: 0 0 6px;
  color: var(--cprx-ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.orgfw-step p {
  max-width: 170px;
  margin: 0 auto;
  color: var(--cprx-text);
  font-size: 0.82rem;
  line-height: 1.45;
}


/* Solution row — compact visual cards like the mockup */

.orgfw-solution-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 22px;
}

.orgfw-solution-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 14px;
  text-align: center;
}

.orgfw-solution-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: rgba(10, 79, 163, 0.08);
  color: var(--cprx-primary);
  font-size: 1.45rem;
  font-weight: 950;
}

.orgfw-solution-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.18;
}

.orgfw-solution-card p {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.orgfw-solution-card .btn {
  width: 100%;
  min-height: 38px;
  margin-top: auto;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
}


/* Trust split — bottom visual section from mockup */

.orgfw-trust__card--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
}

.orgfw-trust__main {
  min-width: 0;
}

.orgfw-trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.orgfw-trust-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.orgfw-trust-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(10, 79, 163, 0.15);
  border-radius: 999px;
  background: rgba(10, 79, 163, 0.08);
  color: var(--cprx-primary);
  font-size: 1rem;
  font-weight: 950;
}

.orgfw-trust-point h3 {
  margin: 0 0 5px;
  font-size: 0.95rem;
}

.orgfw-trust-point p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.48;
}

.orgfw-trust__next {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(77, 119, 194, 0.14), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: var(--cprx-shadow-sm);
}

.orgfw-trust__next h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.orgfw-trust__next p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.orgfw-trust__next .cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.orgfw-trust__next .btn {
  width: 100%;
}

.orgfw-trust__card--split .note-band {
  grid-column: 1 / -1;
  margin-top: 0;
}


/* ------------------------------
   21.99 — RESPONSIVE RULES
   ------------------------------ */

@media (max-width: 1180px) {
  .orgfw-pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .orgfw-solution-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .orgfw-steps-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orgfw-steps-strip::before {
    display: none;
  }

  .orgfw-step p {
    max-width: 260px;
  }

  .orgfw-trust__card--split {
    grid-template-columns: 1fr;
  }

  .orgfw-trust-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .org-gap__card .grid-3,
  .org-tools__card .grid-3,
  .org-fit__card .grid-3,
  .org-trust__card .grid-2,
  .orgfw-tools__card .grid-3,
  .orgfw-trust__card .grid-3,
  .orgfw-pillar-grid,
  .orgfw-solution-grid {
    grid-template-columns: 1fr;
  }

  .org-trust__card .cta-row,
  .orgfw-trust__card .cta-row {
    align-items: stretch;
  }

  .org-trust__card .cta-row .btn,
  .orgfw-trust__card .cta-row .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .org-gap__card,
  .org-tools__card,
  .org-fit__card,
  .org-trust__card,
  .orgfw-pillars__card,
  .orgfw-process__card,
  .orgfw-tools__card,
  .orgfw-trust__card {
    padding: 20px;
    border-radius: 20px;
  }

  .org-hero__visual img,
  .orgfw-hero__visual img {
    max-width: 100%;
  }

  .orgfw-steps-strip {
    grid-template-columns: 1fr;
  }

  .orgfw-step {
    text-align: left;
    justify-items: start;
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .orgfw-step__icon {
    width: 54px;
    height: 54px;
    margin: 0;
  }

  .orgfw-step h3,
  .orgfw-step p {
    text-align: left;
  }

  .orgfw-solution-card {
    text-align: left;
  }

  .orgfw-solution-icon {
    margin-left: 0;
  }
}

/* ------------------------------
   21.04 — CLINICAL USE CASES
   PAGE:
   /clinical-use-cases.php

   CONTENT:
   /content/clinical-use-cases.html

   HERO IMAGE:
   /01-assets/images/clinical-use-cases.png

   PURPOSE:
   Matches the visual theme of the modeled clinical use cases mockup:
   wide image-led hero, compact modeled scenario cards, shared boundary strip,
   outcome logic, AMA-style references, and clear next step.

   GOVERNANCE:
   These are modeled scenarios, not named client case studies.
   ------------------------------ */


/* ------------------------------
   CLINICAL HERO — WIDE IMAGE-LED BANNER
   ------------------------------ */

.clinical-hero {
  padding-top: 18px;
  padding-bottom: 18px;
}

.clinical-hero__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(900px 420px at 75% 10%, rgba(77, 119, 194, 0.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--cprx-shadow-blue);
}

.clinical-hero__visual {
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
}

.clinical-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.clinical-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 28px 28px;
  margin-top: -8px;
}


/* ------------------------------
   MODELED CASE SECTION — 4-CARD GRID
   ------------------------------ */

.clinical-cases__card {
  padding: 30px;
  border-radius: 24px;
  background: #ffffff;
}

.clinical-cases__card .home-section-head {
  max-width: 880px;
  margin: 0 auto 24px;
  text-align: center;
}

.clinical-cases__card .home-section-head .section-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.clinical-cases__card .home-section-head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.08;
}

.clinical-cases__card .home-section-head p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  line-height: 1.5;
}

.clinical-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}

.clinical-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(10, 79, 163, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(360px 140px at 100% 0%, rgba(77, 119, 194, 0.08), transparent 58%),
    #ffffff;
  box-shadow: 0 8px 20px rgba(7, 24, 74, 0.045);
}

.clinical-case-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.clinical-case-card__top .pill-tag {
  min-height: 24px;
  padding: 5px 9px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.clinical-case-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cprx-primary-bright), var(--cprx-primary));
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(36, 88, 242, 0.18);
}

.clinical-case-card h3 {
  margin: 0 0 10px;
  color: var(--cprx-ink);
  font-size: 1.02rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.clinical-case-card > p {
  margin: 0 0 14px;
  color: var(--cprx-text);
  font-size: 0.84rem;
  line-height: 1.48;
}

.clinical-mini-list {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.clinical-mini-list li {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: var(--cprx-text);
  font-size: 0.78rem;
  line-height: 1.35;
}

.clinical-mini-list li::before {
  content: "⊙";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--cprx-primary);
  font-size: 0.9rem;
  font-weight: 950;
}

.clinical-pathways {
  margin-top: auto;
  padding-top: 12px;
}

.clinical-pathways p {
  margin: 0 0 8px;
  color: var(--cprx-ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.clinical-pathways__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.clinical-pathways__links .btn {
  width: 100%;
  min-height: 34px;
  padding: 8px 8px;
  border-radius: 9px;
  font-size: 0.68rem;
  line-height: 1.08;
  white-space: normal;
  box-shadow: none;
}

.clinical-pathways__links .btn-primary {
  box-shadow: 0 8px 18px rgba(36, 88, 242, 0.18);
}


/* ------------------------------
   SHARED BOUNDARY STRIP + IMPACT STATEMENT
   ------------------------------ */

.clinical-shared__card {
  padding: 24px;
}

.clinical-shared__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 24px;
  align-items: center;
}

.clinical-shared__boundaries {
  min-width: 0;
}

.clinical-boundary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.clinical-boundary-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.clinical-boundary-item p {
  margin: 0;
  color: var(--cprx-text);
  font-size: 0.86rem;
  line-height: 1.45;
}

.clinical-boundary-icon,
.clinical-shared__globe {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.95)),
    #ffffff;
  color: var(--cprx-primary);
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.06);
}

.clinical-boundary-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(10, 79, 163, 0.16);
}

.clinical-boundary-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clinical-shared__statement {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(77, 119, 194, 0.14), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.clinical-shared__globe {
  width: 82px;
  height: 82px;
  background: linear-gradient(135deg, rgba(36, 88, 242, 0.88), rgba(10, 79, 163, 0.96));
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(10, 79, 163, 0.18);
}

.clinical-shared__globe svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clinical-shared__statement h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.clinical-shared__statement p {
  margin: 0 0 4px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.clinical-shared__statement strong {
  display: block;
  color: var(--cprx-primary);
  font-size: 1.08rem;
  line-height: 1.35;
}


/* ------------------------------
   OUTCOME LOGIC CARDS
   ------------------------------ */

.clinical-outcomes__card {
  padding: 28px;
}

.clinical-outcome-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: 22px;
}

.clinical-outcome-card {
  padding: 18px 14px;
  border: 1px solid var(--cprx-line-soft);
  border-radius: 18px;
  background: #ffffff;
  text-align: center;
  box-shadow: var(--cprx-shadow-sm);
}

.clinical-outcome-card .pill-tag {
  margin: 0 auto 10px;
}

.clinical-outcome-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.18;
}

.clinical-outcome-card p {
  margin: 0;
  color: var(--cprx-text);
  font-size: 0.82rem;
  line-height: 1.48;
}


/* ------------------------------
   REFERENCES + NEXT STEP
   ------------------------------ */

.clinical-references__card {
  padding: 26px;
}

.clinical-references__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.clinical-reference-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.clinical-reference-list li {
  margin: 0;
  padding-left: 4px;
  color: var(--cprx-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.clinical-references__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(77, 119, 194, 0.14), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: var(--cprx-shadow-sm);
}

.clinical-references__cta h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.clinical-references__cta p {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.clinical-references__cta .btn {
  width: 100%;
}

.clinical-case-card__top {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.clinical-case-card__labelgroup {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.clinical-case-card__thumb {
  width: 112px;
  height: 74px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 12px;
  background: #eef5ff;
  box-shadow: 0 8px 18px rgba(7, 24, 74, 0.06);
}

.clinical-case-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .clinical-case-card__top {
    grid-template-columns: 1fr;
  }

  .clinical-case-card__thumb {
    width: 100%;
    height: 150px;
  }
}

/* ------------------------------
   CLINICAL USE CASES RESPONSIVE
   ------------------------------ */

@media (max-width: 1180px) {
  .clinical-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clinical-outcome-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .clinical-boundary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .clinical-shared__grid,
  .clinical-references__layout {
    grid-template-columns: 1fr;
  }

  .clinical-shared__statement {
    grid-template-columns: 58px 1fr;
  }

  .clinical-shared__globe {
    width: 58px;
    height: 58px;
  }

  .clinical-shared__globe svg {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 760px) {
  .clinical-hero__actions {
    padding: 0 20px 22px;
  }

  .clinical-case-grid,
  .clinical-outcome-grid,
  .clinical-boundary-row {
    grid-template-columns: 1fr;
  }

  .clinical-case-card,
  .clinical-cases__card,
  .clinical-shared__card,
  .clinical-outcomes__card,
  .clinical-references__card {
    padding: 20px;
  }

  .clinical-pathways__links {
    grid-template-columns: 1fr;
  }

  .clinical-pathways__links .btn {
    width: 100%;
    min-height: 40px;
  }
}

@media (max-width: 560px) {
  .clinical-hero__panel,
  .clinical-hero__visual {
    border-radius: 20px;
  }

  .clinical-boundary-item,
  .clinical-shared__statement {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .clinical-boundary-item p,
  .clinical-shared__statement h2,
  .clinical-shared__statement p,
  .clinical-shared__statement strong {
    text-align: center;
  }
}
/* =====================================================
   PAGE: INTEGRATION & COMPLIANCE
   SECTION: HERO — BLUE ORGANIZATION THEME
   PURPOSE: Match existing For Organizations hero style
   ===================================================== */

.org-hero--integration {
  padding-top: 34px;
  padding-bottom: 26px;
}

.org-hero--integration .org-hero__panel--blue {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;

  padding: 42px 46px;
  border-radius: 28px;
  background:
    radial-gradient(680px 420px at 95% 18%, rgba(255, 255, 255, 0.34), transparent 68%),
    linear-gradient(135deg, #0A4FA3 0%, #4D77C2 58%, #DCEAFF 100%);
  box-shadow: 0 24px 60px rgba(7, 24, 74, 0.14);
}

.org-hero--integration .org-hero__content {
  max-width: 610px;
}

.org-hero--integration .section-eyebrow--light {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.org-hero--integration h1 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.55rem, 4.8vw, 4.6rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.org-hero--integration .org-hero__lead {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.05rem;
  line-height: 1.62;
}

.org-hero--integration .org-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.org-hero--integration .btn-primary--light {
  background: #ffffff;
  color: var(--cprx-primary);
  border-color: #ffffff;
  box-shadow: 0 14px 30px rgba(7, 24, 74, 0.18);
}

.org-hero--integration .btn-secondary--glass {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

.org-hero--integration .org-hero__media {
  display: grid;
  gap: 16px;
  align-content: center;
}

.org-hero--integration .org-hero__image-card {
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.92), rgba(225, 238, 255, 0.84));
  box-shadow: 0 18px 40px rgba(7, 24, 74, 0.18);
}

.org-hero--integration .org-hero__image-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.org-hero--integration .org-hero__support-card {
  max-width: 420px;
  justify-self: end;
  padding: 24px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(7, 24, 74, 0.14);
}

.org-hero--integration .org-hero__support-card h2 {
  margin: 8px 0 8px;
  color: var(--cprx-ink);
  font-size: 1.28rem;
  line-height: 1.15;
}

.org-hero--integration .org-hero__support-card p:not(.section-eyebrow) {
  margin: 0;
  color: var(--cprx-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .org-hero--integration .org-hero__panel--blue {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .org-hero--integration h1 {
    font-size: clamp(2.25rem, 9vw, 3.4rem);
  }

  .org-hero--integration .org-hero__support-card {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .org-hero--integration {
    padding-top: 22px;
  }

  .org-hero--integration .org-hero__panel--blue {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .org-hero--integration .org-hero__actions .btn {
    width: 100%;
  }
}


/* =====================================================
21 - GLOBAL ITEM CLOSE + FOOTER CLOSE WIDTH FIX
USED BY: /content/global-item-close.html + footer close sections
PURPOSE:
Header is fixed. This locks the global close/footer close to the same page rail
without affecting the infinite full-width header background.
===================================================== */

:root {
  --cpc-page-rail: 1280px;
  --cpc-page-gutter: 48px;
}

/* Full-width background bands stay full width */
.global-item-close,
.global-close,
.close-deep,
.page-close,
.cprx-global-close,
.site-close,
.footer-close,
.cprx-footer,
.site-footer,
.footer {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

/* Inner content rail matches the body/header content rail */
.global-item-close > .container,
.global-close > .container,
.close-deep > .container,
.page-close > .container,
.cprx-global-close > .container,
.site-close > .container,
.footer-close > .container,
.cprx-footer > .container,
.site-footer > .container,
.footer > .container,
.global-item-close .container,
.global-close .container,
.close-deep .container,
.page-close .container {
  width: min(var(--cpc-page-rail), calc(100vw - var(--cpc-page-gutter))) !important;
  max-width: var(--cpc-page-rail) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* Cards inside the close section should fill the shared rail */
.global-item-close .card,
.global-close .card,
.close-deep .card,
.page-close .card,
.cprx-global-close .card,
.site-close .card,
.footer-close .card,
.global-item-close_card,
.global-close_card,
.close-deep_card,
.page-close_card,
.close-card,
.item-close-card {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

/* The standardized CTA row should not shrink the close section */
.global-item-close .cta-band_actions,
.global-close .cta-band_actions,
.close-deep .cta-band_actions,
.page-close .cta-band_actions,
.footer-close .cta-band_actions {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Prevent old max-width rules from narrowing footer close content */
.global-item-close [class*="wrap"],
.global-close [class*="wrap"],
.close-deep [class*="wrap"],
.page-close [class*="wrap"],
.footer-close [class*="wrap"] {
  max-width: 100% !important;
}

/* Tablet */
@media (max-width: 1020px) {
  :root {
    --cpc-page-gutter: 32px;
  }
}

/* Mobile */
@media (max-width: 620px) {
  :root {
    --cpc-page-gutter: 24px;
  }
}

/* =====================================================
   21 — INTEGRATION & COMPLIANCE PAGE V2
   PAGE: /integration-compliance.php
   PURPOSE: Hero + 3 polished dashboard rows
   ===================================================== */

.org-integration-page {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(77, 119, 194, 0.08), transparent 60%),
    #f5f7fa;
}

.ic-hero-v2,
.ic-dashboard-v2 {
  padding-left: 0;
  padding-right: 0;
}

.ic-hero-v2 {
  padding-top: 34px;
  padding-bottom: 14px;
}

.ic-hero-v2 .container--wide,
.ic-dashboard-v2 .container--wide {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* ------------------------------
   HERO
   ------------------------------ */

.ic-hero-v2__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(520px, 1.05fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  min-height: 420px;

  padding: 42px 34px 34px 56px;
  border: 1px solid rgba(10, 79, 163, 0.10);
  border-radius: 28px;
  background:
    radial-gradient(760px 360px at 84% 44%, rgba(77, 119, 194, 0.15), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 50px rgba(7, 24, 74, 0.08);
}

.ic-hero-v2__copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.ic-hero-v2 .section-eyebrow,
.ic-dashboard-v2 .section-eyebrow,
.ic-evidence-section .section-eyebrow {
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #dcebff;
  border: 1px solid rgba(10, 79, 163, 0.18);
  color: #0A4FA3;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.ic-hero-v2__copy h1 {
  max-width: 650px;
  margin: 0 0 18px;
  color: #07184A;
  font-size: clamp(2.6rem, 4.2vw, 4.15rem);
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.ic-hero-v2__lead {
  max-width: 620px;
  margin: 0 0 12px;
  color: #24345F;
  font-size: 1rem;
  line-height: 1.62;
}

.ic-hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.ic-hero-v2__trust {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 24px;
}

.ic-hero-v2__trust span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(36, 88, 242, 0.12);
  color: #2458F2;
  font-weight: 950;
}

.ic-hero-v2__trust p {
  margin: 0;
  color: #24345F;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ic-hero-v2__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ic-hero-v2__visual img {
  display: block;
  width: 110%;
  max-width: 710px;
  height: auto;
  margin-right: -28px;
  object-fit: contain;
  object-position: center right;
  filter: drop-shadow(0 18px 34px rgba(7, 24, 74, 0.08));
}

/* ------------------------------
   DASHBOARD GRID
   ------------------------------ */

.ic-dashboard-v2 {
  padding-top: 10px;
  padding-bottom: 28px;
}

.ic-dashboard-v2__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(560px, 1.18fr);
  gap: 16px;
  align-items: stretch;
}

.ic-panel,
.ic-convert-v2 {
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(7, 24, 74, 0.045);
}

.ic-panel {
  min-height: 250px;
  padding: 28px;
}

.ic-panel--explain,
.ic-panel--quality {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ic-panel__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 35%, #ffffff 0%, #e7f1ff 58%, #d7e8ff 100%);
  border: 1px solid rgba(10, 79, 163, 0.12);
  color: #0A4FA3;
  font-size: 1.75rem;
  font-weight: 950;
}

.ic-panel h2,
.ic-convert-v2 h2 {
  margin: 0 0 10px;
  color: #07184A;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ic-panel h3,
.ic-convert-v2 h3 {
  margin: 0 0 7px;
  color: #07184A;
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1.2;
}

.ic-panel p,
.ic-convert-v2 p {
  margin: 0 0 10px;
  color: #24345F;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Lists */

.ic-clean-list {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ic-clean-list li {
  position: relative;
  margin: 0;
  padding-left: 24px;
  color: #24345F;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ic-clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #0A4FA3;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 950;
}

.ic-clean-list--compact {
  margin-top: 8px;
}

/* Patient experience */

.ic-mini-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 22px;
}

.ic-mini-feature {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  min-width: 0;
}

.ic-mini-feature span,
.ic-fit-v2__item span,
.ic-convert-v2__icon,
.ic-convert-question span {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 35%, #ffffff 0%, #e9f3ff 58%, #dcecff 100%);
  color: #0A4FA3;
  border: 1px solid rgba(10, 79, 163, 0.12);
  font-weight: 950;
}

.ic-mini-feature span {
  width: 58px;
  height: 58px;
  font-size: 1.45rem;
}

.ic-mini-feature p {
  max-width: 190px;
}

/* Quality support */

.ic-support-list {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
  align-items: start;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 79, 163, 0.12);
}

/* Where it fits */

.ic-fit-v2 {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: 28px;
  align-items: center;
}

.ic-fit-v2__intro h2 {
  margin-bottom: 8px;
}

.ic-fit-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ic-fit-v2__item {
  text-align: center;
}

.ic-fit-v2__item span {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  font-size: 1rem;
}

.ic-fit-v2__item p {
  max-width: 150px;
  margin: 0 auto;
  font-size: 0.82rem;
}

/* =====================================================
   INTEGRATION & COMPLIANCE — CONVERT + EVIDENCE
   PAGE: /integration-compliance.php
   PURPOSE: Fix Free Patient Satisfaction Check + Evidence layout
   ===================================================== */

.ic-convert-section,
.ic-evidence-section {
  padding-left: 0;
  padding-right: 0;
}

.ic-convert-section {
  padding-top: 8px;
  padding-bottom: 28px;
}

.ic-evidence-section {
  padding-top: 10px;
  padding-bottom: 34px;
}

.ic-convert-section .container--wide,
.ic-evidence-section .container--wide {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* ------------------------------
   FREE PATIENT SATISFACTION CHECK
   ------------------------------ */

.ic-convert-panel {
  display: grid;
  grid-template-columns: minmax(340px, 0.42fr) minmax(420px, 0.38fr) minmax(230px, 0.2fr);
  gap: 24px;
  align-items: center;

  padding: 26px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(560px 220px at 100% 0%, rgba(77, 119, 194, 0.10), transparent 62%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(7, 24, 74, 0.045);
}

.ic-convert-intro {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ic-convert-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 35%, #ffffff 0%, #e9f3ff 58%, #dcecff 100%);
  border: 1px solid rgba(10, 79, 163, 0.14);
  color: #0A4FA3;
  font-size: 1.9rem;
  font-weight: 950;
}

.ic-convert-copy h2 {
  margin: 0 0 8px;
  color: #07184A;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ic-convert-copy p,
.ic-convert-action p,
.ic-convert-question-card p {
  margin: 0;
  color: #24345F;
  font-size: 0.86rem;
  line-height: 1.52;
}

.ic-convert-question-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.ic-convert-question-card {
  min-width: 0;
}

.ic-convert-question-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 35%, #ffffff 0%, #e9f3ff 58%, #dcecff 100%);
  border: 1px solid rgba(10, 79, 163, 0.14);
  color: #0A4FA3;
  font-size: 1rem;
  font-weight: 950;
}

.ic-convert-question-card h3 {
  margin: 0 0 6px;
  color: #07184A;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.16;
}

.ic-convert-action {
  display: grid;
  gap: 10px;
  align-items: start;
}

.ic-convert-action .btn {
  width: 100%;
  min-height: 52px;
  text-align: center;
}

.ic-convert-action p {
  font-size: 0.84rem;
}

/* ------------------------------
   EVIDENCE / REFERENCES
   ------------------------------ */

.ic-evidence-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;

  padding: 30px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(680px 280px at 100% 0%, rgba(77, 119, 194, 0.08), transparent 64%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(7, 24, 74, 0.045);
}

.ic-evidence-main h2 {
  margin: 0 0 10px;
  color: #07184A;
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.ic-evidence-main > p {
  max-width: 850px;
  margin: 0;
  color: #24345F;
  font-size: 0.98rem;
  line-height: 1.62;
}

.ic-reference-list {
  margin: 18px 0 0;
  padding-left: 22px;
}

.ic-reference-list li {
  margin: 0 0 12px;
  color: #24345F;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ic-reference-list em {
  font-style: italic;
}

.ic-evidence-disclaimer {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 14px;
  background: #f8fbff;
}

.ic-evidence-disclaimer p {
  margin: 0;
  color: #24345F;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ic-evidence-cta {
  padding: 26px;
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(77, 119, 194, 0.13), transparent 62%),
    #f8fbff;
  box-shadow: 0 12px 28px rgba(7, 24, 74, 0.05);
}

.ic-evidence-cta h3 {
  margin: 0 0 10px;
  color: #07184A;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ic-evidence-cta p:not(.section-eyebrow) {
  margin: 0;
  color: #24345F;
  font-size: 0.95rem;
  line-height: 1.58;
}

.ic-evidence-cta .btn {
  width: 100%;
  margin-top: 18px;
}



/* ------------------------------
   RESPONSIVE
   ------------------------------ */

@media (max-width: 1100px) {
  .ic-convert-panel,
  .ic-evidence-panel {
    grid-template-columns: 1fr;
  }

  .ic-convert-question-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ic-evidence-cta {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .ic-convert-section .container--wide,
  .ic-evidence-section .container--wide {
    width: min(100% - 28px, 1240px);
  }

  .ic-convert-panel,
  .ic-evidence-panel {
    padding: 22px;
  }

  .ic-convert-intro {
    grid-template-columns: 1fr;
  }

  .ic-convert-question-row {
    grid-template-columns: 1fr;
  }

  .ic-convert-action .btn {
    width: 100%;
  }
}
/* =====================================================
   INTEGRATION & COMPLIANCE — FINAL SPACING POLISH
   PAGE: /integration-compliance.php
   PURPOSE:
   - Balance hero image/text
   - Tighten main card spacing
   - Improve Free Patient Satisfaction Check row
   - Reduce excess gap before Global Item Close
   - Preserve current approved layout
   ===================================================== */

/* ------------------------------
   PAGE-WIDE SECTION RHYTHM
   ------------------------------ */

.org-integration-page .section {
  margin-top: 0;
}

.ic-hero-v2 {
  padding-top: 34px;
  padding-bottom: 12px;
}

.ic-dashboard-v2 {
  padding-top: 10px;
  padding-bottom: 16px;
}

.ic-convert-section {
  padding-top: 8px;
  padding-bottom: 20px;
}

.ic-evidence-section {
  padding-top: 10px;
  padding-bottom: 18px;
}

/* Reduce visual gap before the global item close */
.org-integration-page + .global-item-close,
.org-integration-page + .item-close,
.org-integration-page + .close-deep,
.global-item-close,
.item-close {
  margin-top: 20px;
}

/* ------------------------------
   HERO BALANCE
   ------------------------------ */

.ic-hero-v2__panel {
  min-height: 410px;
  padding: 40px 34px 32px 54px;
  gap: 24px;
}

.ic-hero-v2__copy {
  max-width: 620px;
}

.ic-hero-v2__copy h1 {
  margin-bottom: 16px;
}

.ic-hero-v2__lead {
  max-width: 610px;
  margin-bottom: 11px;
}

.ic-hero-v2__actions {
  margin-top: 20px;
}

.ic-hero-v2__trust {
  margin-top: 22px;
}

.ic-hero-v2__visual img {
  width: 104%;
  max-width: 660px;
  margin-right: -18px;
}

/* ------------------------------
   TWO-BY-TWO DASHBOARD CARDS
   ------------------------------ */

.ic-dashboard-v2__grid {
  gap: 14px;
}

.ic-panel {
  min-height: 230px;
  padding: 24px;
}

.ic-panel--explain,
.ic-panel--quality {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
}

.ic-panel__icon {
  width: 62px;
  height: 62px;
  font-size: 1.55rem;
}

.ic-panel h2 {
  margin-bottom: 9px;
}

.ic-panel p {
  margin-bottom: 9px;
}

.ic-clean-list {
  gap: 6px;
  margin-top: 12px;
}

.ic-clean-list li {
  font-size: 0.83rem;
  line-height: 1.44;
}

/* Patient Experience card spacing */
.ic-mini-feature-row {
  gap: 24px;
  margin-top: 20px;
}

.ic-mini-feature {
  gap: 7px;
}

.ic-mini-feature span {
  width: 54px;
  height: 54px;
  font-size: 1.35rem;
}

.ic-mini-feature h3 {
  margin-bottom: 5px;
}

.ic-mini-feature p {
  max-width: 185px;
  font-size: 0.82rem;
  line-height: 1.46;
}

/* Quality Support card spacing */
.ic-support-list {
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
}

/* Where It Fits card spacing */
.ic-fit-v2 {
  grid-template-columns: 0.30fr 0.70fr;
  gap: 24px;
}

.ic-fit-v2__grid {
  gap: 16px;
}

.ic-fit-v2__item span {
  width: 50px;
  height: 50px;
  margin-bottom: 9px;
}

.ic-fit-v2__item h3 {
  margin-bottom: 5px;
}

.ic-fit-v2__item p {
  max-width: 145px;
  font-size: 0.81rem;
  line-height: 1.45;
}

/* ------------------------------
   FREE PATIENT SATISFACTION CHECK ROW
   ------------------------------ */

.ic-convert-panel {
  grid-template-columns: minmax(340px, 0.38fr) minmax(440px, 0.42fr) minmax(230px, 0.20fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.ic-convert-intro {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
}

.ic-convert-icon {
  width: 66px;
  height: 66px;
  font-size: 1.75rem;
}

.ic-convert-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 1.75vw, 1.68rem);
}

.ic-convert-copy p {
  max-width: 430px;
  font-size: 0.87rem;
  line-height: 1.55;
}

.ic-convert-question-row {
  gap: 20px;
}

.ic-convert-question-card span {
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
}

.ic-convert-question-card h3 {
  margin-bottom: 6px;
  font-size: 0.92rem;
  line-height: 1.2;
}

.ic-convert-question-card p {
  font-size: 0.82rem;
  line-height: 1.5;
}

.ic-convert-action {
  gap: 11px;
}

.ic-convert-action .btn {
  min-height: 52px;
  padding-left: 18px;
  padding-right: 18px;
}

.ic-convert-action p {
  font-size: 0.84rem;
  line-height: 1.48;
}

/* ------------------------------
   EVIDENCE SECTION
   ------------------------------ */

.ic-evidence-panel {
  gap: 28px;
  padding: 30px;
}

.ic-evidence-main h2 {
  margin-bottom: 10px;
}

.ic-reference-list {
  margin-top: 18px;
}

.ic-reference-list li {
  margin-bottom: 11px;
}

.ic-evidence-disclaimer {
  margin-top: 18px;
}

.ic-evidence-cta {
  padding: 26px;
}

.ic-evidence-cta h3 {
  margin-bottom: 10px;
}

.ic-evidence-cta .btn {
  margin-top: 18px;
}

/* =====================================================
   INTEGRATION & COMPLIANCE — FORCE BLUE OUTLINE ICONS
   PAGE: /integration-compliance.php
   PURPOSE: Stop SVG icons from rendering as black filled shapes
   ===================================================== */

.org-integration-page .ic-line-icon,
.org-integration-page .ic-line-icon *,
.org-integration-page .ic-panel__icon svg,
.org-integration-page .ic-panel__icon svg *,
.org-integration-page .ic-mini-feature span svg,
.org-integration-page .ic-mini-feature span svg *,
.org-integration-page .ic-fit-v2__item span svg,
.org-integration-page .ic-fit-v2__item span svg *,
.org-integration-page .ic-convert-icon svg,
.org-integration-page .ic-convert-icon svg *,
.org-integration-page .ic-convert-question-card span svg,
.org-integration-page .ic-convert-question-card span svg * {
  fill: none !important;
  stroke: #0A4FA3 !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.org-integration-page .ic-line-icon,
.org-integration-page .ic-panel__icon svg,
.org-integration-page .ic-mini-feature span svg,
.org-integration-page .ic-fit-v2__item span svg,
.org-integration-page .ic-convert-icon svg,
.org-integration-page .ic-convert-question-card span svg {
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  color: #0A4FA3 !important;
}

.org-integration-page .ic-panel__icon,
.org-integration-page .ic-mini-feature span,
.org-integration-page .ic-fit-v2__item span,
.org-integration-page .ic-convert-icon,
.org-integration-page .ic-convert-question-card span {
  color: #0A4FA3 !important;
  background:
    radial-gradient(circle at 38% 28%, #ffffff 0%, #eef6ff 52%, #dcecff 100%) !important;
  border: 1px solid rgba(10, 79, 163, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(10, 79, 163, 0.08) !important;
}

/* Size tuning by icon group */

.org-integration-page .ic-panel__icon svg {
  width: 34px !important;
  height: 34px !important;
}

.org-integration-page .ic-mini-feature span svg {
  width: 30px !important;
  height: 30px !important;
}

.org-integration-page .ic-fit-v2__item span svg {
  width: 29px !important;
  height: 29px !important;
}

.org-integration-page .ic-convert-icon svg {
  width: 34px !important;
  height: 34px !important;
}

.org-integration-page .ic-convert-question-card span svg {
  width: 28px !important;
  height: 28px !important;
}

/* =====================================================
   INTEGRATION & COMPLIANCE — GLOBAL ITEM CLOSE GAP FIX
   PAGE: /integration-compliance.php
   PURPOSE: Reduce excessive space between evidence section and global item close
   ===================================================== */

/* Tighten the page-specific evidence section bottom spacing */
.org-integration-page .ic-evidence-section {
  padding-bottom: 14px !important;
  margin-bottom: 0 !important;
}

/* If the evidence card itself has bottom margin, neutralize it */
.org-integration-page .ic-evidence-panel {
  margin-bottom: 0 !important;
}

/* Pull the global item close closer to the page content */
.org-integration-page + .global-item-close,
.org-integration-page + .item-close,
.org-integration-page + .close-deep,
.org-integration-page + section,
.global-item-close,
.item-close {
  margin-top: 18px !important;
}

/* If the global close section uses top padding, reduce it only on this page flow */
.org-integration-page + .global-item-close,
.org-integration-page + .item-close {
  padding-top: 18px !important;
}

/* If your global close is wrapped in a normal .section, tighten that rhythm too */
.org-integration-page + .section {
  padding-top: 10px !important;
}
/* ------------------------------
   RESPONSIVE TUNING
   ------------------------------ */

@media (max-width: 1100px) {
  .ic-hero-v2__panel,
  .ic-convert-panel {
    grid-template-columns: 1fr;
  }

  .ic-hero-v2__visual {
    justify-content: center;
  }

  .ic-hero-v2__visual img {
    width: 100%;
    max-width: 720px;
    margin-right: 0;
  }

  .ic-convert-panel {
    gap: 24px;
  }

  .ic-convert-question-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ic-hero-v2 {
    padding-top: 22px;
  }

  .ic-hero-v2__panel {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .ic-panel,
  .ic-convert-panel,
  .ic-evidence-panel {
    padding: 22px;
  }

  .ic-panel--explain,
  .ic-panel--quality,
  .ic-convert-intro {
    grid-template-columns: 1fr;
  }

  .ic-mini-feature-row,
  .ic-fit-v2,
  .ic-fit-v2__grid,
  .ic-convert-question-row,
  .ic-support-list,
  .ic-evidence-panel {
    grid-template-columns: 1fr;
  }

  .ic-mini-feature {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
  }

  .ic-mini-feature span {
    grid-row: span 2;
  }

  .ic-mini-feature p,
  .ic-fit-v2__item p,
  .ic-convert-copy p {
    max-width: none;
  }

  .ic-fit-v2__item {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    text-align: left;
  }

  .ic-fit-v2__item span {
    margin: 0;
  }

  .ic-convert-action .btn {
    width: 100%;
  }
}

/* =====================================================
   22 — IMPLEMENTATION PROGRAMS PAGE
   PAGE: /implementation-programs.php
   CONTENT: /content/implementation-programs.html
   IMAGE: /01-assets/images/implementation-programs.png
   PURPOSE:
   - Header/Hero
   - Explain
   - Add Trust
   - Convert
   - Prove with Evidence
   ===================================================== */

.implementation-programs-page {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(77, 119, 194, 0.08), transparent 60%),
    #f5f7fa;
}

.implementation-programs-page .container--wide {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.implementation-programs-page .section-eyebrow {
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #dcebff;
  border: 1px solid rgba(10, 79, 163, 0.18);
  color: #0A4FA3;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

/* ------------------------------
   SHARED ICON SYSTEM
   ------------------------------ */

.ip-line-icon {
  width: 1em;
  height: 1em;
  display: block;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ip-card__icon,
.ip-program-card__icon,
.ip-convert-main__icon,
.ip-roadmap-step span {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #0A4FA3;
  background:
    radial-gradient(circle at 38% 28%, #ffffff 0%, #eef6ff 52%, #dcecff 100%);
  border: 1px solid rgba(10, 79, 163, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(10, 79, 163, 0.08);
}

.ip-card__icon,
.ip-program-card__icon,
.ip-convert-main__icon {
  width: 68px;
  height: 68px;
  font-size: 2rem;
  flex: 0 0 68px;
}

.ip-card__icon svg,
.ip-program-card__icon svg,
.ip-convert-main__icon svg {
  width: 34px;
  height: 34px;
}

/* =====================================================
   SECTION 1 — HERO
   ===================================================== */

.ip-hero {
  padding: 34px 0 14px;
}

.ip-hero__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(520px, 1.05fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  min-height: 420px;

  padding: 42px 34px 34px 56px;
  border: 1px solid rgba(10, 79, 163, 0.10);
  border-radius: 28px;
  background:
    radial-gradient(760px 360px at 84% 44%, rgba(77, 119, 194, 0.15), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 50px rgba(7, 24, 74, 0.08);
}

.ip-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.ip-hero__copy h1 {
  max-width: 650px;
  margin: 0 0 18px;
  color: #07184A;
  font-size: clamp(2.6rem, 4.2vw, 4.15rem);
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.ip-hero__lead {
  max-width: 620px;
  margin: 0 0 12px;
  color: #24345F;
  font-size: 1rem;
  line-height: 1.62;
}

.ip-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.ip-hero__trust {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 24px;
}

.ip-hero__trust span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(36, 88, 242, 0.12);
  color: #2458F2;
  font-weight: 950;
}

.ip-hero__trust p {
  margin: 0;
  color: #24345F;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ip-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ip-hero__visual img {
  display: block;
  width: 108%;
  max-width: 700px;
  height: auto;
  margin-right: -24px;
  border-radius: 20px;
  object-fit: contain;
  object-position: center right;
  filter: drop-shadow(0 18px 34px rgba(7, 24, 74, 0.08));
}

/* =====================================================
   SECTION 2 — EXPLAIN
   ===================================================== */

.ip-explain-section {
  padding: 10px 0 16px;
}

.ip-card-grid {
  display: grid;
  gap: 16px;
}

.ip-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ip-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(77, 119, 194, 0.07), transparent 62%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(7, 24, 74, 0.045);
}

.ip-card h2 {
  margin: 0 0 10px;
  color: #07184A;
  font-size: clamp(1.35rem, 1.75vw, 1.7rem);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ip-card p {
  margin: 0 0 12px;
  color: #24345F;
  font-size: 0.92rem;
  line-height: 1.58;
}

/* ------------------------------
   CHECKLISTS
   ------------------------------ */

.ip-checklist {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.ip-checklist li {
  position: relative;
  margin: 0;
  padding-left: 25px;
  color: #24345F;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ip-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #0A4FA3;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 950;
}

/* =====================================================
   SECTION 3 — PROGRAM OPTIONS / ADD TRUST
   ===================================================== */

.ip-program-section {
  padding: 0 0 16px;
}

.ip-program-panel {
  padding: 30px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(680px 280px at 100% 0%, rgba(77, 119, 194, 0.08), transparent 64%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(7, 24, 74, 0.045);
}

.ip-section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.ip-section-head h2 {
  margin: 0 0 10px;
  color: #07184A;
  font-size: clamp(1.75rem, 2.6vw, 2.6rem);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ip-section-head p {
  margin: 0;
  color: #24345F;
  font-size: 0.98rem;
  line-height: 1.6;
}

.ip-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ip-program-card {
  padding: 24px;
  border: 1px solid rgba(10, 79, 163, 0.10);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 24, 74, 0.04);
}

.ip-program-card h3 {
  margin: 14px 0 8px;
  color: #07184A;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1.16;
}

.ip-program-card p {
  margin: 0;
  color: #24345F;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* =====================================================
   SECTION 4 — CONVERT / ROADMAP
   ===================================================== */

.ip-convert-section {
  padding: 0 0 18px;
}

.ip-convert-panel {
  padding: 30px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(760px 320px at 100% 0%, rgba(77, 119, 194, 0.09), transparent 64%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(7, 24, 74, 0.045);
}

.ip-convert-main {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 840px;
  margin-bottom: 28px;
}

.ip-convert-main h2 {
  margin: 0 0 10px;
  color: #07184A;
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.ip-convert-main p {
  margin: 0;
  color: #24345F;
  font-size: 0.98rem;
  line-height: 1.6;
}

.ip-roadmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 20px;
}

.ip-roadmap-step {
  position: relative;
  min-width: 0;
  padding: 20px 18px;
  border: 1px solid rgba(10, 79, 163, 0.10);
  border-radius: 18px;
  background: #ffffff;
  text-align: center;
}

.ip-roadmap-step span {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: #0A4FA3;
  font-size: 1rem;
  font-weight: 950;
}

.ip-roadmap-step h3 {
  margin: 0 0 8px;
  color: #07184A;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}

.ip-roadmap-step p {
  margin: 0;
  color: #24345F;
  font-size: 0.82rem;
  line-height: 1.48;
}

.ip-convert-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(10, 79, 163, 0.06), rgba(77, 119, 194, 0.035)),
    #ffffff;
}

.ip-convert-cta h3 {
  margin: 0 0 8px;
  color: #07184A;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.ip-convert-cta p {
  margin: 0;
  color: #24345F;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ip-convert-cta .btn {
  min-width: 280px;
}

/* =====================================================
   SECTION 5 — EVIDENCE
   ===================================================== */

.ip-evidence-section {
  padding: 0 0 18px;
}

.ip-evidence-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;

  padding: 30px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(680px 280px at 100% 0%, rgba(77, 119, 194, 0.08), transparent 64%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(7, 24, 74, 0.045);
}

.ip-evidence-main h2 {
  margin: 0 0 10px;
  color: #07184A;
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.ip-evidence-main > p {
  max-width: 850px;
  margin: 0;
  color: #24345F;
  font-size: 0.98rem;
  line-height: 1.62;
}

.ip-reference-list {
  margin: 18px 0 0;
  padding-left: 22px;
}

.ip-reference-list li {
  margin: 0 0 12px;
  color: #24345F;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ip-reference-list em {
  font-style: italic;
}

.ip-evidence-disclaimer {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(10, 79, 163, 0.12);
  border-radius: 14px;
  background: #f8fbff;
}

.ip-evidence-disclaimer p {
  margin: 0;
  color: #24345F;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ip-evidence-cta {
  padding: 26px;
  border: 1px solid rgba(10, 79, 163, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(77, 119, 194, 0.13), transparent 62%),
    #f8fbff;
  box-shadow: 0 12px 28px rgba(7, 24, 74, 0.05);
}

.ip-evidence-cta h3 {
  margin: 0 0 10px;
  color: #07184A;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ip-evidence-cta p:not(.section-eyebrow) {
  margin: 0;
  color: #24345F;
  font-size: 0.95rem;
  line-height: 1.58;
}

.ip-evidence-cta .btn {
  width: 100%;
  margin-top: 18px;
}

/* =====================================================
   GLOBAL ITEM CLOSE GAP FIX FOR THIS PAGE
   ===================================================== */

.implementation-programs-page + .global-item-close,
.implementation-programs-page + .item-close,
.implementation-programs-page + .close-deep,
.implementation-programs-page + .section {
  margin-top: 18px !important;
  padding-top: 18px !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1100px) {
  .ip-hero__panel,
  .ip-evidence-panel,
  .ip-convert-cta {
    grid-template-columns: 1fr;
  }

  .ip-hero__visual {
    justify-content: center;
  }

  .ip-hero__visual img {
    width: 100%;
    max-width: 760px;
    margin-right: 0;
  }

  .ip-card-grid--three,
  .ip-program-grid {
    grid-template-columns: 1fr;
  }

  .ip-roadmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ip-convert-cta .btn {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .implementation-programs-page .container--wide {
    width: min(100% - 28px, 1240px);
  }

  .ip-hero {
    padding-top: 22px;
  }

  .ip-hero__panel,
  .ip-card,
  .ip-program-panel,
  .ip-convert-panel,
  .ip-evidence-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .ip-hero__copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .ip-hero__actions .btn {
    width: 100%;
  }

  .ip-convert-main {
    grid-template-columns: 1fr;
  }

  .ip-roadmap {
    grid-template-columns: 1fr;
  }

  .ip-program-grid {
    gap: 14px;
  }
}

.item-evidence-close-section {
    padding-top: 18px;
    padding-bottom: 18px;
}

.item-reference-card--accordion {
    max-width: 1040px;
    margin: 0 auto;
}

.item-reference-intro {
    color: #30445f;
    line-height: 1.7;
    margin: 0 0 10px;
}

.item-reference-methodology-link {
    margin: 0 0 18px;
}

.item-reference-methodology-link a {
    color: #245f2d;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.item-reference-accordion {
    border: 1px solid rgba(6, 33, 74, 0.12);
    border-radius: 18px;
    background: #f8fbf7;
    overflow: hidden;
}

.item-reference-accordion summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: #06214a;
    font-weight: 900;
}

.item-reference-accordion summary::-webkit-details-marker {
    display: none;
}

.item-reference-accordion summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #06214a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.1rem;
    line-height: 1;
}

.item-reference-accordion[open] summary::after {
    content: "–";
}

.item-reference-accordion summary strong {
    color: #2f7d32;
    font-size: 0.92rem;
    white-space: nowrap;
}

.item-reference-accordion .item-reference-list {
    border-top: 1px solid rgba(6, 33, 74, 0.1);
    background: #ffffff;
    margin: 0;
    padding: 20px 24px 20px 44px;
}

/* =====================================================
   GLOBAL HEADER — CART LINK + ORG HOVER DROPDOWN
===================================================== */

.site-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 900;
  color: #0A4FA3;
  border: 1px solid #c8d7ef;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 13px;
  line-height: 1;
  white-space: nowrap;
}

.site-cart-link:hover,
.site-cart-link:focus-visible {
  background: #eef6ff;
}

.site-cart-icon {
  font-size: 15px;
  line-height: 1;
}

.site-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0A4FA3;
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
}

.cprx-dd {
  position: relative;
}

.cprx-dd__menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.cprx-dd:hover .cprx-dd__menu,
.cprx-dd:focus-within .cprx-dd__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cprx-dd:hover .cprx-dd__btn,
.cprx-dd:focus-within .cprx-dd__btn {
  color: #0A4FA3;
}

/* =====================================================
GLOBAL HEADER — CAREPLANCOMPASS PHOTO HEADER 5-24-2026
USED BY: /00-core/header.php
IMAGE: /01-assets/images/careplancompass-logo.png
PURPOSE: Live brand + readable nav over CarePlanCompass globe background.
===================================================== */

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cprx-topbar.cpc-photo-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 118px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.78) 24%,
      rgba(255, 255, 255, 0.36) 55%,
      rgba(255, 255, 255, 0.18) 100%
    ),
    url("/01-assets/images/careplancompass-logo.png") center center / cover no-repeat;
  border-bottom: 2px solid rgba(10, 79, 163, 0.92);
  box-shadow: 0 10px 30px rgba(10, 79, 163, 0.16);
}

.cpc-photo-header .cprx-topbar__inner {
  width: min(1440px, calc(100vw - 32px));
  min-height: 118px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 440px) 1fr auto;
  align-items: center;
  gap: 18px;
}

/* Brand */
.cpc-photo-header .cprx-brand.cpc-brand-live {
  display: inline-flex;
  align-items: center;
  min-width: 330px;
  max-width: 440px;
  padding: 12px 18px;
  border-radius: 22px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(77, 119, 194, 0.22);
  box-shadow: 0 10px 26px rgba(10, 79, 163, 0.10);
  backdrop-filter: blur(10px);
}

.cpc-photo-header .cprx-brand__text {
  display: grid;
  gap: 5px;
  line-height: 1.05;
}

.cpc-photo-header .cprx-brand__name {
  color: #0A4FA3;
  font-size: clamp(1.34rem, 2vw, 2.05rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.cpc-photo-header .cprx-brand__tm {
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 2px;
  letter-spacing: 0;
}

.cpc-photo-header .cprx-brand__tag {
  color: #31466e;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 850;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

/* Desktop Navigation */
.cpc-photo-header .cprx-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(77, 119, 194, 0.24);
  box-shadow: 0 8px 22px rgba(10, 79, 163, 0.12);
  backdrop-filter: blur(12px);
}

.cpc-photo-header .cprx-nav__link,
.cpc-photo-header .cprx-dd__btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #073f8f;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.cpc-photo-header .cprx-nav__link:hover,
.cpc-photo-header .cprx-nav__link:focus-visible,
.cpc-photo-header .cprx-dd:hover .cprx-dd__btn,
.cpc-photo-header .cprx-dd:focus-within .cprx-dd__btn {
  color: #ffffff;
  background: linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  outline: none;
  box-shadow: 0 8px 16px rgba(10, 79, 163, 0.20);
}

/* Dropdown */
.cpc-photo-header .cprx-dd {
  position: relative;
}

.cpc-photo-header .cprx-dd__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 260px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(77, 119, 194, 0.24);
  box-shadow: 0 18px 42px rgba(10, 35, 75, 0.20);
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.cpc-photo-header .cprx-dd:hover .cprx-dd__menu,
.cpc-photo-header .cprx-dd:focus-within .cprx-dd__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cpc-photo-header .cprx-dd__menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: #10264f;
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.cpc-photo-header .cprx-dd__menu a:hover,
.cpc-photo-header .cprx-dd__menu a:focus-visible {
  background: #eef5ff;
  color: #0A4FA3;
  outline: none;
}

/* Cart */
.cpc-photo-header .site-cart-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #0A4FA3;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(77, 119, 194, 0.38);
  box-shadow: 0 8px 20px rgba(10, 79, 163, 0.10);
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.cpc-photo-header .site-cart-link:hover,
.cpc-photo-header .site-cart-link:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  outline: none;
}

.cpc-photo-header .site-cart-count {
  min-width: 22px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: #0A4FA3;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 950;
}

.cpc-photo-header .site-cart-link:hover .site-cart-count,
.cpc-photo-header .site-cart-link:focus-visible .site-cart-count {
  background: #ffffff;
  color: #0A4FA3;
}

/* Right CTA */
.cpc-photo-header .cprx-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cpc-photo-header .cprx-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cpc-photo-header .cprx-btn--secure {
  color: #ffffff;
  background: linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(10, 79, 163, 0.24);
}

.cpc-photo-header .cprx-btn:hover,
.cpc-photo-header .cprx-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 14px 30px rgba(10, 79, 163, 0.26);
}

/* Mobile Button */
.cpc-photo-header .cprx-hamburger {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(77, 119, 194, 0.36);
  border-radius: 14px;
  color: #0A4FA3;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(10, 79, 163, 0.12);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.cpc-photo-header .cprx-hamburger svg {
  width: 26px;
  height: 26px;
}

/* Mobile Drawer */
.cpc-photo-header .cprx-drawer {
  width: min(1440px, calc(100vw - 32px));
  margin: 0 auto 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(77, 119, 194, 0.24);
  box-shadow: 0 18px 40px rgba(10, 35, 75, 0.18);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cpc-photo-header .cprx-drawer[hidden] {
  display: none;
}

.cpc-photo-header .cprx-drawer__inner {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.cpc-photo-header .cprx-drawer__inner a {
  display: block;
  padding: 13px 14px;
  border-radius: 14px;
  color: #10264f;
  font-weight: 850;
  text-decoration: none;
}

.cpc-photo-header .cprx-drawer__inner a:hover,
.cpc-photo-header .cprx-drawer__inner a:focus-visible {
  background: #eef5ff;
  color: #0A4FA3;
  outline: none;
}

.cpc-photo-header .cprx-mobile-group {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(77, 119, 194, 0.20);
}

.cpc-photo-header .cprx-mobile-group__title {
  padding: 10px 14px 6px;
  color: #31466e;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cpc-photo-header .cprx-btn--full {
  width: 100%;
  margin-top: 8px;
  color: #ffffff !important;
  text-align: center;
}

.site-content {
  width: 100%;
}

/* Tablet */
@media (max-width: 1240px) {
  .cprx-topbar.cpc-photo-header {
    min-height: 108px;
  }

  .cpc-photo-header .cprx-topbar__inner {
    min-height: 108px;
    grid-template-columns: minmax(285px, 360px) 1fr auto;
    gap: 12px;
  }

  .cpc-photo-header .cprx-brand.cpc-brand-live {
    min-width: 285px;
    padding: 11px 14px;
  }

  .cpc-photo-header .cprx-brand__name {
    font-size: clamp(1.12rem, 1.55vw, 1.55rem);
  }

  .cpc-photo-header .cprx-brand__tag {
    font-size: 0.78rem;
  }

  .cpc-photo-header .cprx-nav {
    gap: 2px;
    padding: 7px;
  }

  .cpc-photo-header .cprx-nav__link,
  .cpc-photo-header .cprx-dd__btn {
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  .cpc-photo-header .cprx-btn,
  .cpc-photo-header .site-cart-link {
    padding: 11px 15px;
    font-size: 0.9rem;
  }
}

/* Mobile */
@media (max-width: 1020px) {
  .cprx-topbar.cpc-photo-header {
    min-height: 98px;
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.90) 0%,
        rgba(255, 255, 255, 0.68) 50%,
        rgba(255, 255, 255, 0.30) 100%
      ),
      url("/01-assets/images/careplancompass-logo.png") center center / cover no-repeat;
  }

  .cpc-photo-header .cprx-topbar__inner {
    min-height: 98px;
    display: flex;
  }

  .cpc-photo-header .cprx-brand.cpc-brand-live {
    min-width: 0;
    width: min(68vw, 380px);
    padding: 10px 12px;
  }

  .cpc-photo-header .cprx-brand__name {
    font-size: clamp(1.02rem, 4vw, 1.45rem);
  }

  .cpc-photo-header .cprx-brand__tag {
    font-size: clamp(0.68rem, 2.4vw, 0.82rem);
  }

  .cpc-photo-header .cprx-nav {
    display: none;
  }

  .cpc-photo-header .cprx-btn--secure:not(.cprx-btn--full) {
    display: none;
  }

  .cpc-photo-header .cprx-hamburger {
    display: inline-flex;
  }

  .cpc-photo-header .cprx-cta {
    margin-left: auto;
  }
}

/* Small Mobile */
@media (max-width: 560px) {
  .cprx-topbar.cpc-photo-header {
    min-height: 92px;
    background-position: center center;
  }

  .cpc-photo-header .cprx-topbar__inner,
  .cpc-photo-header .cprx-drawer {
    width: min(100% - 20px, 1440px);
  }

  .cpc-photo-header .cprx-topbar__inner {
    min-height: 92px;
  }

  .cpc-photo-header .cprx-brand.cpc-brand-live {
    width: min(70vw, 310px);
    padding: 9px 10px;
    border-radius: 18px;
  }

  .cpc-photo-header .cprx-brand__name {
    font-size: 1rem;
  }

  .cpc-photo-header .cprx-brand__tag {
    font-size: 0.66rem;
  }
}

/* =====================================================
HOME HERO — CAREPLANCOMPASS FIXED SIDE-BY-SIDE HERO
USED BY: /content/home.html
IMAGE: /01-assets/images/clinical-caregiver.png
PURPOSE: Keeps clinical-caregiver.png inside the hero on the right.
===================================================== */

.cpc-home-hero {
  width: 100%;
  padding: 46px 0 34px;
  background:
    radial-gradient(circle at 78% 18%, rgba(77, 119, 194, 0.16), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.cpc-home-hero__wrap {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.cpc-home-hero__card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: stretch;
  gap: 28px;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.96) 100%);
  border: 1px solid rgba(77, 119, 194, 0.26);
  box-shadow: 0 22px 54px rgba(10, 35, 75, 0.13);
  overflow: hidden;
}

.cpc-home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 8px 0;
}

.cpc-home-hero__eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0A4FA3;
  background: #eef5ff;
  border: 1px solid rgba(77, 119, 194, 0.34);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cpc-home-hero__copy h1 {
  max-width: 540px;
  margin: 0 0 18px;
  color: #061d49;
  font-size: clamp(3rem, 5.4vw, 5.65rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.cpc-home-hero__lead {
  max-width: 560px;
  margin: 0;
  color: #253c66;
  font-size: 1.04rem;
  line-height: 1.58;
  font-weight: 600;
}

.cpc-home-hero__support {
  max-width: 540px;
  margin: 14px 0 0;
  color: #3d5278;
  font-size: 0.96rem;
  line-height: 1.55;
}

.cpc-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cpc-home-hero__visual {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 79, 163, 0.10), rgba(77, 119, 194, 0.20));
  border: 1px solid rgba(77, 119, 194, 0.20);
  box-shadow: 0 16px 36px rgba(10, 79, 163, 0.14);
}

.cpc-home-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center center;
}

.cpc-home-hero__trust {
  width: min(760px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(77, 119, 194, 0.22);
  box-shadow: 0 10px 24px rgba(10, 79, 163, 0.08);
}

.cpc-home-hero__trust span {
  flex: 0 0 auto;
  color: #0A4FA3;
  font-weight: 950;
}

.cpc-home-hero__trust p {
  margin: 0;
  color: #31466e;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Tablet */
@media (max-width: 1020px) {
  .cpc-home-hero__card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

.cpc-home-hero__copy h1 {
  max-width: 620px;
  font-size: clamp(2.35rem, 4.2vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
  .cpc-home-hero__lead,
  .cpc-home-hero__support {
    max-width: 760px;
  }

  .cpc-home-hero__visual {
    min-height: 360px;
  }

  .cpc-home-hero__visual img {
    min-height: 360px;
  }
}

/* Mobile */
@media (max-width: 620px) {
  .cpc-home-hero {
    padding: 24px 0 24px;
  }

  .cpc-home-hero__wrap {
    width: min(100% - 24px, 1180px);
  }

  .cpc-home-hero__card {
    padding: 22px;
    border-radius: 22px;
    gap: 22px;
  }

  .cpc-home-hero__copy h1 {
    font-size: clamp(2.25rem, 13vw, 3.45rem);
    line-height: 0.92;
  }

  .cpc-home-hero__lead {
    font-size: 0.98rem;
  }

  .cpc-home-hero__visual {
    min-height: 280px;
    border-radius: 18px;
  }

  .cpc-home-hero__visual img {
    min-height: 280px;
  }

  .cpc-home-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cpc-home-hero__actions .cprx-btn {
    width: 100%;
    justify-content: center;
  }

  .cpc-home-hero__trust {
    width: 100%;
  }
}
/* =====================================================
HOME PAGE — EVIDENCE / TRUST SECTION REFINEMENT
USED BY: /content/home.html
PURPOSE: Improve visual polish, readability, and conversion of evidence section.
===================================================== */

.home-evidence {
  padding-top: 54px;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 18% 8%, rgba(77, 119, 194, 0.10), transparent 32%),
    linear-gradient(180deg, #f6f9ff 0%, #eef4fb 100%);
}

.home-evidence__card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(77, 119, 194, 0.24);
  box-shadow: 0 22px 54px rgba(10, 35, 75, 0.12);
}

.home-evidence__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, #0A4FA3 0%, #2A8DDE 55%, #9fd5ff 100%);
}

.home-evidence .home-section-head {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-evidence .section-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0A4FA3;
  background: #eef5ff;
  border: 1px solid rgba(77, 119, 194, 0.34);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-evidence h2 {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  color: #061d49;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.home-evidence .home-section-head > p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #31466e;
  font-size: 1rem;
  line-height: 1.65;
}

.home-evidence .grid-3 {
  margin-top: 26px;
  gap: 18px;
}

.home-evidence .support-card {
  position: relative;
  padding: 24px 22px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(77, 119, 194, 0.22);
  box-shadow: 0 12px 26px rgba(10, 79, 163, 0.08);
}

.home-evidence .support-card::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(10, 79, 163, 0.20);
}

.home-evidence .support-card h3 {
  margin: 0 0 10px;
  color: #061d49;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.home-evidence .support-card p {
  margin: 0;
  color: #31466e;
  font-size: 0.94rem;
  line-height: 1.58;
}

.home-evidence .note-band {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(10, 79, 163, 0.08), rgba(77, 119, 194, 0.08));
  border: 1px solid rgba(77, 119, 194, 0.24);
}

.home-evidence .note-band p {
  margin: 0;
  color: #10264f;
  font-size: 1rem;
  line-height: 1.55;
}

.home-evidence .cta-band_actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.home-evidence__references {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(77, 119, 194, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.home-evidence__references h3 {
  margin: 0 0 14px;
  color: #0A4FA3;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.home-evidence__references ol {
  margin: 0;
  padding-left: 1.25rem;
  color: #243b64;
}

.home-evidence__references li {
  margin-bottom: 12px;
  padding-left: 4px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.home-evidence__references li:last-child {
  margin-bottom: 0;
}

.home-evidence .micro-disclaimer {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  color: #4d5f7c;
  background: #f8fbff;
  border: 1px solid rgba(77, 119, 194, 0.18);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 900px) {
  .home-evidence .grid-3 {
    grid-template-columns: 1fr;
  }

  .home-evidence h2 {
    font-size: clamp(1.75rem, 6vw, 2.55rem);
  }
}

/* Mobile */
@media (max-width: 620px) {
  .home-evidence {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .home-evidence__card {
    border-radius: 22px;
  }

  .home-evidence__references {
    padding: 18px;
    border-radius: 18px;
  }

  .home-evidence .cta-band_actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-evidence .cta-band_actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* =====================================================
HOME EVIDENCE CTA — FILLED LEFT-ALIGNED BUTTON
USED BY: /content/home.html
PURPOSE: Make "Travel Here To Clarity" filled and aligned left.
===================================================== */

.home-evidence .cta-band_actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.home-evidence .cta-band_actions .btn,
.home-evidence .cta-band_actions .btn-secondary,
.home-evidence .cta-band_actions a[href*="care-compass"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%) !important;
  border: 1px solid rgba(10, 79, 163, 0.95) !important;
  box-shadow: 0 12px 24px rgba(10, 79, 163, 0.22) !important;
}

.home-evidence .cta-band_actions .btn:hover,
.home-evidence .cta-band_actions .btn:focus-visible,
.home-evidence .cta-band_actions a[href*="care-compass"]:hover,
.home-evidence .cta-band_actions a[href*="care-compass"]:focus-visible {
  color: #ffffff !important;
  background: linear-gradient(135deg, #073f8f 0%, #0A4FA3 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(10, 79, 163, 0.28) !important;
}

@media (max-width: 620px) {
  .home-evidence .cta-band_actions {
    justify-content: stretch;
  }

  .home-evidence .cta-band_actions .btn,
  .home-evidence .cta-band_actions a[href*="care-compass"] {
    width: 100%;
    justify-content: center;
  }
}
/* =====================================================
HOME PAGE — WIDTH + HERO TITLE REFINEMENT
USED BY: /content/home.html
PURPOSE:
1. Make homepage sections match the wider header/footer rail.
2. Reduce oversized hero title for better readability.
===================================================== */

/* Wider global homepage content rail */
.cpc-home-hero__wrap,
.cprx-home-wrap,
.home-explain .container,
.home-trust .container,
.home-convert .container,
.home-evidence .container,
.home-condition-search .container,
.home-community-close .container,
.section .container {
  width: min(1280px, calc(100vw - 48px));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Wider cards inside homepage sections */
.cpc-home-hero__card,
.home-explain__card,
.home-trust__card,
.home-convert__card,
.home-evidence__card,
.home-condition-search__card,
.home-community-close__card,
.home-problem__card,
.home-support-lanes__card,
.home-organized__card {
  width: 100%;
}

/* Hero layout: wider and more balanced */
.cpc-home-hero__card {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  padding: 38px;
}

/* Reduce hero title size */
.cpc-home-hero__copy h1 {
  max-width: 560px;
  font-size: clamp(2.55rem, 4.1vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

/* Keep lead readable, not too skinny */
.cpc-home-hero__lead,
.cpc-home-hero__support {
  max-width: 590px;
}

/* Image should feel substantial but not overpower title */
.cpc-home-hero__visual {
  min-height: 430px;
}

.cpc-home-hero__visual img {
  min-height: 430px;
  object-fit: cover;
  object-position: center center;
}

/* Section card spacing refinement */
.home-explain__card,
.home-trust__card,
.home-convert__card,
.home-evidence__card,
.home-condition-search__card,
.home-community-close__card {
  padding: clamp(28px, 3vw, 44px);
}

/* Section headings can breathe wider */
.home-section-head {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.home-section-head h2 {
  max-width: 980px;
}

/* Tablet */
@media (max-width: 1020px) {
  .cpc-home-hero__wrap,
  .cprx-home-wrap,
  .home-explain .container,
  .home-trust .container,
  .home-convert .container,
  .home-evidence .container,
  .home-condition-search .container,
  .home-community-close .container,
  .section .container {
    width: min(100% - 32px, 1280px);
  }

  .cpc-home-hero__card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px;
  }

  .cpc-home-hero__copy h1 {
    max-width: 760px;
    font-size: clamp(2.35rem, 7vw, 3.85rem);
    line-height: 0.98;
  }

  .cpc-home-hero__lead,
  .cpc-home-hero__support {
    max-width: 760px;
  }

  .cpc-home-hero__visual,
  .cpc-home-hero__visual img {
    min-height: 360px;
  }
}

/* Mobile */
@media (max-width: 620px) {
  .cpc-home-hero__wrap,
  .cprx-home-wrap,
  .home-explain .container,
  .home-trust .container,
  .home-convert .container,
  .home-evidence .container,
  .home-condition-search .container,
  .home-community-close .container,
  .section .container {
    width: min(100% - 24px, 1280px);
  }

  .cpc-home-hero__card {
    padding: 22px;
    border-radius: 22px;
  }

  .cpc-home-hero__copy h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1;
    letter-spacing: -0.052em;
  }

  .cpc-home-hero__visual,
  .cpc-home-hero__visual img {
    min-height: 280px;
  }
}
/* =====================================================
GLOBAL WIDTH LOCK — HEADER / BODY / GLOBAL CLOSE / FOOTER
PURPOSE:
Create one consistent content rail across the full site.
Fixes mixed widths between header, homepage cards, global-item-close, and footer.
===================================================== */

:root {
  --cpc-page-rail: 1280px;
  --cpc-page-gutter: 48px;
}

/* One master rail for major layout containers */
.cprx-topbar__inner,
.cpc-photo-header .cprx-topbar__inner,
.cpc-home-hero__wrap,
.cprx-home-wrap,
.section > .container,
.container,
.global-item-close .container,
.global-close .container,
.close-deep .container,
.footer .container,
.site-footer .container,
.cprx-footer .container,
.email-capture .container {
  width: min(var(--cpc-page-rail), calc(100vw - var(--cpc-page-gutter))) !important;
  max-width: var(--cpc-page-rail) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Make homepage cards fill the shared rail */
.cpc-home-hero__card,
.home-explain__card,
.home-trust__card,
.home-convert__card,
.home-evidence__card,
.home-condition-search__card,
.home-community-close__card,
.home-problem__card,
.home-support-lanes__card,
.home-organized__card,
.card,
.global-item-close,
.global-close,
.close-deep,
.email-capture_card {
  width: 100% !important;
  max-width: 100% !important;
}

/* Keep nested cards from creating a second narrower rail */
.home-explain .card,
.home-trust .card,
.home-convert .card,
.home-evidence .card,
.home-condition-search .card,
.home-community-close .card {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Standardize section spacing without changing width */
.section,
.home-explain,
.home-trust,
.home-convert,
.home-evidence,
.home-condition-search,
.home-community-close {
  width: 100%;
}

/* Global item close should align with the same page rail */
.global-item-close,
.global-close,
.close-deep {
  box-sizing: border-box;
}

/* Footer and email capture should not use a wider or narrower custom rail */
.site-footer,
.cprx-footer,
.footer,
.email-capture {
  width: 100%;
}

/* Tablet */
@media (max-width: 1020px) {
  :root {
    --cpc-page-gutter: 32px;
  }
}

/* Mobile */
@media (max-width: 620px) {
  :root {
    --cpc-page-gutter: 24px;
  }
}
/* =====================================================
FINAL RAIL FIX — HOME + GLOBAL ITEM CLOSE
PURPOSE: Force home sections and global item close to the same width.
===================================================== */

.cpc-home-hero__wrap,
.section > .container,
.global-item-close > .container {
  width: min(1280px, calc(100vw - 48px)) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cpc-home-hero__card,
.section > .container > .card,
.global-item-close__panel {
  width: 100% !important;
  max-width: 100% !important;
}

/* =====================================================
GLOBAL ITEM CLOSE + FOOTER EMAIL CAPTURE — RESTORE STYLING
USED BY:
- /content/global-item-close.html
- /00-core/footer.php

PURPOSE:
1. Restore global-item-close.html visual styling.
2. Restore footer email capture/input form styling.
3. Lock both to the same 1280px page rail.
===================================================== */

:root {
  --cpc-page-rail: 1280px;
  --cpc-page-gutter: 48px;
}

/* -----------------------------
   SHARED WIDTH RAIL
----------------------------- */

.global-item-close > .container,
.email-capture > .container,
.site-footer .footer-wrap,
.footer-wrap {
  width: min(var(--cpc-page-rail), calc(100vw - var(--cpc-page-gutter))) !important;
  max-width: var(--cpc-page-rail) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* =====================================================
   GLOBAL ITEM CLOSE
===================================================== */

.global-item-close {
  width: 100%;
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 16% 12%, rgba(77, 119, 194, 0.12), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.global-item-close__panel {
  width: 100% !important;
  max-width: 100% !important;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.98) 100%);
  border: 1px solid rgba(77, 119, 194, 0.26);
  box-shadow: 0 22px 54px rgba(10, 35, 75, 0.13);
  box-sizing: border-box;
  overflow: hidden;
}

.global-item-close__header {
  max-width: 900px;
  margin: 0 auto 26px;
  text-align: center;
}

.global-item-close__header .section-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0A4FA3;
  background: #eef5ff;
  border: 1px solid rgba(77, 119, 194, 0.34);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.global-item-close__header h2 {
  max-width: 820px;
  margin: 0 auto 12px;
  color: #061d49;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.global-item-close__header p {
  max-width: 860px;
  margin: 0 auto;
  color: #31466e;
  font-size: 1rem;
  line-height: 1.65;
}

.global-item-close__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.global-item-close__card {
  min-height: 100%;
  padding: 22px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(77, 119, 194, 0.22);
  box-shadow: 0 12px 26px rgba(10, 79, 163, 0.08);
  box-sizing: border-box;
}

.global-item-close__card--featured {
  background:
    linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  border-color: rgba(10, 79, 163, 0.92);
  box-shadow: 0 18px 34px rgba(10, 79, 163, 0.22);
}

.global-item-close__tag {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0A4FA3;
  background: #eef5ff;
  border: 1px solid rgba(77, 119, 194, 0.28);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.global-item-close__card--featured .global-item-close__tag {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
}

.global-item-close__card h3 {
  margin: 0 0 10px;
  color: #061d49;
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.global-item-close__card p {
  margin: 0 0 16px;
  color: #31466e;
  font-size: 0.94rem;
  line-height: 1.58;
}

.global-item-close__card--featured h3,
.global-item-close__card--featured p {
  color: #ffffff;
}

.global-item-close__card .btn {
  margin-top: auto;
}

.global-item-close__card--featured .btn {
  color: #0A4FA3 !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.global-item-close .note-band {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(10, 79, 163, 0.08), rgba(77, 119, 194, 0.08));
  border: 1px solid rgba(77, 119, 194, 0.24);
}

.global-item-close .note-band p {
  margin: 0;
  color: #10264f;
  font-size: 0.96rem;
  line-height: 1.58;
}

.global-item-close__contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.global-item-close__contact-band div {
  min-width: 0;
}

.global-item-close__contact-band strong {
  display: block;
  color: #061d49;
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.global-item-close__contact-band .btn {
  flex: 0 0 auto;
}

/* =====================================================
   FOOTER EMAIL CAPTURE FORM
===================================================== */

.email-capture {
  width: 100%;
  padding: 46px 0 38px;
  background:
    radial-gradient(circle at 18% 0%, rgba(77, 119, 194, 0.14), transparent 34%),
    linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
}

.email-capture_card {
  width: 100% !important;
  max-width: 100% !important;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 26px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(77, 119, 194, 0.30);
  box-shadow: 0 22px 50px rgba(10, 35, 75, 0.13);
  box-sizing: border-box;
}

.email-capture_content .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #0A4FA3;
  background: #eef5ff;
  border: 1px solid rgba(77, 119, 194, 0.34);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.email-capture_content h2 {
  margin: 0 0 10px;
  color: #061d49;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.email-capture_content p {
  margin: 0;
  color: #31466e;
  font-size: 0.98rem;
  line-height: 1.58;
}

.email-capture_form {
  width: 100%;
  min-width: 0;
}

.email-capture_inputrow {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(210px, 1.2fr) auto;
  gap: 12px;
  align-items: stretch;
}

.email-capture_field {
  min-width: 0;
}

.email-capture_field input,
.email-capture_inputrow input[type="text"],
.email-capture_inputrow input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(77, 119, 194, 0.32);
  background: #ffffff;
  color: #10264f;
  font-size: 0.95rem;
  font-weight: 700;
  box-sizing: border-box;
  outline: none;
}

.email-capture_field input:focus {
  border-color: #0A4FA3;
  box-shadow: 0 0 0 4px rgba(10, 79, 163, 0.12);
}

.email-capture_form .btn,
.email-capture_form .btn-primary {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%) !important;
  border: 1px solid rgba(10, 79, 163, 0.92) !important;
  box-shadow: 0 12px 24px rgba(10, 79, 163, 0.20);
  font-weight: 950;
  white-space: nowrap;
}

.email-capture_form .btn:hover,
.email-capture_form .btn:focus-visible {
  background: linear-gradient(135deg, #073f8f 0%, #0A4FA3 100%) !important;
  transform: translateY(-1px);
}

.email-capture_consent {
  margin-top: 12px;
  color: #31466e;
  font-size: 0.82rem;
  line-height: 1.45;
}

.email-capture_consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.email-capture_consent input[type="checkbox"] {
  margin-top: 2px;
  flex: 0 0 auto;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1020px) {
  :root {
    --cpc-page-gutter: 32px;
  }

  .global-item-close__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .email-capture_card {
    grid-template-columns: 1fr;
  }

  .email-capture_inputrow {
    grid-template-columns: 1fr 1fr auto;
  }
}

@media (max-width: 700px) {
  :root {
    --cpc-page-gutter: 24px;
  }

  .global-item-close {
    padding: 42px 0;
  }

  .global-item-close__panel {
    padding: 22px;
    border-radius: 22px;
  }

  .global-item-close__grid {
    grid-template-columns: 1fr;
  }

  .global-item-close__contact-band {
    display: grid;
    grid-template-columns: 1fr;
  }

  .global-item-close__contact-band .btn {
    width: 100%;
    justify-content: center;
  }

  .email-capture {
    padding: 34px 0;
  }

  .email-capture_card {
    padding: 22px;
    border-radius: 22px;
  }

  .email-capture_inputrow {
    grid-template-columns: 1fr;
  }

  .email-capture_form .btn {
    width: 100%;
    justify-content: center;
  }
}
/* =====================================================
FINAL FOOTER + EMAIL CAPTURE RAIL FIX - THAT ACTUALLY WORKED!
USED BY: /00-core/footer.php
PURPOSE: Force footer email capture and footer to match 1280px site rail.
===================================================== */

/* Full-width background bands */
body .email-capture.section,
body .site-footer {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Inner rail */
body .email-capture.section > .container,
body .site-footer > .footer-wrap {
  width: min(1280px, calc(100vw - 48px)) !important;
  max-width: 1280px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* Email capture card fills rail */
body .email-capture.section > .container > .email-capture_card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Footer internals should not create a smaller rail */
body .site-footer .footer-top,
body .site-footer .footer-disclaimer,
body .site-footer .footer-trust,
body .site-footer .footer-links,
body .site-footer .footer-bottom {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Tablet */
@media (max-width: 1020px) {
  body .email-capture.section > .container,
  body .site-footer > .footer-wrap {
    width: min(100% - 32px, 1280px) !important;
  }
}

/* Mobile */
@media (max-width: 620px) {
  body .email-capture.section > .container,
  body .site-footer > .footer-wrap {
    width: min(100% - 24px, 1280px) !important;
  }
}

/* =====================================================
HEADER REFINEMENT — BRAND / NAV / CTA BALANCE
USED BY: /00-core/header.php
PURPOSE: Fix oversized brand box and crowded right-side nav buttons.
===================================================== */

.cpc-photo-header .cprx-topbar__inner {
  width: min(1280px, calc(100vw - 48px)) !important;
  max-width: 1280px !important;
  min-height: 88px !important;
  grid-template-columns: 330px minmax(0, 1fr) auto !important;
  gap: 16px !important;
}

.cprx-topbar.cpc-photo-header {
  min-height: 88px !important;
  background-position: center center !important;
}

/* Brand box: smaller and cleaner */
.cpc-photo-header .cprx-brand.cpc-brand-live {
  min-width: 0 !important;
  max-width: 330px !important;
  width: 330px !important;
  padding: 12px 16px !important;
  border-radius: 20px !important;
}

.cpc-photo-header .cprx-brand__name {
  font-size: clamp(1.25rem, 1.6vw, 1.65rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.055em !important;
}

.cpc-photo-header .cprx-brand__tag {
  font-size: 0.78rem !important;
  line-height: 1.15 !important;
}

/* Nav: keep it centered and prevent overflow */
.cpc-photo-header .cprx-nav {
  min-width: 0 !important;
  max-width: 100% !important;
  justify-self: center !important;
  gap: 4px !important;
  padding: 7px 9px !important;
}

.cpc-photo-header .cprx-nav__link,
.cpc-photo-header .cprx-dd__btn {
  min-height: 40px !important;
  padding: 8px 11px !important;
  font-size: 0.86rem !important;
}

/* Right buttons: stop crowding/overlap */
.cpc-photo-header .cprx-cta {
  justify-self: end !important;
  flex-shrink: 0 !important;
  gap: 10px !important;
}

.cpc-photo-header .site-cart-link {
  min-height: 44px !important;
  padding: 10px 17px !important;
  flex-shrink: 0 !important;
}

.cpc-photo-header .cprx-btn--secure {
  min-height: 44px !important;
  padding: 10px 18px !important;
  flex-shrink: 0 !important;
}

/* Tablet: hide CTA sooner so nav does not crush */
@media (max-width: 1180px) {
  .cpc-photo-header .cprx-topbar__inner {
    grid-template-columns: 300px minmax(0, 1fr) auto !important;
    width: min(100% - 32px, 1280px) !important;
  }

  .cpc-photo-header .cprx-brand.cpc-brand-live {
    width: 300px !important;
    max-width: 300px !important;
  }

  .cpc-photo-header .cprx-nav__link,
  .cpc-photo-header .cprx-dd__btn {
    padding: 8px 9px !important;
    font-size: 0.8rem !important;
  }

  .cpc-photo-header .site-cart-link {
    padding: 10px 14px !important;
  }

  .cpc-photo-header .cprx-btn--secure {
    padding: 10px 15px !important;
  }
}

/* Mobile breakpoint */
@media (max-width: 1020px) {
  .cpc-photo-header .cprx-topbar__inner {
    display: flex !important;
    min-height: 86px !important;
  }

  .cpc-photo-header .cprx-brand.cpc-brand-live {
    width: min(68vw, 340px) !important;
    max-width: 340px !important;
  }

  .cpc-photo-header .cprx-nav {
    display: none !important;
  }

  .cpc-photo-header .site-cart-link,
  .cpc-photo-header .cprx-btn--secure:not(.cprx-btn--full) {
    display: none !important;
  }

  .cpc-photo-header .cprx-hamburger {
    display: inline-flex !important;
  }
}
/* =====================================================
HOME PAGE — CLICKABLE HOW-IT-WORKS CARDS
USED BY: /content/home.html
PURPOSE: Makes the three "How it works" boxes clickable routing cards.
===================================================== */

.home-click-card-grid {
  align-items: stretch;
}

.home-click-card {
  position: relative;
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.home-click-card:hover,
.home-click-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(10, 79, 163, 0.55);
  background:
    linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  box-shadow: 0 18px 34px rgba(10, 79, 163, 0.16);
  outline: none;
}

.home-click-card:hover h3,
.home-click-card:focus-visible h3 {
  color: #0A4FA3;
}

.home-click-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(10, 79, 163, 0.18);
  opacity: 0.92;
}

.home-click-card p {
  padding-right: 34px;
}

.home-click-card:active {
  transform: translateY(-1px);
}
/* =====================================================
HOME PAGE — QUICK SEARCH BAR IN HOW-IT-WORKS SECTION
USED BY: /content/home.html
PURPOSE: Adds an immediate search path before the three clickable cards.
===================================================== */

.home-quick-search {
  margin: 28px 0 26px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(77, 119, 194, 0.26);
  box-shadow: 0 14px 30px rgba(10, 79, 163, 0.08);
}

.home-quick-search__copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 16px;
}

.home-quick-search__copy h3 {
  margin: 0 0 8px;
  color: #061d49;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.home-quick-search__copy p {
  margin: 0;
  color: #31466e;
  font-size: 0.96rem;
  line-height: 1.55;
}

.home-quick-search__form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 240px) auto;
  gap: 12px;
  align-items: stretch;
}

.home-quick-search__form input,
.home-quick-search__form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(77, 119, 194, 0.34);
  background: #ffffff;
  color: #10264f;
  font-size: 0.95rem;
  font-weight: 750;
  box-sizing: border-box;
  outline: none;
}

.home-quick-search__form input:focus,
.home-quick-search__form select:focus {
  border-color: #0A4FA3;
  box-shadow: 0 0 0 4px rgba(10, 79, 163, 0.12);
}

.home-quick-search__form .btn {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  white-space: nowrap;
}

.home-quick-search__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: #31466e;
  font-size: 0.86rem;
  font-weight: 850;
}

.home-quick-search__suggestions a {
  color: #0A4FA3;
  font-weight: 900;
  text-decoration: none;
}

.home-quick-search__suggestions a:hover,
.home-quick-search__suggestions a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 860px) {
  .home-quick-search__form {
    grid-template-columns: 1fr;
  }

  .home-quick-search__form .btn {
    width: 100%;
    justify-content: center;
  }
}
/* =====================================================
CARE COMPASS — KEYSTONE QUIZ PAGE
USED BY: /content/care-compass.html
PURPOSE: Prize-level guided recommendation layout.
===================================================== */

.care-compass-hero__card--showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 30px;
  overflow: hidden;
}

.care-compass-hero__copy {
  min-width: 0;
}

.care-compass-hero__copy h1 {
  max-width: 780px;
  margin: 0 0 16px;
  color: #061d49;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.care-compass-hero__copy > p {
  color: #31466e;
  font-size: 1rem;
  line-height: 1.65;
}

.care-compass-hero__support {
  margin-top: 12px;
}

.care-compass-hero__visual {
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 79, 163, 0.08), rgba(77, 119, 194, 0.18));
  border: 1px solid rgba(77, 119, 194, 0.22);
  box-shadow: 0 16px 36px rgba(10, 79, 163, 0.12);
}

.care-compass-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
}

/* Quiz */
.care-compass-form {
  margin-top: 28px;
}

.care-compass-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.care-compass-question {
  margin: 0;
  padding: 22px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(77, 119, 194, 0.22);
  box-shadow: 0 12px 26px rgba(10, 79, 163, 0.08);
}

.care-compass-question legend {
  margin-bottom: 14px;
  color: #061d49;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.care-compass-question label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  padding: 11px 12px;
  border-radius: 14px;
  color: #243b64;
  background: #ffffff;
  border: 1px solid rgba(77, 119, 194, 0.16);
  cursor: pointer;
}

.care-compass-question label:hover {
  background: #eef5ff;
  border-color: rgba(10, 79, 163, 0.32);
}

.care-compass-question input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.care-compass-search-line {
  margin-top: 22px;
  padding: 22px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(77, 119, 194, 0.24);
}

.care-compass-search-line label {
  display: block;
  margin-bottom: 10px;
  color: #061d49;
  font-weight: 950;
}

.care-compass-search-line__row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
}

.care-compass-search-line input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(77, 119, 194, 0.34);
  background: #ffffff;
  color: #10264f;
  font-size: 0.95rem;
  font-weight: 750;
  box-sizing: border-box;
  outline: none;
}

.care-compass-search-line input:focus {
  border-color: #0A4FA3;
  box-shadow: 0 0 0 4px rgba(10, 79, 163, 0.12);
}

/* Preview Demo */
.care-compass-preview-demo {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(77, 119, 194, 0.24);
  box-shadow: 0 14px 34px rgba(10, 79, 163, 0.10);
}

.care-compass-preview-demo__image {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: #0A4FA3;
  background:
    radial-gradient(circle at 50% 30%, rgba(77, 119, 194, 0.20), transparent 40%),
    linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
  border: 1px dashed rgba(10, 79, 163, 0.36);
  font-weight: 950;
}

.care-compass-preview-demo__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.care-compass-preview-demo__copy h3 {
  margin: 10px 0;
  color: #061d49;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.care-compass-preview-demo__copy p,
.care-compass-preview-demo__copy li {
  color: #31466e;
  line-height: 1.58;
}

.care-compass-preview-demo__copy .btn {
  width: fit-content;
  margin-top: 8px;
}

/* Chips */
.care-compass-chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.care-compass-chip-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0A4FA3;
  background: #eef5ff;
  border: 1px solid rgba(77, 119, 194, 0.30);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.care-compass-chip-grid a:hover,
.care-compass-chip-grid a:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 79, 163, 0.18);
  outline: none;
}

@media (max-width: 980px) {
  .care-compass-hero__card--showcase,
  .care-compass-form__grid,
  .care-compass-preview-demo {
    grid-template-columns: 1fr;
  }

  .care-compass-hero__visual,
  .care-compass-hero__visual img {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .care-compass-search-line__row {
    grid-template-columns: 1fr;
  }

  .care-compass-search-line__row .btn {
    width: 100%;
    justify-content: center;
  }

  .care-compass-hero__visual,
  .care-compass-hero__visual img,
  .care-compass-preview-demo__image {
    min-height: 230px;
  }
}
/* =====================================================
CARE COMPASS RESULTS PAGE
USED BY: /compass-results.php
PURPOSE: Shows calculated bundle preview before sending user to item.php.
===================================================== */

.compass-results {
  padding-top: 46px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 18% 8%, rgba(77, 119, 194, 0.10), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.compass-results__card {
  overflow: hidden;
}

.compass-result-preview {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(77, 119, 194, 0.24);
  box-shadow: 0 16px 38px rgba(10, 79, 163, 0.10);
}

.compass-result-preview__image {
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(77, 119, 194, 0.20), transparent 40%),
    linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
  border: 1px solid rgba(77, 119, 194, 0.24);
}

.compass-result-preview__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
}

.compass-result-preview__placeholder {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A4FA3;
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compass-result-preview__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compass-result-preview__content h2 {
  margin: 10px 0 12px;
  color: #061d49;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.compass-result-preview__content p,
.compass-result-preview__content li {
  color: #31466e;
  font-size: 0.96rem;
  line-height: 1.58;
}

.compass-result-reasons,
.compass-result-includes {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(77, 119, 194, 0.20);
}

.compass-result-reasons h3,
.compass-result-includes h3 {
  margin: 0 0 10px;
  color: #0A4FA3;
  font-size: 1rem;
  font-weight: 950;
}

.compass-result-reasons ul,
.compass-result-includes ul {
  margin: 0;
  padding-left: 1.2rem;
}

.compass-results__actions {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .compass-result-preview {
    grid-template-columns: 1fr;
  }

  .compass-result-preview__image,
  .compass-result-preview__image img,
  .compass-result-preview__placeholder {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .compass-result-preview {
    padding: 18px;
    border-radius: 22px;
  }

  .compass-result-preview__image,
  .compass-result-preview__image img,
  .compass-result-preview__placeholder {
    min-height: 230px;
  }

  .compass-results__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .compass-results__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* =====================================================
CARE COMPASS — EXCITED NEXT CUE
USED BY: /content/care-compass.html
PURPOSE: Adds more energy to the “start questions” cue.
===================================================== */

.care-compass-next-cue--excited {
  padding: 14px 20px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 16px 34px rgba(10, 79, 163, 0.24),
    0 0 0 6px rgba(10, 79, 163, 0.08);
}

.care-compass-next-cue--excited:hover,
.care-compass-next-cue--excited:focus-visible {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, #073f8f 0%, #0A4FA3 100%);
  transform: translateY(-3px) scale(1.015);
}

.care-compass-next-cue__spark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #0A4FA3;
  background: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  animation: careCompassSpark 1.6s ease-in-out infinite;
}

.care-compass-next-cue--excited .care-compass-next-cue__text {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.care-compass-next-cue--excited .care-compass-next-cue__icon {
  color: #0A4FA3;
  background: #ffffff;
  animation: careCompassDropPulse 1.15s ease-in-out infinite;
}

@keyframes careCompassSpark {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(12deg) scale(1.12);
  }
}

@keyframes careCompassDropPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.42);
  }

  50% {
    transform: translateY(5px);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}
/* =====================================================
CARE COMPASS — PREMIUM QUESTION BRIDGE
USED BY: /content/care-compass.html
PURPOSE: Creates a strong visual handoff from preview section to quiz.
===================================================== */

.care-compass-question-bridge {
  position: relative;
  margin: 34px auto 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.care-compass-question-bridge__line {
  width: 2px;
  height: 42px;
  margin-bottom: -2px;
  background: linear-gradient(180deg, rgba(10, 79, 163, 0), rgba(10, 79, 163, 0.55));
  border-radius: 999px;
}

.care-compass-question-bridge__card {
  position: relative;
  width: min(620px, 100%);
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  background:
    radial-gradient(circle at 16% 25%, rgba(255, 255, 255, 0.30), transparent 28%),
    linear-gradient(135deg, #0A4FA3 0%, #2A8DDE 100%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 18px 38px rgba(10, 79, 163, 0.26),
    0 0 0 8px rgba(10, 79, 163, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.care-compass-question-bridge__card::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.care-compass-question-bridge__card:hover,
.care-compass-question-bridge__card:focus-visible {
  transform: translateY(-4px) scale(1.01);
  filter: saturate(1.08);
  box-shadow:
    0 24px 48px rgba(10, 79, 163, 0.32),
    0 0 0 10px rgba(10, 79, 163, 0.10);
  outline: none;
}

.care-compass-question-bridge__badge,
.care-compass-question-bridge__arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #0A4FA3;
  background: #ffffff;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(5, 28, 68, 0.18);
  z-index: 1;
}

.care-compass-question-bridge__badge {
  font-size: 1.05rem;
  animation: compassSparkPop 1.6s ease-in-out infinite;
}

.care-compass-question-bridge__arrow {
  font-size: 1.3rem;
  animation: compassArrowDrop 1.15s ease-in-out infinite;
}

.care-compass-question-bridge__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  text-align: left;
  z-index: 1;
}

.care-compass-question-bridge__copy strong {
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.care-compass-question-bridge__copy em {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
}

@keyframes compassSparkPop {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(12deg) scale(1.12);
  }
}

@keyframes compassArrowDrop {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@media (max-width: 620px) {
  .care-compass-question-bridge__card {
    width: 100%;
    grid-template-columns: auto 1fr;
    border-radius: 24px;
  }

  .care-compass-question-bridge__card::after {
    border-radius: 20px;
  }

  .care-compass-question-bridge__arrow {
    grid-column: 1 / -1;
    margin: 2px auto 0;
  }

  .care-compass-question-bridge__copy {
    text-align: left;
  }
}
/* =====================================================
CARE COMPASS — PATHWAY-SPECIFIC QUESTION GRID
USED BY: /content/care-compass.html
PURPOSE: Separates surgical, cardiac, neuro, condition, injury, and daily-life routing.
===================================================== */

.care-compass-pathway-details {
  margin-top: 18px;
}

.care-compass-question--wide {
  grid-column: 1 / -1;
}

.care-compass-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.care-compass-select-grid label {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(77, 119, 194, 0.18);
}

.care-compass-select-grid label span {
  color: #061d49;
  font-size: 0.88rem;
  font-weight: 950;
}

.care-compass-select-grid select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid rgba(77, 119, 194, 0.34);
  background: #ffffff;
  color: #10264f;
  font-size: 0.92rem;
  font-weight: 750;
  box-sizing: border-box;
  outline: none;
}

.care-compass-select-grid select:focus {
  border-color: #0A4FA3;
  box-shadow: 0 0 0 4px rgba(10, 79, 163, 0.12);
}

@media (max-width: 760px) {
  .care-compass-select-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
CARE COMPASS — HUMAN QUESTION QUIZ
USED BY: /content/care-compass.html
PURPOSE: Plain-language question layout for better routing.
===================================================== */

.care-compass-question--wide {
  grid-column: 1 / -1;
  margin-top: 18px;
}

.care-compass-select-grid,
.care-compass-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.care-compass-select-grid label,
.care-compass-mini-grid label {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(77, 119, 194, 0.18);
}

.care-compass-mini-grid label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.care-compass-select-grid label span {
  color: #061d49;
  font-size: 0.88rem;
  font-weight: 950;
}

.care-compass-select-grid select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid rgba(77, 119, 194, 0.34);
  background: #ffffff;
  color: #10264f;
  font-size: 0.92rem;
  font-weight: 750;
  box-sizing: border-box;
  outline: none;
}

.care-compass-select-grid select:focus {
  border-color: #0A4FA3;
  box-shadow: 0 0 0 4px rgba(10, 79, 163, 0.12);
}

@media (max-width: 760px) {
  .care-compass-select-grid,
  .care-compass-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
PAGE: ORGANIZATION CONTACT
USED BY: /organization-contact.php
PURPOSE: CarePlanCompass organization support contact pathway.
===================================================== */

.organization-contact-hero,
.organization-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.organization-contact-hero__card,
.organization-contact-builder,
.organization-contact-direct {
  height: 100%;
}

.organization-contact-hero__card h1 {
  margin: 8px 0 12px;
  color: #061d49;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.organization-contact-hero__card h2,
.organization-contact-builder h3,
.organization-contact-direct h3,
.organization-contact-evidence h2 {
  margin-top: 0;
  color: #061d49;
}

.organization-contact-promise {
  margin: 18px 0;
}

.organization-contact-checklist {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.organization-contact-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: #31466e;
  line-height: 1.45;
}

.organization-contact-checklist span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: #0A4FA3;
  font-size: 0.78rem;
  font-weight: 950;
}

.organization-contact-options .home-section-head {
  margin-bottom: 22px;
}

.organization-email-builder {
  display: grid;
  gap: 10px;
}

.organization-email-builder label {
  color: #061d49;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.organization-email-builder input,
.organization-email-builder select,
.organization-email-builder textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(77, 119, 194, 0.30);
  color: #10264f;
  background: #ffffff;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.organization-email-builder textarea {
  resize: vertical;
  min-height: 120px;
}

.organization-email-builder input:focus,
.organization-email-builder select:focus,
.organization-email-builder textarea:focus {
  border-color: #0A4FA3;
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 79, 163, 0.12);
}

.organization-contact-builder__actions {
  margin-top: 6px;
}

.organization-contact-direct .note-band,
.organization-contact-include {
  margin: 16px 0;
}

.organization-contact-references {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: #31466e;
}

.organization-contact-references li {
  margin-bottom: 10px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .organization-contact-hero,
  .organization-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
CARE COMPASS RESULTS — ORGANIZATION SOFT GATE
USED BY: /compass-results.php
PURPOSE: Captures organization lead info with POST before routing forward.
===================================================== */

.compass-org-softgate {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(77, 119, 194, 0.24);
  box-shadow: 0 14px 30px rgba(10, 79, 163, 0.08);
}

.compass-org-softgate__head h3 {
  margin: 10px 0 8px;
  color: #061d49;
  font-size: 1.35rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.compass-org-softgate__head p {
  margin: 0;
  color: #31466e;
  line-height: 1.5;
}

.compass-org-softgate__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.compass-org-softgate__grid label,
.compass-org-softgate__consent {
  display: grid;
  gap: 7px;
}

.compass-org-softgate__email {
  grid-column: 1 / -1;
}

.compass-org-softgate__grid span {
  color: #061d49;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compass-org-softgate input[type="text"],
.compass-org-softgate input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(77, 119, 194, 0.30);
  color: #10264f;
  background: #ffffff;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.compass-org-softgate input:focus {
  border-color: #0A4FA3;
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 79, 163, 0.12);
}

.compass-org-softgate__consent {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: #31466e;
  font-size: 0.9rem;
  line-height: 1.4;
}

.compass-org-softgate__consent input {
  margin-top: 3px;
}

@media (max-width: 620px) {
  .compass-org-softgate__grid {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
CARE COMPASS RESULTS — ORGANIZATION IMAGE FIX
USED BY: /compass-results.php
PURPOSE: Prevent organization result image from stretching/cropping awkwardly.
===================================================== */

.compass-result-preview {
  align-items: start;
}

.compass-result-preview__image--org {
  align-self: start;
  height: clamp(360px, 48vw, 560px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 45% 20%, rgba(77, 119, 194, 0.16), transparent 38%),
    linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
}

.compass-result-preview__image--org img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  padding: 10px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .compass-result-preview__image--org {
    height: auto;
    min-height: 300px;
  }

  .compass-result-preview__image--org img {
    height: auto;
    max-height: 520px;
  }
}
/* =====================================================
CARE COMPASS RESULTS — ORGANIZATION RESULT LAYOUT FIX
USED BY: /compass-results.php
PURPOSE: Keeps organization result image proportional and prevents form clipping.
===================================================== */

.compass-result-preview {
  align-items: start;
}

.compass-result-preview:has(.compass-result-preview__image--org) {
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px;
  overflow: visible;
}

.compass-result-preview__image--org {
  align-self: start;
  height: auto;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 45% 20%, rgba(77, 119, 194, 0.14), transparent 40%),
    linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
  border: 1px solid rgba(77, 119, 194, 0.24);
  overflow: hidden;
}

.compass-result-preview__image--org img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 520px;
  object-fit: contain;
  object-position: center center;
  padding: 10px;
  box-sizing: border-box;
}

.compass-result-preview:has(.compass-result-preview__image--org) .compass-result-preview__content {
  min-width: 0;
  overflow: visible;
}

.compass-result-preview:has(.compass-result-preview__image--org) .compass-org-softgate {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.compass-result-preview:has(.compass-result-preview__image--org) .compass-org-softgate__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compass-result-preview:has(.compass-result-preview__image--org) .compass-org-softgate__email {
  grid-column: 1 / -1;
}

.compass-result-preview:has(.compass-result-preview__image--org) .compass-org-softgate input {
  min-width: 0;
}

@media (max-width: 980px) {
  .compass-result-preview:has(.compass-result-preview__image--org) {
    grid-template-columns: 1fr;
  }

  .compass-result-preview__image--org img {
    max-height: 480px;
  }
}

@media (max-width: 620px) {
  .compass-result-preview:has(.compass-result-preview__image--org) .compass-org-softgate__grid {
    grid-template-columns: 1fr;
  }

  .compass-result-preview__image--org img {
    max-height: 380px;
  }
}
/* =====================================================
CARE COMPASS RESULTS — HERO IMAGE LAYOUT
USED BY: /compass-results.php
PURPOSE: Moves organization result image into the title area and gives form full width.
===================================================== */

.compass-results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
}

.compass-results-hero__copy h1 {
  margin: 10px 0 12px;
  color: #061d49;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.compass-results-hero__copy p {
  max-width: 760px;
  color: #31466e;
  line-height: 1.6;
}

.compass-results-hero__image {
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 20%, rgba(77, 119, 194, 0.14), transparent 40%),
    linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
  border: 1px solid rgba(77, 119, 194, 0.24);
  box-shadow: 0 14px 30px rgba(10, 79, 163, 0.10);
}

.compass-results-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center center;
  padding: 8px;
  box-sizing: border-box;
}

.compass-result-preview--org-no-image {
  grid-template-columns: 1fr;
}

.compass-result-preview--org-no-image .compass-result-preview__content {
  width: 100%;
  max-width: 100%;
}

.compass-result-preview--org-no-image .compass-org-softgate {
  max-width: 100%;
}

@media (max-width: 900px) {
  .compass-results-hero {
    grid-template-columns: 1fr;
  }

  .compass-results-hero__image {
    max-width: 420px;
    margin-inline: auto;
  }
}
/* =====================================================
PAGE: CPC INDEPENDENCE — KERRVILLE / FREDERICKSBURG
FILE: /cpc-independence-kerrville-fredericksburg.php
PURPOSE: Brochure-style landing page using full brochure image
===================================================== */

.cpc-independence-page {
  background:
    radial-gradient(circle at top left, rgba(0, 101, 115, 0.10), transparent 34%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 54%, #f4f8fa 100%);
}

.cpc-independence-hero {
  padding: 42px 0 54px;
}

.cpc-independence-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.cpc-independence-intro {
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
}

.cpc-independence-intro .eyebrow {
  margin: 0 0 8px;
  color: #0a6d78;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cpc-independence-intro h1 {
  margin: 0;
  color: #061f44;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.cpc-independence-subtitle {
  max-width: 760px;
  margin: 14px auto 0;
  color: #2b4a5a;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.cpc-independence-brochure-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow:
    0 28px 70px rgba(6, 31, 68, 0.16),
    0 8px 24px rgba(0, 101, 115, 0.10);
  border: 1px solid rgba(10, 79, 163, 0.10);
}

.cpc-independence-brochure {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.cpc-independence-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px auto 12px;
}

.cpc-independence-actions .btn {
  min-width: 220px;
  text-align: center;
}

.cpc-independence-note {
  max-width: 760px;
  margin: 16px auto 0;
  color: #5d6f78;
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 720px) {
  .cpc-independence-hero {
    padding: 28px 0 40px;
  }

  .cpc-independence-shell {
    width: min(100%, calc(100vw - 22px));
  }

  .cpc-independence-brochure-wrap {
    padding: 8px;
    border-radius: 22px;
  }

  .cpc-independence-brochure {
    border-radius: 16px;
  }

  .cpc-independence-actions .btn {
    width: 100%;
  }
}
.cpc-independence-brochure-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 22px;
}

.cpc-independence-brochure-link:focus-visible {
  outline: 4px solid #d6a73a;
  outline-offset: 8px;
}

.cpc-independence-brochure-link:hover .cpc-independence-brochure {
  transform: scale(1.006);
  filter: saturate(1.03) contrast(1.02);
}

.cpc-independence-brochure {
  transition: transform 180ms ease, filter 180ms ease;
}
/* =====================================================
PAGE: HOME SUPPORT
FILE: /home-support.php
PURPOSE: Brochure-style landing page
===================================================== */

.cpc-independence-page {
  background:
    radial-gradient(circle at top left, rgba(0, 101, 115, 0.08), transparent 34%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 55%, #f4f8fa 100%);
  padding-bottom: 56px;
}

.cpc-independence-hero {
  padding: 34px 0 54px;
}

.cpc-independence-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 24px;
}

.cpc-independence-intro {
  max-width: 900px;
  margin: 0 auto 22px;
  text-align: center;
}

.cpc-independence-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eaf5ff;
  color: #064f8f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(10, 79, 163, 0.18);
}

.cpc-independence-intro h1 {
  margin: 0;
  color: #061f44;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cpc-independence-subtitle {
  max-width: 820px;
  margin: 14px auto 0;
  color: #263f52;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.5;
}

.cpc-independence-brochure-wrap {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(10, 79, 163, 0.12);
  box-shadow:
    0 28px 70px rgba(6, 31, 68, 0.16),
    0 8px 24px rgba(0, 101, 115, 0.10);
  overflow: hidden;
}

.cpc-independence-brochure-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 22px;
}

.cpc-independence-brochure-link:focus-visible {
  outline: 4px solid #d6a73a;
  outline-offset: 8px;
}

.cpc-independence-brochure-link:hover .cpc-independence-brochure {
  transform: scale(1.006);
  filter: saturate(1.03) contrast(1.02);
}

.cpc-independence-brochure {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  transition: transform 180ms ease, filter 180ms ease;
}

.cpc-independence-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px auto 12px;
}

.cpc-independence-actions .btn {
  min-width: 220px;
  text-align: center;
}

.cpc-independence-note {
  max-width: 780px;
  margin: 16px auto 0;
  color: #5d6f78;
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 720px) {
  .cpc-independence-hero {
    padding: 24px 0 38px;
  }

  .cpc-independence-shell {
    padding: 0 12px;
  }

  .cpc-independence-brochure-wrap {
    padding: 8px;
    border-radius: 22px;
  }

  .cpc-independence-brochure,
  .cpc-independence-brochure-link {
    border-radius: 16px;
  }

  .cpc-independence-actions .btn {
    width: 100%;
  }
}