/* AIWorker.today/cv — page-scoped styles.
   Loaded AFTER styles.css so it inherits the palette, type scale and header/footer.
   Only additive rules live here; nothing overrides the global components. */

.cv-hero { padding: 72px 0 56px; }

.cv-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  align-items: start;
  gap: 56px;
}

.cv-h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 20px; }

.cv-sub {
  font-size: 19px;
  color: #475467;
  margin: 0 0 28px;
  max-width: 620px;
}

.cv-notes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #475467;
  font-size: 14px;
}

.cv-notes li { padding: 5px 0 5px 26px; position: relative; }

.cv-notes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* ---------- intake card ---------- */

.cv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.cv-card h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.cv-card .cv-card-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.cv-field { margin-bottom: 16px; }

.cv-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cv-field input,
.cv-field select,
.cv-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

.cv-field textarea { min-height: 92px; resize: vertical; }

.cv-field input:focus,
.cv-field select:focus,
.cv-field textarea:focus {
  outline: 2px solid rgba(15, 138, 95, 0.35);
  border-color: var(--green);
}

.cv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.cv-modes { display: grid; gap: 12px; margin: 6px 0 20px; }

.cv-mode {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
}

.cv-mode:has(input:checked) {
  border-color: var(--green);
  background: var(--green-soft);
}

.cv-mode input { margin: 4px 0 0; width: 16px; height: 16px; accent-color: var(--green); }

.cv-mode strong { display: block; font-size: 14.5px; }

.cv-mode span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }

.cv-card .button { width: 100%; }

.cv-fine {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.cv-fine a { color: var(--green-dark); text-decoration: underline; }

.cv-msg { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--green-dark); }

/* ---------- sections ---------- */

.cv-section { padding: 72px 0; }
.cv-section.alt { background: var(--surface); }

.cv-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.cv-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.cv-step .n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 16px;
}

.cv-step h3 { font-size: 18px; margin-bottom: 6px; }

.cv-step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* "what you actually get" — the evidence panel */

.cv-evidence {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
  margin-top: 30px;
}

.cv-ledger {
  background: #0b1512;
  border-radius: 18px;
  padding: 22px;
  color: #d0d5d2;
  font-size: 13.5px;
  overflow-x: auto;
}

.cv-ledger table { width: 100%; border-collapse: collapse; }

.cv-ledger th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa39a;
  padding: 0 10px 10px 0;
  font-weight: 700;
}

.cv-ledger td {
  padding: 10px 10px 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  vertical-align: top;
}

.cv-ledger .ok { color: #6ee7b7; font-weight: 700; }
.cv-ledger .wait { color: #fbbf24; font-weight: 700; }
.cv-ledger .live { color: #93c5fd; font-weight: 700; }

.cv-ledger .mock-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  color: #8fa39a;
}

/* comparison table */

.cv-compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 14.5px;
  table-layout: fixed;
}

.cv-compare th:nth-child(1),
.cv-compare td:nth-child(1) { width: 26%; }
.cv-compare th:nth-child(2),
.cv-compare td:nth-child(2),
.cv-compare th:nth-child(3),
.cv-compare td:nth-child(3),
.cv-compare th:nth-child(4),
.cv-compare td:nth-child(4) { width: 24.66%; }

@media (max-width: 760px) {
  .cv-compare { display: block; overflow-x: auto; }
}

.cv-compare th,
.cv-compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cv-compare thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.cv-compare td:first-child { font-weight: 700; }

.cv-compare .yes { color: var(--green-dark); font-weight: 700; }
.cv-compare .no { color: #b42318; font-weight: 700; }
.cv-compare .part { color: #b54708; font-weight: 700; }

/* pricing */

.cv-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 34px;
  align-items: stretch;
}

.cv-plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.cv-plan.featured { border-color: var(--green); box-shadow: 0 18px 44px rgba(15, 138, 95, 0.14); }

.cv-plan .plan-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.cv-plan .price { font-family: "Space Grotesk", Inter, sans-serif; font-size: 40px; letter-spacing: -0.04em; line-height: 1; }

.cv-plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.cv-plan .plan-what { color: var(--muted); font-size: 14px; margin: 10px 0 18px; }

.cv-plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; font-size: 14px; }

.cv-plan li { padding: 7px 0 7px 24px; position: relative; }

.cv-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.cv-plan .button { width: 100%; }

.cv-price-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  max-width: 780px;
}

