/* FlexOps Agency Health Check, v3. Everything is scoped to #fx-hc so it can't clash with the Webflow site. */
#fx-hc {
  --fx-ink: #0b0f0d;
  --fx-text: #000;
  --fx-grey: #555;
  --fx-grey2: #8a918d;
  --fx-line: #e7eae8;
  --fx-panel: #f5f6f5;
  --fx-mint: #10ffc0;
  --fx-mint-dark: #0bd9a3;
  --fx-mint-tint: #e7fff8;
  --fx-amber: #ffb020;
  --fx-amber-tint: #fff6e5;
  --fx-red: #ff5a5a;
  --fx-red-tint: #ffeded;
  font-family: Poppins, Arial, sans-serif;
  color: var(--fx-text);
  max-width: 760px;
  margin: 0 auto;
  /* top padding clears the site's fixed nav (fo-nav, ~76px) */
  padding: clamp(124px, 14vw, 168px) 20px clamp(56px, 8vw, 104px);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
#fx-hc *, #fx-hc *::before, #fx-hc *::after { box-sizing: border-box; }
#fx-hc p, #fx-hc h1, #fx-hc h2, #fx-hc h3, #fx-hc ul, #fx-hc ol { margin: 0; padding: 0; }
#fx-hc ul, #fx-hc ol { list-style: none; }
#fx-hc button { font-family: inherit; }
#fx-hc [tabindex="-1"]:focus { outline: none; }
#fx-hc :focus-visible { outline: 3px solid var(--fx-mint-dark); outline-offset: 3px; border-radius: 10px; }

#fx-hc .fxhc-screen { animation: fxhc-in 0.32s ease both; }
@keyframes fxhc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #fx-hc .fxhc-screen { animation: none; } }

/* type */
#fx-hc .fxhc-eyebrow { display: inline-block; font-size: 13.6px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fx-mint-dark); margin-bottom: 14px; }
#fx-hc .fxhc-h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
#fx-hc .fxhc-h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; margin-bottom: 14px; }
#fx-hc .fxhc-lead { font-size: clamp(16px, 1.6vw, 18.4px); line-height: 1.75; color: var(--fx-grey); max-width: 60ch; }
#fx-hc .fxhc-lead strong { color: var(--fx-text); font-weight: 600; }
#fx-hc .fxhc-body { font-size: 16px; line-height: 1.7; color: var(--fx-grey); }
#fx-hc .fxhc-small { font-size: 13.5px; line-height: 1.6; color: var(--fx-grey2); margin-top: 14px; }
#fx-hc .fxhc-hl { background: linear-gradient(transparent 58%, var(--fx-mint) 58%); padding: 0 0.08em; }
#fx-hc .fxhc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
#fx-hc .fxhc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 16px 28px; font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none; transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease; }
#fx-hc .fxhc-btn:hover { transform: translateY(-1px); }
#fx-hc .fxhc-btn-primary { background: var(--fx-mint); color: var(--fx-ink); }
#fx-hc .fxhc-btn-primary:hover { background: #3dffcd; }
#fx-hc .fxhc-btn-dark { background: var(--fx-ink); color: #fff; }
#fx-hc .fxhc-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
#fx-hc .fxhc-link { background: none; border: 0; padding: 8px 2px; font-size: 15px; font-weight: 500; color: var(--fx-grey); cursor: pointer; }
#fx-hc .fxhc-link:hover { color: var(--fx-text); }

/* cover */
#fx-hc .fxhc-cover { text-align: center; }
#fx-hc .fxhc-cover .fxhc-lead { margin: 0 auto 32px; }
#fx-hc .fxhc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
#fx-hc .fxhc-chips li { font-size: 13px; font-weight: 500; color: var(--fx-grey); background: #fff; border: 1px solid var(--fx-line); border-radius: 999px; padding: 7px 14px; }

