/* "Measure the fit": the job description reader. */
.fit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(30px, 4vw, 56px); }
.fit__paper { position: relative; }
.fit textarea { display: block; width: 100%; min-height: 420px; resize: vertical; border: 1.5px solid var(--ink); border-radius: 4px; padding: 26px 24px; color: var(--ink);
  font: 500 16px/30px var(--sans); background: repeating-linear-gradient(180deg, transparent 0 29px, rgba(16,21,31,.16) 29px 30px) 0 25px, #fff; }
.fit textarea:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.fit__scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--clay-fill); opacity: 0; pointer-events: none; }
.fit.is-reading .fit__scan { opacity: 1; animation: scan 1.6s cubic-bezier(.65,.01,.05,.99) infinite alternate; }
@keyframes scan { from { top: 0; } to { top: calc(100% - 3px); } }
.fit__send { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 18px; }
.fit__send button { border: 0; cursor: pointer; font-family: var(--sans); }
.fit__send button:disabled { opacity: .55; cursor: progress; }
.fit__status { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.fit__status.is-error { color: var(--clay); }
.fit__fine { margin-top: 16px; max-width: 40em; font-size: 14px; line-height: 1.5; color: var(--graphite); }
.fit__how { list-style: none; padding: 0; counter-reset: how; border-top: 1px solid var(--rule); }
.fit__how li { counter-increment: how; display: grid; grid-template-columns: 3rem 1fr; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.35; font-weight: 600; }
.fit__how li::before { content: counter(how, decimal-leading-zero); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--graphite); padding-top: .3em; }
.fit.has-result .fit__how { display: none; }
.fit__verdict { font-size: clamp(54px, 7.4vw, 124px); line-height: .86; font-weight: 900; font-stretch: 75%; letter-spacing: -.03em; text-transform: uppercase; }
.fit__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 18px; font-size: 15px; font-weight: 650; color: var(--graphite); }
.fit__gauge { display: flex; gap: 5px; height: 54px; margin-bottom: 18px; }
.fit__gauge i { flex: 1; background: repeating-linear-gradient(180deg, var(--rule) 0 2px, transparent 2px 6px); }
.fit__gauge i.is-lit { background: repeating-linear-gradient(180deg, var(--clay-fill) 0 2px, transparent 2px 6px); }
.fit__summary { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.15; margin-bottom: 18px; }
.fit__flags { list-style: none; padding: 0; margin-bottom: 20px; display: grid; gap: 8px; }
.fit__flags li { border: 1.5px solid var(--ink); padding: 12px 14px; font-size: 16px; font-weight: 650; }
.fit__flags li.is-stop { background: var(--ink); color: var(--paper); }
.fit__list { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.fit__list li { display: grid; grid-template-columns: 7.2rem 1fr; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.fit__chip { align-self: start; justify-self: start; border: 1.5px solid var(--ink); border-radius: 99px; padding: 5px 10px; font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.is-covered .fit__chip { background: var(--ink); color: var(--paper); }
.is-not .fit__chip { border-style: dashed; color: var(--graphite); }
.fit__req { font-size: 17px; line-height: 1.35; font-weight: 650; }
.fit__proof { grid-column: 2; font-size: 15px; line-height: 1.45; color: var(--graphite); }
.fit__proof p::before { content: "CV: "; font-weight: 700; color: var(--ink); }
.fit__proof small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fit__next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 900px) { .fit__grid { grid-template-columns: 1fr; } .fit textarea { min-height: 300px; } }
