/* Haven page templates. Verbatim concat of the reference per-template CSS (see CLAUDE.md; regenerate, don't edit):
   location clinic-page device-page content-page library-article pillar-page condition-page faq-page legal-page listing-page search-page user-guides vital360 assessment-page booking-page booking-wizard campaign-page form-page */

/* ===== location.css ===== */
/* ============================================================================
 HAVEN - Location landing page template  (scope: .loc, inside main.pb)
 Reuses Haven tokens/buttons (.pb-btn etc from homes6.css).
 ============================================================================ */

/* ---- breadcrumb + page head ---- */
.loc-head { padding: 34px 0 clamp(40px, 6vw, 72px); }
.loc-crumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--grey-500); flex-wrap: wrap; }
.loc-crumb a { color: var(--grey-500); text-decoration: none; }
.loc-crumb a:hover { color: var(--al-blue); text-decoration: underline; }
.loc-crumb .lucide { width: 14px; height: 14px; color: var(--grey-300); }
.loc-crumb .cur { color: var(--al-blue-dark); font-weight: 600; }
.loc-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: .02em; margin: 18px 0 0; }
.loc-head .loc-sub { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }

/* ---- intro split: locked prose + lifestyle image ---- */
.loc-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 44px); }
.loc-prose p { font-size: 1.13rem; line-height: 1.75; color: var(--grey-700); margin: 0; max-width: 58ch; }
.loc-prose p + p { margin-top: 1em; }
.loc-introart { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 24px 56px rgba(16,42,77,.16); }

/* ---- bulk-billed: elevated card band ---- */
.loc-bulk-card { position: relative; background: #fff; border: 1px solid var(--grey-200); border-radius: 24px;
  box-shadow: 0 26px 60px rgba(16,42,77,.14); padding: clamp(30px, 4.5vw, 56px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 3vw, 40px); align-items: start; }
.loc-bulk-card .medic { width: 64px; height: 64px; border-radius: 18px; background: var(--al-blue);
  display: flex; align-items: center; justify-content: center; flex: none; }
.loc-bulk-card .medic .lucide { width: 32px; height: 32px; color: #fff; }
.loc-bulk-card h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.12; letter-spacing: .01em; margin: 0; }
.loc-bulk-card p { font-size: 1.1rem; line-height: 1.7; color: var(--grey-700); margin: 14px 0 0; max-width: 64ch; }
.loc-bulk-chips { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.loc-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--info-bg); color: var(--al-blue-dark);
  font-size: .85rem; font-weight: 600; padding: 7px 15px; border-radius: 999px; }
.loc-chip .lucide { width: 15px; height: 15px; color: var(--al-blue); }

/* ---- sleep test section ---- */
.loc-test .pb-head p { max-width: none; }

/* ---- trust strip ---- */
.loc-trust { border-block: 1px solid var(--grey-200); background: #fff; }
.loc-trust .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-block: 26px 84px; }
.loc-trust .cell { display: flex; align-items: center; justify-content: center; gap: 13px; }
.loc-trust .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.loc-trust .ic .lucide { width: 21px; height: 21px; color: var(--al-blue); }
.loc-trust b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--al-blue-dark); line-height: 1.1; }
.loc-trust span.s { font-size: .84rem; color: var(--grey-500); }

/* ---- clinic cards: auto-fit grid flows 1 → 5 ---- */
.loc-clinics { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; margin-top: 40px; max-width: 100%; }
.loc-clinics.n1 { grid-template-columns: minmax(320px, 620px); justify-content: center; }
.loc-ccard { background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; box-shadow: var(--shadow-xs);
  padding: 26px 26px 24px; display: flex; flex-direction: column; transition: .18s ease; }
.loc-ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.loc-ccard .chead { display: flex; align-items: center; gap: 13px; }
.loc-ccard .pin { width: 44px; height: 44px; border-radius: 50%; background: var(--al-blue); display: flex; align-items: center; justify-content: center; flex: none; }
.loc-ccard .pin .lucide { width: 21px; height: 21px; color: #fff; }
.loc-ccard h3 { font-size: 1.3rem; margin: 0; line-height: 1.15; }
.loc-ccard .open-now { font-size: .78rem; font-weight: 700; color: var(--ok); }
.loc-ccard ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px dotted var(--grey-300);
  display: flex; flex-direction: column; gap: 12px; flex: 1; }
.loc-ccard li { display: flex; align-items: flex-start; gap: 11px; font-size: .93rem; line-height: 1.5; color: var(--grey-700); min-width: 0; }
.loc-ccard li .lucide { width: 17px; height: 17px; color: var(--al-healthcare); flex: none; margin-top: 2px; }
.loc-ccard li a { color: var(--al-blue); text-decoration: none; font-weight: 600; }
.loc-ccard li a[href^="tel"] { white-space: nowrap; }
.loc-ccard li a[href^="mailto"] { overflow-wrap: anywhere; }
.loc-ccard li a:hover { color: var(--al-blue-dark); text-decoration: underline; }
.loc-ccard .pb-btn { margin-top: 20px; justify-content: center; }
/* template-demo control (designer aid, not page content) */
.loc-demo-ctl { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: .8rem; color: var(--grey-500); }
.loc-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.loc-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; }
.loc-demo-ctl button.on { background: var(--al-blue); color: #fff; }

/* ---- enquiry form ---- */
.loc-form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.loc-form-intro h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: .01em; margin: 14px 0 0; }
.loc-form-intro .fallback { font-size: 1.02rem; line-height: 1.6; color: var(--grey-700); margin: 16px 0 0; }
.loc-form { background: #fff; border: 1px solid var(--grey-200); border-radius: 24px; box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 40px); }
.loc-form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loc-form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.loc-form label { font-size: .82rem; font-weight: 700; color: var(--al-blue-dark); }
.loc-form input, .loc-form select, .loc-form textarea { font-family: var(--font-body); font-size: .98rem; color: var(--grey-700);
  border: 1px solid var(--grey-300); border-radius: 12px; padding: 12px 14px; background: #fff; transition: .15s; width: 100%; box-sizing: border-box; }
.loc-form input:focus, .loc-form select:focus, .loc-form textarea:focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 3px rgba(55,95,155,.12); }
.loc-form textarea { resize: vertical; min-height: 92px; }
.loc-form .pb-btn { width: 100%; justify-content: center; }
.loc-form .privacy { font-size: .78rem; color: var(--grey-500); text-align: center; margin: 12px 0 0; }
.loc-form .sent { display: flex; align-items: center; gap: 10px; background: var(--ok-bg); color: var(--ok);
  font-weight: 600; border-radius: 12px; padding: 14px 16px; }

/* ---- sticky mobile CTA bar ---- */
.loc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--grey-200);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(16,42,77,.1); }
.loc-sticky .pb-btn { width: 100%; justify-content: center; }

/* ---- responsive ---- */
@media (max-width: 920px){
  .loc-intro { grid-template-columns: 1fr; }
  .loc-introart { order: -1; aspect-ratio: 16/10; }
  .loc-bulk-card { grid-template-columns: 1fr; }
  .loc-trust .row { grid-template-columns: 1fr; gap: 14px; }
  .loc-trust .cell { justify-content: flex-start; }
  .loc-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .loc-sticky { display: block; }
  main.pb.loc { padding-bottom: 76px; }
  .loc-form .frow { grid-template-columns: 1fr; }
}

/* ===== clinic-page.css ===== */
/* ============================================================================
 HAVEN - Clinic page template  (scope: .cli, inside main.pb)
 Handles COMPLETE and SPARSE records - missing fields collapse; sparse
 promotes phone CTA + confirm-details line.
 ============================================================================ */

.cli-head { padding: 34px 0 clamp(36px, 5vw, 56px); }
.cli-head .cli-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cli-type { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 7px 15px; border-radius: 999px; background: var(--info-bg); color: var(--al-blue-dark); }
.cli-type .lucide { width: 14px; height: 14px; color: var(--al-blue); }
.cli-locale { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; color: var(--grey-500); }
.cli-locale .lucide { width: 16px; height: 16px; color: var(--al-healthcare); }
.cli-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; margin: 14px 0 0; max-width: 24ch; }

/* two-col: main flow + sticky key-facts card */
.cli-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 4.5vw, 64px); align-items: start; padding-bottom: clamp(72px, 9vw, 130px); position: relative; z-index: 5; }
.cli-facts { position: sticky; top: 96px; background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; box-shadow: var(--shadow-md); padding: 26px; }
.cli-facts .flabel { font-size: .74rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); margin-bottom: 16px; }
.cli-facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cli-facts li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; line-height: 1.5; color: var(--grey-700); min-width: 0; }
.cli-facts li .lucide { width: 18px; height: 18px; color: var(--al-blue); flex: none; margin-top: 2px; }
.cli-facts li a { color: var(--al-blue); text-decoration: none; font-weight: 600; }
.cli-facts li a[href^="tel"] { white-space: nowrap; }
.cli-facts li a[href^="mailto"] { overflow-wrap: anywhere; }
.cli-facts li a:hover { color: var(--al-blue-dark); text-decoration: underline; }
.cli-facts .pb-btn { width: 100%; justify-content: center; margin-top: 20px; }
.cli-facts .bookvia { font-size: .78rem; color: var(--grey-500); text-align: center; margin: 10px 0 0; }
/* sparse mode */
.cli-facts .bigphone { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--al-blue); color: #fff; border-radius: 14px; padding: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-decoration: none; margin-bottom: 16px; transition: .16s; }
.cli-facts .bigphone:hover { background: var(--al-blue-dark); transform: translateY(-1px); }
.cli-facts .bigphone .lucide { width: 22px; height: 22px; }
.cli-confirm { display: flex; align-items: flex-start; gap: 10px; background: var(--warn-bg); border-radius: 12px; padding: 12px 14px; font-size: .86rem; line-height: 1.5; color: var(--grey-700); margin-top: 16px; }
.cli-confirm .lucide { width: 16px; height: 16px; color: var(--warn); flex: none; margin-top: 2px; }

