/* ============================================================
   HWASC — Healthcare Workforce Access Standards Commission
   Shared stylesheet for all site pages
   ============================================================ */

:root {
  --navy: #0f2a43;
  --navy-2: #16395a;
  --navy-deep: #0a1f33;
  --teal: #0e7c86;
  --teal-light: #e6f4f5;
  --gold: #c9a227;
  --ink: #24313c;
  --muted: #5b6b78;
  --line: #dde5ea;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }

/* ===== Top navigation ===== */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-nav .brand img { height: 52px; width: auto; }
.site-nav nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.site-nav nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 13px;
  border-radius: 6px;
  transition: background .15s ease;
}
.site-nav nav a:hover { background: var(--teal-light); }
.site-nav nav a.active {
  background: var(--navy);
  color: #fff;
}
.site-nav nav a.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  margin-left: 6px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1d4d6b 100%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(14,124,134,0.25);
}
.hero::before {
  content: "";
  position: absolute;
  right: 60px; bottom: -160px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(201,162,39,0.12);
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.2;
  font-weight: 700;
  max-width: 840px;
  margin-bottom: 14px;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #cfe3ec;
  max-width: 760px;
  margin-bottom: 20px;
  font-weight: 500;
}
.hero .hero-body {
  font-size: 1.05rem;
  color: #b9d2de;
  max-width: 780px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 14px rgba(201,162,39,0.35); }
.btn-outline { border: 2px solid rgba(255,255,255,0.7); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(14,124,134,0.3); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(15,42,67,0.3); }

/* ===== Sections ===== */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
h2 {
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 12px;
}
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 4px;
  border-radius: 2px;
  background: var(--gold);
}
.center h2 { display: inline-block; }
.center h2::after { left: 50%; transform: translateX(-50%); }
.center { text-align: center; }
h3 { color: var(--navy); }
.section-sub { color: var(--muted); max-width: 780px; margin-bottom: 28px; font-size: 1.02rem; }
p + p { margin-top: 14px; }
.lead-p { font-size: 1.06rem; max-width: 860px; margin-bottom: 14px; }
.statement { font-size: 1.3rem; color: var(--navy); font-weight: 600; margin-top: 24px; }

.highlight-box {
  margin: 30px 0 10px;
  background: var(--teal-light);
  border-left: 5px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 22px 28px;
  max-width: 880px;
}
.highlight-box p { margin: 0; font-size: 1.04rem; color: var(--navy); }

.notice-box {
  background: #fdf6e3;
  border: 1px solid #e8d59a;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.96rem;
  color: #6b5a17;
  margin: 20px 0;
  max-width: 880px;
}