/* question */
#fx-hc .fxhc-progress { margin-bottom: 28px; }
#fx-hc .fxhc-progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
#fx-hc .fxhc-tag { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fx-ink); background: var(--fx-mint-tint); border-radius: 999px; padding: 6px 12px; }
#fx-hc .fxhc-count { font-size: 14px; font-weight: 600; color: var(--fx-grey2); font-variant-numeric: tabular-nums; }
#fx-hc .fxhc-bar { height: 6px; background: var(--fx-line); border-radius: 999px; overflow: hidden; }
#fx-hc .fxhc-bar i { display: block; height: 100%; background: var(--fx-mint); border-radius: 999px; transition: width 0.3s ease; }
#fx-hc .fxhc-question .fxhc-h2 { margin-bottom: 24px; }
#fx-hc .fxhc-options { display: grid; gap: 12px; }
#fx-hc .fxhc-opt { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--fx-line); border-radius: 14px; padding: 18px 20px; font-size: 16.5px; line-height: 1.45; color: var(--fx-text); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease; }
#fx-hc .fxhc-opt:hover { border-color: var(--fx-ink); }
#fx-hc .fxhc-opt.is-selected { border-color: var(--fx-mint-dark); background: var(--fx-mint-tint); }
#fx-hc .fxhc-letter { flex: none; width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: var(--fx-panel); color: var(--fx-ink); transition: background-color 0.15s ease; }
#fx-hc .fxhc-opt.is-selected .fxhc-letter { background: var(--fx-mint); }
#fx-hc .fxhc-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
#fx-hc .fxhc-hint { font-size: 13px; color: var(--fx-grey2); text-align: center; margin-top: 24px; }
@media (hover: none) { #fx-hc .fxhc-hint { display: none; } }

/* email */
#fx-hc .fxhc-email { text-align: center; }
#fx-hc .fxhc-email .fxhc-lead { margin: 0 auto 28px; }
#fx-hc .fxhc-form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
#fx-hc .fxhc-input { flex: 1; min-width: 0; font-family: inherit; font-size: 16px; padding: 15px 20px; border: 1.5px solid var(--fx-line); border-radius: 999px; background: #fff; color: var(--fx-text); }
#fx-hc .fxhc-input:focus { outline: none; border-color: var(--fx-ink); }
#fx-hc .fxhc-input.is-invalid { border-color: var(--fx-red); }
#fx-hc .fxhc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#fx-hc .fxhc-error { color: #c43c3c; font-size: 14px; margin-top: 10px; }
#fx-hc .fxhc-email .fxhc-link { margin-top: 20px; }
@media (max-width: 560px) { #fx-hc .fxhc-form { flex-direction: column; } #fx-hc .fxhc-form .fxhc-btn { width: 100%; } }

/* results */
#fx-hc .fxhc-res-head { text-align: center; margin-bottom: 40px; }
#fx-hc .fxhc-res-head .fxhc-lead { margin: 0 auto; }
#fx-hc .fxhc-ring { width: 156px; height: 156px; border-radius: 999px; margin: 6px auto 20px; display: flex; align-items: center; justify-content: center; border: 6px solid var(--band, var(--fx-mint)); background: var(--band-tint, var(--fx-mint-tint)); }
#fx-hc .fxhc-ring b { display: block; font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; text-align: center; }
#fx-hc .fxhc-ring small { display: block; font-size: 15px; font-weight: 600; color: var(--fx-grey); text-align: center; margin-top: 2px; }
#fx-hc .fxhc-band-strong { --band: var(--fx-mint-dark); --band-tint: var(--fx-mint-tint); }
#fx-hc .fxhc-band-watch { --band: var(--fx-amber); --band-tint: var(--fx-amber-tint); }
#fx-hc .fxhc-band-action { --band: var(--fx-red); --band-tint: var(--fx-red-tint); }

#fx-hc .fxhc-dims { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
#fx-hc .fxhc-dim { background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; padding: 20px; }
#fx-hc .fxhc-dim:last-child:nth-child(odd) { grid-column: 1 / -1; }
#fx-hc .fxhc-dim-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#fx-hc .fxhc-dim h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
#fx-hc .fxhc-badge { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; background: var(--st-tint); color: var(--st-text); }
#fx-hc .fxhc-dim-desc { font-size: 14px; color: var(--fx-grey); margin: 4px 0 14px; }
#fx-hc .fxhc-meter { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
#fx-hc .fxhc-meter-track { flex: 1; height: 8px; background: var(--fx-panel); border-radius: 999px; overflow: hidden; }
#fx-hc .fxhc-meter-track i { display: block; height: 100%; background: var(--st); border-radius: 999px; }
#fx-hc .fxhc-pts { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
#fx-hc .fxhc-ans { display: grid; gap: 8px; }
#fx-hc .fxhc-ans li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--fx-grey); }
#fx-hc .fxhc-ans strong { color: var(--fx-text); font-weight: 600; }
#fx-hc .fxhc-dot { flex: none; width: 10px; height: 10px; border-radius: 999px; margin-top: 6px; }
#fx-hc .fxhc-dot-good { background: var(--fx-mint-dark); }
#fx-hc .fxhc-dot-mid { background: var(--fx-amber); }
#fx-hc .fxhc-dot-low { background: var(--fx-red); }
#fx-hc .fxhc-st-strong { --st: var(--fx-mint-dark); --st-tint: var(--fx-mint-tint); --st-text: #067a5b; }
#fx-hc .fxhc-st-watch { --st: var(--fx-amber); --st-tint: var(--fx-amber-tint); --st-text: #9a6200; }
#fx-hc .fxhc-st-action { --st: var(--fx-red); --st-tint: var(--fx-red-tint); --st-text: #b83232; }

#fx-hc .fxhc-focus { margin-bottom: 32px; }
#fx-hc .fxhc-focus-list { display: grid; gap: 12px; counter-reset: fxf; }
#fx-hc .fxhc-focus-list li { counter-increment: fxf; position: relative; background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; padding: 18px 20px 18px 64px; }
#fx-hc .fxhc-focus-list li::before { content: counter(fxf); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 999px; background: var(--fx-ink); color: var(--fx-mint); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
#fx-hc .fxhc-focus-list strong { font-size: 16px; font-weight: 700; margin-right: 10px; }
#fx-hc .fxhc-focus-sub { font-size: 13px; color: var(--fx-grey2); }
#fx-hc .fxhc-focus-list p { font-size: 15px; line-height: 1.6; color: var(--fx-grey); margin-top: 6px; }
#fx-hc .fxhc-strengths { font-size: 15px; line-height: 1.6; color: var(--fx-grey); margin-top: 16px; }
#fx-hc .fxhc-strengths strong { color: var(--fx-text); }

#fx-hc .fxhc-note { border-left: 3px solid var(--fx-mint); background: var(--fx-panel); border-radius: 0 14px 14px 0; padding: 16px 20px; margin-bottom: 24px; }
#fx-hc .fxhc-note p { font-size: 15px; line-height: 1.65; color: var(--fx-grey); }
#fx-hc .fxhc-cta { background: var(--fx-ink); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 44px); text-align: center; }
#fx-hc .fxhc-cta h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
#fx-hc .fxhc-cta p { font-size: 16px; line-height: 1.7; color: #c9cfcc; max-width: 54ch; margin: 0 auto 24px; }
#fx-hc .fxhc-foot { text-align: center; margin-top: 24px; }

@media (max-width: 640px) {
  #fx-hc .fxhc-dims { grid-template-columns: 1fr; }
  #fx-hc .fxhc-opt { padding: 16px; font-size: 16px; }
  #fx-hc .fxhc-nav .fxhc-btn { padding: 14px 22px; }
}