/* map slot - styled as a live Google map */
.cli-map { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16/8; background: var(--grey-100); border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); }
.cli-map .mimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cli-map .msearch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 9px 18px; font-size: .88rem; color: #3c4043; box-shadow: 0 2px 8px rgba(0,0,0,.18); white-space: nowrap; }
.cli-map .msearch .lucide { width: 15px; height: 15px; color: #5f6368; }
.cli-map .mzoom { position: absolute; right: 14px; bottom: 26px; display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.18); overflow: hidden; }
.cli-map .mzoom button { width: 38px; height: 38px; border: none; background: #fff; color: #5f6368; font-size: 1.3rem; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cli-map .mzoom button:hover { background: #f1f3f4; color: #202124; }
.cli-map .mzoom button:first-child { border-bottom: 1px solid #e8eaed; }
.cli-map .mdir { position: absolute; left: 14px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 9px 18px; font-size: .86rem; font-weight: 600; color: var(--al-blue); text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.cli-map .mdir .lucide { width: 16px; height: 16px; }
.cli-map .mdir:hover { background: #f8f9fa; }
.cli-map .mattr { position: absolute; right: 6px; bottom: 4px; font-size: .62rem; color: #5f6368; background: rgba(255,255,255,.75); padding: 1px 6px; border-radius: 4px; }
.cli-map .mfallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--grey-500); font-size: .92rem;
  background: repeating-linear-gradient(45deg, var(--grey-50), var(--grey-50) 14px, var(--grey-100) 14px, var(--grey-100) 28px); }
.cli-map .mfallback .lucide { width: 34px; height: 34px; color: var(--al-healthcare); }
.cli-map .mpin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); z-index: 2; }
.cli-map .mpin .lucide { width: 40px; height: 40px; color: #EA4335; fill: #EA4335; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
.cli-map .mpin .dot { position: absolute; left: 50%; top: 13px; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: #7f1d13; }

/* services */
.cli-services { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.cli-svc { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--grey-200); border-radius: 14px; padding: 16px 18px; font-size: 1rem; font-weight: 600; color: var(--al-blue-dark); }
.cli-svc .sic { width: 40px; height: 40px; border-radius: 12px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.cli-svc .sic .lucide { width: 20px; height: 20px; color: var(--al-blue); }

/* reviews */
.cli-reviews { margin-top: clamp(40px, 5vw, 56px); }
.cli-agg { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cli-agg .score { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--al-blue-dark); line-height: 1; }
.cli-stars { display: inline-flex; gap: 3px; }
.cli-stars .lucide { width: 20px; height: 20px; color: #F5B301; fill: #F5B301; }
.cli-agg .rcount { font-size: .9rem; color: var(--grey-500); }
.cli-agg .gbadge { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--grey-500); border: 1px solid var(--grey-200); border-radius: 999px; padding: 6px 14px; }
.cli-rgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.cli-rcard { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 10px; }
.cli-rcard .rstars .lucide { width: 15px; height: 15px; }
.cli-rcard p { font-size: .95rem; line-height: 1.6; color: var(--grey-700); margin: 0; flex: 1; }
.cli-rcard .rwho { font-size: .82rem; font-weight: 700; color: var(--al-blue-dark); }
.cli-rcard .rwhen { font-size: .78rem; color: var(--grey-500); font-weight: 400; }

/* 3-step pathway strip */
.cli-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.cli-step { position: relative; background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-xs); }
.cli-step .num { position: absolute; top: -14px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--al-blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.cli-step .sic2 { width: 44px; height: 44px; border-radius: 12px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cli-step .sic2 .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.cli-step h3 { font-size: 1.12rem; margin: 0 0 6px; }
.cli-step p { font-size: .92rem; line-height: 1.6; color: var(--grey-700); margin: 0; }

/* nearby clinics */
.cli-nearby { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.cli-ncard { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 20px 22px; display: flex; align-items: center; gap: 14px; text-decoration: none; transition: .18s; box-shadow: var(--shadow-xs); }
.cli-ncard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cli-ncard .pin { width: 42px; height: 42px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.cli-ncard .pin .lucide { width: 20px; height: 20px; color: var(--al-blue); }
.cli-ncard b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--al-blue-dark); line-height: 1.2; }
.cli-ncard span.s { font-size: .82rem; color: var(--grey-500); }
.cli-statelink { margin-top: 24px; }

/* state demo control */
.cli-demo-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--grey-500); }
.cli-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.cli-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.cli-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 920px){
  .cli-shell { grid-template-columns: 1fr; }
  .cli-facts { position: static; order: -1; }
  .cli-services { grid-template-columns: 1fr; }
  .cli-steps { grid-template-columns: 1fr; }
}

/* ===== device-page.css ===== */
/* ============================================================================
 HAVEN - Device & user guide page template  (scope: .dev, inside main.pb)
 #1 job: manual download findable in <3s. States: current / discontinued.
 ============================================================================ */

.dev-head { padding: 34px 0 0; }
.dev-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.dev-cat { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 7px 15px; border-radius: 999px; background: var(--info-bg); color: var(--al-blue-dark); }
.dev-cat .lucide { width: 14px; height: 14px; color: var(--al-blue); }
.dev-disc { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 7px 15px; border-radius: 999px; background: var(--warn-bg); color: #7a4d00; }
.dev-disc .lucide { width: 14px; height: 14px; color: var(--warn); }
.dev-brand { display: inline-flex; align-items: center; padding: 6px 12px; background: #fff; border: 1px solid var(--grey-200); border-radius: 10px; }
.dev-brand img { height: 22px; width: auto; display: block; }
.dev-brand.empty { border-style: dashed; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--grey-500); padding: 8px 14px; }
.dev-brand.empty .lucide { width: 16px; height: 16px; color: var(--grey-400); }
.dev-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; margin: 14px 0 0; }

/* hero: image + manual card */
.dev-hero { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 4vw, 56px); align-items: stretch; margin-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(48px, 6vw, 80px); }
.dev-img { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; min-height: 320px; overflow: hidden; padding: clamp(20px, 3vw, 40px); }
.dev-img img { max-width: 100%; max-height: 420px; object-fit: contain; display: block; }
.dev-img .ph { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--grey-400); font-size: .9rem; }
.dev-img .ph .lucide { width: 52px; height: 52px; color: var(--grey-300); }
.dev-manual { background: linear-gradient(150deg, var(--al-blue), var(--al-blue-dark)); color: #fff; border-radius: 24px; padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; box-shadow: 0 24px 56px rgba(16,42,77,.22); }
.dev-manual .mlabel { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-cyan); }
.dev-manual .mlabel .lucide { width: 15px; height: 15px; }
.dev-manual h2 { font-size: 1.4rem; line-height: 1.2; margin: 12px 0 0; color: #fff; }
.dev-manual .mmeta { font-size: .86rem; opacity: .8; margin: 8px 0 0; }
.dev-manual .spacer { flex: 1; min-height: 18px; }
.dev-manual .pb-btn { width: 100%; justify-content: center; }
.dev-manual .malt { font-size: .82rem; opacity: .8; text-align: center; margin: 12px 0 0; }
.dev-manual .malt a { color: #fff; font-weight: 600; }

/* discontinued banner */
.dev-discbanner { display: flex; align-items: flex-start; gap: 14px; background: var(--warn-bg); border: 1px solid #EDD9B0; border-radius: 16px; padding: 18px 22px; margin-top: 22px; }
.dev-discbanner .lucide { width: 20px; height: 20px; color: var(--warn); flex: none; margin-top: 2px; }
.dev-discbanner p { font-size: .95rem; line-height: 1.6; color: var(--grey-700); margin: 0; }
.dev-discbanner a { color: var(--al-blue); font-weight: 700; text-decoration: none; }
.dev-discbanner a:hover { text-decoration: underline; }

/* specs table */
.dev-specs { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 26px; background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; overflow: hidden; }
.dev-specs th, .dev-specs td { padding: 15px 20px; text-align: left; font-size: .95rem; line-height: 1.45; }
.dev-specs thead th { background: var(--grey-50); font-family: var(--font-display); font-weight: 700; color: var(--al-blue-dark); font-size: .92rem; border-bottom: 1px solid var(--grey-200); }
.dev-specs tbody th { font-weight: 600; color: var(--al-blue-dark); width: 220px; background: var(--grey-50); border-right: 1px solid var(--grey-200); }
.dev-specs tbody td { color: var(--grey-700); }
.dev-specs tbody tr + tr th, .dev-specs tbody tr + tr td { border-top: 1px solid var(--grey-200); }
.dev-specs .hl { background: var(--info-bg); font-weight: 700; color: var(--al-blue-dark); }
.dev-tablewrap { overflow-x: auto; }

/* related row (reuses cnt-rcard) */
.dev-related .ric.mask { background: var(--info-bg); }

/* FAQ accordion */
.dev-faq { max-width: 760px; }
.dev .dev-faq { max-width: none; }
.dev-qa { background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; margin-top: 12px; overflow: hidden; }
.dev-qa button.q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: none; padding: 18px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--al-blue-dark); text-align: left; cursor: pointer; }
.dev-qa button.q .lucide { width: 19px; height: 19px; color: var(--al-blue); flex: none; transition: transform .18s; }
.dev-qa.open button.q .lucide { transform: rotate(180deg); }
.dev-qa .a { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.dev-qa.open .a { max-height: 300px; }
.dev-qa .a p { font-size: .98rem; line-height: 1.65; color: var(--grey-700); margin: 0; padding: 0 22px 20px; }
.dev-ask { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--al-blue); font-weight: 700; text-decoration: none; }
.dev-ask:hover { color: var(--al-blue-dark); text-decoration: underline; }
.dev-ask .lucide { width: 17px; height: 17px; }

/* dual next-step CTA */
.dev-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.dev-cta { background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 10px; }
.dev-cta .cic { width: 46px; height: 46px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; }
.dev-cta .cic .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.dev-cta h3 { font-size: 1.2rem; margin: 6px 0 0; }
.dev-cta p { font-size: .95rem; line-height: 1.6; color: var(--grey-700); margin: 0; flex: 1; }
.dev-cta .pb-btn { align-self: flex-start; }

/* demo control */
.dev-demo-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--grey-500); }
.dev-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.dev-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.dev-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 920px){
  .dev-hero { grid-template-columns: 1fr; }
  .dev-img { min-height: 240px; }
  .dev-ctas { grid-template-columns: 1fr; }
}

/* tighter rhythm on the device template */
.dev .pb-sec { padding-block: clamp(40px, 5vw, 64px); }
.dev-head { padding-top: 26px; }
.dev-head h1 { margin-top: 10px; }
.dev-badges { margin-top: 16px; }
.dev-hero { margin-top: clamp(18px, 2.4vw, 28px); padding-bottom: clamp(32px, 4vw, 52px); }
.dev .pb-head p { margin-top: 10px; }
.dev-specs { margin-top: 18px; }
.dev-qa { margin-top: 10px; }
.dev-ctas { margin-top: 20px; }
.dev .cnt-related { margin-top: 18px; }
.dev .cnt-related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px){ .dev .cnt-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px){ .dev .cnt-related { grid-template-columns: 1fr; } }

/* ===== content-page.css ===== */
/* ============================================================================
 HAVEN - General content page template  (scope: .cnt, inside main.pb)
 ============================================================================ */

.cnt-head { padding: 34px 0 clamp(28px, 4vw, 48px); }
.cnt-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; margin: 18px 0 0; }
.cnt-head .stand { font-size: 1.18rem; line-height: 1.65; color: var(--grey-700); max-width: none; margin: 16px 0 0; }

/* ---- two-col shell: sticky subnav + article ---- */
.cnt-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.cnt-nav { position: sticky; top: 96px; }
.cnt-nav .nlabel { font-size: .74rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); margin-bottom: 12px; }
.cnt-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--grey-200); }
.cnt-nav a { display: block; padding: 8px 0 8px 16px; font-size: .93rem; color: var(--grey-500); text-decoration: none; border-left: 2px solid transparent; margin-left: -2px; line-height: 1.35; }
.cnt-nav a:hover { color: var(--al-blue); }
.cnt-nav a.on { color: var(--al-blue-dark); font-weight: 600; border-left-color: var(--al-blue); }

/* ---- article body ---- */
.cnt-art { max-width: 72ch; min-width: 0; }
.cnt-art section { scroll-margin-top: 110px; }
.cnt-art section + section { margin-top: clamp(36px, 5vw, 56px); }
.cnt-art h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.15; margin: 0 0 14px; }
.cnt-art p { font-size: 1.06rem; line-height: 1.75; color: var(--grey-700); margin: 0 0 1em; }
.cnt-art p:last-child { margin-bottom: 0; }

/* checked-item list */
.cnt-checks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cnt-checks li { display: flex; align-items: flex-start; gap: 13px; font-size: 1.04rem; line-height: 1.6; color: var(--grey-700);
  background: #fff; border: 1px solid var(--grey-200); border-radius: 14px; padding: 14px 18px; }
.cnt-checks li .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.cnt-checks li .ck .lucide { width: 15px; height: 15px; color: var(--al-blue); }

/* definition grid (acronym legend) */
.cnt-defs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.cnt-def { background: #fff; border: 1px solid var(--grey-200); border-radius: 14px; padding: 16px 18px; }
.cnt-def dt { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--al-blue-dark); margin: 0 0 4px; }
.cnt-def dd { font-size: .93rem; line-height: 1.55; color: var(--grey-700); margin: 0; }

/* mid-page conversion banner */
.cnt-midcta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  background: linear-gradient(120deg, var(--al-blue), var(--al-blue-dark)); color: #fff; border-radius: 18px;
  padding: 20px 24px; margin: clamp(36px, 5vw, 56px) 0; }
.cnt-midcta .txt { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cnt-midcta .ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex: none; }
.cnt-midcta .ic .lucide { width: 20px; height: 20px; color: #fff; }
.cnt-midcta b { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.cnt-midcta span.s { font-size: .88rem; opacity: .85; }
.cnt-midcta .pb-btn { flex: none; }

/* video block */
.cnt-video { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; background: var(--al-blue-dark);
  margin-top: 20px; box-shadow: var(--shadow-md); cursor: pointer; }
.cnt-video .vplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: #fff; z-index: 2; }
.cnt-video .vbtn { width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; transition: .18s; }
.cnt-video:hover .vbtn { transform: scale(1.06); background: rgba(255,255,255,.28); }
.cnt-video .vbtn .lucide { width: 28px; height: 28px; color: #fff; margin-left: 3px; }
.cnt-video .vcap { font-size: .92rem; opacity: .9; }
.cnt-video .vdur { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: .78rem; font-weight: 600; background: rgba(0,0,0,.45); border-radius: 6px; padding: 3px 8px; color: #fff; }
.cnt-videos2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cnt-videos2 .cnt-video { margin-top: 0; }
.cnt-videos2 .vwrap b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--al-blue-dark); margin-top: 10px; }

/* related pages row */
.cnt-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 34px; }
.cnt-rcard { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-xs); transition: .18s; }
.cnt-rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cnt-rcard .ric { width: 40px; height: 40px; border-radius: 12px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; }
.cnt-rcard .ric .lucide { width: 20px; height: 20px; color: var(--al-blue); }
.cnt-rcard h3 { font-size: 1.08rem; margin: 6px 0 0; line-height: 1.2; }
.cnt-rcard p { font-size: .9rem; line-height: 1.55; color: var(--grey-700); margin: 0; flex: 1; }
.cnt-rcard a { font-size: .92rem; font-weight: 700; color: var(--al-blue); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.cnt-rcard a:hover { color: var(--al-blue-dark); text-decoration: underline; }
.cnt-rcard a .lucide { width: 15px; height: 15px; }

/* template-demo control */
.cnt-demo-ctl { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: .8rem; color: var(--grey-500); }
.cnt-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.cnt-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; }
.cnt-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 920px){
  .cnt-shell { grid-template-columns: 1fr; }
  .cnt-nav { position: static; }
  .cnt-nav ul { flex-direction: row; flex-wrap: wrap; gap: 6px; border-left: none; }
  .cnt-nav a { border: 1px solid var(--grey-300); border-radius: 999px; padding: 7px 14px; margin: 0; }
  .cnt-nav a.on { border-color: var(--al-blue); background: var(--info-bg); }
  .cnt-defs { grid-template-columns: 1fr; }
  .cnt-videos2 { grid-template-columns: 1fr; }
  .cnt-midcta { flex-direction: column; align-items: flex-start; }
}

/* ===== library-article.css ===== */
/* ============================================================================
 HAVEN - Sleep Library article template  (scope: .lib, inside main.pb)
 ============================================================================ */

.lib-head { padding: 40px 0 clamp(24px, 3vw, 36px); }
.lib-head .lib-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lib-cat { display: inline-flex; align-items: center; gap: 7px; background: var(--info-bg); color: var(--al-blue-dark); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 7px 15px; border-radius: 999px; }
.lib-cat .lucide { width: 14px; height: 14px; color: var(--al-blue); }
.lib-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; margin: 20px 0 0; max-width: none; }
.lib-dates { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: .88rem; color: var(--grey-500); }
.lib-dates .d { display: inline-flex; align-items: center; gap: 7px; }
.lib-dates .lucide { width: 15px; height: 15px; color: var(--al-healthcare); }

/* byline slot - filled + empty states */
.lib-byline { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding: 14px 18px; background: #fff; border: 1px solid var(--grey-200); border-radius: 999px; width: fit-content; max-width: 100%; }
.lib-byline .av { width: 42px; height: 42px; border-radius: 50%; background: var(--al-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; flex: none; }
.lib-byline b { display: block; font-size: .95rem; color: var(--al-blue-dark); line-height: 1.2; }
.lib-byline span.s { font-size: .8rem; color: var(--grey-500); }
.lib-byline.empty { border-style: dashed; background: transparent; }
.lib-byline.empty .av { background: var(--grey-200); color: var(--grey-500); }
.lib-byline.empty b { color: var(--grey-500); font-weight: 600; }

/* hero image */
.lib-heroimg { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 21/9; margin-top: clamp(24px, 4vw, 40px); box-shadow: 0 24px 56px rgba(16,42,77,.16); }
.lib-heroimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lib-heroimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,50,100,.08), transparent 40%); }

