/* SHMS website - single stylesheet, no external fonts or frameworks */
:root {
  --navy-900: #0a1a3f;
  --navy-800: #0f2557;
  --navy-700: #003399;
  --blue-600: #1f5fd1;
  --blue-500: #3468cf;
  --blue-100: #e6eefc;
  --blue-50: #f3f7fe;
  --ink: #16213a;
  --muted: #4f5b73;
  --line: #dde3ee;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 26, 63, .06), 0 8px 24px rgba(10, 26, 63, .08);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-900); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-700); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); }
.brand img { width: auto; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.15rem; letter-spacing: .08em; color: var(--navy-700); }
.brand-text span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 560; font-size: .95rem; padding: .5rem .75rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-50); color: var(--navy-700); }
.nav .btn { margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; font: inherit; color: var(--ink); cursor: pointer; }
.has-menu { position: relative; }
.has-menu > button { background: none; border: 0; font: inherit; font-weight: 560; font-size: .95rem; color: var(--ink); padding: .5rem .75rem; border-radius: 8px; cursor: pointer; }
.has-menu > button:hover, .has-menu.open > button { background: var(--blue-50); color: var(--navy-700); }
.has-menu > button::after { content: ""; display: inline-block; margin-left: .4rem; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; }
.has-menu.open .submenu { display: block; }
.submenu a { display: block; padding: .6rem .75rem; }
.submenu a small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; }
  .nav.open { display: flex; }
  .nav .btn { margin: .5rem 0 0; text-align: center; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0 .75rem; display: block; }
  .has-menu > button { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-weight: 650; text-decoration: none; border-radius: 10px; padding: .75rem 1.25rem; border: 2px solid transparent; cursor: pointer; font-size: .98rem; font-family: inherit; }
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover { background: var(--navy-800); color: #fff; }
.btn-light { background: #fff; color: var(--navy-700); }
.btn-light:hover { background: var(--blue-100); color: var(--navy-800); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { border-color: var(--line); color: var(--navy-700); background: #fff; }
.btn-ghost:hover { border-color: var(--blue-500); }

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(52,104,207,.55), transparent 60%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 85%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d7e2fb; max-width: 58ch; }
.hero .eyebrow { color: #a9c1f5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; }
.hero-panel { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 1.5rem; }
.hero-panel h2 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hero-panel li { display: flex; gap: .65rem; align-items: center; color: #e4ecfd; font-size: .98rem; }
.hero-panel li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7fa6f2; flex: 0 0 auto; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.page-hero .container { padding: clamp(3rem, 7vw, 4.75rem) 0 clamp(2.5rem, 6vw, 3.75rem); }
.page-hero h1 { max-width: 22ch; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--blue-50); border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .75rem; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 650; text-decoration: none; }
.card .more::after { content: " \2192"; }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--blue-500); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); color: var(--navy-700); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 24px; height: 24px; }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .icon { flex: 0 0 auto; margin: 0; }
.feature h3 { margin-bottom: .3rem; }
.feature p { color: var(--muted); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23003399' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 80% no-repeat; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stat { border-left: 3px solid var(--blue-500); padding-left: 1rem; }
.stat strong { display: block; font-size: 1.9rem; color: var(--navy-700); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

.module-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; list-style: none; padding: 0; margin: 0; }
.module-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; font-weight: 600; color: var(--navy-800); }
@media (max-width: 900px) { .module-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .module-list { grid-template-columns: 1fr; } }

.callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue-500); border-radius: 10px; padding: 1.25rem 1.4rem; }
.callout p:last-child { margin: 0; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; border-radius: 20px; padding: clamp(2rem, 5vw, 3.25rem); display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .35rem; }
.cta p { color: #d7e2fb; margin: 0; max-width: 52ch; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 620; font-size: .93rem; margin-bottom: .35rem; color: var(--navy-900); }
.field .req { color: #b42318; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1px solid #c6cfde; border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); outline: 3px solid rgba(52,104,207,.2); outline-offset: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
@media (max-width: 520px) { .choices { grid-template-columns: 1fr; } }
.choices label { font-weight: 450; display: flex; gap: .55rem; align-items: center; margin: 0; }
.choices input { width: 1.1rem; height: 1.1rem; accent-color: var(--navy-700); }
.hint { font-size: .86rem; color: var(--muted); margin-top: .35rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: 1rem 1.2rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; }
.form-status.err { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.contact-card { position: sticky; top: 96px; }
.contact-card dl { margin: 0; display: grid; gap: 1rem; }
.contact-card dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: .15rem 0 0; font-weight: 560; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose ul { padding-left: 1.25rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9c6e4; margin-top: 0; }
.site-footer a { color: #dbe5fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3.5rem 0 2.5rem; }
.footer-grid h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand { display: flex; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.footer-brand strong { color: #fff; letter-spacing: .06em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; font-size: .88rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
address { font-style: normal; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } }

/* Utilities (no inline styles: the Content-Security-Policy blocks them) */
.pt-0 { padding-top: 0 !important; }
.stat-row.stat-col { grid-template-columns: 1fr; }
.h-sm { font-size: 1.25rem; }
.prose.center { text-align: center; margin-inline: auto; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--navy-700); padding: .6rem 1.1rem; }
.nav a.btn-primary:hover { background: var(--navy-800); }

[hidden] { display: none !important; }

/* 100% US-based highlight */
.us-badge { display: inline-flex; align-items: center; gap: .5rem; margin: 1.25rem 0 0; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 650; font-size: .95rem; }
.us-badge svg { width: 18px; height: 18px; }
.us-band { display: flex; gap: 1.25rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy-700); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); margin-bottom: 3rem; }
.us-band .icon { flex: 0 0 auto; margin: 0; }
.us-band h2 { font-size: 1.45rem; margin-bottom: .4rem; }
.us-band p { color: var(--muted); margin: 0; max-width: 70ch; }

/* Module tiles with icons */
.module-list li { display: flex; align-items: center; gap: .7rem; }
.module-list .mi { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: var(--blue-100); color: var(--navy-700); display: grid; place-items: center; }
.module-list .mi svg { width: 19px; height: 19px; }
