/* =====================================================================
   The Human Layer Assessment — /score/
   Self-contained, full-bleed. Brand tokens only (no home_2026.css load).
   Montserrat + JetBrains Mono · orange #fb923c → purple #7c3aed · dark.
   ===================================================================== */

:root {
    --hla-bg:        #06040a;
    --hla-bg-2:      #0c0813;
    --hla-surface:   #120c1d;
    --hla-surface-2: #1a1228;
    --hla-line:      rgba(255,255,255,.08);
    --hla-line-2:    rgba(255,255,255,.14);
    --hla-text:      #f4f1f8;
    --hla-text-dim:  #b3a9c4;
    --hla-text-mute: #7d7392;
    --hla-orange:    #fb923c;
    --hla-orange-2:  #fcd34d;
    --hla-purple:    #7c3aed;
    --hla-purple-2:  #a855f7;
    --hla-green:     #34d399;
    --hla-red:       #f87171;
    --hla-amber:     #fbbf24;
    --hla-radius:    16px;
    --hla-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --hla-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

.hla-body {
    margin: 0;
    background: var(--hla-bg);
    color: var(--hla-text);
    font-family: var(--hla-sans);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image:
        radial-gradient(1200px 600px at 12% -5%, rgba(124,58,237,.18), transparent 60%),
        radial-gradient(1000px 500px at 100% 0%, rgba(251,146,60,.10), transparent 55%);
    background-attachment: fixed;
}

.hla-shell { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 28px; }

/* ---------- Top strip ---------- */
.hla-topstrip {
    border-bottom: 1px solid var(--hla-line);
    background: rgba(6,4,10,.7);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 20;
}
.hla-topstrip-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.hla-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--hla-text); }
.hla-brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hla-orange);
    box-shadow: 0 0 0 4px rgba(251,146,60,.18); }
.hla-brand-name { font-weight: 800; letter-spacing: -.01em; }
.hla-brand-tag { font-family: var(--hla-mono); font-size: 11px; color: var(--hla-text-mute); letter-spacing: .08em; }
.hla-topstrip-right { display: inline-flex; align-items: center; gap: 16px; }
.hla-topstrip-meta { font-family: var(--hla-mono); font-size: 11px; letter-spacing: .12em; color: var(--hla-text-mute); }
.hla-lang { font-family: var(--hla-mono); font-size: 12px; color: var(--hla-text-dim); text-decoration: none;
    border: 1px solid var(--hla-line-2); border-radius: 6px; padding: 3px 9px; }
.hla-lang:hover { color: var(--hla-text); border-color: var(--hla-orange); }

/* ---------- Stage ---------- */
.hla-stage { flex: 1; display: flex; flex-direction: column; padding: 56px 0 72px; }
.hla-app { width: 100%; }

/* ---------- Intro ---------- */
.hla-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--hla-mono);
    font-size: 12px; letter-spacing: .14em; color: var(--hla-text-mute); margin-bottom: 26px; }
.hla-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hla-green);
    box-shadow: 0 0 0 3px rgba(52,211,153,.2); }
.hla-hero-title { font-size: clamp(30px, 5vw, 52px); line-height: 1.06; font-weight: 800;
    letter-spacing: -.025em; margin: 0 0 26px; }