/* article body */
.lib-art { max-width: 70ch; margin-top: clamp(16px, 3vw, 28px); padding-bottom: clamp(40px, 5vw, 64px); }
.lib-art .lede { font-size: 1.28rem; line-height: 1.65; color: var(--fg-1); font-weight: 400; margin: 0 0 1.4em; }
.lib-art h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; margin: 1.8em 0 .6em; }
.lib-art h3 { font-size: 1.18rem; margin: 1.5em 0 .5em; color: var(--al-blue-dark); }
.lib-art p { font-size: 1.06rem; line-height: 1.78; color: var(--grey-700); margin: 0 0 1.1em; }
.lib-art sup { color: var(--al-blue); font-weight: 700; }
.lib-art sup a { color: inherit; text-decoration: none; }
.lib-art sup a:hover { text-decoration: underline; }

/* stat callout */
.lib-stat { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: linear-gradient(120deg, var(--al-blue), var(--al-blue-dark)); color: #fff; border-radius: 20px; padding: clamp(22px, 3vw, 34px); margin: 2em 0; }
.lib-stat .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.lib-stat p { color: rgba(255,255,255,.92); margin: 0; font-size: 1.02rem; line-height: 1.6; }
.lib-stat .src { display: block; font-size: .8rem; opacity: .75; margin-top: 8px; }

/* prose figure - floats photo beside a section */
.lib-fig { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); margin: 1.6em 0; }
.lib-fig img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.lib-fig-illo svg { display: block; width: 100%; height: auto; background: #F6F8FB; }
.lib-fig figcaption { font-size: .82rem; color: var(--grey-500); padding: 10px 16px; background: #fff; border-top: 1px solid var(--grey-200); }

/* tip clusters */
.lib-tips { display: flex; flex-direction: column; gap: 18px; margin: 1.4em 0; }
.lib-tipcard { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-xs); }
.lib-tipcard .tphoto { height: 130px; position: relative; }
.lib-tipcard .tphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-tipcard .tphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(255,255,255,.95)); }
.lib-tipcard .tbody { padding: 18px 26px 24px; }
.lib-tipcard .thead2 { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.lib-tipcard .tic { width: 42px; height: 42px; border-radius: 12px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.lib-tipcard .tic .lucide { width: 21px; height: 21px; color: var(--al-blue); }
.lib-tipcard h3 { margin: 0; font-size: 1.15rem; }
.lib-tipcard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lib-tipcard li { display: flex; align-items: flex-start; gap: 11px; font-size: 1.06rem; line-height: 1.6; color: var(--grey-700); }
.lib-tipcard li .lucide { width: 17px; height: 17px; color: var(--al-healthcare); flex: none; margin-top: 3px; }

/* references */
.lib-refs { margin-top: 2.4em; padding: 22px 26px; background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 18px; }
.lib-refs .rlabel { display: flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); margin-bottom: 14px; }
.lib-refs .rlabel .lucide { width: 15px; height: 15px; }
.lib-refs ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.lib-refs li { font-size: .88rem; line-height: 1.55; color: var(--grey-700); }
.lib-refs li::marker { color: var(--al-blue); font-weight: 700; }
.lib-refs a { color: var(--al-blue); text-decoration: none; }
.lib-refs a:hover { color: var(--al-blue-dark); text-decoration: underline; }

/* next-step CTA */
.lib-next { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--grey-200); border-left: none; border-radius: 20px; box-shadow: var(--shadow-sm); padding: 24px 28px; margin-top: 2.4em; position: relative; overflow: hidden; }
.lib-next::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--al-cyan), var(--al-blue)); }
.lib-next .nic { width: 48px; height: 48px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.lib-next .nic .lucide { width: 23px; height: 23px; color: var(--al-blue); }
.lib-next b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--al-blue-dark); line-height: 1.25; }
.lib-next span.s { font-size: .9rem; color: var(--grey-500); }

/* related row + condition chip */
.lib-related .cnt-rcard { padding: 0; overflow: hidden; }
.lib-related .cnt-rcard .rphoto { height: 150px; position: relative; }
.lib-related .cnt-rcard .rphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-related .cnt-rcard .rbody { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lib-related { padding-block: clamp(40px, 6vw, 64px); }
.lib-related .cnt-related { margin-top: 28px; }
.lib-cond { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lib-cond .clabel { font-size: .88rem; color: var(--grey-500); }
.lib-condchip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--grey-300); border-radius: 999px; padding: 10px 18px; font-size: .95rem; font-weight: 600; color: var(--al-blue-dark); text-decoration: none; transition: .16s; }
.lib-condchip:hover { border-color: var(--al-blue); background: var(--info-bg); }
.lib-condchip .lucide { width: 17px; height: 17px; color: var(--al-blue); }

/* two-column article body: prose + sticky E-E-A-T rail */
.lib-body { display: grid; grid-template-columns: minmax(0, 70ch) minmax(280px, 340px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lib-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; margin-top: clamp(16px, 3vw, 28px); }
.lib-scard { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; box-shadow: var(--shadow-xs); padding: 22px 24px; }
.lib-scard .slabel { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); margin-bottom: 14px; }
.lib-scard .slabel .lucide { width: 15px; height: 15px; }
.lib-author .who { display: flex; align-items: center; gap: 12px; }
.lib-author .av { width: 44px; height: 44px; border-radius: 50%; background: var(--al-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; flex: none; }
.lib-author b { display: block; font-size: .95rem; color: var(--al-blue-dark); line-height: 1.25; }
.lib-author span.s { font-size: .8rem; color: var(--grey-500); }
.lib-author .who.empty .av { background: var(--grey-200); color: var(--grey-500); }
.lib-author .who.empty b { color: var(--grey-500); font-weight: 600; }
.lib-author .s2 { font-size: .84rem; line-height: 1.6; color: var(--grey-500); margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--grey-200); }
.lib-sidenext { position: relative; overflow: hidden; }
.lib-sidenext::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--al-cyan), var(--al-blue)); }
.lib-sidenext .nic { width: 46px; height: 46px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; }
.lib-sidenext .nic .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.lib-sidenext b { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--al-blue-dark); line-height: 1.3; margin: 14px 0 6px; }
.lib-sidenext span.s { display: block; font-size: .88rem; line-height: 1.55; color: var(--grey-500); margin-bottom: 16px; }
.lib-sidenext .pb-btn { width: 100%; justify-content: center; }

/* byline demo control */
.lib-demo-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .8rem; color: var(--grey-500); }
.lib-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.lib-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; }
.lib-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 720px){
  .lib-stat { grid-template-columns: 1fr; gap: 10px; }
  .lib-next { grid-template-columns: 1fr; }
}
@media (max-width: 1080px){
  .lib-body { grid-template-columns: 1fr; }
  .lib-side { position: static; max-width: 70ch; margin-top: 0; }
}

/* ===== pillar-page.css ===== */
/* ============================================================================
 HAVEN - Pillar page template  (scope: .pil, inside main.pb)
 ============================================================================ */

.pil-head { padding: 34px 0 clamp(36px, 5vw, 56px); }
.pil-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; margin: 18px 0 0; }
.pil-head .intro { font-size: 1.16rem; line-height: 1.72; color: var(--grey-700); max-width: none; margin: 18px 0 0; }

/* sub-page card grid - flows 4 / 6 / 8 via auto-fill; .n4 locks a 2×2 for 4-card pillars */
.pil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 34px; }
.pil-grid.n4 { grid-template-columns: repeat(4, 1fr); max-width: none; margin-inline: 0; }
@media (max-width: 1020px){ .pil-grid.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px){ .pil-grid.n4 { grid-template-columns: 1fr; } }
/* 5-card pillars: flex so the 2-card last row centres */
.pil-grid.n5 { display: flex; flex-wrap: wrap; justify-content: center; }
.pil-grid.n5 .pil-card { width: calc((100% - 40px) / 3); }
@media (max-width: 1020px){ .pil-grid.n5 .pil-card { width: calc((100% - 20px) / 2); } }
@media (max-width: 680px){ .pil-grid.n5 .pil-card { width: 100%; } }
.pil-card { background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; text-decoration: none; transition: .18s; }
.pil-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pil-card .cimg { height: 140px; position: relative; background: var(--grey-100); }
.pil-card .cimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pil-card .cimg .slot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--grey-400); font-size: .82rem; }
.pil-card .cimg .slot .lucide { width: 22px; height: 22px; color: var(--al-healthcare); }
.pil-card .cbody { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pil-card h3 { font-size: 1.15rem; line-height: 1.2; margin: 0; color: var(--al-blue-dark); }
.pil-card p { font-size: .92rem; line-height: 1.55; color: var(--grey-700); margin: 0; flex: 1; }
.pil-card .go { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 700; color: var(--al-blue); }
.pil-card .go .lucide { width: 15px; height: 15px; transition: transform .18s; }
.pil-card:hover .go .lucide { transform: translateX(3px); }

/* editorial band - Our journey */
.pil-journey { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.pil-journey .txt p { font-size: 1.06rem; line-height: 1.75; color: var(--grey-700); margin: 0 0 1em; }
.pil-brands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pil-brand { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--grey-300); border-radius: 999px; padding: 9px 18px; font-size: .9rem; font-weight: 700; color: var(--al-blue-dark); }
.pil-brand .lucide { width: 15px; height: 15px; color: var(--al-healthcare); }
.pil-brand span.s { font-size: .78rem; font-weight: 400; color: var(--grey-500); }
.pil-journeyimg { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 24px 56px rgba(16,42,77,.16); }
.pil-journeyimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* services 3-card row with expandable detail */
.pil-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; align-items: start; }
.pil-svc { background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-xs); }
.pil-svc .sic { width: 48px; height: 48px; border-radius: 12px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; }
.pil-svc .sic .lucide { width: 23px; height: 23px; color: var(--al-blue); }
.pil-svc h3 { font-size: 1.22rem; margin: 14px 0 6px; }
.pil-svc p.t { font-size: .95rem; line-height: 1.6; color: var(--grey-700); margin: 0; }
.pil-svc .more { display: none; margin-top: 12px; border-top: 1px dotted var(--grey-300); padding-top: 12px; }
.pil-svc.open .more { display: block; }
.pil-svc .more li { font-size: .9rem; line-height: 1.6; color: var(--grey-700); margin: 0 0 6px; display: flex; gap: 9px; align-items: flex-start; }
.pil-svc .more li .lucide { width: 15px; height: 15px; color: var(--al-healthcare); flex: none; margin-top: 3px; }
.pil-svc button.tgl { background: none; border: none; padding: 0; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--al-blue); cursor: pointer; }
.pil-svc button.tgl .lucide { width: 15px; height: 15px; transition: transform .18s; }
.pil-svc.open button.tgl .lucide { transform: rotate(180deg); }

/* cross-pillar bridge */
.pil-bridge { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: space-between; background: linear-gradient(120deg, var(--al-blue), var(--al-blue-dark)); color: #fff; border-radius: 20px; padding: 22px 26px; box-shadow: var(--shadow-xs); }
.pil-bridge .txt { display: flex; align-items: center; gap: 15px; }
.pil-bridge .bic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex: none; }
.pil-bridge .bic .lucide { width: 22px; height: 22px; color: #fff; }
.pil-bridge b { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.pil-bridge span.s { display: block; font-size: .95rem; opacity: .85; margin-top: 2px; }

/* demo control */
.pil-demo-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--grey-500); }
.pil-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.pil-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.pil-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 920px){
  .pil-journey { grid-template-columns: 1fr; }
  .pil-journeyimg { order: -1; aspect-ratio: 16/9; }
  .pil-svcs { grid-template-columns: 1fr; }
  .pil-bridge { flex-direction: column; align-items: flex-start; }
}

/* ===== condition-page.css ===== */
/* ============================================================================
 HAVEN - Sleep condition page template  (scope: .osa, inside main.pb)
 ============================================================================ */

.osa-head { padding: 34px 0 clamp(36px, 5vw, 56px); }
.osa-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; margin: 18px 0 0; }
.osa-def { font-size: 1.22rem; line-height: 1.65; color: var(--grey-700); max-width: none; margin: 16px 0 0; }
.osa-act { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; background: var(--info-bg); border: 1px solid #CFE0F5; border-radius: 999px; padding: 12px 22px; font-weight: 700; color: var(--al-blue-dark); text-decoration: none; transition: .16s; }
.osa-act:hover { background: #DCEAFB; transform: translateY(-1px); }
.osa-act .lucide { width: 18px; height: 18px; color: var(--al-blue); }

/* explainer + illustration slot */
.osa-explain { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.osa-explain .txt p { font-size: 1.06rem; line-height: 1.75; color: var(--grey-700); margin: 0 0 1em; }
.osa-anat { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); aspect-ratio: 4/3.4; display: flex; align-items: center; justify-content: center; }
.osa-anat .ph { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--grey-400); font-size: .9rem; text-align: center; padding: 20px; }
.osa-anat .ph .lucide { width: 48px; height: 48px; color: var(--al-healthcare); }

/* severity stepped graphic */
.osa-sev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; margin-top: 30px; }
.osa-sevstep { border-radius: 16px 16px 0 0; padding: 20px 18px 18px; color: #fff; position: relative; }
.osa-sevstep .n { font-family: var(--font-display); font-weight: 700; font-size: .82rem; opacity: .8; }
.osa-sevstep b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-top: 4px; }
.osa-sevstep span.r { display: block; font-size: .84rem; opacity: .9; margin-top: 6px; line-height: 1.45; }
.osa-sevstep.s1 { background: var(--al-healthcare); min-height: 110px; }
.osa-sevstep.s2 { background: var(--al-blue); min-height: 140px; }
.osa-sevstep.s3 { background: var(--al-blue-vibrant); min-height: 170px; }
.osa-sevstep.s4 { background: var(--al-blue-dark); min-height: 200px; }
.osa-sevbase { grid-column: 1 / -1; border-top: 2px dotted var(--grey-300); padding-top: 10px; font-size: .82rem; color: var(--grey-500); display: flex; justify-content: space-between; }

