:root {
  --talent-blue: #282e68;
  --talent-purple: #774990;
  --talent-green: #0f902f;
  --talent-ink: #25283a;
  --talent-muted: #666a7b;
  --talent-line: #dedee9;
  --talent-wash: #f7f6fb;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--talent-ink); font-family: "Open Sans", Arial, sans-serif; }
.talent-page { min-height: 70vh; padding: 64px 24px 76px; background: linear-gradient(180deg, #fff 0%, var(--talent-wash) 100%); }
.talent-card { width: min(100%, 760px); margin: 0 auto; padding: 42px 48px 38px; background: #fff; border: 1px solid #eeedf4; border-radius: 16px; box-shadow: 0 18px 55px rgb(40 46 104 / 7%); }
.talent-eyebrow { margin: 0 0 14px; color: var(--talent-purple); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.talent-card h1 { max-width: 620px; margin: 0; color: var(--talent-blue); font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.talent-title-gradient { background: linear-gradient(100deg, #282e68 0%, #774990 52%, #0f902f 100%); color: transparent; background-clip: text; -webkit-background-clip: text; }
.talent-intro { margin: 18px 0 30px; color: #565a6a; font-size: 15px; font-weight: 400; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 18px; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: var(--talent-blue); font-size: 13px; font-weight: 600; }
.field label > span:first-child:not(.optional) { color: var(--talent-purple); }
.optional { color: var(--talent-muted); font-size: 12px; font-weight: 400; }
.field input, .field select { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid var(--talent-line); border-radius: 7px; background: #fff; color: var(--talent-ink); font: inherit; font-size: 14px; font-weight: 400; }
.field input:focus, .field select:focus, .privacy-consent input:focus-visible, .talent-submit:focus-visible { outline: 3px solid rgb(119 73 144 / 25%); outline-offset: 2px; border-color: var(--talent-purple); }
.cv-upload { position: relative; display: flex; min-height: 164px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; border: 1px dashed #c9c8d8; border-radius: 8px; background: #fcfbfe; text-align: center; transition: border-color .18s ease, background .18s ease; }
.cv-upload:hover, .cv-upload:focus-within { border-color: var(--talent-purple); background: #faf8fc; }
.cv-upload > input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.cv-upload-icon { width: 24px; height: 24px; margin-bottom: 2px; fill: none; stroke: var(--talent-purple); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cv-upload-title { color: var(--talent-blue); font-size: 13px; font-weight: 400; }
.cv-upload-or { color: var(--talent-muted); font-size: 11px; }
.cv-select, .cv-change, .cv-remove { border: 0; background: transparent; color: var(--talent-purple); font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cv-select { padding: 5px 0; }
.cv-upload-help { color: var(--talent-muted); font-size: 11px; font-weight: 400; }
.cv-selected { display: flex; width: 100%; align-items: center; justify-content: center; gap: 12px; margin-top: 5px; padding-top: 10px; border-top: 1px solid #eeedf4; }
.cv-selected[hidden] { display: none; }
.cv-file-name { max-width: 54%; overflow: hidden; color: var(--talent-blue); font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.cv-change, .cv-remove { padding: 4px 0; }
.cv-error { margin: 7px 0 0; color: #a32626; font-size: 12px; font-weight: 400; }
.cv-upload button:focus-visible { outline: 3px solid rgb(119 73 144 / 25%); outline-offset: 3px; border-radius: 3px; }
.privacy-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 18px; color: #4e5262; font-size: 13px; font-weight: 400; line-height: 1.55; }
.privacy-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--talent-green); }
.privacy-consent a { color: var(--talent-purple); text-decoration: underline; text-underline-offset: 2px; }
.talent-submit { width: 100%; min-height: 50px; border: 0; border-radius: 7px; background: var(--talent-green); color: #fff; font: inherit; font-size: 15px; font-weight: 700; }
.talent-submit:disabled { cursor: not-allowed; opacity: .62; }
.form-status { margin: 10px 0 0; color: var(--talent-muted); font-size: 12px; font-weight: 400; line-height: 1.5; text-align: center; }
.talent-disclaimer { margin: 24px 0 0; padding-top: 17px; border-top: 1px solid #eeedf4; color: var(--talent-muted); font-size: 12px; font-weight: 400; line-height: 1.6; text-align: center; }
@media (max-width: 640px) {
  .talent-page { min-height: auto; padding: 30px 15px 42px; }
  .talent-card { padding: 29px 21px 25px; border-radius: 12px; }
  .talent-card h1 { font-size: 31px; }
  .talent-intro { margin: 14px 0 24px; font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .field-full { grid-column: auto; }
}