.hla-hero-accent { background: linear-gradient(100deg, var(--hla-orange), var(--hla-orange-2) 60%, var(--hla-purple-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hla-hero-lede { font-size: clamp(16px, 2vw, 19px); line-height: 1.65; color: var(--hla-text-dim);
    max-width: 720px; margin: 0 0 18px; }
.hla-hero-lede em { color: var(--hla-text); font-style: italic; }
.hla-hero-lede-strong { color: var(--hla-text); font-weight: 500; }

.hla-framework-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 36px; }
.hla-fw-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
    color: var(--hla-text-dim); background: var(--hla-surface); border: 1px solid var(--hla-line);
    border-radius: 999px; padding: 8px 15px; }
.hla-fw-num { font-family: var(--hla-mono); font-size: 11px; color: var(--hla-orange); }

.hla-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hla-cta-note { font-size: 13px; color: var(--hla-text-mute); display: inline-flex; align-items: center; gap: 7px; }
.hla-resume-row { margin-top: 18px; }

/* ---------- Buttons ---------- */
.hla-btn { font-family: var(--hla-sans); font-weight: 700; font-size: 15px; border: none; cursor: pointer;
    border-radius: 12px; padding: 14px 24px; display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.hla-btn:hover { text-decoration: none; }
.hla-btn:active { transform: translateY(1px); }
.hla-btn-primary { background: linear-gradient(100deg, var(--hla-orange), #f97316); color: #1a0e02;
    box-shadow: 0 10px 30px -10px rgba(251,146,60,.6); }
.hla-btn-primary:hover { box-shadow: 0 14px 38px -10px rgba(251,146,60,.75); }
.hla-btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.hla-btn-ghost { background: transparent; color: var(--hla-text-dim); border: 1px solid var(--hla-line-2); }
.hla-btn-ghost:hover { color: var(--hla-text); border-color: var(--hla-text-dim); }
.hla-btn-secondary { background: var(--hla-surface-2); color: var(--hla-text); border: 1px solid var(--hla-line-2); }
.hla-btn-secondary:hover { border-color: var(--hla-text-dim); }

/* ---------- Wizard ---------- */
.hla-wizard { width: 100%; }
.hla-progress { margin-bottom: 30px; }
.hla-progress-head { display: flex; justify-content: space-between; align-items: baseline;
    font-family: var(--hla-mono); font-size: 12px; color: var(--hla-text-mute); margin-bottom: 10px; letter-spacing: .04em; }
.hla-progress-step { color: var(--hla-text-dim); }
.hla-progress-track { height: 4px; background: var(--hla-surface-2); border-radius: 999px; overflow: hidden; }
.hla-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--hla-orange), var(--hla-purple-2));
    border-radius: 999px; transition: width .4s cubic-bezier(.4,0,.2,1); }

.hla-q { animation: hlaFade .35s ease; }
@keyframes hlaFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hla-q-kicker { font-family: var(--hla-mono); font-size: 12px; letter-spacing: .12em; color: var(--hla-orange);
    text-transform: uppercase; margin-bottom: 14px; }
.hla-q-prompt { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em;
    margin: 0 0 8px; }
.hla-q-help { font-size: 14px; color: var(--hla-text-mute); margin: 0 0 24px; line-height: 1.5; }

.hla-options { display: flex; flex-direction: column; gap: 11px; }
.hla-option { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%;
    background: var(--hla-surface); border: 1px solid var(--hla-line); border-radius: 14px; padding: 16px 18px;
    cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .1s ease; color: var(--hla-text); }
.hla-option:hover { border-color: var(--hla-line-2); background: var(--hla-surface-2); }
.hla-option.is-selected { border-color: var(--hla-orange); background: rgba(251,146,60,.07);
    box-shadow: inset 0 0 0 1px var(--hla-orange); }
.hla-option-marker { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--hla-line-2);
    margin-top: 1px; display: grid; place-items: center; transition: border-color .15s ease; }
.hla-option.is-selected .hla-option-marker { border-color: var(--hla-orange); }
.hla-option.is-selected .hla-option-marker::after { content: ''; width: 10px; height: 10px; border-radius: 50%;
    background: var(--hla-orange); }
.hla-option-body { flex: 1; }
.hla-option-text { font-size: 15px; line-height: 1.5; color: var(--hla-text); }
.hla-option-lvl { font-family: var(--hla-mono); font-size: 11px; color: var(--hla-text-mute); letter-spacing: .06em;
    display: block; margin-bottom: 3px; }

/* Red-flag follow-ups */
.hla-redflags { margin-top: 18px; border-left: 2px solid var(--hla-amber); padding-left: 20px;
    animation: hlaFade .3s ease; }
.hla-redflags-note { font-family: var(--hla-mono); font-size: 11px; letter-spacing: .08em; color: var(--hla-amber);
    text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hla-rf { margin-bottom: 20px; }
.hla-rf-prompt { font-size: 15px; font-weight: 600; color: var(--hla-text); margin-bottom: 11px; line-height: 1.45; }
.hla-rf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.hla-chip { font-size: 13px; font-weight: 600; color: var(--hla-text-dim); background: var(--hla-surface);
    border: 1px solid var(--hla-line); border-radius: 999px; padding: 8px 15px; cursor: pointer;
    transition: all .14s ease; }
.hla-chip:hover { border-color: var(--hla-line-2); color: var(--hla-text); }
.hla-chip.is-selected { background: rgba(251,146,60,.12); border-color: var(--hla-orange); color: var(--hla-orange-2); }

.hla-wizard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; gap: 16px; }
.hla-back { background: none; border: none; color: var(--hla-text-mute); font-family: var(--hla-sans);
    font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px; }