/* symptoms two-col */
.osa-sym { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.osa-symcol { background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-xs); }
.osa-symcol .shead { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.osa-symcol .sic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.osa-symcol.night .sic { background: var(--al-blue-dark); }
.osa-symcol.day .sic { background: var(--info-bg); }
.osa-symcol.night .sic .lucide { width: 22px; height: 22px; color: #fff; }
.osa-symcol.day .sic .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.osa-symcol h3 { margin: 0; font-size: 1.2rem; }
.osa-symcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.osa-symcol li { display: flex; align-items: flex-start; gap: 11px; font-size: 1rem; line-height: 1.55; color: var(--grey-700); }
.osa-symcol li .lucide { width: 17px; height: 17px; color: var(--al-healthcare); flex: none; margin-top: 3px; }

/* diagnosis timeline (horizontal, dotted connector) */
.osa-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; position: relative; }
.osa-pstep { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 26px 24px; box-shadow: var(--shadow-xs); position: relative; }
.osa-pstep::after { content: ""; position: absolute; top: 50%; right: -18px; width: 18px; border-top: 2px dotted var(--al-healthcare); }
.osa-pstep:last-child::after { display: none; }
.osa-pstep .num { width: 34px; height: 34px; border-radius: 50%; background: var(--al-blue); color: #fff; font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.osa-pstep h3 { font-size: 1.15rem; margin: 0 0 6px; }
.osa-pstep p { font-size: .93rem; line-height: 1.6; color: var(--grey-700); margin: 0 0 12px; }
.osa-pstep a { font-size: .92rem; font-weight: 700; color: var(--al-blue); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.osa-pstep a:hover { color: var(--al-blue-dark); text-decoration: underline; }
.osa-pstep a .lucide { width: 15px; height: 15px; }

/* treatment cards */
.osa-treat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.osa-tcard { background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 10px; transition: .18s; }
.osa-tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.osa-tcard .tic { width: 46px; height: 46px; border-radius: 12px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; }
.osa-tcard .tic .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.osa-tcard .tag { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--al-healthcare); }
.osa-tcard h3 { font-size: 1.2rem; margin: 4px 0 0; }
.osa-tcard p { font-size: .94rem; line-height: 1.6; color: var(--grey-700); margin: 0; flex: 1; }

/* evidence block */
.osa-ev { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; margin-top: 30px; }
.osa-evstat { background: linear-gradient(150deg, var(--al-blue), var(--al-blue-dark)); color: #fff; border-radius: 22px; padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.osa-evstat .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 5.5vw, 4rem); line-height: 1; }
.osa-evstat p { font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.92); margin: 12px 0 0; }
.osa-evdemo { display: flex; flex-direction: column; gap: 14px; }
.osa-demo-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; padding: 16px 20px; }
.osa-demo-row .dic { width: 42px; height: 42px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.osa-demo-row .dic .lucide { width: 20px; height: 20px; color: var(--al-blue); }
.osa-demo-row b { font-family: var(--font-display); color: var(--al-blue-dark); font-size: 1.05rem; }
.osa-demo-row span.s { display: block; font-size: .85rem; color: var(--grey-500); }
.osa-chart { flex: 1; background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; padding: 18px 20px 14px; }
.osa-chart .chead2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.osa-chart .chead2 b { font-family: var(--font-display); font-size: .95rem; color: var(--al-blue-dark); }
.osa-chart .key { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--grey-500); }
.osa-chart .key i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.osa-chart i.m { background: var(--al-blue); }
.osa-chart i.w { background: var(--al-cyan); }
.osa-chart .cbars { display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; height: 132px; margin-top: 14px; border-bottom: 1px solid var(--grey-200); padding-bottom: 0; }
.osa-chart .grp { display: flex; flex-direction: column; align-items: center; gap: 0; height: 100%; justify-content: flex-end; }
.osa-chart .bars { display: flex; align-items: flex-end; gap: 4px; }
.osa-chart .bars i { width: 18px; border-radius: 5px 5px 0 0; display: block; }
.osa-chart .age { font-size: .74rem; color: var(--grey-500); margin-top: 6px; position: relative; top: 24px; }
.osa-chart .cnote { font-size: .72rem; color: var(--grey-400); margin: 34px 0 0; line-height: 1.5; }

/* expert commentary */
.osa-expert { background: #fff; border: 1px solid var(--grey-200); border-radius: 22px; box-shadow: var(--shadow-sm); padding: clamp(28px, 4vw, 44px); margin-top: 30px; position: relative; overflow: hidden; }
.osa-expert::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--al-cyan), var(--al-blue)); }
.osa-expert .qmark { font-family: var(--font-accent); font-size: 4rem; color: var(--al-healthcare); line-height: .6; display: block; }
.osa-expert blockquote { margin: 14px 0 0; font-size: 1.22rem; line-height: 1.6; color: var(--fg-1); font-weight: 400; }
.osa-expert .who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.osa-expert .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--al-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }
.osa-expert .who b { display: block; font-size: .98rem; color: var(--al-blue-dark); }
.osa-expert .who span.s { font-size: .84rem; color: var(--grey-500); }

/* references */
.osa-refs { margin-top: 34px; }

/* demo control */
.osa-demo-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--grey-500); }
.osa-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.osa-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.osa-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 920px){
  .osa-explain { grid-template-columns: 1fr; }
  .osa-sev { grid-template-columns: repeat(2, 1fr); }
  .osa-sevstep { border-radius: 16px; min-height: 0 !important; }
  .osa-sevbase { display: none; }
  .osa-sym { grid-template-columns: 1fr; }
  .osa-path { grid-template-columns: 1fr; }
  .osa-pstep::after { display: none; }
  .osa-treat { grid-template-columns: 1fr; }
  .osa-ev { grid-template-columns: 1fr; }
}

.osa-sev-sec .pb-head, .osa-sev-sec .pb-head p { max-width: none; }

/* ===== faq-page.css ===== */
/* ============================================================================
 HAVEN - FAQ category template  (scope: .faq, inside main.pb)
 ============================================================================ */

.faq-head { padding: 34px 0 clamp(28px, 4vw, 44px); }
.faq-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; margin: 18px 0 0; }
.faq-head .sub { font-size: 1.1rem; color: var(--grey-700); margin: 14px 0 0; max-width: none; line-height: 1.65; }

/* category pill tabs */
.faq-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.faq-cat { background: #fff; border: 1px solid var(--grey-300); border-radius: 999px; padding: 10px 20px; font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--grey-700); cursor: pointer; transition: .16s; white-space: nowrap; }
.faq-cat:hover { border-color: var(--al-blue); color: var(--al-blue); }
.faq-cat.on { background: var(--al-blue); border-color: var(--al-blue); color: #fff; }

/* search */
.faq-search { position: relative; max-width: 520px; margin-top: 22px; }
.faq-search input { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 1rem; color: var(--grey-700); background: #fff; border: 1px solid var(--grey-300); border-radius: 999px; padding: 14px 20px 14px 48px; transition: .15s; }
.faq-search input:focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 3px rgba(55,95,155,.12); }
.faq-search .lucide { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--grey-400); pointer-events: none; }
.faq-count { font-size: .84rem; color: var(--grey-500); margin-top: 12px; }

/* accordion */
.faq-list { max-width: none; padding-bottom: clamp(48px, 6vw, 80px); }
.faq-item { background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; margin-top: 12px; overflow: hidden; scroll-margin-top: 110px; }
.faq-item button.q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; background: none; border: none; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: var(--al-blue-dark); text-align: left; cursor: pointer; }
.faq-item button.q:hover { color: var(--al-blue); }
.faq-item button.q .lucide { width: 20px; height: 20px; color: var(--al-blue); flex: none; margin-top: 2px; transition: transform .18s; }
.faq-item.open button.q .lucide { transform: rotate(180deg); }
.faq-item .a { display: none; padding: 0 24px 24px; }
.faq-item.open .a { display: block; }
/* answer-first typography */
.faq-item .lead-ans { font-size: 1.08rem; font-weight: 600; line-height: 1.6; color: var(--fg-1); margin: 0 0 .8em; }
.faq-item .a p { font-size: .98rem; line-height: 1.7; color: var(--grey-700); margin: 0 0 .9em; }
.faq-item .a p:last-child { margin-bottom: 0; }
.faq-item .a ol { margin: 0 0 .9em; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.faq-item .a ol li { font-size: .98rem; line-height: 1.65; color: var(--grey-700); }
.faq-item .a ol li::marker { color: var(--al-blue); font-weight: 700; }
.faq-item .a ol li b { color: var(--al-blue-dark); }
.faq-item .a sup { color: var(--al-blue); font-weight: 700; font-size: .72em; }
/* tables inside answers */
.faq-twrap { overflow-x: auto; margin: .4em 0 .9em; -webkit-overflow-scrolling: touch; }
.faq-item table { border-collapse: separate; border-spacing: 0; min-width: 560px; width: 100%; border: 1px solid var(--grey-200); border-radius: 12px; overflow: hidden; }
.faq-item th, .faq-item td { padding: 11px 14px; font-size: .88rem; line-height: 1.45; text-align: left; }
.faq-item thead th { background: var(--grey-50); font-family: var(--font-display); font-weight: 700; color: var(--al-blue-dark); border-bottom: 1px solid var(--grey-200); }
.faq-item tbody td { color: var(--grey-700); }
.faq-item tbody tr + tr td { border-top: 1px solid var(--grey-200); }
.faq-scrollhint { display: none; font-size: .76rem; color: var(--grey-500); align-items: center; gap: 6px; margin-bottom: 6px; }
.faq-scrollhint .lucide { width: 13px; height: 13px; }
/* footnotes */
.faq-foot { border-top: 1px dotted var(--grey-300); margin-top: 1em; padding-top: .8em; }
.faq-foot li { font-size: .8rem !important; color: var(--grey-500) !important; }
/* inline CTA at answer end */
.faq-acta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--al-blue); font-weight: 700; text-decoration: none; font-size: .95rem; }
.faq-acta:hover { color: var(--al-blue-dark); text-decoration: underline; }
.faq-acta .lucide { width: 16px; height: 16px; }

/* "still stuck" inline row */
.faq-stuck { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; background: var(--info-bg); border: 1px solid #CFE0F5; border-radius: 16px; padding: 18px 22px; margin-top: 12px; }
.faq-stuck .txt { display: flex; align-items: center; gap: 13px; }
.faq-stuck .sic { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.faq-stuck .sic .lucide { width: 20px; height: 20px; color: var(--al-blue); }
.faq-stuck b { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--al-blue-dark); }
.faq-stuck span.s { font-size: .85rem; color: var(--grey-500); }
.faq-stuck .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ask a question capture */
.faq-ask { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.faq-ask h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 12px 0 0; line-height: 1.15; }
.faq-ask .fallback { font-size: 1.05rem; line-height: 1.65; color: var(--grey-700); margin: 14px 0 0; }
.faq-askform { background: #fff; border: 1px solid var(--grey-200); border-radius: 22px; box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 36px); }
.faq-askform .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.faq-askform label { font-size: .82rem; font-weight: 700; color: var(--al-blue-dark); }
.faq-askform input, .faq-askform textarea, .faq-askform select { font-family: var(--font-body); font-size: .97rem; color: var(--grey-700); border: 1px solid var(--grey-300); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; transition: .15s; }
.faq-askform input:focus, .faq-askform textarea:focus, .faq-askform select:focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 3px rgba(55,95,155,.12); }
.faq-askform textarea { resize: vertical; min-height: 84px; }
.faq-askform .pb-btn { width: 100%; justify-content: center; }
.faq-askform .sent { display: flex; align-items: center; gap: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; border-radius: 12px; padding: 14px 16px; }

@media (max-width: 720px){
  .faq-cats { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .faq-cats::-webkit-scrollbar { display: none; }
  .faq-scrollhint { display: inline-flex; }
  .faq-stuck { flex-direction: column; align-items: flex-start; }
  .faq-ask { grid-template-columns: 1fr; }
}

/* ===== legal-page.css ===== */
/* ============================================================================
 HAVEN - Plain content / legal template + 404/500  (scope: .lgl / .err404)
 ============================================================================ */

/* legal shell: contents rail + readable article */
.lgl-head { padding: 34px 0 clamp(24px, 3vw, 36px); }
.lgl-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; margin: 18px 0 0; }
.lgl-head .upd { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; color: var(--grey-500); }
.lgl-head .upd .lucide { width: 15px; height: 15px; color: var(--al-healthcare); }
.lgl-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.lgl-art { max-width: 70ch; min-width: 0; }
.lgl-art section { scroll-margin-top: 110px; }
.lgl-art section + section { margin-top: clamp(30px, 4vw, 44px); }
.lgl-art h2 { font-size: 1.4rem; line-height: 1.2; margin: 0 0 12px; }
.lgl-art p { font-size: .98rem; line-height: 1.75; color: var(--grey-700); margin: 0 0 .9em; }
.lgl-art ul { margin: 0 0 .9em; padding-left: 22px; }
.lgl-art li { font-size: .98rem; line-height: 1.7; color: var(--grey-700); margin-bottom: 5px; }
.lgl-art li::marker { color: var(--al-blue); }
/* T&C table support */
.lgl-twrap { overflow-x: auto; margin: .5em 0 1em; }
.lgl-art table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 480px; border: 1px solid var(--grey-200); border-radius: 12px; overflow: hidden; }
.lgl-art th, .lgl-art td { padding: 12px 16px; font-size: .9rem; line-height: 1.5; text-align: left; }
.lgl-art thead th { background: var(--grey-50); font-family: var(--font-display); font-weight: 700; color: var(--al-blue-dark); border-bottom: 1px solid var(--grey-200); }
.lgl-art tbody td { color: var(--grey-700); }
.lgl-art tbody tr + tr td { border-top: 1px solid var(--grey-200); }

