/* resume-check.css: /resume-check only (web/resume-check.html), loaded after whizply.css and
 * home.css. Every colour, radius, size and motion is a design token from those two files, so the
 * page follows the palette and dark mode by itself. The form reuses the contact page's field
 * styles (.ct-field, .ct-err, .ct-actions, .ct-status); the report is drawn by
 * assets/js/pages/resume-check.js. */

/* ── the hero: copy beside the tool ─────────────────────────────────────────────────────── */
.rc-hero { padding-top: 72px; padding-bottom: 88px; }
.rc-hero__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.rc-hero__copy { padding-top: 12px; }
.rc-hero__copy .hm-h1 { text-align: left; }
.rc-lede { margin: 22px 0 0; max-width: 56ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; font-weight: 600; color: var(--slate); }
.rc-promises { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.rc-promises li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink); }
.rc-promises li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-ink); }

.rc-form { display: grid; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.rc-form[aria-busy="true"] { cursor: progress; }
.rc-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: var(--r-md); background: var(--surface-2); }
.rc-mode__opt { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: calc(var(--r-md) - 3px); font-size: 14.5px; font-weight: 700; color: var(--sub); cursor: pointer; text-align: center; }
.rc-mode__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rc-mode__opt:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.rc-mode__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rc-form .ct-field textarea { min-height: 260px; font-size: 14.5px; line-height: 1.5; }
.rc-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.rc-opt { font-weight: 500; color: var(--sub); }
.rc-hint { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--sub); }
.rc-select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-control); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; }
.rc-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }

.rc-drop { display: grid; justify-items: center; gap: 6px; padding: 30px 18px; border: 1.5px dashed var(--line-control); border-radius: var(--r-md); background: var(--surface-2); text-align: center; cursor: pointer; transition: border-color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out); }
.rc-drop:hover, .rc-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.rc-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.rc-drop.has-file { border-style: solid; border-color: var(--accent); }
.rc-drop.is-invalid { border-color: var(--bad-ink); }
.rc-drop__ic { color: var(--accent-deep); }
.rc-drop__title { font-size: 15.5px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.rc-drop__hint { font-size: 13.5px; font-weight: 500; color: var(--sub); }

.rc-privacy { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--ok-ink); }
.rc-privacy svg { margin-top: 2px; }
.rc-noscript { margin: 0; font-size: 14px; font-weight: 600; color: var(--warn-ink); }

/* ── the report ─────────────────────────────────────────────────────────────────────────── */
.rc-results { padding-top: 64px; padding-bottom: 88px; background-color: var(--bg); }
.rc-results__in { display: grid; gap: 22px; }
.rc-sum { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 8px; }
.rc-sum .hm-h2 { font-size: clamp(26px, 2.6vw, 36px); }
.rc-sum .hm-h2:focus { outline: none; }
.rc-sum .hm-h2:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.rc-facts { margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--slate); }
.rc-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rc-score { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rc-score__num { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ink-heading, var(--ink)); font-variant-numeric: tabular-nums; }
.rc-score__of { font-size: 13px; font-weight: 600; color: var(--sub); }
.rc-score__label { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.rc-score__sub { font-size: 13px; font-weight: 500; color: var(--sub); }

.rc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.rc-group { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rc-group--fix { border-top: 3px solid var(--warn-ink); }
.rc-group--tip { border-top: 3px solid var(--accent); }
.rc-group--good { border-top: 3px solid var(--ok-ink); }
.rc-group__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rc-group__head .hm-h3 { flex: 1 1 auto; margin: 0; }
.rc-group__ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-deep); flex-shrink: 0; }
.rc-tag { flex-shrink: 0; padding: 3px 10px; border-radius: var(--pill); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.rc-tag--fix { background: var(--warn); color: var(--warn-ink); }
.rc-tag--tip { background: var(--accent-soft); color: var(--accent-ink); }
.rc-tag--good { background: var(--ok); color: var(--ok-ink); }
.rc-items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rc-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.55; font-weight: 500; color: var(--slate); overflow-wrap: anywhere; }
.rc-item--fix > span:last-child { color: var(--ink); }
.rc-st { display: inline-flex; padding-top: 1px; }
.rc-st--good { color: var(--ok-ink); }
.rc-st--tip { color: var(--accent-deep); }
.rc-st--fix { color: var(--warn-ink); }

.rc-skills { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.rc-sub { margin: 6px 0 0; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rc-chip { padding: 4px 10px; border-radius: var(--pill); font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.rc-chip--ok { background: var(--ok); color: var(--ok-ink); border-color: transparent; }
.rc-chip--missing { background: transparent; border-style: dashed; border-color: var(--line-control); color: var(--sub); }
.rc-fine { margin: 4px 0 0; font-size: 13.5px; font-weight: 500; color: var(--sub); }

.rc-examples { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rc-ex { display: grid; gap: 14px; margin: 12px 0 0; padding: 0; list-style: none; }
.rc-ex__item { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); }
.rc-ex__role { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sub); }
.rc-ex__before, .rc-ex__after { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; margin: 0; font-size: 14.5px; line-height: 1.55; }
.rc-ex__before { color: var(--sub); }
.rc-ex__after { color: var(--ink); font-weight: 600; }
.rc-ex__k { font-size: 12.5px; font-weight: 700; color: var(--sub); padding-top: 2px; }
.rc-ex__after .rc-ex__k { color: var(--ok-ink); }

.rc-cta--report { max-width: none; margin: 4px 0 0; }
.rc-privacy--report { justify-content: center; }
.rc-again { justify-self: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-btn); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
.rc-again:hover { border-color: var(--accent); }

/* ── what we check ──────────────────────────────────────────────────────────────────────── */
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.rc-card { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rc-card p { margin: 0; font-size: 15px; line-height: 1.6; font-weight: 500; color: var(--slate); }
.rc-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: var(--r-md); }
.rc-card--violet .rc-card__ic { background: var(--band-violet-chip, var(--accent-soft)); color: var(--band-violet-chip-ink, var(--accent-deep)); }
.rc-card--sky .rc-card__ic { background: var(--info); color: var(--info-ink); }
.rc-card--mint .rc-card__ic { background: var(--band-mint-chip, var(--ok)); color: var(--band-mint-chip-ink, var(--ok-ink)); }

.rc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.rc-split__copy .hm-h2 { text-align: left; }
.rc-cta { margin-top: 28px; }

@media (max-width: 980px) {
  .rc-hero__in, .rc-split, .rc-sum { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rc-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .rc-hero { padding-top: 40px; padding-bottom: 56px; }
  .rc-form { padding: 18px; }
  .rc-scores { grid-template-columns: minmax(0, 1fr); }
  .rc-ex__before, .rc-ex__after { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-drop { transition: none; }
}
