/* Fit check tool page. Tokens from _work/design-plan.md (surfaces 0px, buttons 3px). */

/* ---------- OPENER: a slim worksheet title band, then the tool on the same paper ---------- */
.tbar { position: relative; padding: clamp(16px, 2.4vh, 28px) 0 clamp(12px, 1.8vh, 20px); background: var(--paper); overflow: clip; }
.tbar .wrap { position: relative; }
.tool { position: relative; padding: 0 0 clamp(22px, 3vh, 44px); background: var(--paper); overflow: clip; }
/* exercise-book ruling that creeps upward, with a blue margin rule */
.tool__bg { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(29, 95, 168, .085) 31px 32px) 0 var(--ro, 0px); animation: ruled 40s linear infinite; }
@keyframes ruled { from { background-position: 0 var(--ro, 0px); } to { background-position: 0 calc(var(--ro, 0px) + 400px); } }
.tool__bg::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(10px, calc((100% - var(--max)) / 2 - 22px)); width: 5px; border-left: 1px solid rgba(29, 95, 168, .28); border-right: 1px solid rgba(29, 95, 168, .28); }
.tool .wrap { position: relative; }

.tool__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 14px 32px; align-items: center; }
.js .tool__h1[data-tool-split] { visibility: hidden; }
.js .tbar:not(.is-in) .tool__intro { opacity: 0; }
/* the marker on "your own criteria" catches the light now and then */
.tool__h1 .hl { position: relative; }
.tool__h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; top: 56%; bottom: 4%; pointer-events: none; background: linear-gradient(100deg, transparent 0 35%, rgba(255, 255, 255, .7) 50%, transparent 65% 100%) no-repeat -80% 0 / 45% 100%; animation: sheen 5.5s ease-in-out 2.5s infinite; }
@keyframes sheen { 0% { background-position: -80% 0; } 45%, 100% { background-position: 180% 0; } }
.tool__h1 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.05; }
.tool__intro { display: flex; align-items: center; gap: 20px; }
.tool__intro p { margin: 0; font-size: .98rem; line-height: 1.45; color: var(--muted); }
.tool__intro .btn { flex: none; }

.tool__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 392px); gap: 26px; align-items: stretch; }

/* the two sheets and the seam between them */
.ws { --seam: 56px; --pad: 20px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; padding: 0 0 6px; margin: 0; }
.ws__sheet { position: absolute; top: 0; bottom: 0; width: calc((100% - var(--seam)) / 2); background: #fff; border: 1px solid var(--line); box-shadow: 0 34px 60px -48px rgba(7, 26, 51, .55); pointer-events: none; }
.ws__sheet--job { left: 0; border-top: 4px solid var(--navy); }
.ws__sheet--you { right: 0; border-top: 4px solid var(--sage-2); }
.ws__seam { position: absolute; top: 16px; bottom: 16px; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(var(--sage-2), rgba(169, 220, 184, .35)); transform-origin: 50% 0; overflow: hidden; }
.ws__pulse { position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: linear-gradient(transparent, var(--navy), transparent) no-repeat 0 100% / 2px 60px; transform: translateY(-100%); animation: pulse 4.2s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes pulse { from { transform: translateY(-100%); } to { transform: translateY(60px); } }

.ws__scan { position: absolute; left: 0; right: 0; top: 0; height: 72px; background: linear-gradient(180deg, rgba(169, 220, 184, 0), rgba(169, 220, 184, .42)); border-bottom: 2px solid var(--sage-2); opacity: 0; pointer-events: none; will-change: transform; }
.ws__node { box-shadow: 0 0 0 0 rgba(169, 220, 184, 0); }
.ws__node.is-read { box-shadow: 0 0 0 6px rgba(169, 220, 184, .6); }
.ws__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--seam) minmax(0, 1fr); align-items: center; }
.ws__cell { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 2px var(--pad); }
.ws__row:not(.ws__row--head):not(.ws__row--sub) .ws__cell { border-bottom: 1px solid #EEF1F5; }
.ws__cell > label:not(.chk) { flex: none; width: 128px; font-size: .9rem; font-weight: 700; line-height: 1.2; color: var(--navy); }

.ws__row--head { align-items: end; }
.ws__row--head .ws__cell { flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; padding-bottom: 4px; }
.ws__title { margin: 0; font: 700 .875rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.ws__jobtitle { width: 100%; min-height: 44px; padding: 4px 0; border: 0; border-bottom: 2px solid var(--navy); border-radius: 0; background: transparent; color: var(--navy); font: 450 1.6rem/1.1 var(--serif); letter-spacing: -.01em; }
.ws__jobtitle:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 6px 0 -2px rgba(169, 220, 184, .7); }
.ws__ex { display: flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; font-size: .92rem; color: var(--muted); border-bottom: 2px solid transparent; }
.ws__ex b { color: var(--sage-ink); background: var(--sage); padding: 4px 8px; font-weight: 700; }
.ws__ex.is-own b { color: var(--navy); background: var(--mist); }

.ws__row--sub .ws__cell { padding-top: 10px; padding-bottom: 3px; }
.ws__sub { margin: 0; font: 700 .875rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--slate); }