/* 404 / 500 */
.err404 { min-height: 60vh; display: flex; align-items: center; }
.err404 .inner { max-width: 640px; margin-inline: auto; text-align: center; padding-block: clamp(48px, 8vw, 96px); }
.err404 .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 10vw, 6.5rem); line-height: 1; color: var(--al-blue); letter-spacing: .02em; }
.err404 .code .z { color: var(--al-cyan); }
.err404 h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 14px 0 0; }
.err404 p.sub2 { font-size: 1.05rem; line-height: 1.7; color: var(--grey-700); margin: 12px auto 0; max-width: 44ch; }
.err404 .srch { display: flex; gap: 10px; max-width: 460px; margin: 26px auto 0; }
.err404 .srch .box { position: relative; flex: 1; }
.err404 .srch input { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 1rem; border: 2px solid var(--grey-300); border-radius: 999px; padding: 13px 18px 13px 46px; transition: .15s; }
.err404 .srch input:focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 4px rgba(55,95,155,.12); }
.err404 .srch .lucide { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--grey-400); pointer-events: none; }
.err404 .pop { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.err404 .pop a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--grey-300); border-radius: 999px; padding: 10px 18px; font-size: .92rem; font-weight: 600; color: var(--al-blue-dark); text-decoration: none; transition: .16s; }
.err404 .pop a:hover { border-color: var(--al-blue); background: var(--info-bg); transform: translateY(-1px); }
.err404 .pop a .lucide { width: 16px; height: 16px; color: var(--al-blue); }
.err404 .phone2 { margin-top: 24px; font-size: .95rem; color: var(--grey-500); }
.err404 .phone2 a { color: var(--al-blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.err404 .phone2 a:hover { text-decoration: underline; }
/* 500 phone-first */
.err404.e500 .bigphone2 { display: inline-flex; align-items: center; gap: 11px; margin-top: 26px; background: var(--al-blue); color: #fff; border-radius: 999px; padding: 16px 30px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-decoration: none; transition: .16s; }
.err404.e500 .bigphone2:hover { background: var(--al-blue-dark); transform: translateY(-1px); }
.err404.e500 .bigphone2 .lucide { width: 21px; height: 21px; }

/* demo control */
.lgl-demo-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--grey-500); }
.lgl-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.lgl-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.lgl-demo-ctl button.on { background: var(--al-blue); color: #fff; }
.lgl-demo-bar { display: flex; justify-content: center; padding-top: 18px; }

@media (max-width: 920px){
  .lgl-shell { grid-template-columns: 1fr; }
  .err404 .srch { flex-direction: column; }
}

/* ===== listing-page.css ===== */
/* ============================================================================
 HAVEN - Listing template  (scope: .lst, inside main.pb)
 Parameterised: Clinics directory (primary) / Device index (variant).
 ============================================================================ */

.lst-head { padding: 34px 0 clamp(28px, 4vw, 44px); }
.lst-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; margin: 18px 0 0; }
.lst-count { font-size: 1.08rem; color: var(--grey-700); margin: 12px 0 0; }
.lst-count b { color: var(--al-blue-dark); }

/* postcode search - front and centre */
.lst-search { display: flex; gap: 12px; max-width: 560px; margin-top: 24px; }
.lst-search .box { position: relative; flex: 1; }
.lst-search input { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 1.05rem; color: var(--grey-700); background: #fff; border: 2px solid var(--grey-300); border-radius: 999px; padding: 15px 20px 15px 50px; transition: .15s; }
.lst-search input:focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 4px rgba(55,95,155,.12); }
.lst-search .box .lucide { position: absolute; left: 19px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--grey-400); pointer-events: none; }
.lst-search .pb-btn { flex: none; }
.lst-hint { font-size: .84rem; color: var(--grey-500); margin-top: 10px; }

/* filter rail */
.lst-filters { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.lst-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.lst-tab { background: #fff; border: 1px solid var(--grey-300); border-radius: 999px; padding: 9px 16px; font-family: var(--font-body); font-size: .88rem; font-weight: 600; color: var(--grey-700); cursor: pointer; transition: .16s; white-space: nowrap; }
.lst-tab:hover { border-color: var(--al-blue); color: var(--al-blue); }
.lst-tab.on { background: var(--al-blue); border-color: var(--al-blue); color: #fff; }
.lst-tab .n { opacity: .65; font-weight: 400; margin-left: 4px; }
.lst-sep { width: 1px; height: 26px; background: var(--grey-200); }
.lst-toggle { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.lst-toggle button { background: #fff; border: none; padding: 9px 16px; font-family: var(--font-body); font-size: .88rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.lst-toggle button.on { background: var(--info-bg); color: var(--al-blue-dark); }
.lst-check { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--grey-700); cursor: pointer; user-select: none; }
.lst-check input { accent-color: var(--al-blue); width: 16px; height: 16px; }

/* results grid */
.lst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 30px; }
.lst-results-meta { font-size: .88rem; color: var(--grey-500); margin-top: 26px; }

/* device compact cards */
.lst-dev { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 10px; transition: .18s; }
.lst-dev:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* quick-jump chips (device index) */
.lst-jump { display: flex; gap: 8px; flex-wrap: wrap; }

/* grouped user-guide sections (mirrors live user-guides page) */
.lst-group { margin-top: 38px; }
.lst-group h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--grey-200); }
.lst-grid.guides { margin-top: 20px; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.lst-guide { flex-direction: row; align-items: flex-start; gap: 16px; }
.lst-guide.disc { opacity: .82; }
.lst-guide .gimg { position: relative; width: 92px; aspect-ratio: 1; flex: none; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--info-bg), #E2E9F2); border: 1px solid var(--grey-200); }
.lst-guide .gimg img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; box-sizing: border-box; }
.lst-guide .gimg .lucide { width: 34px; height: 34px; color: var(--al-healthcare); }
.lst-guide .gimg .ph { position: absolute; left: 0; right: 0; bottom: 0; font-size: 7.5px; letter-spacing: .04em; text-transform: uppercase; text-align: center; color: var(--grey-500); background: rgba(255,255,255,.85); padding: 3px 2px; }
.lst-guide .gbody { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lst-guide .gbody .drow:empty { display: none; }
.lst-guide h3 { font-size: 1.12rem; margin: 0; line-height: 1.2; }
.lst-guide .gpdfs { display: flex; flex-wrap: wrap; gap: 8px; }
.lst-guide .manual-sc .ext { font-size: .68rem; font-weight: 700; letter-spacing: .04em; background: var(--info-bg); color: var(--al-blue-dark); border-radius: 4px; padding: 2px 5px; }

/* "can't find your mask" band */
.lst-help { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; box-shadow: var(--shadow-sm); padding: 24px 28px; margin-top: 44px; position: relative; overflow: hidden; }
.lst-help::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--al-cyan), var(--al-blue)); }
.lst-help .hic { width: 48px; height: 48px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.lst-help .hic .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.lst-help b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--al-blue-dark); line-height: 1.25; }
.lst-help span.s { font-size: .92rem; line-height: 1.6; color: var(--grey-500); }
.lst-help a { color: var(--al-blue); font-weight: 600; text-decoration: none; }
.lst-help a:hover { text-decoration: underline; }
.lst-dev .drow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lst-dev .dcat { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--al-healthcare); }
.lst-dev .ddisc { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--warn-bg); color: #7a4d00; border-radius: 999px; padding: 3px 10px; }
.lst-dev h3 { font-size: 1.18rem; margin: 0; line-height: 1.2; }
.lst-dev .dbrand { font-size: .84rem; color: var(--grey-500); }
.lst-dev .dacts { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.lst-dev .manual-sc { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 700; color: var(--al-blue); text-decoration: none; border: 1px solid var(--grey-300); border-radius: 999px; padding: 8px 16px; transition: .15s; }
.lst-dev .manual-sc:hover { border-color: var(--al-blue); background: var(--info-bg); }
.lst-dev .manual-sc .lucide { width: 15px; height: 15px; }
.lst-dev .view { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--al-blue-dark); text-decoration: none; padding: 8px 4px; }
.lst-dev .view .lucide { width: 15px; height: 15px; }

/* zero-results */
.lst-zero { max-width: 620px; margin-top: 30px; background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; box-shadow: var(--shadow-xs); padding: clamp(28px, 4vw, 40px); text-align: center; }
.lst-zero .zic { width: 56px; height: 56px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.lst-zero .zic .lucide { width: 26px; height: 26px; color: var(--al-blue); }
.lst-zero h3 { font-size: 1.35rem; margin: 0 0 8px; }
.lst-zero p { font-size: .98rem; line-height: 1.65; color: var(--grey-700); margin: 0 0 18px; }
.lst-zero .zacts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* progressive load */
.lst-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 34px; }
.lst-more .bar { width: 220px; height: 5px; border-radius: 999px; background: var(--grey-200); overflow: hidden; }
.lst-more .bar i { display: block; height: 100%; background: var(--al-blue); border-radius: 999px; }
.lst-more .lbl { font-size: .84rem; color: var(--grey-500); }

/* demo control */
.lst-demo-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--grey-500); }
.lst-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; }
.lst-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.lst-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 720px){
  .lst-search { flex-direction: column; }
  .lst-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .lst-tabs::-webkit-scrollbar { display: none; }
  .lst-sep { display: none; }
  .lst-help { grid-template-columns: 1fr; }
}

/* ===== search-page.css ===== */
/* ============================================================================
 HAVEN - Search results template  (scope: .sr, inside main.pb)
 ============================================================================ */

.sr-head { padding: 34px 0 clamp(24px, 3vw, 36px); }
.sr-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.1; margin: 18px 0 0; }
.sr-head h1 q { color: var(--al-blue); quotes: "\201C" "\201D"; }
.sr-count { font-size: .95rem; color: var(--grey-500); margin: 10px 0 0; }

/* filter pills */
.sr-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

/* result list */
.sr-list { max-width: 780px; display: flex; flex-direction: column; gap: 14px; }
.sr-item { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 20px 24px; transition: .16s; display: block; text-decoration: none; }
.sr-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--grey-300); }
.sr-item .trow { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sr-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.sr-badge .lucide { width: 13px; height: 13px; }
.sr-badge.clinic { background: var(--info-bg); color: var(--al-blue-dark); }
.sr-badge.clinic .lucide { color: var(--al-blue); }
.sr-badge.art { background: #EAF6EC; color: #1B5E20; }
.sr-badge.art .lucide { color: #2E7D32; }
.sr-badge.device { background: #F3EFFB; color: #4527A0; }
.sr-badge.device .lucide { color: #5E35B1; }
.sr-badge.faq { background: var(--warn-bg); color: #7a4d00; }
.sr-badge.faq .lucide { color: var(--warn); }
.sr-badge.page { background: var(--grey-100); color: var(--grey-700); }
.sr-badge.page .lucide { color: var(--grey-500); }
.sr-item .crumb2 { font-size: .76rem; color: var(--grey-400); }
.sr-item h3 { font-size: 1.18rem; line-height: 1.25; margin: 0 0 6px; color: var(--al-blue-dark); }
.sr-item h3 mark { background: #FFF3C4; color: inherit; border-radius: 3px; padding: 0 2px; }
.sr-item p.tz { font-size: .92rem; line-height: 1.6; color: var(--grey-700); margin: 0; }
.sr-item p.tz mark { background: #FFF3C4; color: inherit; border-radius: 3px; padding: 0 2px; }
/* type micro-layouts */
.sr-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.sr-meta .m { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--grey-700); }
.sr-meta .m .lucide { width: 15px; height: 15px; color: var(--al-healthcare); }
.sr-meta .m a, .sr-meta a.m { color: var(--al-blue); text-decoration: none; }
.sr-meta a.m:hover { text-decoration: underline; color: var(--al-blue-dark); }
.sr-meta .manual-sc2 { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 700; color: var(--al-blue); border: 1px solid var(--grey-300); border-radius: 999px; padding: 6px 14px; text-decoration: none; transition: .15s; }
.sr-meta .manual-sc2:hover { border-color: var(--al-blue); background: var(--info-bg); }
.sr-meta .manual-sc2 .lucide { width: 14px; height: 14px; }
.sr-item .lead-ans2 { font-size: .95rem; font-weight: 600; color: var(--fg-1); line-height: 1.55; margin: 0; }

/* zero results */
.sr-zero { max-width: 680px; background: #fff; border: 1px solid var(--grey-200); border-radius: 22px; box-shadow: var(--shadow-xs); padding: clamp(28px, 4vw, 44px); text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.sr-zero .zic { width: 60px; height: 60px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.sr-zero .zic .lucide { width: 28px; height: 28px; color: var(--al-blue); }
.sr-zero h2 { font-size: 1.5rem; margin: 0 0 8px; }
.sr-zero p { font-size: .98rem; line-height: 1.65; color: var(--grey-700); margin: 0 auto 6px; max-width: 46ch; }
.sr-zero .sugg { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sr-zero .sugg button { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 999px; padding: 7px 15px; font-family: var(--font-body); font-size: .86rem; font-weight: 600; color: var(--al-blue); cursor: pointer; transition: .15s; }
.sr-zero .sugg button:hover { border-color: var(--al-blue); background: var(--info-bg); }
.sr-zero .routes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; text-align: left; }
.sr-zero .route { display: flex; align-items: center; gap: 12px; border: 1px solid var(--grey-200); border-radius: 14px; padding: 14px 16px; font-size: .92rem; font-weight: 600; color: var(--al-blue-dark); text-decoration: none; transition: .15s; }
.sr-zero .route:hover { border-color: var(--al-blue); background: var(--info-bg); }
.sr-zero .route .lucide { width: 19px; height: 19px; color: var(--al-blue); flex: none; }
.sr-zero .phone3 { margin-top: 20px; font-size: .92rem; color: var(--grey-500); }
.sr-zero .phone3 a { color: var(--al-blue); font-weight: 700; text-decoration: none; white-space: nowrap; }

@media (max-width: 720px){
  .sr-item { padding: 18px; }
  .sr-meta { gap: 10px; }
  .sr-zero .routes { grid-template-columns: 1fr; }
}

/* results canvas - subtle tint so white cards float */
.sr-canvas { background: var(--bg-subtle); border-top: 1px solid var(--grey-200); padding: 26px 0 clamp(56px, 8vw, 104px); }
.sr-canvas .sr-item, .sr-canvas .sr-zero { box-shadow: var(--shadow-sm); }

/* ===== user-guides.css ===== */
/* ============================================================================
   HAVEN — User guides hub  (scope: .ug, inside main.pb)
   Replaces per-device guide pages: all manuals live on one hub, grouped by
   category, findable in under 3 seconds via search + brand filter.
   ============================================================================ */

.ug-head { padding: 34px 0 clamp(28px, 4vw, 44px); }
.ug-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; margin: 18px 0 0; }
.ug-head .sub { font-size: 1.08rem; color: var(--grey-700); margin: 12px 0 0; max-width: none; line-height: 1.65; }

.ug-search { display: flex; gap: 12px; max-width: 560px; margin-top: 24px; }
.ug-search .box { position: relative; flex: 1; }
.ug-search input { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 1.05rem; color: var(--grey-700); background: #fff; border: 2px solid var(--grey-300); border-radius: 999px; padding: 15px 20px 15px 50px; transition: .15s; }
.ug-search input:focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 4px rgba(55,95,155,.12); }
.ug-search .box .lucide { position: absolute; left: 19px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--grey-400); pointer-events: none; }

.ug-filters { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }

/* category tabs */
.ug-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

/* product card grid */
.ug-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; margin-top: 24px; }
.ug-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; box-shadow: var(--shadow-xs); padding: 20px; transition: .18s; align-items: start; }
.ug-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ug-card.isdisc { opacity: .85; }
.ug-card .thumb { width: 96px; height: 96px; border-radius: 14px; background: var(--grey-50); border: 1px solid var(--grey-100); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ug-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.ug-card .thumb .ph { display: flex; align-items: center; justify-content: center; }
.ug-card .thumb .ph .lucide { width: 30px; height: 30px; color: var(--grey-300); }
.ug-card .body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ug-card .nm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ug-card b { font-family: var(--font-display); font-size: 1.12rem; color: var(--al-blue-dark); line-height: 1.15; }
.ug-card .br { font-size: .82rem; color: var(--grey-500); }
.ug-card .disc { font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--warn-bg); color: #7a4d00; border-radius: 999px; padding: 3px 9px; }
.ug-card .ug-dl { margin-top: 6px; justify-content: flex-start; font-size: .85rem; padding: 8px 14px; }
.ug-card .ug-dl .sz { flex: none; white-space: nowrap; font-weight: 400; color: var(--grey-400); font-size: .76rem; margin-left: auto; padding-left: 8px; }
.ug-more { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 6px 2px 0; font-family: var(--font-body); font-size: .84rem; font-weight: 700; color: var(--al-blue); cursor: pointer; }
.ug-more:hover { color: var(--al-blue-dark); text-decoration: underline; }
.ug-more .lucide { width: 15px; height: 15px; }

/* category group */
.ug-group { margin-top: clamp(36px, 5vw, 52px); }
.ug-group .ghead { display: flex; align-items: center; gap: 13px; }
.ug-group .gic { width: 44px; height: 44px; border-radius: 12px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.ug-group .gic .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.ug-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0; }
.ug-group .gn { font-size: .88rem; color: var(--grey-500); }

/* manual rows */
.ug-list { margin-top: 18px; background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; box-shadow: var(--shadow-xs); overflow: hidden; }
.ug-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 22px; }
.ug-row + .ug-row { border-top: 1px solid var(--grey-100); }
.ug-row:hover { background: var(--grey-50); }
.ug-row .nm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ug-row b { font-family: var(--font-display); font-size: 1.08rem; color: var(--al-blue-dark); }
.ug-row .br { font-size: .84rem; color: var(--grey-500); }
.ug-row .disc { font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--warn-bg); color: #7a4d00; border-radius: 999px; padding: 3px 10px; }
.ug-row .meta { font-size: .8rem; color: var(--grey-400); display: block; margin-top: 2px; }
.ug-dl { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--al-blue); text-decoration: none; border: 1px solid var(--grey-300); border-radius: 999px; padding: 10px 20px; transition: .15s; }
.ug-dl:hover { border-color: var(--al-blue); background: var(--info-bg); }
.ug-dl .lucide { width: 16px; height: 16px; }

/* zero results */
.ug-zero { margin-top: 30px; text-align: center; color: var(--grey-500); font-size: .98rem; padding: 40px 20px; border: 1px dashed var(--grey-300); border-radius: 18px; }
.ug-zero a { color: var(--al-blue); font-weight: 700; }

/* help band */
.ug-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--info-bg); border-radius: 18px; padding: 22px 26px; margin-top: clamp(36px, 5vw, 52px); }
.ug-help p { margin: 0; font-size: 1rem; color: var(--al-blue-dark); line-height: 1.6; max-width: 52ch; }
.ug-help p b { font-family: var(--font-display); }

@media (max-width: 720px){
  .ug-search { flex-direction: column; }
  .ug-cats { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .ug-cats::-webkit-scrollbar { display: none; }
  .ug-card { grid-template-columns: 72px 1fr; }
  .ug-card .thumb { width: 72px; height: 72px; }
}

/* download pill: single-line title, size pinned right */
.ug-dl .tt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ug-card .ug-dl { display: flex; width: 100%; box-sizing: border-box; }
.ug-grid { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
@media (max-width: 860px){ .ug-grid { grid-template-columns: 1fr; } }
.ug-cardfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--grey-100); }
.ug-detail { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--al-blue); text-decoration: none; margin-left: auto; }
.ug-detail:hover { color: var(--al-blue-dark); text-decoration: underline; }
.ug-detail .lucide { width: 15px; height: 15px; }
.ug-cardfoot .ug-more { padding-top: 0; }

