:root {
  --ink: #17211d;
  --muted: #66716c;
  --line: #d8e1dc;
  --teal: #087f73;
  --teal-soft: #e4f3ef;
  --blue: #2453a6;
  --blue-soft: #eaf0fb;
  --coral: #b95643;
  --surface: #ffffff;
  --page: #f5f8f6;
}

* { box-sizing: border-box; }
html { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; color: var(--ink); background: var(--page); }
button, input { font: inherit; }
button, a { letter-spacing: 0; }
a { color: inherit; }

.demo-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; text-decoration: none; }
.brand > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #a8c7bd; color: var(--teal); background: var(--teal-soft); font-weight: 900; }
.brand strong { font-size: 19px; }
.demo-badge { padding: 4px 8px; border-left: 3px solid var(--blue); color: var(--blue); background: var(--blue-soft); font-size: 12px; font-weight: 800; }
.login-link { display: inline-flex; min-height: 44px; margin-left: auto; padding: 8px 12px; align-items: center; border: 1px solid var(--line); text-decoration: none; font-weight: 800; }

main { min-height: calc(100vh - 118px); background: var(--surface); }
.demo-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 24px clamp(18px, 4vw, 54px) 20px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 5px; color: var(--blue); font-size: 11px; font-weight: 900; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(27px, 4vw, 40px); line-height: 1.08; }
.demo-intro p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); }
.privacy-note { display: grid; max-width: 330px; padding: 10px 12px; border-left: 3px solid var(--teal); background: var(--teal-soft); font-size: 12px; }
.privacy-note span { color: var(--muted); }

.stage-nav { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.stage-nav button { min-height: 52px; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: var(--surface); font-weight: 800; cursor: pointer; }
.stage-nav button:last-child { border-right: 0; }
.stage-nav button span { display: inline-grid; width: 24px; height: 24px; margin-right: 7px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; }
.stage-nav button[aria-current="step"] { color: var(--teal); box-shadow: inset 0 -4px var(--teal); }

.readiness-band { display: grid; grid-template-columns: auto minmax(180px, 1fr) minmax(260px, 1.2fr); align-items: center; gap: 18px; padding: 15px clamp(18px, 4vw, 54px); border-bottom: 1px solid var(--line); background: #fbfcfb; }
.readiness-band > div:first-child { display: flex; align-items: baseline; gap: 6px; }
.readiness-band span { font-size: 12px; font-weight: 800; }
.readiness-band strong { font-size: 26px; }
.readiness-band small, .readiness-band p { color: var(--muted); font-size: 12px; }
.readiness-band p { margin: 0; }
.readiness-track { height: 7px; overflow: hidden; background: #dce5e0; }
.readiness-track span { display: block; width: 68%; height: 100%; background: var(--teal); transition: width .2s ease; }

.demo-workbench { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(360px, 1.25fr) minmax(300px, 1fr); min-height: 570px; }
.requirements-pane, .decision-pane, .preview-pane { min-width: 0; padding: 24px; }
.requirements-pane, .decision-pane { border-right: 1px solid var(--line); }
.pane-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pane-heading h2, .decision-pane h2 { margin: 0; font-size: 20px; }
.pane-heading span { color: var(--muted); font-size: 12px; }
.requirement-list { display: grid; gap: 7px; }
.requirement-list button { display: grid; gap: 4px; width: 100%; min-height: 70px; padding: 12px; border: 1px solid transparent; border-left: 3px solid var(--line); text-align: left; background: transparent; cursor: pointer; }
.requirement-list button strong { font-size: 13px; }
.requirement-list button span { color: var(--muted); font-size: 11px; }
.requirement-list button[aria-current="true"] { border-color: #bad5cc; border-left-color: var(--teal); background: var(--teal-soft); }
.requirement-list button[data-state="possessed"] { border-left-color: var(--teal); }
.requirement-list button[data-state="unverified"] { border-left-color: #c58816; }

.vacancy-quote { margin: 12px 0 18px; padding: 12px; border-left: 3px solid var(--blue); color: #294b83; background: var(--blue-soft); }
.existing-evidence { margin-bottom: 18px; padding: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.existing-evidence strong { display: block; margin-bottom: 5px; font-size: 12px; }
.existing-evidence p { margin: 0; color: var(--muted); line-height: 1.45; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; font-size: 16px; font-weight: 850; }
.answer-choices { display: grid; gap: 7px; }
.answer-choices label { display: flex; min-height: 44px; gap: 9px; padding: 10px; align-items: center; border: 1px solid var(--line); cursor: pointer; }
.answer-choices label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.detail-field { display: grid; gap: 6px; margin-top: 14px; font-size: 12px; font-weight: 800; }
.detail-field input { min-height: 44px; border: 1px solid var(--line); padding: 8px 10px; }
.decision-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.primary-action, .secondary-action { min-height: 44px; padding: 8px 13px; border: 1px solid var(--teal); font-weight: 800; cursor: pointer; }
.primary-action { color: white; background: var(--teal); }
.secondary-action { color: var(--teal); background: white; }
.patch-review { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.patch-review p { margin: 8px 0; line-height: 1.5; }
.patch-review del { color: var(--coral); background: #fff0ed; }
.patch-review ins { color: #075f57; background: var(--teal-soft); text-decoration: none; }

.preview-pane { background: #fbfcfb; }
.cv-document { max-width: 660px; min-height: 480px; margin: 0 auto; padding: clamp(20px, 3vw, 34px); border: 1px solid #cbd5d0; background: white; box-shadow: 0 8px 22px rgba(23,33,29,.08); }
.cv-document h3 { margin: 0; font-size: 24px; }
.cv-document h4 { margin: 22px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #303936; font-size: 12px; text-transform: uppercase; }
.cv-document p, .cv-document li { font-family: Arial, sans-serif; font-size: 12px; line-height: 1.55; }
.cv-subtitle { color: var(--muted); }
.cv-document .changed { padding: 2px 3px; background: #dff4eb; outline: 1px solid #74b7a4; }
.demo-footer { display: flex; justify-content: space-between; gap: 18px; min-height: 54px; padding: 15px clamp(18px, 4vw, 54px); border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: 12px; }
.demo-footer a { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue); font-weight: 800; }

@media (max-width: 960px) {
  .demo-workbench { grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr); }
  .preview-pane { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .decision-pane { border-right: 0; }
}
@media (max-width: 650px) {
  .demo-header { gap: 8px; }
  .brand strong { display: none; }
  .demo-intro { align-items: start; flex-direction: column; }
  .privacy-note { max-width: none; }
  .stage-nav button { padding: 5px 3px; font-size: 10px; }
  .stage-nav button span { margin-right: 4px; font-size: 11px; }
  .readiness-band { grid-template-columns: 1fr auto; }
  .readiness-track, .readiness-band p { grid-column: 1 / -1; }
  .demo-workbench { display: block; }
  .requirements-pane, .decision-pane, .preview-pane { padding: 19px; border-right: 0; border-bottom: 1px solid var(--line); }
  .requirement-list { grid-template-columns: 1fr 1fr; }
  .requirement-list button { min-height: 78px; }
  .demo-footer { flex-direction: column; }
}
@media (max-width: 380px) {
  .requirement-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