.hla-back:hover { color: var(--hla-text-dim); }
.hla-back:disabled { opacity: 0; pointer-events: none; }

/* ---------- Lead gate ---------- */
.hla-lead-kicker { font-family: var(--hla-mono); font-size: 12px; letter-spacing: .12em; color: var(--hla-orange);
    text-transform: uppercase; margin-bottom: 14px; }
.hla-lead-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.hla-lead-sub { font-size: 15px; color: var(--hla-text-dim); margin: 0 0 28px; line-height: 1.55; max-width: 640px; }
.hla-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hla-field { display: flex; flex-direction: column; gap: 7px; }
.hla-field-full { grid-column: 1 / -1; }
.hla-label { font-size: 12px; font-weight: 600; color: var(--hla-text-mute); letter-spacing: .03em; }
.hla-label .req { color: var(--hla-orange); }
.hla-input, .hla-select { background: var(--hla-surface); border: 1px solid var(--hla-line-2); border-radius: 10px;
    padding: 12px 14px; color: var(--hla-text); font-family: var(--hla-sans); font-size: 15px; width: 100%; }
.hla-input:focus, .hla-select:focus { outline: none; border-color: var(--hla-orange);
    box-shadow: 0 0 0 3px rgba(251,146,60,.15); }
.hla-input::placeholder { color: var(--hla-text-mute); }
.hla-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237d7392' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.hla-select option { background: var(--hla-surface); color: var(--hla-text); }
.hla-consent { grid-column: 1 / -1; display: flex; gap: 11px; align-items: flex-start; font-size: 13px;
    color: var(--hla-text-mute); line-height: 1.5; margin-top: 4px; }