/* ===== vital360.css ===== */
/* ============================================================================
   HAVEN — Vital360 program page  (scope: .v360, inside main.pb)
   Content from the Vital360 brochure (DBRO-SMTG-2576-7), restyled to Haven.
   ============================================================================ */

.v360-hero { padding: 34px 0 clamp(40px, 6vw, 72px); }
.v360-hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; margin-top: 24px; }
.v360-logo { display: block; height: clamp(72px, 9vw, 104px); width: auto; margin-bottom: 18px; }
.v360-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; margin: 14px 0 0; }
.v360-hero .tag { font-family: var(--font-accent); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--al-healthcare); margin: 14px 0 0; }
.v360-hero p.lead { font-size: 1.13rem; line-height: 1.75; color: var(--grey-700); margin: 18px 0 0; max-width: 56ch; }
.v360-hero .ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.v360-hero .art { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: 0 24px 56px rgba(16,42,77,.16); }
.v360-hero .art .scene-grain { display: none; }
.v360-badges { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* services */
.v360-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.v360-svc { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-xs); display: flex; align-items: flex-start; gap: 14px; }
.v360-svc .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.v360-svc .ic .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.v360-svc b { font-family: var(--font-display); font-size: 1.08rem; color: var(--al-blue-dark); line-height: 1.25; display: block; }

/* care program loop */
.v360-loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 34px; }
.v360-node { position: relative; background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; padding: 20px 16px; text-align: center; box-shadow: var(--shadow-xs); }
.v360-node .nic { width: 48px; height: 48px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.v360-node .nic .lucide { width: 23px; height: 23px; color: var(--al-blue); }
.v360-node b { font-family: var(--font-display); font-size: .95rem; color: var(--al-blue-dark); line-height: 1.25; }
.v360-node::after { content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px dotted var(--al-healthcare); border-right: 2px dotted var(--al-healthcare); transform: translateY(-50%) rotate(45deg); }
.v360-node:last-child::after { display: none; }

/* replenishment timeline */
.v360-time { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.v360-t { background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-xs); }
.v360-t .when { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); }
.v360-t .when .lucide { width: 16px; height: 16px; }
.v360-t p { font-size: .96rem; line-height: 1.65; color: var(--grey-700); margin: 10px 0 0; }

/* outcomes */
.v360-out .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.v360-out .prose p { font-size: 1.06rem; line-height: 1.75; color: var(--grey-700); margin: 0 0 1em; }
.v360-out sup { color: var(--al-blue); font-weight: 700; }
.v360-olist { display: flex; flex-direction: column; gap: 14px; }
.v360-o { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-xs); }
.v360-o .oic { width: 44px; height: 44px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.v360-o .oic .lucide { width: 22px; height: 22px; color: var(--al-blue); }
.v360-o b { font-family: var(--font-display); font-size: 1.02rem; color: var(--al-blue-dark); line-height: 1.3; }
.v360-refs { font-size: .78rem; color: var(--grey-500); line-height: 1.6; margin-top: 26px; max-width: 80ch; }
.v360-refs b { color: var(--grey-700); }

/* comparison table */
.v360-cmp { margin-top: 34px; background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.v360-cmp table { width: 100%; border-collapse: collapse; }
.v360-cmp th, .v360-cmp td { padding: 15px 18px; text-align: center; font-size: .95rem; color: var(--grey-700); border-top: 1px solid var(--grey-100); }
.v360-cmp thead th { border-top: none; padding-top: 22px; }
.v360-cmp th.rowh, .v360-cmp td.rowh { text-align: left; font-weight: 700; color: var(--al-blue-dark); font-size: .9rem; width: 26%; }
.v360-cmp .plan { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding: 9px 22px; border-radius: 999px; }
.v360-cmp .plan.ss { background: var(--al-blue); color: #fff; }
.v360-cmp .plan.cc { background: var(--info-bg); color: var(--al-blue-dark); border: 1px solid var(--al-healthcare); }
.v360-cmp .tick { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-bg); align-items: center; justify-content: center; }
.v360-cmp .tick .lucide { width: 15px; height: 15px; color: var(--ok); }
.v360-cmp .pillv { display: inline-block; background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 999px; padding: 6px 16px; font-size: .86rem; font-weight: 600; color: var(--al-blue-dark); }
.v360-cmp .big { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--al-blue-dark); }
.v360-cmp tfoot td { background: var(--info-bg); font-size: .9rem; color: var(--al-blue-dark); text-align: left; padding: 16px 18px; }
.v360-notes { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v360-note { background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; padding: 20px 22px; font-size: .95rem; line-height: 1.65; color: var(--grey-700); box-shadow: var(--shadow-xs); }
.v360-note b { color: var(--al-blue-dark); }
.v360-fine { font-size: .78rem; color: var(--grey-500); line-height: 1.6; margin-top: 18px; }

@media (max-width: 980px){
  .v360-hero .grid { grid-template-columns: 1fr; }
  .v360-hero .art { order: -1; aspect-ratio: 16/10; }
  .v360-svcs { grid-template-columns: 1fr 1fr; }
  .v360-loop { grid-template-columns: repeat(2, 1fr); }
  .v360-node::after { display: none; }
  .v360-time { grid-template-columns: 1fr; }
  .v360-out .grid { grid-template-columns: 1fr; }
  .v360-notes { grid-template-columns: 1fr; }
  .v360-cmp { overflow-x: auto; }
  .v360-cmp table { min-width: 640px; }
}
@media (max-width: 620px){ .v360-svcs { grid-template-columns: 1fr; } }

/* ===== assessment-page.css ===== */
/* ============================================================================
 HAVEN - Self-assessment tool host  (scope: .sat, inside main.pb)
 Shell + question UI + results. Logic/scoring migrate unchanged (SoW 5.4).
 ============================================================================ */

.sat { background: var(--bg-subtle); }
.sat-wrap { max-width: 720px; margin-inline: auto; padding-block: clamp(40px, 6vw, 72px); }

/* intro state */
.sat-intro { background: #fff; border: 1px solid var(--grey-200); border-radius: 24px; box-shadow: var(--shadow-sm); padding: clamp(30px, 4.5vw, 52px); text-align: center; }
.sat-intro .tic { width: 64px; height: 64px; border-radius: 18px; background: var(--info-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.sat-intro .tic .lucide { width: 30px; height: 30px; color: var(--al-blue); }
.sat-intro h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; margin: 0 0 12px; }
.sat-intro .promise { font-size: 1.08rem; line-height: 1.7; color: var(--grey-700); max-width: 52ch; margin: 0 auto; }
.sat-meta { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.sat-meta .m { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--al-blue-dark); }
.sat-meta .m .lucide { width: 17px; height: 17px; color: var(--al-healthcare); }
.sat-intro .privacy2 { font-size: .84rem; color: var(--grey-500); margin: 18px 0 0; }
.sat-intro .pb-btn { margin-top: 24px; }

/* question flow */
.sat-q { background: #fff; border: 1px solid var(--grey-200); border-radius: 24px; box-shadow: var(--shadow-sm); padding: clamp(28px, 4vw, 44px); }
.sat-prog { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.sat-prog .bar { flex: 1; height: 6px; border-radius: 999px; background: #DCE6F2; overflow: hidden; }
.sat-prog .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--al-healthcare), var(--al-cyan)); border-radius: 999px; transition: width .55s cubic-bezier(.22,.61,.36,1); }
.sat-prog .n { font-size: .84rem; font-weight: 700; color: var(--grey-700); white-space: nowrap; }
.sat-prog .n em { font-style: normal; font-weight: 400; color: var(--grey-500); }
.sat-prog .n em::before { content: " \00B7 "; }
.sat-q .situation { font-size: .78rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); }
.sat-q h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.25; margin: 10px 0 24px; }
.sat-opts { display: flex; flex-direction: column; gap: 10px; }
.sat-opt { display: flex; align-items: center; gap: 14px; border: 2px solid var(--grey-200); border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: .15s; background: #fff; text-align: left; font-family: var(--font-body); font-size: 1rem; color: var(--grey-700); width: 100%; }
.sat-opt:hover { border-color: var(--al-blue); background: var(--info-bg); }
.sat-opt.sel { border-color: var(--al-blue); background: var(--info-bg); font-weight: 600; color: var(--al-blue-dark); box-shadow: 0 0 0 3px rgba(55,95,155,.12); }
.sat-opt .score { width: 34px; height: 34px; border-radius: 10px; background: var(--grey-100); font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--al-blue-dark); display: flex; align-items: center; justify-content: center; flex: none; }
.sat-opt.sel .score { background: var(--al-blue); color: #fff; }
.sat-opt span.lbl b { display: block; font-size: .98rem; }
.sat-opt span.lbl i { font-style: normal; font-size: .82rem; color: var(--grey-500); }
.sat-back { background: none; border: none; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--grey-500); cursor: pointer; padding: 0; margin-top: 22px; }
.sat-back:hover { color: var(--al-blue); }
.sat-back .lucide { width: 15px; height: 15px; }

/* results */
.sat-res { background: #fff; border: 1px solid var(--grey-200); border-radius: 24px; box-shadow: var(--shadow-sm); overflow: hidden; }
.sat-res .band { padding: clamp(28px, 4vw, 44px); text-align: center; color: #fff; }
.sat-res .band.low { background: linear-gradient(150deg, #2E7D32, #1B5E20); }
.sat-res .band.mod { background: linear-gradient(150deg, #B27A00, #8a5d00); }
.sat-res .band.high { background: linear-gradient(150deg, #C2001B, #8A0014); }
.sat-res .band .blab { font-size: .78rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; opacity: .85; }
.sat-res .band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 0; }
/* score gauge */
.sat-gauge { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 22px; }
.sat-gauge .seg2 { width: 44px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.25); }
.sat-gauge .seg2.fill { background: #fff; }
.sat-gauge .score-big { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; margin-right: 12px; line-height: 1; }
.sat-res .band .brange { font-size: .84rem; opacity: .8; margin-top: 10px; }
.sat-res .body { padding: clamp(26px, 3.5vw, 40px); }
.sat-res .meaning { font-size: 1.05rem; line-height: 1.7; color: var(--grey-700); max-width: 56ch; margin: 0 auto; text-align: center; }
.sat-res .acts { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
/* article links (low band) */
.sat-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.sat-link { display: flex; align-items: center; gap: 11px; border: 1px solid var(--grey-200); border-radius: 14px; padding: 14px 16px; font-size: .93rem; font-weight: 600; color: var(--al-blue-dark); text-decoration: none; transition: .15s; }
.sat-link:hover { border-color: var(--al-blue); background: var(--info-bg); }
.sat-link .lucide { width: 18px; height: 18px; color: var(--al-blue); flex: none; }
/* follow-up opt-in (SoW form 7) - in-page, not a popup */
.sat-follow { border-top: 1px solid var(--grey-200); margin-top: 28px; padding-top: 24px; }
.sat-follow h3 { font-size: 1.1rem; margin: 0 0 6px; text-align: center; }
.sat-follow p { font-size: .88rem; color: var(--grey-500); text-align: center; margin: 0 0 16px; }
.sat-follow .frow2 { display: flex; gap: 10px; max-width: 480px; margin-inline: auto; }
.sat-follow input { flex: 1; font-family: var(--font-body); font-size: .95rem; border: 1px solid var(--grey-300); border-radius: 999px; padding: 12px 18px; }
.sat-follow input:focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 3px rgba(55,95,155,.12); }
.sat-follow .sent2 { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--ok); font-weight: 600; font-size: .95rem; }

/* credibility strip */
.sat-cred { display: flex; align-items: flex-start; gap: 14px; background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 16px; padding: 18px 22px; margin-top: 26px; }
.sat-cred .lucide { width: 20px; height: 20px; color: var(--al-blue); flex: none; margin-top: 2px; }
.sat-cred p { font-size: .86rem; line-height: 1.6; color: var(--grey-700); margin: 0; }
.sat-cred p b { color: var(--al-blue-dark); }

/* legal notice inside the credibility strip */
.sat-cred > div { display: flex; flex-direction: column; gap: 10px; }
.sat-notice { font-size: .78rem !important; color: var(--grey-500) !important; padding-top: 10px; border-top: 1px solid var(--grey-200); }
.sat-notice b { color: var(--grey-700) !important; }

/* tool switcher + demo */
.sat-demo-ctl { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 22px; font-size: .8rem; color: var(--grey-500); flex-wrap: wrap; }
.sat-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; flex-wrap: wrap; }
.sat-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.sat-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 720px){
  .sat-links { grid-template-columns: 1fr; }
  .sat-follow .frow2 { flex-direction: column; }
  .sat-gauge .seg2 { width: 32px; }
}

/* ===== booking-page.css ===== */
/* ============================================================================
 HAVEN - Stage 5 booking host  (scope: .bkg)
 Minimal conversion chrome around the third-party widget container.
 ============================================================================ */

/* slim header */
.bkg-hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--grey-200); }
.bkg-hdr .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.bkg-hdr img.lg { height: 40px; width: auto; display: block; }
.bkg-hdr .ph { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--al-blue-dark); text-decoration: none; }
.bkg-hdr .ph .lucide { width: 18px; height: 18px; color: var(--al-blue); }
.bkg-hdr .ph span.s { font-size: .78rem; font-weight: 400; font-family: var(--font-body); color: var(--grey-500); }

/* head */
.bkg-head { text-align: center; padding: clamp(36px, 5vw, 56px) 0 clamp(20px, 3vw, 30px); }
.bkg-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; margin: 0 0 14px; }
.bkg-head .intro { font-size: 1.08rem; line-height: 1.7; color: var(--grey-700); max-width: 52ch; margin: 0 auto; }
.bkg-head .intro a { color: var(--al-blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.bkg-head .intro a:hover { color: var(--al-blue-dark); text-decoration: underline; }

/* widget container - CSS-isolated boundary */
.bkg-widget { background: #fff; border: 1px solid var(--grey-200); border-radius: 24px; box-shadow: var(--shadow-md);
  min-height: 520px; position: relative; overflow: hidden; isolation: isolate; contain: layout style; }
.bkg-widget .wchrome { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--grey-200); background: var(--grey-50); }
.bkg-widget .wchrome .lucide { width: 16px; height: 16px; color: var(--al-healthcare); }
.bkg-widget .wchrome span { font-size: .82rem; font-weight: 600; color: var(--grey-500); }
/* loading state */
.bkg-loading { position: absolute; inset: 49px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.bkg-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--grey-200); border-top-color: var(--al-blue); animation: bkgspin .9s linear infinite; }
@keyframes bkgspin { to { transform: rotate(360deg); } }
.bkg-loading p { font-size: .95rem; color: var(--grey-500); margin: 0; }
.bkg-loading .skel { width: min(560px, 80%); display: flex; flex-direction: column; gap: 10px; }
.bkg-loading .skel i { display: block; height: 14px; border-radius: 999px; background: var(--grey-100); animation: bkgpulse 1.4s ease-in-out infinite; }
.bkg-loading .skel i:nth-child(2) { width: 80%; animation-delay: .15s; }
.bkg-loading .skel i:nth-child(3) { width: 60%; animation-delay: .3s; }
@keyframes bkgpulse { 50% { opacity: .45; } }

/* reassurance strip */
.bkg-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(26px, 4vw, 40px); }
.bkg-trust .cell { display: flex; align-items: flex-start; gap: 13px; background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; padding: 18px 20px; }
.bkg-trust .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.bkg-trust .ic .lucide { width: 19px; height: 19px; color: var(--al-blue); }
.bkg-trust b { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--al-blue-dark); line-height: 1.25; }
.bkg-trust span.s { font-size: .84rem; color: var(--grey-500); line-height: 1.5; }
.bkg-flag { text-align: center; font-size: .76rem; color: var(--grey-500); margin-top: 14px; }

