/* Candidate split-screen (/candidate). Left scrolls; right is sticky. Dark theme
   matching the prototype (#screen-home / #screen-signup). Mobile: single column,
   marketing on top, form below (sticky disabled). */
#screen-candidate{
  --bg:#0a0b14;--surface:#141627;--surface2:#1c1f33;
  --border:rgba(255,255,255,.08);--border2:rgba(255,255,255,.14);
  --text:#f4f5fb;--text2:#a9adc4;--muted:#6b6f88;
  --accent:#6d5efc;--accent2:#00e0c6;--accent-soft:rgba(109,94,252,.15);
  --font:'Helvetica Neue','Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);color:var(--text);font-family:var(--font);min-height:100vh;line-height:1.5;-webkit-font-smoothing:antialiased;
}
#screen-candidate *{box-sizing:border-box}
#screen-candidate a{color:inherit}
#screen-candidate .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;cursor:pointer;font-family:inherit;font-weight:700;border-radius:10px;transition:transform .18s ease,box-shadow .18s ease;text-decoration:none}
#screen-candidate .btn-teal{background:linear-gradient(135deg,var(--accent2),#33ead4);color:#04201c;padding:14px 22px;font-size:15px;box-shadow:0 8px 24px rgba(0,224,198,.3)}
#screen-candidate .btn-teal:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,224,198,.45)}
#screen-candidate .btn-ghost{background:transparent;color:var(--text);padding:10px 16px;font-size:14px;border:1px solid var(--border2)}
#screen-candidate .btn-ghost:hover{border-color:var(--accent2)}

/* header (shared sticky lv-header handles position; keep local brand styling) */
#screen-candidate .lv-header{position:sticky;top:0;z-index:50;background:rgba(10,11,20,.72);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
#screen-candidate .lv-inner{max-width:1180px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px}
#screen-candidate .logo{display:flex;gap:9px;align-items:center;font-weight:800;font-size:24px;font-style:italic;letter-spacing:-.01em;color:var(--text);text-decoration:none}
#screen-candidate .logo .mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,var(--accent2),var(--accent));display:flex;align-items:center;justify-content:center;flex-shrink:0;font-style:normal;box-shadow:0 6px 18px rgba(109,94,252,.4)}
#screen-candidate .logo .d{background:linear-gradient(135deg,var(--accent2),var(--accent));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
#screen-candidate .hr{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--text2)}

/* split */
#screen-candidate .split{display:grid;grid-template-columns:1.08fr .92fr;max-width:1180px;margin:0 auto;align-items:start}
#screen-candidate .pitch{padding:34px 34px 60px;background:
  radial-gradient(circle at 12% 0%,rgba(109,94,252,.2),transparent 50%),
  radial-gradient(circle at 92% 24%,rgba(0,224,198,.1),transparent 44%);}
#screen-candidate .eyebrow{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#b9b0ff;background:var(--accent-soft);border:1px solid var(--border2);border-radius:100px;padding:6px 13px;margin-bottom:16px}
#screen-candidate .pitch h1{font-size:30px;line-height:1.12;font-weight:800;letter-spacing:-.02em;margin:0 0 12px}
#screen-candidate .pitch h1 .g{background:linear-gradient(120deg,var(--accent2),var(--accent));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
#screen-candidate .lead{font-size:14.5px;color:var(--text2);margin:0 0 20px;max-width:34em}
#screen-candidate .lead b{color:var(--text)}

/* demo tile */
#screen-candidate .demo{border:1px solid var(--border2);border-radius:16px;background:#05060f;padding:20px;margin-bottom:10px}
#screen-candidate .demo-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}
#screen-candidate .orb{position:relative;width:48px;height:48px;flex-shrink:0;border-radius:50%;background:radial-gradient(circle at 38% 32%,#8b7cff,var(--accent) 60%,#4a3ed6);box-shadow:0 0 24px rgba(109,94,252,.5)}
#screen-candidate .orb::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid rgba(109,94,252,.4);animation:cpulse 2s ease-out infinite}
@keyframes cpulse{0%{transform:scale(.8);opacity:.6}100%{transform:scale(1.3);opacity:0}}
#screen-candidate .demo-live{font-size:12px;color:var(--accent2);font-weight:700;display:flex;align-items:center;gap:7px}
#screen-candidate .ldot{width:8px;height:8px;border-radius:50%;background:var(--accent2);box-shadow:0 0 0 4px rgba(0,224,198,.2)}
#screen-candidate .demo-role{font-size:11px;color:var(--muted);margin-top:2px}
#screen-candidate .wave{margin-left:auto;display:flex;align-items:flex-end;gap:3px;height:22px}
#screen-candidate .wave span{width:3px;border-radius:3px;background:linear-gradient(var(--accent2),var(--accent));height:40%;animation:wv 1s ease-in-out infinite}
#screen-candidate .wave span:nth-child(2){height:90%;animation-delay:.15s}
#screen-candidate .wave span:nth-child(3){height:55%;animation-delay:.3s}
#screen-candidate .wave span:nth-child(4){height:100%;animation-delay:.45s}
#screen-candidate .wave span:nth-child(5){height:45%;animation-delay:.6s}
@keyframes wv{0%,100%{height:30%}50%{height:100%}}
#screen-candidate .demo-q{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:12px 14px;font-size:13px;color:var(--text);line-height:1.5}
#screen-candidate .demo-note{font-size:10.5px;color:var(--muted);margin-top:8px}
#screen-candidate .demo-cap{font-size:11px;color:var(--muted);margin:8px 0 22px;text-align:center}
#screen-candidate .demo-cap a{color:var(--accent2);font-weight:600;text-decoration:none}

