/* Shared refinements and the IV Medics extension. */
:root { --iv: #a6da75; --iv-dark: #0c221b; --iv-deep: #0a1915; --iv-muted: #bed0c4; }
section[id] { scroll-margin-top: 92px; }
button, input, textarea, select { font: inherit; }
button:disabled { opacity: .65; cursor: wait; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.skip-link { position: fixed; left: 20px; top: -90px; background: white; color: var(--navy); padding: 14px 24px; z-index: 100; }
.skip-link:focus { top: 10px; }
.nav-in { max-width: 1360px; }
.nav-r { gap: 20px; }
.nav-r a { font-size: .875rem; letter-spacing: .045em; color: #b4beca; }
.nav-r a.cta { padding: 11px 16px; }
.nav-r a.nav-medic { color: #b4beca; padding-left: 0; }
.nav-r a.nav-medic::before { display: none; }
.nav-r a.nav-medic:hover, .nav-r a.nav-iv:hover { color: white; }
.nav-r a.nav-iv { color: var(--iv); }
.nav-r a[aria-current=page] { text-decoration: underline; text-underline-offset: 8px; }
.brand, .brand .mark { flex-shrink: 0; }
.wm-sub { font-size: .75rem; letter-spacing: .12em; }
.btn { font-size: .875rem; letter-spacing: .075em; line-height: 1.5; min-height: 48px; text-align: center; }
.eyebrow, .scope-tag { font-size: .875rem; letter-spacing: .12em; }
.hero .lede { color: #adb7c4; }
.tier-n { width: 26px; height: 2px; background: var(--gold); margin-bottom: 26px; }
.tier p, .scope-card li { font-size: 1rem; }
.scope-card.feature li, .select p { color: #adb7c4; }
.events-grid li::before { width: 14px; height: 1px; transform: translateY(-5px); }
.req-meta dt, #req-form label, .err-msg { font-size: .875rem; letter-spacing: .045em; }
.req-meta dd, #req-form input, #req-form select, #req-form textarea { font-size: 1rem; }
.req-meta dd { overflow-wrap: anywhere; }
#req-form select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23495860' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.ftr-links { display: flex; flex-wrap: wrap; gap: 16px 26px; }
.ftr-links a, .ftr-help-q { font-size: .875rem; }
.legal-hero .stamp { color: #aab6c4; }
.btn-iv { background: var(--iv); border-color: var(--iv); color: #14281a; }
.btn-iv:hover { background: #c1ee99; border-color: #c1ee99; color: #14281a; }
.iv-feature { background: var(--iv-deep); color: white; padding: 88px 0; }
.iv-feature-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.iv-feature .eyebrow { color: var(--iv); }
.iv-feature .eyebrow::before { background: var(--iv); }
.iv-feature h2 { font-size: clamp(36px, 4.5vw, 60px); }
.iv-feature h2 em { color: var(--iv); font-weight: 400; }
.iv-feature-copy { color: var(--iv-muted); max-width: 530px; margin: 24px 0 30px; }
.iv-feature-photo { position: relative; margin: 0; aspect-ratio: 1.25; overflow: hidden; }
.iv-feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.iv-feature-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, #06160ded); font-family: var(--display); font-size: 27px; }
.iv-feature-photo figcaption span { display: block; font-family: var(--mono); font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--iv-muted); }
@media (min-width: 1101px) { .nav-r { visibility: visible !important; } }
@media (max-width: 1100px) {
 .nav-in { height: 72px; padding-right: 84px; }
 .nav-toggle { display: inline-flex; position: fixed; top: 14px; right: 20px; z-index: 60; }
 .nav-r { position: fixed; inset: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 86px 24px 24px; transform: translateY(-100%); visibility: hidden; transition: transform .25s, visibility .25s; z-index: 49; overflow-y: auto; }
 .nav-r.open { transform: translateY(0); visibility: visible; }
 .nav-r a, .nav-r a.nav-medic { padding: 16px 4px; font-size: 1rem; border-bottom: 1px solid #ffffff19; }
 .nav-r a.cta { margin-top: 16px; text-align: center; padding: 16px; }
 body.nav-open { overflow: hidden; }
}
@media (max-width: 780px) {
 .brand .wm { font-size: 1rem; }
 .brand .wm-sub { font-size: .75rem; }
 .iv-feature-in { grid-template-columns: 1fr; gap: 36px; }
 .iv-feature-photo { aspect-ratio: 1.7; }
 .iv-feature { padding: 64px 0; }
 .hero { padding: 52px 0 64px; }
 .hero-in { padding-top: 0; }
 .hero .hero-img { order: initial; margin-top: 28px; }
}
@media (max-width: 400px) { .brand .wm { font-size: .875rem; } .brand { gap: 8px; } .nav-in { padding-left: 16px; } .brand .wm-sub { font-size: .75rem; letter-spacing: .045em; } }
