/* Theme glue. Tokens: tokens.css. Design system: haven.css (verbatim reference).
   Chrome: chrome.css. Only WordPress-specific adjustments live here. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Base typography, as the prototype's site.css. tokens.css's .ss-type scope is deliberately NOT
   applied: its `.ss-type a` / `.ss-type h1` rules out-rank single-class component styles. */
body { margin: 0; background: #fff; font-family: var(--font-body); color: var(--fg-2); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.pb-sec p a, .pb-sec li a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.pb-sec p a:hover, .pb-sec li a:hover { color: var(--link-hover); }

/* Chrome adjustments for menu-driven markup */
.g2-mega { grid-auto-flow: column; }
.g2-navitem > a { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 600; color: var(--grey-700); padding: 12px 14px; border-radius: 10px; text-decoration: none; transition: .14s; }
.g2-navitem > a:hover { color: var(--al-blue); background: var(--info-bg); }
.g2-util .grp span { display: inline-flex; align-items: center; gap: 6px; color: var(--grey-700); font-weight: 600; white-space: nowrap; }
.g2-mob .mrow { text-decoration: none; }

/* Core block styles → Haven roles */
.pb p.is-style-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 1.17rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--al-healthcare); margin: 0; }
.pb p.is-style-lead { font-size: 1.12rem; line-height: 1.6; color: var(--grey-700); }
.pb p.is-style-big { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.7; }
.pb ul.is-style-checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 14px; }
.pb ul.is-style-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; color: var(--grey-700); line-height: 1.5; }
.pb ul.is-style-checks li::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E8B57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 17px no-repeat; }

.pb .wp-block-buttons { gap: 14px; }

/* A no-seam section directly after a page head continues the head (e.g. pillar sub-page cards) */
.pil-head + .pb-sec.no-seam, .osa-head + .pb-sec.no-seam, .cnt-head + .pb-sec.no-seam, .faq-head + .pb-sec.no-seam { padding-top: 0; }

@media (max-width: 720px) { main.pb { padding-bottom: 76px; } }
