/* Shared scaffolding additions. The accepted homepage styles/tokens remain primary. */
.page-hero{padding-bottom:clamp(64px,7vw,104px)}
.page-hero-actions{display:flex;flex-wrap:wrap;gap:16px}
.page-hero-actions .hero-cta--stone{background:var(--stone);color:var(--white);border-color:transparent}
.page-hero-actions .hero-cta--stone:hover{background:var(--ink);color:var(--white)}
.page-feature.page-feature--image{display:block;aspect-ratio:2.05;padding-bottom:0;overflow:hidden}
.page-feature--image>img{width:100%;height:auto;display:block;border-radius:var(--tl-radius) var(--tl-radius) 0 0}
.page-feature.page-feature--diagram{display:grid;place-items:center;aspect-ratio:auto;background:var(--tl-neutral-175)}
.page-feature--diagram>img{display:block;width:100%;height:auto;object-fit:contain}
.page-directory>p,.scaffold-split>div>p{font-size:18px;line-height:1.65;color:var(--muted);max-width:54ch}
.footer-directory { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px 30px; font-size: 13px; }
.footer-directory a { text-decoration: none; }
.nav-trigger[data-active="true"], .flyout-link[aria-current="page"] .flyout-title { color: var(--ink); font-weight: 700; }
.flyout-link[aria-current="page"] .flyout-title { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.page-hero .hero-copy { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-hero h1 { font-size: clamp(52px, 5.8vw, 84px); line-height: 1.05; letter-spacing: -.045em; overflow-wrap: break-word; }
.page-feature { margin: 70px 0 0; padding: clamp(28px, 5vw, 72px); aspect-ratio: 2.25; display: grid; place-items: stretch; border-radius: 12px; overflow: hidden; }
.page-feature--product { background: radial-gradient(circle at 70% 10%, var(--visual-halo), transparent 48%), url('/assets/texture-stone-subtle.svg'), var(--stone); background-size: auto, 260px, auto; }
.asset-placeholder { display: grid; place-items: center; min-width: 0; padding: 28px; background: var(--tl-color-bg-surface-quiet); border-radius: 8px; text-align: center; color: var(--tl-color-text-secondary); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.asset-placeholder p { margin: 0; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.5; max-width: 36ch; }
.page-feature--photo { background: var(--tl-neutral-225); }
.page-feature.page-feature--embed{display:block;padding:0;aspect-ratio:auto;background:none;border-radius:0;overflow:visible}
.page-feature.page-feature--photography{display:block;padding:0}
.page-feature--photography>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.page-feature--photography>img[src$="use-cases-claims-featured.png"]{object-position:center top}
.page-feature--photography>img[src$="use-cases-research-featured.png"]{object-position:center top}
.page-feature--photography>img[src$="use-cases-prior-authorization-featured.png"]{object-position:center top}
/* 25% taller than the standard 2.25 photo frame; preserve both faces. */
.page-feature--policy-photo>img{object-position:center top}
@media(min-width:801px){.page-feature.page-feature--policy-photo{aspect-ratio:1.8}}
.page-feature--photography>img[src$="use-cases-healthcare-operations-featured-v2.png"]{object-position:center top}
.page-feature--photography>img[src$="use-cases-pharmacy-featured.png"]{object-position:50% 20%}
.page-feature--photography>img[src$="security-baa-phi-featured.jpg"]{object-position:50% 25%}
.page-feature--photo .asset-placeholder { background: transparent; box-shadow: none; }
.proof-pending { padding: 64px var(--gutter); margin-top: 0; text-align: center; background: var(--white); color: var(--muted); }
.proof-pending p { margin: 0; font-size: 15px; line-height: 1.6; }
.scaffold-split, .page-directory, .scaffold-example, .resource-empty { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 144px) var(--gutter); }
.scaffold-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); }
.scaffold-split h2, .page-directory h2, .scaffold-example h2, .resource-empty h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.5vw, 64px); line-height: 1.05; letter-spacing: -.035em; margin: 0; }
.scaffold-split > div > p, .resource-empty p { font-size: 18px; line-height: 1.6; color: var(--tl-color-text-secondary); }
.scaffold-split--trust .source-index-register { padding: 20px 36px; border-radius: 12px; background: var(--stone); color: var(--white); }
.scaffold-split--trust .source-index-register p { color: var(--tl-neutral-250); }
.scaffold-split--trust .source-index-register article { border-color: rgba(255,255,255,.18); }
.page-directory h2 { margin-bottom: 56px; }
.page-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.page-directory-link { display: block; padding: 30px 0 38px; border-top: 1px solid var(--line); text-decoration: none; }
.page-directory-link h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 0 0 14px; }
.page-directory-link p { font-size: 16px; line-height: 1.6; color: var(--tl-color-text-secondary); max-width: 46ch; }
.page-directory-link span, .inline-link { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; font-size: 14px; }
.page-directory-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.page-final-cta { min-height: 460px; }
.page-final-cta h2 { font-size: clamp(56px, 7vw, 100px); line-height: 1.05; }
.contact-pending { margin-top: 50px; }
@media (max-width: 1060px) {
  .page-hero .hero-copy { grid-template-columns: 1fr 1fr; gap: 36px; }
}
/* Preserve desktop compositions while removing the original fixed tablet minimums. */
@media (min-width: 801px) and (max-width: 1250px) {
  .what-is { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 48px; }
  .security { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
  .security-register div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
  .source-index-intro, .source-index-layout { gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .product-directory-heading, .product-directory-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; }
  .hero-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .hero h1 { line-height: 1.03; }
  .page-hero .hero-copy, .scaffold-split, .page-directory-list { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(44px, 11vw, 64px); }
  .page-feature { aspect-ratio: 1.3; margin-top: 54px; padding: 22px; }
  .asset-placeholder { padding: 18px; }
  .scaffold-split--trust .source-index-register { padding: 12px 24px; }
  .page-directory-list { gap: 0; }
  .page-final-cta { min-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