/* minimal footer */
.bkg-foot { border-top: 1px solid var(--grey-200); margin-top: clamp(40px, 6vw, 64px); }
.bkg-foot .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.bkg-foot p { font-size: .8rem; color: var(--grey-500); margin: 0; }
.bkg-foot .links { display: flex; gap: 18px; }
.bkg-foot a { font-size: .8rem; color: var(--grey-500); text-decoration: none; }
.bkg-foot a:hover { color: var(--al-blue); text-decoration: underline; }

/* mobile sticky-arrival: phone bar only (no competing CTAs) */
.bkg-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--grey-200);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.bkg-sticky a { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: .92rem; font-weight: 700; color: var(--al-blue-dark); text-decoration: none; }
.bkg-sticky a .lucide { width: 17px; height: 17px; color: var(--al-blue); }

@media (max-width: 920px){ .bkg-trust { grid-template-columns: 1fr; } }
@media (max-width: 720px){ .bkg-sticky { display: block; } main.bkg { padding-bottom: 64px; } }

/* ===== booking-wizard.css ===== */
/* ============================================================================
   Embedded booking wizard — faithful recreation of the real Air Liquide
   Healthcare "Sleep Diagnostic Booking" app (frontend/src/app/booking).
   The production app is a Vite/React/TS bundle (react-router, react-query,
   shadcn, Tailwind) that can't run in this raw-browser prototype, so this
   reproduces its flow, chrome, and first steps 1:1 for demo purposes.
   Scope: .bw  ·  primary hsl(214 84% 42%) taken from the app's globals.css
   ============================================================================ */
.bw{--bw-primary:hsl(214 84% 42%);--bw-primary-fg:#fff;--bw-accent:hsl(214 80% 96%);--bw-muted:hsl(216 30% 96%);--bw-border:hsl(220 18% 90%);--bw-fg:hsl(220 30% 12%);--bw-mut-fg:hsl(220 12% 46%);--bw-radius:.75rem;
  font-family:var(--font-body,'Roboto',system-ui,sans-serif);color:var(--bw-fg);background:hsl(216 30% 98%);padding:clamp(16px,3vw,32px);}
.bw *{box-sizing:border-box}
.bw-shell{max-width:800px;margin:0 auto}
.bw-h1{font-size:26px;font-weight:700;margin:0 0 16px;color:var(--bw-fg)}

