/* Terra Vita Hub v444.4 — Institutional Readiness Review readability lock
   Purpose: restores readable protected/public IRR hero typography after site-wide CSS normalization.
   Boundary: presentation-only; no SQL, auth, Supabase, readiness, scoring, approval or investment-advice logic changed. */
body.irr443-page,
body.irr443-protected{
  background:#f8f6ec !important;
}
body.irr443-page .irr443-hero,
body.irr443-protected .irr443-hero{
  position:relative !important;
  isolation:isolate !important;
  background:linear-gradient(135deg,#061e31 0%,#0a2a43 58%,#315843 100%) !important;
  color:#fffdf6 !important;
}
body.irr443-page .irr443-hero::before,
body.irr443-protected .irr443-hero::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  pointer-events:none !important;
  background:radial-gradient(circle at 12% 0%,rgba(244,208,111,.11),transparent 32rem),radial-gradient(circle at 90% 12%,rgba(255,253,246,.07),transparent 28rem) !important;
  z-index:-1 !important;
}
body.irr443-page .irr443-hero h1,
body.irr443-protected .irr443-hero h1{
  color:#fffdf6 !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
  text-shadow:0 2px 18px rgba(0,0,0,.22) !important;
  font-size:clamp(42px,6.2vw,76px) !important;
  line-height:.98 !important;
  letter-spacing:-.04em !important;
  max-width:13ch !important;
  margin:0 0 18px !important;
}
body.irr443-page .irr443-lead,
body.irr443-protected .irr443-lead,
body.irr443-page .irr443-boundary-card p,
body.irr443-protected .irr443-boundary-card p{
  color:rgba(255,253,246,.9) !important;
}
body.irr443-page .irr443-meta,
body.irr443-protected .irr443-meta,
body.irr443-page .irr443-meta span,
body.irr443-protected .irr443-meta span{
  color:#f4d06f !important;
  opacity:1 !important;
}
body.irr443-page .irr443-meta .line,
body.irr443-protected .irr443-meta .line{
  background:rgba(244,208,111,.52) !important;
}
body.irr443-page .irr443-boundary-card,
body.irr443-protected .irr443-boundary-card{
  background:rgba(255,255,255,.09) !important;
  border-color:rgba(255,255,255,.24) !important;
  color:#fffdf6 !important;
}
body.irr443-page .irr443-boundary-card strong,
body.irr443-protected .irr443-boundary-card strong{
  color:#fffdf6 !important;
}
body.irr443-page .irr443-pill-row span,
body.irr443-protected .irr443-pill-row span{
  color:#fffdf6 !important;
  background:rgba(255,255,255,.09) !important;
  border-color:rgba(255,255,255,.25) !important;
}
body.irr443-page .irr443-actions a,
body.irr443-protected .irr443-actions a{
  background:rgba(255,255,255,.09) !important;
  color:#fffdf6 !important;
  border-color:rgba(255,255,255,.25) !important;
}
body.irr443-page .irr443-actions a.primary,
body.irr443-protected .irr443-actions a.primary{
  background:#f4d06f !important;
  color:#09243a !important;
  border-color:#f4d06f !important;
}
body.irr443-protected .irr443-error{
  border-color:rgba(168,121,61,.30) !important;
  background:#fff8e7 !important;
  color:#3b3422 !important;
}
body.irr443-protected #irr443-fallback .irr443-panel-head h3{
  color:#10231f !important;
}
@media(max-width:860px){
  body.irr443-page .irr443-hero h1,
  body.irr443-protected .irr443-hero h1{
    max-width:100% !important;
    font-size:clamp(38px,12vw,56px) !important;
  }
}
