/* ── Free Cyber Health Check — /tools/cyber-health-check ──────────────────
   House style shared with the other /tools pages: navy #0f2544 hero, orange
   #f05a28 accent, semantic green/amber/red for scores. */

.chc-wrap { color: #0d1f3c; }

/* Hero */
.chc-hero {
  background: #0f2544;
  padding: 56px 24px 40px;
  text-align: center;
}
.chc-hero-inner { max-width: 660px; margin: 0 auto; }
.chc-hero-icon { margin-bottom: 14px; }
.chc-hero-icon svg { width: 52px; height: 52px; }
.chc-hero-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
}
.chc-hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin: 0 0 26px;
}
.chc-progress { max-width: 420px; margin: 0 auto; }
.chc-progress-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
  margin-bottom: 10px;
}
.chc-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: #f05a28;
  transition: width .25s ease;
}
.chc-progress-label { font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 600; }

/* Body */
.chc-outer { max-width: 820px; margin: 0 auto; padding: 36px 20px 64px; }

/* Market / industry setup */
.chc-setup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  background: #f8fafc;
  border: 1px solid #e3ebf3;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 26px;
}
.chc-label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.chc-label span { font-weight: 400; color: #64748b; }
.chc-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #d7e2ec;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #0d1f3c;
  background: #fff;
  cursor: pointer;
}
.chc-select:focus { outline: none; border-color: #0f2544; }
.chc-help { font-size: 12px; color: #64748b; line-height: 1.5; margin: 6px 0 0; }

/* Questions */
.chc-form { margin: 0; }
.chc-q {
  border: 1px solid #e3ebf3;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color .15s;
}
.chc-q--missing { border-color: #dc2626; }
.chc-q-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 14px;
}
.chc-q-num { color: #94a3b8; font-weight: 700; }

.chc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chc-opt {
  flex: 1 1 108px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #d7e2ec;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  background: #fff;
  transition: border-color .12s, background .12s, color .12s;
}
.chc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chc-opt:hover { border-color: #94a3b8; }
.chc-opt.is-sel { color: #fff; }
.chc-opt--yes.is-sel    { background: #16a34a; border-color: #16a34a; }
.chc-opt--partly.is-sel { background: #f59e0b; border-color: #f59e0b; }
.chc-opt--no.is-sel     { background: #dc2626; border-color: #dc2626; }
.chc-opt--unsure.is-sel { background: #64748b; border-color: #64748b; }

.chc-submit {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  background: #f05a28;
  border: none;
  border-radius: 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s;
}
.chc-submit:hover { opacity: .92; }
.chc-incomplete {
  font-size: 13px;
  color: #dc2626;
  font-weight: 600;
  text-align: center;
  margin: 12px 0 0;
}

/* Results */
.chc-score {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.chc-gauge-box {
  flex: 1 1 280px;
  border: 1px solid #e3ebf3;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: #fff;
}
.chc-gauge { width: 100%; max-width: 240px; display: block; margin: 0 auto; }
.chc-gauge-num { font-size: 34px; font-weight: 800; }
.chc-tier { font-size: 20px; font-weight: 800; margin: -4px 0 8px; }
.chc-tier-desc { font-size: 13.5px; color: #475569; line-height: 1.6; margin: 0; text-align: left; }

.chc-bars {
  flex: 1 1 320px;
  border: 1px solid #e3ebf3;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}
.chc-h2 { font-size: 15px; font-weight: 800; margin: 0 0 14px; color: #0d1f3c; }
.chc-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.chc-bar-name { flex: 0 0 84px; font-size: 13px; font-weight: 600; }
.chc-bar-track { flex: 1; height: 9px; background: #eef3f8; border-radius: 99px; overflow: hidden; }
.chc-bar-track i { display: block; height: 100%; border-radius: 99px; }
.chc-bar-val { flex: 0 0 42px; text-align: right; font-size: 12.5px; font-weight: 800; }

.chc-unknowns {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.6;
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid #eef3f8;
}

.chc-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.chc-card {
  border: 1px solid #e3ebf3;
  border-top-width: 3px;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}
.chc-card--gap  { border-top-color: #dc2626; }
.chc-card--good { border-top-color: #16a34a; }

.chc-gaplist { margin: 0; padding-left: 20px; }
.chc-gaplist li { margin-bottom: 14px; font-size: 13.5px; line-height: 1.5; }
.chc-gap-q { display: block; font-weight: 600; }
.chc-gap-tip { display: block; font-size: 12.5px; color: #475569; line-height: 1.55; margin-top: 5px; }
.chc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  background: #eef1f5;
  color: #64748b;
  padding: 2px 7px;
  border-radius: 20px;
  margin-top: 4px;
}
.chc-strlist { list-style: none; margin: 0; padding: 0; }
.chc-strlist li {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}
.chc-strlist li::before {
  content: '';
  position: absolute;
  left: 4px; top: 7px;
  width: 5px; height: 9px;
  border: solid #16a34a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.chc-none { font-size: 13px; color: #64748b; line-height: 1.6; margin: 0; }

/* Portal handoff */
.chc-cta {
  background: #0f2544;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 18px;
}
.chc-cta-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.chc-cta-text { flex: 1 1 300px; }
.chc-cta-title { font-size: 17px; font-weight: 800; color: #fff; margin: 0 0 7px; }
.chc-cta-sub { font-size: 13.5px; color: rgba(255,255,255,.68); line-height: 1.65; margin: 0; }
.chc-cta-btn {
  display: inline-block;
  background: #f05a28;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity .15s;
}
.chc-cta-btn:hover { opacity: .92; color: #fff !important; }

.chc-again { text-align: center; margin-bottom: 22px; }
.chc-restart {
  background: none;
  border: 1.5px solid #d7e2ec;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  color: #475569;
  cursor: pointer;
}
.chc-restart:hover { border-color: #94a3b8; }

.chc-related-note { font-size: 13px; color: #475569; line-height: 1.7; margin: 22px 0 0; }
.chc-disclaimer { font-size: 12px; color: #64748b; line-height: 1.65; margin: 14px 0 0; }

@media (max-width: 640px) {
  .chc-hero { padding: 40px 18px 32px; }
  .chc-outer { padding: 26px 16px 48px; }
  .chc-q { padding: 15px; }
  .chc-opt { flex: 1 1 44%; }
  .chc-cta { padding: 20px; }
}
