/* =====================================================================================================
   /fit-check/ (leads program, workstream B1). Mobile first: the rules are the 390 px composition; the media queries rearrange it.
   The drawing is the page's own idea: a line of seven stations that ends in four doors. The hero draws it finished and dim; the tool
   uses the same seven stations as its progress mark; the answered ones fill, and at the end the door that matches the answers lights.
   Without the script the page is a plain list of questions and four directions, so every rule that hides or reshapes sits under .fc-on.
   ===================================================================================================== */
.fitcheck-page [hidden]{display:none!important}

/* ---------- hero: the path ---------- */
.fc-hero{padding-bottom:52px}
.fc-hero-grid{display:grid;gap:34px}
.fc-hero-text .lede{max-width:46ch}
.fc-hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.fc-hero-note{margin:16px 0 0;max-width:46ch;font-size:14px;line-height:1.55;color:rgba(255,255,255,.8)}
.fc-path{display:grid;gap:22px;align-content:center}
.fc-stations{list-style:none;margin:0;padding:0;display:flex}
.fc-stations li{position:relative;flex:1 1 0;height:26px}
.fc-stations li::before{content:"";position:absolute;inset-inline:0;top:50%;height:2px;margin-top:-1px;background:rgba(255,255,255,.28)}
.fc-stations li::after{content:"";position:absolute;inset-inline-start:0;top:50%;width:16px;height:18px;margin-top:-9px;background:rgba(255,255,255,.42);clip-path:polygon(0 50%,100% 0,100% 100%)}
.fc-stations li.is-done::before{background:#5fd0c5}
.fc-stations li.is-done::after{background:#5fd0c5}
.fc-stations li.is-cur::after{background:#fff}
.fc-doors{list-style:none;margin:0;padding:0;display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:900px){.fc-doors{display:grid}}
.fc-doors li{position:relative;padding:20px 14px 12px;border:2px solid rgba(255,255,255,.34);border-radius:60px 60px 6px 6px;text-align:center;font-size:14px;line-height:1.35;font-weight:700;color:#fff;transition:background .25s ease,color .25s ease,border-color .25s ease}
.fc-doors li::before{content:"";position:absolute;top:9px;inset-inline-start:50%;width:8px;height:8px;margin-inline-start:-4px;border-radius:50%;background:rgba(255,255,255,.4)}
.fc-doors li.is-lit{background:var(--zoho-yellow);border-color:var(--zoho-yellow);color:#0d1a17}
.fc-doors li.is-lit::before{background:#0d1a17}
@media (min-width:900px){
  .fc-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:56px;align-items:center}
  .fc-doors{gap:14px}
}

/* ---------- the tool ---------- */
.fc-tool .wrap,.fc-out .wrap{max-width:880px}
.fc-form{margin-top:26px}
.fc-progress{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.fc-prog-st{list-style:none;margin:0;padding:0;display:flex;gap:6px}
.fc-prog-st li{width:22px;height:18px;background:#ccd6d0;clip-path:polygon(0 50%,100% 0,100% 100%)}
.fc-prog-st li.is-done{background:var(--teal)}
.fc-prog-st li.is-cur{background:var(--ink)}
.fc-prog-t{margin:0;font-size:15px;font-weight:800;color:var(--muted)}
.fc-qs{list-style:none;margin:0;padding:0}
.fc-q{margin:0 0 38px}
.fc-q fieldset{min-width:0;margin:0;padding:0;border:0}
.fc-q legend{display:block;width:100%;padding:0;margin-bottom:16px}
.fc-qn{display:block;margin-bottom:6px;font-size:14px;font-weight:800;color:var(--teal-d)}
.fc-qt{display:block;font-size:clamp(24px,4.4vw,34px);line-height:1.22;font-weight:800;color:var(--ink)}
.fc-hint{margin:0 0 14px;color:var(--muted)}
.fc-opts{display:grid;gap:10px}
.fc-opt{position:relative;display:flex;align-items:center;gap:14px;min-height:56px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);cursor:pointer;transition:border-color .16s ease,background .16s ease}
.fc-opt:hover{border-color:var(--teal)}
.fc-opt-t{flex:1 1 auto;font-size:16.5px;line-height:1.45;color:var(--ink)}
.fc-exit{margin:14px 0 0;font-size:15px;color:var(--muted)}
.fc-exit a{font-weight:700;text-decoration:underline;text-underline-offset:3px;color:var(--teal-d)}
.fc-nav{display:flex;justify-content:space-between;gap:12px;margin-top:26px}
.fc-nav .btn{min-width:120px;justify-content:center}
.fc-err{margin:16px 0 0;font-weight:800;color:#9b1c1c}
/* with the script: one question at a time, and the options become large rows with a mark that is not colour alone */
.fc-on .fc-q{display:none;margin:0}
.fc-on .fc-q.is-cur{display:block}
.fc-on .fc-opt input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.fc-on .fc-opt::before{content:"";flex:none;width:24px;height:24px;border:2px solid #8a978f;border-radius:50%;background:var(--white)}
.fc-on .fc-opt-c::before{border-radius:6px}
.fc-on .fc-opt::after{content:"";position:absolute;inset-inline-start:23px;top:50%;width:10px;height:6px;margin-top:-5px;border-left:3px solid #fff;border-bottom:3px solid #fff;transform:rotate(-45deg);opacity:0}
.fc-on .fc-opt.is-on{border-color:var(--teal);background:#e7f1f0}
.fc-on .fc-opt.is-on::before{background:var(--teal);border-color:var(--teal)}
.fc-on .fc-opt.is-on::after{opacity:1}
.fc-on .fc-opt:focus-within{outline:3px solid var(--teal);outline-offset:2px}

/* ---------- the four directions ---------- */
.fc-rs{margin-top:28px;display:grid;gap:36px}
.fc-r{display:flex;flex-direction:column;gap:10px;scroll-margin-top:96px}
.fc-r:focus{outline:none}
.fc-cond{margin:0;font-size:15px;font-weight:800;color:var(--teal-d)}
.fc-on .fc-cond{display:none}
.fc-echo{margin:0;padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);font-weight:700;color:var(--ink);line-height:1.55}
.fc-echo:focus{outline:3px solid var(--teal);outline-offset:2px}
.fc-r h3{margin:6px 0 2px;font-size:clamp(25px,3.8vw,34px);line-height:1.2}
.fc-r > p{margin:0;max-width:62ch;color:var(--muted);font-size:16.5px;line-height:1.65}
.fc-links{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:0}
.fc-links li{padding:2px 0}
.fc-links .inline-link{display:inline-block;padding-block:9px}
.fc-hubs{margin:26px 0 0;display:flex;flex-wrap:wrap;gap:0 22px}
.fc-contact{margin-top:38px;padding:22px 20px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white)}
.fc-r .fc-contact{margin-top:26px}
.fc-contact h3{margin:0 0 6px;font-size:21px}
.fc-contact p{margin:0 0 16px;color:var(--muted)}
.fc-contact-b{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.fc-contact-b .btn-wa{min-width:260px}
.fc-contact-b .side-mail{margin-top:0}

/* ---------- how the direction is set: four doors ---------- */
.fc-doors-how{list-style:none;margin:30px 0 0;padding:0;display:grid;gap:16px}
.fc-door{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:16px;padding:54px 18px 18px;border:2px solid var(--ink);border-radius:80px 80px 8px 8px;background:var(--white)}
.fc-doors-how{counter-reset:fcd}
.fc-door{counter-increment:fcd}
.fc-door::before{content:counter(fcd);position:absolute;top:12px;inset-inline-start:50%;display:grid;place-items:center;width:28px;height:28px;margin-inline-start:-14px;border-radius:50%;background:var(--ink);color:#fff;font-size:14px;font-weight:800;line-height:1}
.fc-door-rule{margin:0;text-align:center;font-size:16px;line-height:1.55;color:var(--ink)}
.fc-door-name{margin:0;text-align:center;font-size:19px;font-weight:800;color:var(--ink)}
.fc-how-end{margin:26px 0 0;max-width:62ch;color:var(--muted)}
@media (min-width:760px){.fc-doors-how{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){
  .fc-doors-how{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;padding-bottom:84px}
  .fc-door:nth-child(2){margin-top:28px}
  .fc-door:nth-child(3){margin-top:56px}
  .fc-door:nth-child(4){margin-top:84px}
}

/* ---------- close ---------- */
.fc-close-cta{display:grid;gap:12px;justify-items:start}
.fc-close-line{margin:0;color:var(--on-dark-ink);font-size:15px}
.fc-close-line a{font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* the two routes in the questions and in the close are links a thumb has to hit */
.fc-exit a,.fc-close-line a{display:inline-flex;align-items:center;min-height:44px;padding-inline:2px}
/* with the script the four directions are hidden until the result: the tool takes the paper ground so it never meets the white section after it */
.fc-on #site-main>.fc-tool.section{background-color:var(--paper)}