/* faq */

.cv-faq { max-width: 860px; margin-top: 30px; }

.cv-faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.cv-faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cv-faq summary::-webkit-details-marker { display: none; }

.cv-faq summary::after { content: "+"; color: var(--green); font-weight: 800; }

.cv-faq details[open] summary::after { content: "–"; }

.cv-faq p { color: #475467; margin: 12px 0 0; font-size: 15px; }

.cv-cta {
  background: #0b1512;
  color: #e6ece9;
  border-radius: var(--radius);
  padding: 52px 44px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cv-cta h2 { color: #fff; margin-bottom: 8px; font-size: clamp(26px, 3.4vw, 38px); }

.cv-cta p { margin: 0; color: #b7c4bf; max-width: 560px; }

.cv-cta .button { flex: 0 0 auto; }

/* the secondary button on a dark band needs its own contrast, not the
   light-surface default */
.cv-cta .button-secondary {
  background: #fff !important;
  color: var(--ink) !important;
  border-color: #fff;
}

/* header CTA — the site header button keeps the global green everywhere else,
   but white on #0f8a5f is 4.36:1; on this page it uses the darker green. */
.cv-hero .button:not(.button-secondary),
.cv-card .button,
.cv-plan .button,
.cv-cta .button:not(.button-secondary),
.site-header .button {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.cv-hero .button:not(.button-secondary):hover,
.cv-card .button:hover,
.cv-plan .button:hover,
.cv-cta .button:not(.button-secondary):hover,
.site-header .button:hover {
  background: #08553b;
  border-color: #08553b;
}

.cv-faq details p { padding-bottom: 4px; }

@media (max-width: 900px) {
  .cv-grid,
  .cv-evidence { grid-template-columns: 1fr; gap: 34px; }
  .cv-two { grid-template-columns: 1fr; }
  .cv-cta { padding: 34px 24px; }
}

/* ---------- analysis result (injected by POST /cv/analyze) ---------- */

#cv-result { margin-top: 22px; }
#cv-result:empty { margin-top: 0; }

.cv-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.cv-result-error { border-color: #fda29b; background: #fffbfa; }

.cv-result-head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.cv-result-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 6px;
}

.cv-result-head h3 { font-size: 21px; margin: 0 0 8px; }

.cv-result-lead { color: #475467; margin: 0; font-size: 15px; }

.cv-score {
  flex: 0 0 auto;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  min-width: 108px;
}

.cv-score span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green-dark);
}

.cv-score small { color: var(--muted); font-size: 13px; }

.cv-score em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.cv-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.cv-facts div {
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 14px;
}

.cv-facts dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.cv-facts dd { margin: 0; font-size: 14px; font-weight: 600; }

.cv-block-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin: 26px 0 12px;
}

.cv-defects, .cv-strengths { list-style: none; padding: 0; margin: 0; }

.cv-defect {
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.cv-defect.sev-hoch { border-left-color: #b42318; }
.cv-defect.sev-mittel { border-left-color: #b54708; }
.cv-defect.sev-niedrig { border-left-color: var(--green); }

.cv-defect-top { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }

.cv-sev {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cv-defect p { margin: 0 0 8px; font-size: 14.5px; color: #475467; }

.cv-defect blockquote,
.cv-strengths blockquote {
  margin: 0 0 8px;
  padding: 10px 14px;
  background: var(--surface);
  border-left: 3px solid var(--line);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: #344054;
  font-style: italic;
  overflow-wrap: anywhere;
}

.cv-fix { font-size: 14px; }
.cv-fix strong { color: var(--green-dark); }

.cv-strengths li { margin-bottom: 14px; font-size: 14.5px; }
.cv-strengths li strong { display: block; margin-bottom: 6px; }

.cv-steps-list { margin: 0; padding-left: 20px; font-size: 14.5px; }
.cv-steps-list li { margin-bottom: 7px; }

.cv-warn {
  background: #fffaeb;
  border: 1px solid #fedf89;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: #93370d;
  margin: 0 0 20px;
}

.cv-none { color: var(--muted); font-size: 14px; }

.cv-result-note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.cv-result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 640px) {
  .cv-result { padding: 22px 18px; }
  .cv-result-head { flex-direction: column; }
  .cv-score { align-self: flex-start; }
}