/* how it works */
#screen-candidate .se{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent2);margin-bottom:14px}
#screen-candidate .steps{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:16px}
#screen-candidate .steps li{display:flex;gap:14px;align-items:flex-start}
#screen-candidate .steps .n{flex-shrink:0;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
#screen-candidate .steps .n1{background:linear-gradient(135deg,var(--accent),#8b7cff);color:#fff}
#screen-candidate .steps .n2{background:linear-gradient(135deg,var(--accent2),#19c7b4);color:#04201c}
#screen-candidate .steps h4{margin:0 0 2px;font-size:14px;font-weight:700}
#screen-candidate .steps p{margin:0;font-size:12.5px;color:var(--text2)}

/* why grid */
#screen-candidate .why{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
#screen-candidate .w{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:13px}
#screen-candidate .wt{font-size:13px;font-weight:700;margin-bottom:3px}
#screen-candidate .wd{font-size:11.5px;color:var(--text2);line-height:1.45}

#screen-candidate .pills{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}
#screen-candidate .pill{font-size:11px;color:var(--text2);background:var(--surface);border:1px solid var(--border2);border-radius:100px;padding:5px 11px}
#screen-candidate .pill b{color:var(--text)}
#screen-candidate .fine{font-size:11px;color:var(--muted);margin:0 0 18px}
#screen-candidate .disclaimer{font-size:11px;color:var(--muted);line-height:1.6;border-top:1px solid var(--border);padding-top:16px;margin:0}
#screen-candidate .disclaimer a{color:var(--accent2);text-decoration:none}

/* right pane — sticky */
#screen-candidate .authpane{position:sticky;top:64px;align-self:start;padding:34px 34px 40px;display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 64px);border-left:1px solid var(--border)}
#screen-candidate .card{width:100%;max-width:340px;background:var(--surface);border:1px solid var(--border2);border-radius:20px;padding:30px;box-shadow:0 24px 60px rgba(0,0,0,.45)}
#screen-candidate .seg{display:flex;gap:5px;background:var(--bg);border:1px solid var(--border);border-radius:11px;padding:5px;margin-bottom:20px}
#screen-candidate .seg button{flex:1;text-align:center;padding:9px;border-radius:7px;cursor:pointer;font-weight:700;font-size:13px;color:var(--text2);border:none;background:transparent;font-family:inherit;transition:all .18s ease}
#screen-candidate .seg button.active{background:linear-gradient(135deg,var(--accent),#8b7cff);color:#fff}
#screen-candidate .card h2{margin:0 0 4px;font-size:19px;font-weight:800}
#screen-candidate .csub{color:var(--text2);font-size:12.5px;margin:0 0 18px}
#screen-candidate .field{margin-bottom:8px}
#screen-candidate .field label{display:block;font-size:12px;font-weight:700;color:var(--text2);margin-bottom:6px}
#screen-candidate .card input{width:100%;background:var(--bg);border:1.5px solid var(--border2);border-radius:10px;color:var(--text);font-family:inherit;font-size:13.5px;padding:12px 13px}
#screen-candidate .card input:focus{outline:none;border-color:var(--accent)}
#screen-candidate .hint{font-size:11px;color:var(--muted);margin:0 0 16px;line-height:1.5}
#screen-candidate .alt{text-align:center;font-size:12.5px;color:var(--text2);margin:14px 0 0}
#screen-candidate .alt a{color:var(--accent2);font-weight:600;text-decoration:none}
#screen-candidate .trust-row{display:flex;gap:16px;justify-content:center;margin-top:18px;flex-wrap:wrap}
#screen-candidate .trust-row span{font-size:11px;color:var(--muted);font-weight:600}

@media(max-width:860px){
  #screen-candidate .split{grid-template-columns:1fr}
  #screen-candidate .authpane{position:static;min-height:0;border-left:none;border-top:1px solid var(--border);padding:24px 20px 44px}
  #screen-candidate .pitch{padding:24px 20px 10px}
  #screen-candidate .pitch h1{font-size:26px}
  #screen-candidate .why{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){#screen-candidate *{animation:none!important}}

/* Mounted V2 auth form (LVAuthUI) inside the right card. The module ships its own
   .auth-card/.auth-form styles via auth-ui.css; strip the extra card chrome so it
   sits flush in our pane, and drop its internal max-width cap. */
#screen-candidate .cand-auth .auth-card{background:transparent;border:none;box-shadow:none;padding:0;margin:0;max-width:none}
#screen-candidate .cand-auth .auth-page{padding:0;margin:0;max-width:none}
#screen-candidate .cand-auth #auth-title{font-size:19px;margin:0 0 4px}
#screen-candidate .card{padding:26px}