.placeholder {
  background: #fff4f0;
  border: 1.5px dashed #d98d6e;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #a05a3c;
  margin: 16px 0;
  max-width: 880px;
}
.placeholder strong { color: #8a4429; }

/* ===== Card grids ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 2px 10px rgba(15,42,67,0.04);
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.97rem; margin-bottom: 14px; }
.card .card-link {
  margin-top: auto;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.97rem;
}
.card .card-link:hover { text-decoration: underline; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card.accent-teal { border-top: 5px solid var(--teal); }
.card.accent-gold { border-top: 5px solid var(--gold); }
.card.accent-navy { border-top: 5px solid var(--navy); }

/* ===== Numbered cards ===== */
.num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.num-card {
  background: var(--teal-light);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.num-card.on-white { background: #fff; border: 1px solid var(--line); }
.num-badge {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.num-card p { font-size: 0.97rem; color: var(--navy); }
.num-card strong { display: block; margin-bottom: 3px; }

/* ===== Chips ===== */
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; max-width: 920px; }
.chip {
  background: #fff;
  border: 1.5px solid var(--teal);
  color: var(--navy);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.94rem;
  font-weight: 500;
}

/* ===== Checklist ===== */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.check-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 500;
}
.check-item svg { flex: 0 0 auto; margin-top: 2px; }

/* ===== Scope blocks ===== */
.scope-block {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 0 10px 10px 0;
  padding: 26px 30px;
  margin-bottom: 20px;
  max-width: 920px;
}
.scope-block h3 { font-size: 1.08rem; margin-bottom: 10px; }
.scope-block p { font-size: 0.98rem; }
.scope-block.exclusion { border-left-color: #b3452f; }
.scope-verbatim {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 32px;
  max-width: 920px;
  font-size: 0.98rem;
}
.scope-verbatim p { margin-bottom: 14px; }
.scope-verbatim p:last-child { margin-bottom: 0; }

/* ===== FAQ / accordions ===== */
.faq-list { max-width: 880px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-body { padding: 18px 22px; font-size: 0.98rem; }
.faq-body p { margin-bottom: 12px; }
.faq-body p:last-child { margin-bottom: 0; }

/* ===== Process steps ===== */
.steps { max-width: 880px; counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { font-size: 0.97rem; }

/* ===== Founding / involvement cards ===== */
.founding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
}
.founding-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15,42,67,0.05);
}
.founding-card.sme { border-top: 5px solid var(--teal); }
.founding-card.sponsor { border-top: 5px solid var(--gold); }
.founding-card.committee { border-top: 5px solid var(--navy); }
.founding-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.founding-card p { font-size: 0.99rem; margin-bottom: 14px; }
.founding-card .btn { align-self: flex-start; margin-top: auto; }
.no-influence {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.no-influence strong { display: block; color: var(--navy); margin-bottom: 8px; font-size: 0.95rem; }
.no-influence ul { list-style: none; }
.no-influence li {
  font-size: 0.93rem;
  padding: 3px 0 3px 24px;
  position: relative;
  color: var(--ink);
}
.no-influence li::before {
  content: "\2715";
  position: absolute;
  left: 2px;
  color: #b3452f;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===== Definition strip ===== */
.def-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.def-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 24px 22px;
  box-shadow: 0 2px 10px rgba(15,42,67,0.04);
}
.def-card .def-term {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.def-card .def-term::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.def-card.d-navy .def-term::before { background: var(--navy); }
.def-card.d-teal .def-term::before { background: var(--teal); }
.def-card.d-gold .def-term::before { background: var(--gold); }
.def-card.d-teal { border-top: 4px solid var(--teal); }
.def-card p { font-size: 0.97rem; margin: 0; }

/* ===== Comparison table ===== */
.compare-wrap { overflow-x: auto; margin: 30px 0; }
table.compare {
  width: 100%;
  max-width: 960px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.96rem;
}
table.compare th, table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare thead th {
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
table.compare thead th:first-child { width: 24%; }
table.compare tbody th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}
table.compare td.yes { color: #22663a; font-weight: 500; }
table.compare td.no { color: #b3452f; font-weight: 500; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: none; }

/* ===== Visit-vs-job tiers ===== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 30px 0 10px;
}
.tier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.tier-card.job {
  border: 2px solid var(--teal);
  background: var(--teal-light);
  box-shadow: 0 4px 16px rgba(14,124,134,0.15);
}
.tier-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}
.tier-card.job .tier-badge {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.tier-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.tier-card p { font-size: 0.94rem; margin: 0; }
.tier-card .tier-req {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.tier-card.job .tier-req { color: var(--teal); border-top-color: rgba(14,124,134,0.35); }

/* ===== Pull quote ===== */
.pullquote {
  margin: 36px auto;
  max-width: 820px;
  border-left: 6px solid var(--gold);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
  padding: 30px 36px;
}
.pullquote p {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  color: var(--navy);
  font-weight: 600;
  margin: 0;
}
.pullquote .pq-em { color: var(--teal); }

/* ===== PINS listing ===== */
.pins-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 14px;
  padding: 36px 34px;
  max-width: 960px;
  box-shadow: 0 2px 12px rgba(15,42,67,0.06);
}
.pins-kicker {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.pins-designation {
  font-size: 1.05rem;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 6px;
}
.pins-card h3.pins-title { font-size: 1.45rem; margin-bottom: 16px; line-height: 1.3; }
.pins-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pins-badge {
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  color: var(--muted);
  background: var(--bg-soft);
}
.pins-badge.open { background: #e8f5ec; border-color: #79b98a; color: #22663a; }
.pins-badge.new { background: var(--teal-light); border-color: var(--teal); color: var(--teal); }
.pins-card p { font-size: 0.99rem; margin-bottom: 14px; }
.pins-card h4 {
  color: var(--navy);
  font-size: 1.02rem;
  margin: 22px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}
.interest-list { list-style: none; }
.interest-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 0.96rem;
  border-bottom: 1px solid var(--bg-soft);
}
.interest-list li:last-child { border-bottom: none; }
.interest-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 18px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
}
.interest-list strong { color: var(--navy); }
.pins-cta {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.pins-cta .deadline { font-size: 0.92rem; color: #a3542f; font-weight: 600; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy-2) 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { color: #fff; display: inline-block; }
.cta-band h2::after { left: 50%; transform: translateX(-50%); background: var(--gold); }
.cta-band p { max-width: 760px; margin: 0 auto 16px; color: #dcedef; font-size: 1.07rem; }
.cta-band .closing { font-size: 1.22rem; font-weight: 600; color: #fff; margin-top: 10px; margin-bottom: 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: #9fb3c2;
  padding: 48px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}
.site-footer img.footer-logo { height: 46px; width: auto; margin-bottom: 14px; }
.site-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #9fb3c2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-tagline { max-width: 380px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #7690a3;
}
.footer-bottom p { margin-bottom: 6px; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-nav .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  section { padding: 42px 0; }
}