/* desktop step trail */
.bw-trail{display:none;justify-content:space-between;gap:4px;border:1px solid var(--bw-border);background:#fff;border-radius:12px;padding:16px 28px 26px;box-shadow:0 20px 40px rgba(20,80,180,.05);margin-bottom:18px}
@media(min-width:760px){.bw-trail{display:flex}}
.bw-tstep{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:20px;flex:0 0 auto;width:96px}
.bw-tdot{width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid var(--bw-border);background:#fff;transition:.2s}
.bw-tstep.done .bw-tdot,.bw-tstep.active .bw-tdot{background:var(--bw-primary);border-color:var(--bw-primary)}
.bw-tdot svg{width:11px;height:11px;color:#fff}
.bw-tlabel{position:absolute;top:24px;font-size:12px;line-height:1.25;text-align:center;color:var(--bw-mut-fg);width:104px}
.bw-tstep.active .bw-tlabel{color:var(--bw-primary);font-weight:600}
.bw-tconn{flex:1;height:1px;margin-top:8px;border-top:1px solid var(--bw-border)}
.bw-tconn.done{border-top-color:var(--bw-primary)}
.bw-tconn.active{border-top:1px dashed var(--bw-primary)}

/* mobile step indicator */
.bw-mstep{display:flex;align-items:center;gap:12px;border:1px solid var(--bw-border);background:#fff;border-radius:12px;padding:14px 16px;margin-bottom:16px}
@media(min-width:760px){.bw-mstep{display:none}}
.bw-mring{position:relative;width:44px;height:44px;flex:none}
.bw-mring svg{transform:rotate(-90deg)}
.bw-mring .t{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:var(--bw-primary)}
.bw-mstep .mt b{display:block;font-size:15px;font-weight:700}
.bw-mstep .mt span{font-size:12.5px;color:var(--bw-mut-fg)}

/* card panel */
.bw-panel{border:1px solid var(--bw-border);background:#fff;border-radius:16px;padding:clamp(16px,3vw,32px);box-shadow:0 20px 50px rgba(20,80,180,.06)}
.bw-stack{display:flex;flex-direction:column;gap:24px}
.bw-hero{overflow:hidden;border-radius:16px;background:var(--bw-muted)}
.bw-hero img{display:block;width:100%;height:clamp(176px,26vw,208px);object-fit:cover;object-position:61% 30%}
.bw-info{border:1px solid hsl(214 84% 42% / .2);background:var(--bw-accent);border-radius:12px;padding:clamp(14px,2vw,20px);font-size:15px;line-height:1.6;color:hsl(214 60% 24%)}
.bw-info ul{margin:8px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.bw-info a{color:var(--bw-primary);text-decoration:underline}
.bw-card{border:1px solid var(--bw-border);border-radius:var(--bw-radius);padding:clamp(14px,2vw,20px)}
.bw-card+.bw-card{margin-top:20px}
.bw-card h3{font-size:19px;font-weight:700;margin:0 0 14px}
.bw-card h4{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--bw-mut-fg);margin:0 0 12px}
.bw-card h4.mt{margin-top:18px}

/* dropzone */
.bw-drop{display:block;border:1.5px dashed hsl(220 15% 82%);border-radius:12px;padding:44px 20px;text-align:center;cursor:pointer;transition:.16s;background:hsl(225 25% 96.5%)}
.bw-drop:hover{border-color:var(--bw-primary);background:var(--bw-accent)}
.bw-drop .di{width:52px;height:52px;margin:0 auto 22px;border-radius:50%;background:transparent;border:1.5px dashed hsl(220 15% 80%);display:flex;align-items:center;justify-content:center}
.bw-drop .di svg{width:22px;height:22px;color:hsl(220 10% 42%)}
.bw-drop b{display:block;font-size:15.5px;font-weight:600;color:hsl(220 18% 30%)}
.bw-drop>span:last-child{display:block;font-size:13.5px;color:hsl(220 10% 52%);margin-top:4px}
.bw-drop .browse{color:var(--bw-primary);font-weight:600;text-decoration:underline}
.bw-file{display:flex;align-items:center;gap:12px;border:1px solid var(--bw-border);border-radius:10px;padding:12px 14px;margin-top:12px}
.bw-file .fi{width:36px;height:36px;border-radius:8px;background:var(--bw-accent);display:flex;align-items:center;justify-content:center;flex:none}
.bw-file .fi svg{width:18px;height:18px;color:var(--bw-primary)}
.bw-file .fm{flex:1;min-width:0}
.bw-file .fm b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bw-file .fm span{font-size:12px;color:var(--bw-mut-fg)}
.bw-file .rm{border:none;background:none;cursor:pointer;color:var(--bw-mut-fg);padding:4px;border-radius:6px}
.bw-file .rm:hover{background:var(--bw-muted);color:#c0273c}
.bw-hint{font-size:13px;color:var(--bw-mut-fg);margin:8px 0 0}

/* consent + checkbox */
.bw-consent-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.bw-consent-head svg{width:20px;height:20px;color:var(--bw-primary)}
.bw-consent-head h3{margin:0}
.bw-consent p.body{font-size:14px;line-height:1.6;color:hsl(220 20% 25%);margin:0}
.bw-check{display:flex;align-items:flex-start;gap:10px;margin-top:16px;cursor:pointer;font-size:15px}
.bw-box{width:20px;height:20px;flex:none;border:1px solid var(--bw-border);border-radius:5px;background:#fff;display:flex;align-items:center;justify-content:center;margin-top:1px;transition:.14s}
.bw-check.on .bw-box{background:var(--bw-primary);border-color:var(--bw-primary)}
.bw-box svg{width:13px;height:13px;color:#fff;opacity:0;transition:.14s}
.bw-check.on .bw-box svg{opacity:1}
.bw-req{color:#dc2626}
.bw-err{color:#dc2626;font-size:13px;margin:6px 0 0}

/* form fields */
.bw-grid{display:grid;gap:16px}
.bw-grid.c2{grid-template-columns:1fr}
.bw-grid.c3{grid-template-columns:1fr}
@media(min-width:640px){.bw-grid.c2{grid-template-columns:1fr 1fr}.bw-grid.c3{grid-template-columns:1fr 1fr 1fr}}
.bw-field label{display:block;font-size:14px;font-weight:500;margin-bottom:6px}
.bw-field input,.bw-field select{width:100%;height:42px;border:1px solid var(--bw-border);border-radius:8px;padding:0 12px;font-size:15px;font-family:inherit;background:#fff;color:var(--bw-fg)}
.bw-field input:focus,.bw-field select:focus{outline:none;border-color:var(--bw-primary);box-shadow:0 0 0 3px hsl(214 84% 42% / .12)}

/* questionnaire rows */
.bw-q{border:1px solid var(--bw-border);border-radius:10px;padding:14px 16px}
.bw-q+.bw-q{margin-top:10px}
.bw-q .qt{font-size:15px;font-weight:500;margin:0 0 10px}
.bw-q .qt .k{color:var(--bw-primary);font-weight:700;margin-right:6px}
.bw-opts{display:flex;flex-wrap:wrap;gap:8px}
.bw-opt{border:1px solid var(--bw-border);background:#fff;border-radius:999px;padding:7px 15px;font-size:13.5px;font-weight:600;color:var(--bw-mut-fg);cursor:pointer;transition:.14s}
.bw-opt:hover{border-color:var(--bw-primary)}
.bw-opt.on{background:var(--bw-primary);border-color:var(--bw-primary);color:#fff}
.bw-score{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:14px;color:var(--bw-mut-fg)}
.bw-score b{font-size:22px;color:var(--bw-primary);font-family:var(--font-display,serif)}

/* appointment */
.bw-clinic{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.bw-crow{display:flex;align-items:center;gap:12px;border:1px solid var(--bw-border);border-radius:10px;padding:13px 15px;cursor:pointer;transition:.14s}
.bw-crow:hover{border-color:var(--bw-primary)}
.bw-crow.on{border-color:var(--bw-primary);background:var(--bw-accent)}
.bw-crow .cr{width:18px;height:18px;border-radius:50%;border:2px solid var(--bw-border);flex:none;position:relative}
.bw-crow.on .cr{border-color:var(--bw-primary)}
.bw-crow.on .cr::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--bw-primary)}
.bw-crow .cn b{display:block;font-size:15px;font-weight:600}
.bw-crow .cn span{font-size:13px;color:var(--bw-mut-fg)}
.bw-dates{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.bw-date{border:1px solid var(--bw-border);background:#fff;border-radius:10px;padding:9px 14px;text-align:center;cursor:pointer;transition:.14s;min-width:64px}
.bw-date:hover{border-color:var(--bw-primary)}
.bw-date.on{background:var(--bw-primary);border-color:var(--bw-primary);color:#fff}
.bw-date .d{font-size:12px;opacity:.75}
.bw-date .n{font-size:17px;font-weight:700}
.bw-times{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px;margin-top:12px}
.bw-time{border:1px solid var(--bw-border);background:#fff;border-radius:8px;padding:10px 0;text-align:center;font-size:14px;font-weight:600;cursor:pointer;transition:.14s}
.bw-time:hover{border-color:var(--bw-primary)}
.bw-time.on{background:var(--bw-primary);border-color:var(--bw-primary);color:#fff}

/* bulk-billing alert */
.bw-bb{display:flex;align-items:flex-start;gap:11px;border:1px solid hsl(150 50% 80%);background:hsl(150 60% 97%);border-radius:12px;padding:14px 16px;margin-top:16px}
.bw-bb svg{width:20px;height:20px;color:hsl(150 60% 34%);flex:none;margin-top:1px}
.bw-bb b{display:block;font-size:14.5px;color:hsl(150 50% 22%)}
.bw-bb span{font-size:13px;color:hsl(150 30% 30%)}

/* confirmation */
.bw-done{text-align:center;padding:20px 10px}
.bw-done .dic{width:72px;height:72px;border-radius:50%;background:hsl(150 60% 95%);display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.bw-done .dic svg{width:36px;height:36px;color:hsl(150 60% 36%)}
.bw-done h2{font-size:24px;font-weight:700;margin:0 0 10px}
.bw-done p{font-size:15px;color:var(--bw-mut-fg);max-width:44ch;margin:0 auto;line-height:1.6}

/* nav */
.bw-nav{display:flex;align-items:center;gap:12px;margin-top:22px}
.bw-nav.first{justify-content:center}
.bw-nav.split{justify-content:space-between}
.bw-btn{height:48px;padding:0 30px;border-radius:8px;font-size:16px;font-weight:600;font-family:inherit;cursor:pointer;transition:.15s;border:1px solid transparent}
.bw-btn.primary{background:var(--bw-primary);color:#fff}
.bw-btn.primary:hover{background:hsl(214 84% 36%)}
.bw-btn.outline{background:#fff;color:var(--bw-fg);border-color:var(--bw-border)}
.bw-btn.outline:hover{border-color:var(--bw-primary);color:var(--bw-primary)}
.bw-legal{max-width:800px;margin:28px auto 0;text-align:center;font-size:13px;line-height:1.6;color:var(--bw-mut-fg)}
.bw-legal a{color:var(--bw-primary)}
.bw-note{max-width:800px;margin:0 auto 14px;font-size:12px;color:var(--bw-mut-fg);display:flex;align-items:center;gap:7px;justify-content:center}
.bw-note svg{width:14px;height:14px}

/* ===== campaign-page.css ===== */
/* ============================================================================
 HAVEN - Campaign landing template  (scope: .cmp) - additive glue only.
 Composed ENTIRELY from existing block classes (pb-hero, h2-stats, cli-steps,
 pb-testi, loc-form, dev-qa, pb-bigcta). This file adds only campaign hero
 sizing, the screening-embed teaser card, and disclaimer treatment.
 ============================================================================ */

/* scroll-reveal - gentle, brand-restrained */
.cmp .rvl { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.cmp .rvl.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .cmp .rvl { opacity: 1; transform: none; transition: none; } }

/* campaign hero - reuses pb-hero, slightly shorter for campaign focus */
.cmp .pb-hero { min-height: clamp(460px, 66vh, 620px); }
.cmp .pb-hero .bg { background-image: url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=1800&q=70"); background-position: 50% 40%; }
.cmp .pb-hero .elig { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 9px 18px; font-size: .92rem; font-weight: 600; color: #fff; margin-bottom: 20px; }
.cmp .pb-hero .elig .lucide { width: 16px; height: 16px; color: var(--al-cyan); }
.cmp .pb-hero .quick { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.85); }
.cmp .pb-hero .quick .lucide { width: 15px; height: 15px; color: var(--al-cyan); }

/* screening-tool embed teaser */
.cmp-screen { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.cmp-screen .mock { background: #fff; border: 1px solid var(--grey-200); border-radius: 22px; box-shadow: var(--shadow-md); padding: clamp(24px, 3vw, 36px); }
.cmp-screen .mock .qlabel { font-size: .78rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); }
.cmp-screen .mock h3 { font-size: 1.3rem; margin: 10px 0 18px; }
.cmp-screen .opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--grey-300); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; font-size: .98rem; color: var(--grey-700); cursor: pointer; transition: .15s; }
.cmp-screen .opt:hover { border-color: var(--al-blue); background: var(--info-bg); }
.cmp-screen .opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--grey-300); flex: none; }
.cmp-screen .opt.sel { border-color: var(--al-blue); background: var(--info-bg); font-weight: 600; color: var(--al-blue-dark); }
.cmp-screen .opt.sel .dot { border-color: var(--al-blue); background: radial-gradient(circle at center, var(--al-blue) 45%, #fff 50%); }
.cmp-screen .mock .prog { height: 5px; border-radius: 999px; background: var(--grey-200); margin-top: 16px; overflow: hidden; }
.cmp-screen .mock .prog i { display: block; height: 100%; width: 20%; background: var(--al-blue); border-radius: 999px; transition: width .35s ease; }
.cmp-screen .mock .result { text-align: center; padding-block: 10px; }
.cmp-screen .mock .result .ric2 { width: 56px; height: 56px; border-radius: 50%; background: var(--info-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.cmp-screen .mock .result .ric2 .lucide { width: 26px; height: 26px; color: var(--al-blue); }
.cmp-screen .mock .result h3 { margin: 0 0 8px; }
.cmp-screen .mock .result p { font-size: .95rem; color: var(--grey-700); line-height: 1.6; margin: 0 0 18px; }
.cmp-screen .mock .pmeta { font-size: .78rem; color: var(--grey-500); margin-top: 8px; }

/* disclaimer / footnote treatment */
.cmp-disc { border-top: 1px solid var(--grey-200); }
.cmp-disc p { font-size: .8rem; line-height: 1.6; color: var(--grey-500); max-width: none; margin: 0; padding-block: 20px; }
.cmp-disc sup { color: var(--al-blue); font-weight: 700; }
.cmp .h2-stats sup, .cmp .pb-hero sup { font-weight: 700; }

@media (max-width: 920px){ .cmp-screen { grid-template-columns: 1fr; } }

/* ===== form-page.css ===== */
/* ============================================================================
 HAVEN - Form page template  (scope: .frm, inside main.pb)
 Reuses loc-form field styles; adds routing-key primacy, 4 states, sidebar,
 and the "Send Referral to My Email" minimal variant.
 ============================================================================ */

.frm-head { padding: 34px 0 clamp(24px, 3vw, 36px); }
.frm-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; margin: 18px 0 0; }
.frm-head .intro { font-size: 1.1rem; line-height: 1.7; color: var(--grey-700); max-width: none; margin: 14px 0 0; }
.frm-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; background: var(--info-bg); border: 1px solid #CFE0F5; border-radius: 999px; padding: 12px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--al-blue-dark); text-decoration: none; transition: .16s; }
.frm-phone:hover { background: #DCEAFB; transform: translateY(-1px); }
.frm-phone .lucide { width: 19px; height: 19px; color: var(--al-blue); }
.frm-phone span.s { font-size: .82rem; font-weight: 400; font-family: var(--font-body); color: var(--grey-500); }

/* shell: form + sidebar */
.frm-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4.5vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
.frm-card { background: #fff; border: 1px solid var(--grey-200); border-radius: 24px; box-shadow: var(--shadow-sm); padding: clamp(26px, 3.5vw, 44px); }

/* routing keys - visually primary */
.frm-route { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 16px; padding: 20px; margin-bottom: 24px; }
.frm-route .rlabel { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); margin-bottom: 14px; }
.frm-route .rlabel .lucide { width: 15px; height: 15px; }
.frm-route .frow { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.frm-route select, .frm-route input { font-size: 1.02rem; padding: 14px 16px; border-width: 2px; }

/* field states */
.frm .field.err input, .frm .field.err select, .frm .field.err textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(215,0,30,.08); }
.frm .field .emsg { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--danger); font-weight: 600; }
.frm .field .emsg .lucide { width: 13px; height: 13px; }

/* success + failure panels */
.frm-state { text-align: center; padding: clamp(20px, 3vw, 36px) 10px; }
.frm-state .sic { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.frm-state.ok .sic { background: var(--ok-bg); }
.frm-state.ok .sic .lucide { width: 30px; height: 30px; color: var(--ok); }
.frm-state.fail .sic { background: var(--danger-bg); }
.frm-state.fail .sic .lucide { width: 30px; height: 30px; color: var(--danger); }
.frm-state h3 { font-size: 1.5rem; margin: 0 0 10px; }
.frm-state p { font-size: 1rem; line-height: 1.65; color: var(--grey-700); max-width: 46ch; margin: 0 auto 8px; }
.frm-next { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 22px auto 0; text-align: left; }
.frm-next .step { display: flex; align-items: flex-start; gap: 12px; background: var(--grey-50); border-radius: 12px; padding: 13px 16px; font-size: .92rem; line-height: 1.5; color: var(--grey-700); }
.frm-next .step .n { width: 24px; height: 24px; border-radius: 50%; background: var(--al-blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .78rem; display: flex; align-items: center; justify-content: center; flex: none; }

/* consent microcopy */
.frm-consent { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 18px; font-size: .86rem; line-height: 1.55; color: var(--grey-700); }
.frm-consent input { accent-color: var(--al-blue); width: 17px; height: 17px; margin-top: 2px; flex: none; }

/* sidebar */
.frm-side { position: sticky; top: 96px; background: #fff; border: 1px solid var(--grey-200); border-radius: 20px; box-shadow: var(--shadow-xs); padding: 26px; }
.frm-side .flabel { font-size: .74rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--al-healthcare); margin-bottom: 16px; }
.frm-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.frm-side li { display: flex; align-items: flex-start; gap: 12px; font-size: .93rem; line-height: 1.55; color: var(--grey-700); }
.frm-side li .lucide { width: 18px; height: 18px; color: var(--al-blue); flex: none; margin-top: 2px; }
.frm-side li a { color: var(--al-blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
.frm-side li a:hover { color: var(--al-blue-dark); text-decoration: underline; }

/* referral variant */
.frm-ref .frm-card { max-width: 560px; margin-inline: auto; }
.frm-ref .lead2 { font-size: 1.05rem; line-height: 1.7; color: var(--grey-700); margin: 0 0 22px; }

/* demo control */
.frm-demo-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--grey-500); flex-wrap: wrap; }
.frm-demo-ctl .seg { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; flex-wrap: wrap; }
.frm-demo-ctl button { background: #fff; border: none; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--grey-500); cursor: pointer; white-space: nowrap; }
.frm-demo-ctl button.on { background: var(--al-blue); color: #fff; }

@media (max-width: 920px){
  .frm-shell { grid-template-columns: 1fr; }
  .frm-side { position: static; }
  .frm-route .frow { grid-template-columns: 1fr; }
}