.hla-consent input { margin-top: 3px; accent-color: var(--hla-orange); width: 16px; height: 16px; }
.hla-lead-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.hla-lead-reassure { font-size: 12px; color: var(--hla-text-mute); display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Reveal ---------- */
.hla-reveal { animation: hlaFade .5s ease; }
.hla-reveal-head { display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
    padding-bottom: 30px; border-bottom: 1px solid var(--hla-line); margin-bottom: 30px; }
.hla-scorebig { flex: 0 0 auto; text-align: center; }
.hla-scorebig-num { font-size: 76px; font-weight: 900; line-height: 1; letter-spacing: -.04em;
    background: linear-gradient(120deg, var(--hla-orange), var(--hla-orange-2) 55%, var(--hla-purple-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hla-scorebig-den { font-size: 22px; color: var(--hla-text-mute); font-weight: 700; }
.hla-scorebig-label { font-family: var(--hla-mono); font-size: 11px; letter-spacing: .12em; color: var(--hla-text-mute);
    text-transform: uppercase; margin-top: 6px; }
.hla-reveal-headbody { flex: 1; min-width: 260px; }
.hla-band { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.hla-band-cap { font-size: 13px; color: var(--hla-amber); display: inline-flex; align-items: center; gap: 7px;
    font-weight: 600; }
.hla-headline { font-size: 15px; color: var(--hla-text-dim); line-height: 1.55; margin: 12px 0 0; }

/* Verdict strip */
.hla-verdict { display: flex; gap: 14px; align-items: flex-start; border-radius: 14px; padding: 18px 20px;
    margin-bottom: 14px; border: 1px solid var(--hla-line-2); background: var(--hla-surface); }
.hla-verdict-icon { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    font-size: 16px; }
.hla-verdict.is-pass .hla-verdict-icon { background: rgba(52,211,153,.14); color: var(--hla-green); }
.hla-verdict.is-fail .hla-verdict-icon { background: rgba(248,113,113,.14); color: var(--hla-red); }
.hla-verdict-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.hla-verdict.is-pass .hla-verdict-title { color: var(--hla-green); }
.hla-verdict.is-fail .hla-verdict-title { color: var(--hla-red); }
.hla-verdict-reason { font-size: 14px; color: var(--hla-text-dim); line-height: 1.5; }

/* Component bars */
.hla-section-title { font-family: var(--hla-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--hla-text-mute); margin: 30px 0 16px; }
.hla-bars { display: flex; flex-direction: column; gap: 16px; }
.hla-bar-row { }
.hla-bar-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hla-bar-name { font-weight: 600; font-size: 15px; }
.hla-bar-name .hla-demoted { font-family: var(--hla-mono); font-size: 10px; color: var(--hla-amber); margin-left: 8px;
    letter-spacing: .06em; border: 1px solid rgba(251,191,36,.4); border-radius: 5px; padding: 2px 6px; }
.hla-bar-lvl { font-family: var(--hla-mono); font-size: 12px; color: var(--hla-text-dim); }
.hla-bar-track { display: flex; gap: 5px; }
.hla-bar-seg { flex: 1; height: 9px; border-radius: 4px; background: var(--hla-surface-2); }
.hla-bar-seg.is-on { background: linear-gradient(90deg, var(--hla-orange), var(--hla-purple-2)); }
.hla-bar-seg.is-weak.is-on { background: var(--hla-red); }
.hla-bar-reason { font-size: 12px; color: var(--hla-text-mute); margin-top: 7px; line-height: 1.45;
    display: flex; gap: 7px; }
.hla-bar-reason i { color: var(--hla-amber); margin-top: 2px; }

/* Persistence + strengths/weaknesses */
.hla-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.hla-card { background: var(--hla-surface); border: 1px solid var(--hla-line); border-radius: 14px; padding: 18px 20px; }
.hla-card-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.hla-card-title i { color: var(--hla-orange); }
.hla-card ul { margin: 0; padding-left: 18px; }
.hla-card li { font-size: 14px; color: var(--hla-text-dim); line-height: 1.55; margin-bottom: 7px; }

.hla-persist { display: flex; align-items: center; gap: 14px; background: var(--hla-surface);
    border: 1px solid var(--hla-line); border-radius: 14px; padding: 18px 20px; margin-top: 14px; }
.hla-persist-badge { font-family: var(--hla-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em;
    padding: 6px 12px; border-radius: 8px; }
.hla-persist-badge.established { background: rgba(52,211,153,.14); color: var(--hla-green); }
.hla-persist-badge.partial { background: rgba(251,191,36,.14); color: var(--hla-amber); }
.hla-persist-badge.absent { background: rgba(248,113,113,.14); color: var(--hla-red); }
.hla-persist-body { font-size: 14px; color: var(--hla-text-dim); line-height: 1.5; }

/* Tier 2/3 verification prompt + Timer bridge */
.hla-upsell { border: 1px solid var(--hla-purple); border-radius: 16px; padding: 24px;
    background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(251,146,60,.06)); margin-top: 24px; }
.hla-upsell-kicker { font-family: var(--hla-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--hla-purple-2); margin-bottom: 10px; }
.hla-upsell-title { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.hla-upsell-body { font-size: 14px; color: var(--hla-text-dim); line-height: 1.6; margin: 0 0 16px; }

.hla-emailed-note { font-size: 14px; color: var(--hla-text-dim); margin: 26px 0 0; display: flex; align-items: center; gap: 9px; }
.hla-emailed-note i { color: var(--hla-green); }
.hla-emailed-note strong { color: var(--hla-text); }
.hla-reveal-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Footer ---------- */
.hla-footer { border-top: 1px solid var(--hla-line); padding: 28px 0 40px; margin-top: auto; }
.hla-positioning { font-size: 12.5px; color: var(--hla-text-mute); line-height: 1.6; max-width: 760px; margin: 0 0 16px; }
.hla-footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: var(--hla-text-mute); }
.hla-footer-meta a { color: var(--hla-text-dim); text-decoration: none; }
.hla-footer-meta a:hover { color: var(--hla-orange); }
.hla-footer-version { font-family: var(--hla-mono); letter-spacing: .08em; }

/* ---------- Toast ---------- */
.hla-toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--hla-surface-2); border: 1px solid var(--hla-line-2); border-radius: 12px; padding: 14px 20px;
    font-size: 14px; font-weight: 600; color: var(--hla-text); box-shadow: 0 20px 50px -15px rgba(0,0,0,.7);
    z-index: 99999; opacity: 0; transition: opacity .25s ease, transform .25s ease; max-width: 90vw; }
.hla-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hla-toast.is-error { border-color: var(--hla-red); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .hla-shell { padding: 0 20px; }
    .hla-form { grid-template-columns: 1fr; }
    .hla-cols { grid-template-columns: 1fr; }
    .hla-topstrip-meta { display: none; }
    .hla-reveal-head { gap: 22px; }
    .hla-scorebig-num { font-size: 60px; }
    .hla-stage { padding: 36px 0 56px; }
}
