/* Free fit check (public/fitcheck.js) and the resume-first /start page. Uses the site's colour variables from styles.css. */

/* ---- fit check under a job card ---- */
.job .fitcheck { grid-column: 1 / -1; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.fc-wait { color: var(--muted); font-size: .94rem; display: flex; align-items: center; gap: 10px; margin: 0; }
.fc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: fc-spin .8s linear infinite; flex: none; }
@keyframes fc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fc-spin { animation: none; } }
.fc-verdict { font-weight: 600; margin: 0 0 12px; }
.fc-tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.fitcheck h4 { font: 600 .92rem Inter, sans-serif; margin: 0 0 4px; }
.fc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 14px; }
.fc-cols ul { margin: 0; padding: 0; list-style: none; font-size: .92rem; }
.fc-cols li { padding-left: 22px; position: relative; margin: 3px 0; }
.fc-match li::before { content: "\2713"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.fc-miss li::before { content: "\2013"; position: absolute; left: 4px; color: var(--warn); font-weight: 700; }
.fc-miss h4 { color: var(--ink); }
.fc-match h4 { color: var(--accent); }
.fc-miss p { margin: 6px 0 0; }
.fc-rw { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 10px; }
.fc-rw li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg); font-size: .93rem; }
.fc-rw p { margin: 0; overflow-wrap: anywhere; }
.fc-lab { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.fc-before { color: var(--muted); }
.fc-after { color: var(--ink); }
.fc-after .fc-lab { color: var(--accent); }
.fc-arrow { color: var(--accent); font-weight: 700; line-height: 1.2; padding: 2px 0; }
.fc-buy { margin: 4px 0 10px; }
.job .actions .fc-btn, .fc-buy .btn { white-space: normal; }
.fc-buy .btn.fc-cta { padding: 12px 20px; font-size: .98rem; }
.fc-guarantee { margin: 6px 0 0; color: var(--muted); }
.fc-guarantee::before { content: "\2713 "; color: var(--accent); font-weight: 700; }
.fc-ad summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.fc-ad textarea { margin-bottom: 8px; }
.fitcheck .error { margin: 0; }
@media (max-width: 640px) {
  .fc-cols { grid-template-columns: 1fr; }
  .fc-buy .btn.fc-cta { width: 100%; }
}

/* ---- resume-first landing page (/start) ---- */
.start-hero { padding: 20px 0 8px; }
.start-hero .start-title { max-width: none; margin-bottom: .2em; }
.start-lede { font-size: 1.2rem; color: var(--ink); margin: 0 0 18px; max-width: 40ch; }
.start-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.start-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer;
  border: 2px dashed var(--accent); border-radius: var(--radius); background: var(--accent-soft); padding: 30px 16px; transition: filter .15s; }
.start-drop:hover { filter: brightness(1.03); }
.start-drop.has-file { border-style: solid; }
.start-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.start-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.start-drop-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1.6rem; font-weight: 700; }
.start-drop-title { font: 700 1.25rem Fraunces, Georgia, serif; color: var(--ink); }
.start-drop-sub { color: var(--muted); font-size: .9rem; }
.start-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.start-opts label { font-size: .9rem; }
.start-trust { margin: 14px 0 4px; font-size: .95rem; }
.start-alt { margin: 10px 0 0; font-weight: 600; }
@media (max-width: 520px) {
  .start-opts { grid-template-columns: 1fr; }
  .start-drop { padding: 24px 12px; }
}
