/* SAFETY: never let scroll-reveal hide content if JS is slow/blocked
       (e.g. opened via file://). Content is visible by default; main.js
       still animates it in when it runs. */
    .reveal{ opacity:1 !important; transform:none !important; }
    /* =====================================================================
       Hireme AI - Career Readiness Check · SPLIT-PANEL premium UI
       Left: dark gradient panel + vertical step tracker.
       Right: clean white question area. Re-skins shared .wiz-* markup,
       so quiz.js logic stays 100% untouched.
       ===================================================================== */
    :root{ --crc:#7c3aed; --crc2:#6d28d9; --crc-ink:#2e1065; --crc-soft:#f5f3ff; }

    /* widen the shell so two option columns have room */
    .wizard-shell{ max-width:980px; margin:0 auto; }

    /* ---- Two-column shell ---- */
    .wizard-card{
      position:relative; display:grid; grid-template-columns:310px 1fr;
      padding:0; overflow:hidden; border:1px solid #ece8fa; border-radius:28px;
      box-shadow:0 34px 80px rgba(46,16,101,.18); background:#fff; min-height:580px;
    }
    .wizard-card::before{ display:none; }

    /* ---- LEFT dark panel ---- */
    .crc-aside{
      position:relative; color:#e9e3fb; padding:34px 28px;
      background:
        radial-gradient(420px 200px at 120% -10%, rgba(167,139,250,.32), transparent 70%),
        linear-gradient(160deg,#3b1d72 0%,#4c1d95 55%,#2e1065 100%);
      display:flex; flex-direction:column;
    }
    .crc-aside::after{ /* subtle dotted texture */
      content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
      background-image:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
      background-size:18px 18px;
    }
    .crc-brand{ display:flex; align-items:center; gap:11px; position:relative; z-index:1; margin-bottom:30px; }
    .crc-brand .ic{ width:42px; height:42px; border-radius:12px; display:grid; place-items:center; font-size:1.25rem;
      background:linear-gradient(135deg,#a855f7,#7c3aed); box-shadow:0 8px 20px rgba(124,58,237,.5); }
    .crc-brand b{ display:block; font-size:1rem; color:#fff; letter-spacing:-.01em; }
    .crc-brand span{ font-size:.76rem; color:#c4b5fd; }

    /* vertical stepper (with connecting line) */
    .crc-steps{ list-style:none; margin:0; padding:0; position:relative; z-index:1; flex:1; }
    .crc-steps li{ position:relative; display:flex; align-items:center; gap:14px; padding:11px 0; color:#a695d6; font-weight:600; font-size:.93rem; transition:.25s; }
    /* connecting line between dots */
    .crc-steps li:not(:last-child)::before{
      content:""; position:absolute; left:16px; top:calc(50% + 16px); width:2px; height:calc(100% - 10px);
      background:rgba(255,255,255,.14); z-index:0;
    }
    .crc-steps li.done:not(:last-child)::before{ background:linear-gradient(180deg,#a855f7,rgba(168,85,247,.35)); }
    .crc-steps .dot{ position:relative; z-index:1; width:34px; height:34px; border-radius:50%; flex:none; display:grid; place-items:center;
      font-size:.85rem; font-weight:800; border:2px solid rgba(255,255,255,.2); background:#3a1f6b;
      color:#ddd3f7; transition:.25s; }
    .crc-steps li.done{ color:#f1ecfd; }
    .crc-steps li.done .dot{ background:linear-gradient(135deg,#a855f7,#7c3aed); border-color:transparent; color:#fff; box-shadow:0 6px 14px rgba(124,58,237,.5); }
    .crc-steps li.now{ color:#fff; }
    .crc-steps li.now .dot{ border-color:#c4b5fd; background:rgba(167,139,250,.25); color:#fff; box-shadow:0 0 0 5px rgba(167,139,250,.2); }
    .crc-steps li.now .lbl{ font-weight:700; }

    .crc-aside-foot{ position:relative; z-index:1; margin-top:22px; padding-top:18px; border-top:1px solid rgba(255,255,255,.1);
      display:flex; flex-direction:column; gap:9px; font-size:.8rem; color:#c4b5fd; }
    .crc-aside-foot span{ display:flex; align-items:center; gap:8px; }

    /* ---- RIGHT panel ---- */
    .crc-main{ padding:44px 48px; display:flex; flex-direction:column; }
    .crc-main-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
    .crc-qof{ font-size:.8rem; font-weight:700; color:var(--crc2); letter-spacing:.04em; text-transform:uppercase; }
    .crc-pct{ font-size:.8rem; font-weight:700; color:#9b95ad; }
    /* top mini progress */
    .wiz-bar{ height:7px; background:#efecfb; border-radius:999px; overflow:hidden; margin:11px 0 30px; }
    .wiz-bar i{ display:block; height:100%; background:linear-gradient(90deg,#7c3aed,#a855f7); box-shadow:0 0 12px rgba(124,58,237,.55);
      transition:width .5s cubic-bezier(.34,1.2,.5,1); width:0; }

    /* original brand row + eyebrow hidden (replaced by aside/head) */
    .wiz-brand{ display:none; }
    .wiz-eyebrow{ display:none; }
    .wiz-q{ letter-spacing:-.02em; font-size:1.58rem; line-height:1.3; margin-bottom:26px; color:var(--crc-ink); }

    /* ---- Lettered choice cards (flex layout = no cramped text) ---- */
    .opt-grid{ counter-reset:opt; gap:14px; }
    .opt{
      display:flex; align-items:center; gap:15px; text-align:left;
      border:1.6px solid #eceaf6; border-radius:16px; padding:18px 20px; min-height:84px;
      background:#fff; cursor:pointer;
      transition:transform .18s ease, box-shadow .2s ease, border-color .18s ease, background .18s ease;
    }
    .opt .radio{ display:none; }
    /* lettered badge as a real flex item */
    .opt::before{
      counter-increment:opt; content:counter(opt, upper-alpha);
      width:38px; height:38px; flex:0 0 38px; border-radius:11px; display:grid; place-items:center;
      font-weight:800; font-size:.95rem; color:var(--crc2);
      background:var(--crc-soft); border:1.5px solid #e0d8fa; transition:.18s;
    }
    /* the text column */
    .opt > span:last-child{ display:flex; flex-direction:column; gap:3px; min-width:0; }
    .opt .o-title{ font-size:1.05rem; font-weight:700; color:#241a40; line-height:1.25; transition:color .16s ease; }
    .opt .o-sub{ font-size:.85rem; color:#8b85a0; line-height:1.4; }
    .opt:hover{ transform:translateY(-3px); border-color:#c2a9f5; box-shadow:0 14px 30px rgba(124,58,237,.15); }
    .opt:hover::before{ background:#ece4fd; transform:scale(1.05); }
    .opt:hover .o-title{ color:var(--crc-ink); }
    .opt.sel{ border-color:var(--crc); background:linear-gradient(135deg,#faf7ff,#f3eeff); box-shadow:0 16px 34px rgba(124,58,237,.2); }
    .opt.sel::before{ content:"\2713"; background:linear-gradient(135deg,#7c3aed,#6d28d9); color:#fff; border-color:transparent; box-shadow:0 6px 16px rgba(124,58,237,.5); }
    .opt.sel .o-title{ color:var(--crc-ink); }

    /* ---- Nav (pinned to bottom of right panel) ---- */
    .wiz-nav{ margin-top:auto; padding-top:28px; }
    .wiz-nav .btn-primary{ background:linear-gradient(135deg,#7c3aed,#6d28d9); border:0; box-shadow:0 10px 22px rgba(124,58,237,.34); }
    .wiz-nav .btn-back:hover{ border-color:#b69bf0; color:var(--crc2); }

    /* ---- Lead capture ---- */
    .lock-ico{ background:linear-gradient(135deg,#7c3aed,#4c1d95); box-shadow:0 14px 30px rgba(124,58,237,.45); }
    .lead-field input:focus{ border-color:#a78bfa; box-shadow:0 0 0 4px rgba(124,58,237,.14); }
    .lead-trust{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-top:14px; color:#6b6480; font-size:.82rem; font-weight:600; }

    /* ---- RESULT: horizontal score meter ---- */
    .res-hero{ background:radial-gradient(560px 280px at 50% -30%, rgba(124,58,237,.13), transparent 70%); }
    .res-badge{ letter-spacing:.06em; }
    .res-ring{ --val:0; --c:#7c3aed; width:auto; height:auto; margin:20px auto 6px; max-width:380px; background:none; display:block; border-radius:0; }
    .res-ring::before{ display:none; }
    .res-ring .rv{ position:relative; z-index:1; margin-bottom:14px; }
    .res-ring .rv b{ font-size:3.6rem; background:linear-gradient(135deg,#7c3aed,#6d28d9); -webkit-background-clip:text; background-clip:text; color:transparent; }
    .res-ring .rv span{ color:#6b6480; }
    .res-ring::after{ content:""; display:block; height:16px; border-radius:999px; background:#efecfb; box-shadow:inset 0 1px 3px rgba(46,16,101,.1);
      background-image:linear-gradient(90deg, var(--c) calc(var(--val)*1%), transparent 0); background-repeat:no-repeat; transition:background-image .9s cubic-bezier(.34,1.1,.5,1); }
    .res-scale{ display:flex; justify-content:space-between; max-width:380px; margin:7px auto 0; font-size:.72rem; font-weight:700; color:#9b95ad; letter-spacing:.04em; }

    /* ---- Insight cards ---- */
    .insight{ border-radius:14px; border-left-width:4px; }
    .insight.good{ background:#f3f0fe; border-color:#dccffb; border-left-color:#7c3aed; }
    .insight.warn{ background:#fff8ef; border-color:#fae3bf; border-left-color:#f59e0b; }

    /* ---- Responsive: stack the panel on top ---- */
    @media (max-width:860px){
      .wizard-card{ grid-template-columns:1fr; min-height:0; }
      .crc-aside{ padding:24px 22px; }
      .crc-steps{ display:flex; gap:6px; overflow:auto; flex:none; }
      .crc-steps li{ flex-direction:column; gap:6px; padding:0; font-size:.66rem; text-align:center; min-width:46px; }
      .crc-steps li b{ display:none; } /* hide labels on mobile, keep dots */
      .crc-steps li .lbl{ display:none; }
      .crc-aside-foot{ display:none; }
      .crc-main{ padding:28px 22px; }
      .wiz-q{ font-size:1.28rem; }
    }