/* inputs */
.inp { position: relative; flex: 1; min-width: 0; display: block; }
.ws input[type="text"]:not(.ws__jobtitle), .ws select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1.5px solid #C7D0DC; border-radius: 0; background: #fff; color: var(--text); font: 500 1rem/1.3 var(--sans); font-variant-numeric: tabular-nums; transition: border-color .25s, box-shadow .25s; }
.ws .inp--pre input[type="text"] { padding-left: 28px; }
.ws .inp--suf input[type="text"] { padding-right: 48px; }
.inp::after { content: attr(data-unit); position: absolute; top: 50%; transform: translateY(-50%); font-size: .92rem; font-weight: 600; color: var(--slate); pointer-events: none; }
.inp--pre::after { left: 12px; }
.inp--suf::after { right: 12px; }
.ws select { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23012F5E' stroke-width='1.8'/%3E%3C/svg%3E") right 18px center / 18px no-repeat; cursor: pointer; }
.ws input:focus, .ws select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(169, 220, 184, .6); }
.ws input:focus-visible, .ws select:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.ws__row.is-no .ws__cell--job input, .ws__row.is-no .ws__cell--job select { border-color: #8D99A9; background-color: #F3F5F8; }

/* requirement rows */
.ws__reqs { position: relative; }
.ws__row--req .ws__cell--job { gap: 8px; }
.req__t { flex: 1.5; min-width: 0; }
.ws .req__k { flex: none; width: 152px; }
.ws__row--req.is-gap .req__t { text-decoration: line-through; text-decoration-color: rgba(91, 104, 120, .6); color: var(--slate); }
.chk { position: relative; flex: 1; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: .97rem; font-weight: 600; color: var(--navy); }
.chk input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chk__box { position: relative; flex: none; width: 26px; height: 26px; border: 2px solid #9AA8B9; background: #fff; transition: background .25s, border-color .25s; }
.chk__box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid var(--sage-ink); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.chk input:checked + .chk__box { background: var(--sage); border-color: var(--sage-ink); }
.chk input:checked + .chk__box::after { transform: rotate(45deg) scale(1); }
.chk input:focus-visible + .chk__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.chk:hover .chk__box { border-color: var(--navy); }
.req__rm { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid transparent; border-radius: var(--r-btn); background: transparent; color: var(--slate); font: 400 1.6rem/1 var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.req__rm:hover { background: var(--fog); color: var(--navy); }
.req__rm:disabled { visibility: hidden; }

/* status nodes on the seam */
.ws__node, .ws__gap { position: relative; justify-self: center; z-index: 1; }
.ws__node { width: 26px; height: 26px; border: 2px solid #C7D0DC; background: #fff; transition: background .3s, border-color .3s, box-shadow .35s; }
.ws__node::before, .ws__node::after { content: ""; position: absolute; transition: opacity .2s; opacity: 0; }
.ws__node.is-ok { background: var(--sage); border-color: var(--sage-ink); }
.ws__node.is-ok::before { opacity: 1; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--sage-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ws__node.is-no { background: var(--fog); border-color: var(--slate); }
.ws__node.is-no::before, .ws__node.is-no::after { opacity: 1; left: 4px; top: 9px; width: 14px; height: 2.5px; background: var(--slate); transform: rotate(45deg); }
.ws__node.is-no::after { transform: rotate(-45deg); }
.ws__node.is-soft { border-style: dashed; border-color: #9AA8B9; }

/* worksheet footer buttons */
.ws__foot { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--seam) minmax(0, 1fr); align-items: center; padding: 10px 0 8px; }
.ws__foot > * { margin-left: var(--pad); margin-right: var(--pad); }
.ws__foot .wbtn--add { grid-column: 1; justify-self: start; }
.ws__foot #ex-next { grid-column: 3; justify-self: start; }
.ws__foot .ws__max { grid-column: 1; }
.wbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--navy); border-radius: var(--r-btn); background: #fff; color: var(--navy); font: 600 .95rem/1 var(--sans); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.wbtn:hover { background: var(--navy); color: #fff; }
.wbtn:disabled { border-color: #9AA8B9; color: #4A5A6E; background: #fff; cursor: default; }
.wbtn__plus { position: relative; width: 12px; height: 12px; }
.wbtn__plus::before, .wbtn__plus::after { content: ""; position: absolute; left: 5px; top: 0; width: 2px; height: 12px; background: currentColor; }
.wbtn__plus::after { transform: rotate(90deg); }
.ws__foot .ws__max { margin: 8px var(--pad) 0; font-size: .92rem; color: var(--muted); }
.ws__foot .ws__max:empty { display: none; }

/* ---------- the verdict card ---------- */
.vcard { position: sticky; top: calc(var(--hdr) + 14px); align-self: start; display: flex; flex-direction: column; padding: 18px 24px 16px; background: var(--ink); color: #DCE5F0; border-top: 6px solid var(--sage-2); box-shadow: 0 40px 70px -40px rgba(7, 26, 51, .7); transform-style: preserve-3d; transition: border-color .4s; }
.vcard.is-decline { border-top-color: #8D99A9; }
.vcard::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(255, 255, 255, .035) 31px 32px); }
.vcard__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .08), transparent 60%); transition: opacity .4s; }
.vcard:hover .vcard__glare { opacity: 1; }
.vcard > * { position: relative; }
.vcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.vcard .vcard__h { font: 700 .875rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #A9B9CC; }
.vcard__job { margin: 0; font: 450 1.3rem/1.15 var(--serif); color: #fff; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.vcard__stampbox { position: relative; display: flex; align-items: center; gap: 18px; padding: 14px 0 12px; }
.vcard__stamp { position: relative; z-index: 1; flex: none; margin: 0; min-width: 140px; padding: 12px 14px; text-align: center; border: 3px solid currentColor; font: 800 1.45rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transform: rotate(-6deg); }
.vcard__stamp.is-apply { background: var(--sage); color: var(--sage-ink); }
.vcard__stamp.is-decline { background: var(--fog); color: var(--slate); }
.vcard__ring { position: absolute; left: 70px; top: 50%; width: 170px; height: 90px; margin: -45px 0 0 -85px; border: 2px solid var(--sage-2); opacity: 0; pointer-events: none; }
.vcard.is-decline .vcard__ring { border-color: #C3CBD6; }
.vcard__sum { margin: 0; font-size: .95rem; line-height: 1.45; color: #DCE5F0; }

.vcard__reasons { list-style: none; margin: 0; padding: 0; }
.vcard__reasons li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 64px; gap: 12px; align-items: center; padding: 6px 6px; margin: 0 -6px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; line-height: 1.3; }
.vcard__rt { min-width: 0; }
.vcard__rt:last-child { grid-column: 2 / -1; }
.vcard__rt b { color: #fff; font-weight: 700; }
.vcard__rt span { color: #B9C7D8; }
.vcard__reasons li.is-no .vcard__rt span { color: #fff; }
.vcard__reasons li.is-no { background: rgba(228, 232, 238, .07); }
.vcard__reasons li.is-na .vcard__rt span { color: #A9B9CC; font-style: italic; }
.vic { position: relative; display: block; width: 22px; height: 22px; border: 1.5px solid rgba(255, 255, 255, .35); }
.vic::before, .vic::after { content: ""; position: absolute; opacity: 0; }
li.is-ok .vic { background: var(--sage); border-color: var(--sage); }
li.is-ok .vic::before { opacity: 1; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--sage-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
li.is-no .vic { background: var(--fog); border-color: var(--fog); }
li.is-no .vic::before, li.is-no .vic::after { opacity: 1; left: 3px; top: 8.5px; width: 13px; height: 2.5px; background: var(--slate); transform: rotate(45deg); }
li.is-no .vic::after { transform: rotate(-45deg); }
.vbar { position: relative; display: block; height: 6px; background: rgba(255, 255, 255, .14); }
.vbar__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sage-2); }
li.is-no .vbar__fill { background: #8D99A9; }
.vbar__mark { position: absolute; top: -5px; width: 2px; height: 16px; margin-left: -1px; background: #fff; }
li.is-na .vbar { opacity: .3; }

.vcard__ess { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0 9px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.vcard__ess p { margin: 0; font-size: .95rem; color: #DCE5F0; }
.vcard__ess b { margin-left: 6px; font: 500 1.35rem/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.vcard__sq { display: flex; gap: 5px; }
.vcard__sq i { display: block; width: 14px; height: 14px; border: 1.5px solid rgba(255, 255, 255, .35); }
.vcard__sq i.on { background: var(--sage-2); border-color: var(--sage-2); }

.vcard__next { padding: 10px 0 2px; }
.vcard__lt { margin: 0 0 3px; font: 700 .875rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--sage); }
.vcard__lt--gap { margin-top: 9px; color: #C3CBD6; }
.vcard__lv { margin: 0; font: 450 1.1rem/1.3 var(--serif); color: #fff; }
.vcard__lv--gap { color: #DCE5F0; }
.vcard__path { margin-top: auto; padding-top: 12px; }
.vcard__lt--path { color: #A9B9CC; margin-bottom: 8px; }
.vcard__checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.vcard__checks li { font-size: .875rem; line-height: 1.25; color: #A9B9CC; transition: color .3s; }
.vcard__checks i { display: block; height: 6px; margin-bottom: 7px; background: rgba(255, 255, 255, .14); transform-origin: 0 50%; transition: background .3s; }
.vcard__checks li.is-pass { color: #DCE5F0; }
.vcard__checks li.is-pass i { background: var(--sage-2); }
.vcard__checks li.is-stop { color: #fff; font-weight: 700; }
.vcard__checks li.is-stop i { background: repeating-linear-gradient(135deg, var(--fog) 0 5px, #8D99A9 5px 10px); }
.vcard__note { margin: 0; padding-top: 10px; font-size: .9rem; color: #A9B9CC; }
.vcard__note a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0 -14px 4px; color: var(--sage); font-weight: 600; }
.vcard__note a:hover { color: #fff; }

/* the small verdict that follows you down the form on narrow screens */
.vmini { display: none; }
.vmini.is-on { transform: none; visibility: visible; }

/* hidden until the intro plays (JS only; tool.js adds .is-ready) */
.js .tool:not(.is-ready) .ws, .js .tool:not(.is-ready) .vcard { opacity: 0; }

@media (max-width: 1240px) {
  .vcard__reasons li { grid-template-columns: 22px minmax(0, 1fr); row-gap: 5px; }
  .vcard__reasons .vbar { grid-column: 2; }
  .tool__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .ws { --pad: 14px; --seam: 44px; }
  .ws__cell > label:not(.chk) { width: 104px; font-size: .875rem; }
  .ws .req__k { width: 140px; }
}
@media (max-width: 1099px) {
  .tool__head { grid-template-columns: minmax(0, 1fr); }
  .tool__grid { grid-template-columns: minmax(0, 1fr); }
  .vmini { position: fixed; left: var(--gut); right: var(--gut); bottom: 12px; z-index: 90; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; background: var(--ink); color: #fff; text-decoration: none; box-shadow: 0 16px 30px -12px rgba(7, 26, 51, .6); visibility: hidden; transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease), visibility 0s .45s; }
  .vmini.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s 0s; }
  .vcard { position: relative; top: auto; }
  .vmini__stamp { flex: none; padding: 8px 10px; font: 800 .875rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
  .vmini__stamp.is-apply { background: var(--sage); color: var(--sage-ink); }
  .vmini__stamp.is-decline { background: var(--fog); color: var(--slate); }
  .vmini__t { flex: 1; min-width: 0; font-size: .9rem; line-height: 1.3; }
  .vmini__go { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 700; color: var(--sage); }
}
@media (max-width: 760px) {
  .tool__intro { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ws { --pad: 8px; --seam: 30px; }
  .ws select { padding-left: 9px; font-size: .9rem; }
  .ws__node { width: 22px; height: 22px; }
  .ws__node.is-ok::before { left: 5px; top: 2px; }
  .ws__node.is-no::before, .ws__node.is-no::after { left: 2px; top: 7.5px; width: 14px; }
  .ws__cell { flex-direction: column; align-items: stretch; gap: 4px; padding-top: 8px; padding-bottom: 8px; }
  .ws__cell > label:not(.chk) { width: auto; }
  .ws__jobtitle { font-size: 1.3rem; }
  .ws__ex { min-height: 48px; font-size: .875rem; flex-wrap: wrap; gap: 2px 6px; line-height: 1.3; }
  .ws__row--req .ws__cell--job { gap: 6px; }
  .ws .req__k { width: 100%; }
  .ws__row--req .ws__cell--you { flex-direction: column; align-items: stretch; gap: 6px; }
  .ws__row--req .req__rm { align-self: flex-start; border-color: #D9DEE6; }
  .chk { gap: 8px; font-size: .9rem; line-height: 1.2; }
  .ws__foot { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ws__foot .wbtn, .ws__foot #ex-next, .ws__foot .ws__max { grid-column: 1; justify-self: stretch; justify-content: center; }
  .vcard { padding: 20px 18px 18px; }
  .vcard__stampbox { gap: 14px; }
  .vcard__stamp { min-width: 116px; font-size: 1.2rem; padding: 10px; }
  .vcard__reasons li { gap: 5px 10px; }
}

/* ---------- section heads that use the whole row (same as home.css) ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 56px; align-items: end; }
.split-head .lede { margin: 0; }
@media (max-width: 900px) { .split-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- HOW THE DEMO DECIDES: the rule ladder ---------- */
.rules { overflow: clip; background: var(--mist); }
.rules__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 92% 14%, rgba(169, 220, 184, .45), transparent 70%),
    linear-gradient(90deg, rgba(1, 47, 94, .05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(1, 47, 94, .05) 1px, transparent 1px) 0 0 / 48px 48px;
  animation: rgrid 20s linear infinite; }
@keyframes rgrid { to { background-position: 0 0, 48px 48px, 48px 48px; } }
.rules .wrap { position: relative; }
.rules__head { margin-bottom: clamp(28px, 3.6vw, 48px); }
.ladder { position: relative; }
.ladder__svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 1; }
.ladder__track { fill: none; stroke: #C9D3DF; stroke-width: 2; stroke-dasharray: 4 6; }
.ladder__line { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: butt; }
.ladder__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) clamp(70px, 9vw, 140px) 120px; gap: 0 22px; align-items: center; padding: 16px 20px 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 5px solid transparent; box-shadow: 0 20px 40px -36px rgba(7, 26, 51, .5); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.step:hover { transform: translateX(4px); }
.step__n { position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; background: #fff; border: 2px solid var(--navy); color: var(--navy); font: 500 1.35rem/1 var(--serif); transition: background .35s, color .35s, box-shadow .35s; }
.step.is-lit .step__n { background: var(--navy); color: #fff; }
.step__n.is-hit { box-shadow: 0 0 0 7px rgba(169, 220, 184, .7); }
.step__body h3 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); margin-bottom: 4px; }
.step__body p { margin: 0; color: var(--muted); }
.step__ramp { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #B8C3D1 0 8px, transparent 8px 14px); }
.step__ramp::after { content: ""; position: absolute; right: -2px; top: -5px; width: 10px; height: 10px; border: solid #B8C3D1; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.step__dot { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--slate); opacity: 0; }
.step--end .step__dot { background: var(--sage-ink); }
.step__out { position: relative; display: flex; align-items: center; min-width: 0; }
.step__out .vtag { flex: none; font-size: .875rem; letter-spacing: .12em; padding: 9px 12px; }
.step__job { position: absolute; left: 0; bottom: calc(100% + 6px); max-width: 220px; padding: 5px 9px; background: var(--navy); color: #fff; font-size: .875rem; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; visibility: hidden; }
.step.is-stop .step__job { opacity: 1; visibility: visible; }
.step.is-stop { background: var(--paper); border-left-color: #8D99A9; }
.step--end.is-stop { border-left-color: var(--sage-2); }
.step.is-stop .step__ramp { background: repeating-linear-gradient(90deg, var(--slate) 0 8px, transparent 8px 14px); animation: march 1s linear infinite; }
.step.is-stop .step__ramp::after { border-color: var(--slate); }
.step--end.is-stop .step__ramp { background: repeating-linear-gradient(90deg, var(--sage-ink) 0 8px, transparent 8px 14px); }
.step--end.is-stop .step__ramp::after { border-color: var(--sage-ink); }
@keyframes march { to { background-position: 14px 0; } }
.ladder__token { position: absolute; left: 0; top: 0; z-index: 3; width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--sage-2); border: 3px solid var(--navy); pointer-events: none; opacity: 0; box-shadow: 0 0 0 7px rgba(169, 220, 184, .4), 0 8px 18px -6px rgba(7, 26, 51, .5); }
/* without JS the line is drawn in CSS, marker centre to marker centre */
.no-js .ladder__steps::before { content: ""; position: absolute; z-index: 1; left: 48px; top: 44px; bottom: 44px; width: 4px; margin-left: -2px; background: var(--navy); }
.ladder__live { margin: 18px 0 0; padding: 12px 16px; border-left: 4px solid var(--sage-2); background: #fff; font-size: 1rem; color: var(--text); }
.ladder__live.is-decline { border-left-color: #8D99A9; }
.ladder__live b { color: var(--navy); }
@media (max-width: 1240px) { .step { grid-template-columns: 52px minmax(0, 1fr) 70px 120px; } }
@media (max-width: 900px) {
  .step { grid-template-columns: 52px minmax(0, 1fr); gap: 10px 16px; padding: 14px 14px 14px 12px; align-items: start; }
  .step__ramp { display: none; }
  .step__out { grid-column: 2; }
  .step__job { position: static; margin-left: 10px; }
}

/* ---------- WHAT THE FULL ASSESSMENT ADDS ---------- */
.adds { overflow: clip; }
.adds::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(1, 47, 94, .04) 119px 120px); }
.adds__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.adds__frame .frame__clip { aspect-ratio: 1264 / 848; max-height: var(--media-cap); }
.adds__frame img { transform: scale(1.12); }
.adds__frame::after { content: ""; position: absolute; left: 18px; right: -18px; top: 18px; bottom: -18px; border: 1.5px solid var(--sage-2); z-index: -1; }
.adds__frame { z-index: 0; isolation: isolate; }
.adds__copy .lede { margin: 18px 0 22px; }
.cmp { margin-bottom: 26px; }
.cmp__h { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; margin: 0 0 6px; font: 700 .875rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--slate); }
.cmp__h span:last-child { color: var(--sage-ink); }
.cmp__rows { list-style: none; margin: 0; padding: 0; }
.cmp__rows li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cmp__rows li:last-child { border-bottom: 1px solid var(--line); }
.cmp__demo { position: relative; justify-self: start; font-size: .95rem; color: var(--slate); }
.cmp__demo::after { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 1.5px; background: #8D99A9; transform-origin: 0 50%; }
.js .cmp[data-cmp] .cmp__demo::after { transform: scaleX(var(--s, 1)); }
.cmp__full { position: relative; padding-left: 34px; font-size: 1rem; line-height: 1.45; }
.cmp__full::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%231E6B3F' stroke-width='2.2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cmp__full b { color: var(--navy); background: linear-gradient(transparent 42%, var(--sage) 42%, var(--sage) 96%, transparent 96%) no-repeat 0 0 / var(--hb, 100%) 100%; }
@media (max-width: 900px) { .adds__grid { grid-template-columns: minmax(0, 1fr); } .adds__frame { margin-right: 18px; } }
@media (max-width: 520px) {
  .cmp__h { display: none; }
  .cmp__rows li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .vmini { transition: none; }
  .tool__h1 .hl::after { animation: none; display: none; }
  .tool__bg, .ws__pulse, .rules__bg, .step.is-stop .step__ramp { animation: none; }
  .step:hover { transform: none; }
  .ws__pulse { display: none; }
}
