@import url('/candidate-v076.css');

/* Candidate Experience v1 — presentation only. Keep all interview and invite IDs untouched. */
:root {
  --red:#df251e;
  --ink:#172437;
  --muted:#637185;
  --line:#e6e9ef;
  --soft:#fff3f1;
  --bg:#f6f8fb;
  --shadow:0 24px 58px rgba(22,36,58,.08);
}
html { color-scheme:light; }
body { background:var(--bg); color:var(--ink); line-height:1.5; }
.candidatePage { overflow-x:clip; }
a { color:inherit; }
button,input { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible { outline:3px solid rgba(223,37,30,.6); outline-offset:3px; }
.hidden,[hidden] { display:none!important; }

/* Compact, official brand header (existing image source intentionally unchanged). */
.topbar { height:auto; min-height:76px; background:rgba(255,255,255,.98); border-bottom:1px solid var(--line); }
.topbarInner { max-width:1200px; padding:15px 28px; }
.brandLockup { gap:15px; }
.brandLogo { width:138px; max-height:48px; object-fit:contain; }
.brandDivider { height:28px; background:#d7dce5; }
.brandLabel { font-size:14px; font-weight:750; color:#35435a; }
.supportBox { text-decoration:none; display:flex; gap:10px; color:#273750; padding:8px 0; }
.supportBox:hover strong { color:var(--red); }
.supportIcon { width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:#f2f4f8; color:#35445c; font-size:19px; }
.supportBox small { color:#7b8797; font-size:11px; font-weight:600; }
.supportBox strong { font-size:14px; font-weight:800; white-space:nowrap; }

/* One focused entry experience: content + form, without decorative hero photography. */
.welcomeStage { max-width:1200px; margin:0 auto; padding:50px 28px 34px; }
.landingSection {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(385px,440px);
  gap:54px; min-height:unset; max-width:none; align-items:center;
  background:transparent; overflow:visible;
}
.heroPanel { background:transparent; min-height:unset; overflow:visible; }
.heroContent { width:100%; max-width:620px; padding:8px 0; }
.eyebrow,.formEyebrow,.sectionEyebrow { color:#b42318; font-size:11px; font-weight:850; letter-spacing:.13em; }
.eyebrow { display:inline-flex; gap:9px; align-items:center; margin:0 0 20px; }
.eyebrowDot { width:9px; height:9px; border-radius:50%; background:var(--red); box-shadow:0 0 0 5px rgba(223,37,30,.1); }
.heroContent h1 { font-size:clamp(40px,4.3vw,60px); line-height:1.08; letter-spacing:-.046em; font-weight:830; margin:0 0 20px; max-width:610px; text-wrap:balance; }
.heroContent h1 span { display:block; color:var(--red); }
.heroContent>p.heroLead { font-size:17px; line-height:1.73; color:#59697d; max-width:520px; margin:0; }
.featureRow { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 0; max-width:none; }
.featureRow article {
  flex:0 1 auto; min-height:0; padding:10px 14px; gap:8px; border-radius:100px;
  border:1px solid #e3e6eb; box-shadow:none; background:#fff; display:flex; align-items:center;
}
.featureIcon { width:22px; height:22px; font-size:16px; border-radius:50%; color:var(--red); font-weight:800; }
.featureRow strong { font-size:12px; font-weight:750; color:#2c3b4f; }
.featureRow small { display:none; }
.prepareCard {
  margin-top:42px; padding:22px 24px; max-width:525px;
  background:#fff; border:1px solid var(--line); border-radius:18px;
  box-shadow:0 8px 24px rgba(20,40,65,.035);
}
.prepareCard h2 { font-size:15px; margin:0 0 13px; letter-spacing:-.01em; }
.prepareCard ul { display:grid; gap:11px; padding:0; margin:0; list-style:none; }
.prepareCard li { display:flex; gap:11px; align-items:flex-start; font-size:13px; color:#5d6b7d; line-height:1.5; }
.prepareCard li::before {
  content:'✓'; width:21px; height:21px; flex:0 0 21px; display:grid;
  place-items:center; border-radius:50%; background:#ecf7ef; color:#26804c; font-size:12px; font-weight:850;
}

.inviteStatus {
  display:flex; align-items:center; gap:9px; padding:10px 12px;
  margin:-9px 0 19px; border:1px solid #e6eaf0; border-radius:10px;
  color:#57677b; background:#f8fafc; font-size:12px; font-weight:700; line-height:1.5;
}
.inviteStatus::before { content:'◌'; color:#7b889b; font-size:19px; line-height:1; }
.inviteStatus[data-state="verified"] { color:#177245; border-color:#caecd8; background:#f0fdf5; }
.inviteStatus[data-state="verified"]::before { content:'✓'; color:#177245; font-size:16px; }
.inviteStatus[data-state="error"] { color:#a12626; border-color:#f7d4d3; background:#fff4f3; }
.inviteStatus[data-state="error"]::before { content:'!'; color:#a12626; font-size:16px; }

/* HR-selected interview department: revealed only after server invite verification. */
.candidateDepartmentCard {
  display:grid; gap:3px; padding:14px 16px; margin:-6px 0 21px;
  border:1px solid #f0d7d4; border-left:3px solid var(--red);
  border-radius:12px; background:#fff9f8;
}
.candidateDepartmentLabel { color:#94564f; font-size:11px; font-weight:800; letter-spacing:.02em; }
.candidateDepartmentName { color:#26344b; font-size:17px; font-weight:850; line-height:1.35; overflow-wrap:anywhere; }
.candidateDepartmentHint { color:#737e8e; font-size:11px; line-height:1.45; margin-top:2px; }

/* Primary application action */
.applyCard { display:block; padding:0; background:transparent; }
.applyCardInner {
  width:100%; padding:32px; border:1px solid #e5e7ed; background:#fff;
  border-radius:24px; box-shadow:0 22px 62px rgba(24,38,62,.10);
}
.formEyebrow { display:inline-block; margin-bottom:8px; }
.applyCard h2 { font-size:27px; line-height:1.2; letter-spacing:-.025em; margin:0 0 8px; }
.formIntro { font-size:13px; line-height:1.6; color:#65758a; margin:0 0 24px; }
.fieldGroup { margin-bottom:17px; }
.fieldLabel,.locationFieldset legend {
  font-size:13px; font-weight:750; color:#2a3a50; margin:0 0 7px; display:block;
}
.fieldLabel em,.locationFieldset em { color:var(--red); }
.inputWrap { position:relative; }
.inputIcon { left:14px; color:#9aa5b4; font-size:18px; }
.inputIcon svg { display:block; width:18px; height:18px; }
.candidateInput {
  height:48px; padding:0 14px 0 43px; width:100%;
  border:1.5px solid #dce1e9; border-radius:11px; background:#fff;
  font-size:14px; color:#172437; transition:border-color .15s,box-shadow .15s;
}
.candidateInput::placeholder { color:#a5aeba; }
.candidateInput:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(223,37,30,.09); }
.candidateInput[readonly] { background:#f7f9fc; color:#4b5b6e; cursor:default; }
.locationFieldset { margin:0; padding:0; border:0; min-width:0; }
.locationOptions { gap:10px; }
.locationCard {
  padding:10px 12px 10px 35px; flex-direction:row; justify-content:flex-start;
  min-height:57px; border-radius:11px; text-align:left; gap:6px; font-size:13px;
}
.locationCard strong { line-height:1.25; font-size:13px; }
.locationCard strong br { display:none; }
.locationIcon { display:none; }
.radioMark { top:18px; left:12px; width:17px; height:17px; }
.locationCard:has(input:checked) { background:#fff5f4; border-color:var(--red); box-shadow:0 0 0 1px rgba(223,37,30,.08); }
.locationCard:focus-within { outline:3px solid rgba(223,37,30,.2); outline-offset:2px; }
.consentCheck {
  margin:22px 0 16px; gap:11px; padding:16px; border-radius:12px;
  background:#f8f9fb; border:1px solid #eef0f4; align-items:flex-start;
}
.consentCheck input { width:18px; height:18px; flex:0 0 18px; margin:1px 0 0; accent-color:var(--red); }
.consentCheck span { font-size:12px; color:#536176; line-height:1.6; }
.formError { border-radius:10px; padding:11px 12px; margin:0 0 12px; line-height:1.5; font-size:12px; }
.primaryStart {
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; min-height:52px; border-radius:12px; font-size:15px;
  font-weight:850; color:#fff; background:var(--red); box-shadow:0 12px 24px rgba(223,37,30,.2);
}
.primaryStart:hover:not(:disabled) { background:#c9201a; transform:translateY(-1px); }
.primaryStart:disabled { color:#8290a1; background:#e9edf3; border:1px solid #dce1e8; box-shadow:none; }
.primaryStart span { margin-left:0; font-size:20px; }
.privacyNote { font-size:11px; margin:13px 0 0; line-height:1.5; color:#8190a2; text-align:center; }
.privacyNote span { color:#7a8799; }

/* Secondary context: short and scannable. */
.trustSection {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px;
  margin-top:46px; padding-top:26px; border-top:1px solid #e2e7ee;
}
.trustItem { display:flex; align-items:flex-start; gap:13px; padding:8px 5px; }
.trustNumber { width:34px; height:34px; display:grid; place-items:center; flex:0 0 34px; background:#fff; border:1px solid #e4e9ef; border-radius:11px; color:#c82b24; font-size:12px; font-weight:850; }
.trustItem h3 { font-size:13px; line-height:1.3; margin:1px 0 5px; color:#25344b; }
.trustItem p { font-size:12px; line-height:1.55; margin:0; color:#738195; }

/* Interview and completed views: focused, polished, and mobile friendly. */
.interviewStage,.doneStage {
  max-width:890px; margin:48px auto 72px; border-radius:23px;
  border:1px solid #e4e8ee; background:#fff; box-shadow:var(--shadow);
}
.interviewHeader { padding:19px 28px; background:#fff; }
.interviewBrand { font-size:14px; gap:10px; }
.interviewBrand img { width:106px; }
.interviewBrand span { color:#42536c; padding-left:12px; border-color:#dce1e9; }
.sessionMeta { gap:24px; }
.sessionMeta span { font-size:11px; }
.sessionMeta strong { font-size:13px; }
.interviewBody { padding:28px 34px 36px; }
.interviewLead { text-align:center; color:#7a8796; font-size:12px; margin:4px 0 0; }
.recordingFlag { margin:17px auto 0; color:#b62d2b; font-size:12px; font-weight:800; }
.diagnosticPanel { max-width:740px; margin:22px auto 0; background:#f8fafc; border:1px solid #e9edf2; border-radius:13px; padding:12px 16px; }
.diagnosticPanel summary { cursor:pointer; color:#526279; font-weight:750; font-size:12px; }
.diagnosticPanel .healthGrid { margin:14px 0 2px; gap:8px; justify-content:flex-start; }
.healthPill { font-size:11px; border-radius:999px; padding:7px 10px; }
.orbWrap { padding:36px 12px 26px; }
.orb { width:112px; height:112px; }
.orbWrap h2 { font-size:22px; color:#233249; margin:33px 0 9px; }
.orbWrap p { font-size:13px; max-width:540px; margin:0 auto; line-height:1.7; }
.actions { flex-wrap:wrap; }
.actions button,.newSessionBtn { padding:13px 22px; min-height:46px; border-radius:11px; font-size:13px; }
.secondary { background:#eef2f7; color:#34445c; }
.danger { background:#fff1f0; color:#b42318; border:1px solid #ffd1ce!important; }
.transcriptBox { margin-top:30px; border-radius:13px; }
.warning { border-radius:11px; line-height:1.5; }
.doneStage { padding:54px 32px; }
.doneStage h2 { font-size:27px; }
.doneStage>p { line-height:1.7; }
.newSessionBtn { background:var(--red); }
footer {
  max-width:1200px; padding:24px 28px 34px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  font-size:12px; color:#748195; border-top:1px solid #e3e8ee;
}
footer img { width:104px; }
.footerRight { display:flex; flex-wrap:wrap; gap:16px; align-items:center; }
.footerRight a { text-decoration:none; color:#53647a; }
.footerRight a:hover { color:var(--red); }

@media (max-width:1010px) {
  .welcomeStage { padding:36px 24px 28px; }
  .landingSection { grid-template-columns:minmax(0,1fr) minmax(340px,400px); gap:28px; }
  .heroContent h1 { font-size:clamp(34px,4.3vw,45px); }
  .heroContent>p.heroLead { font-size:15px; }
  .featureRow { gap:8px; }
  .featureRow article { padding:8px 11px; }
  .prepareCard { margin-top:26px; }
  .applyCardInner { padding:25px; }
  .locationCard strong { font-size:12px; }
}
@media (max-width:760px) {
  .topbarInner { padding:12px 20px; gap:10px; }
  .brandLogo { width:108px; }
  .brandDivider { display:block; height:23px; }
  .brandLabel { display:block; font-size:12px; }
  .supportBox { gap:0; }
  .supportIcon { width:36px; height:36px; font-size:18px; }
  .supportBox span:last-child { display:none; }
  .welcomeStage { padding:25px 18px 28px; }
  .landingSection { display:flex; flex-direction:column; gap:24px; }
  .heroPanel { width:100%; }
  .heroContent { width:100%; padding:0; }
  .eyebrow { font-size:10px; margin:0 0 14px; }
  .heroContent h1 { font-size:36px; margin-bottom:12px; letter-spacing:-.043em; }
  .heroContent h1 span { display:inline; }
  .heroContent>p.heroLead { font-size:14px; line-height:1.65; }
  .featureRow { margin-top:17px; }
  .featureRow article { min-height:0; border-radius:99px; }
  .featureRow strong { font-size:11px; }
  .featureIcon { width:15px; height:15px; font-size:13px; }
  .prepareCard { display:none; }
  .applyCard { width:100%; }
  .applyCardInner { border-radius:20px; padding:24px 20px; box-shadow:0 15px 38px rgba(24,38,62,.07); }
  .applyCard h2 { font-size:24px; }
  .formIntro { margin-bottom:19px; }
  .candidateInput { font-size:16px; height:50px; }
  .locationCard { min-height:54px; }
  .trustSection { margin-top:25px; grid-template-columns:1fr; gap:6px; padding-top:15px; }
  .trustItem { padding:8px 2px; }
  .interviewStage,.doneStage { margin:18px 12px 44px; border-radius:17px; }
  .interviewHeader { padding:19px; gap:13px; }
  .interviewBrand img { width:96px; }
  .interviewBody { padding:18px 17px 27px; }
  .orbWrap { padding:27px 0 18px; }
  .orbWrap h2 { font-size:19px; }
  .orbWrap p { font-size:12px; }
  .diagnosticPanel { margin-top:15px; }
  .doneStage { padding:40px 18px; }
  .doneStage h2 { font-size:23px; }
  footer { padding:20px 18px 26px; gap:13px; }
}
@media (max-width:380px) {
  .brandLogo { width:95px; }
  .brandLabel { font-size:11px; }
  .welcomeStage { padding:22px 12px; }
  .heroContent h1 { font-size:32px; }
  .applyCardInner { padding:20px 16px; }
  .locationCard { padding-left:31px; }
  .radioMark { left:9px; }
  .locationCard strong { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .orb,.recordingFlag span { animation:none!important; }
  .primaryStart { transition:none; }
}
