/* LinkedIn Profile Optimiser v2.1. App page plus landing page. */

/* === APP PAGE === */
.lio-app { background: var(--bg); min-height: 100vh; padding: 6rem 1.5rem 4rem; font-variant-ligatures: none; }
.lio-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; align-items: start; }
.lio-side { background: var(--white, #fff); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem; position: sticky; top: 90px; }
.lio-side-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 0 0 1rem; }
.lio-prog-label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.4rem; }
.lio-prog-track { height: 7px; background: var(--border); border-radius: 99px; overflow: hidden; margin-bottom: 1.2rem; }
.lio-prog-fill { height: 100%; background: var(--green); border-radius: 99px; transition: width 0.4s; }
.lio-nav { list-style: none; margin: 0 0 1rem; padding: 0; }
.lio-nav-item { display: flex; align-items: center; gap: 0.6rem; width: 100%; background: none; border: none; padding: 0.5rem 0.3rem; font-family: var(--font-body); font-size: 0.88rem; color: var(--text-light); cursor: pointer; text-align: left; border-left: 2.5px solid transparent; }
.lio-nav-item .lio-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; }
.lio-nav-item.now { color: var(--green-dark); font-weight: 700; border-left-color: var(--green); }
.lio-nav-item.now .lio-dot { border-color: var(--green); }
.lio-nav-item.done { color: var(--navy); }
.lio-nav-item.done .lio-dot { background: var(--green); border-color: var(--green); }
.lio-nav-item.locked { cursor: default; opacity: 0.6; }
.lio-side-pack { display: flex; align-items: center; justify-content: space-between; background: rgba(30,200,106,0.08); border-radius: 8px; padding: 0.5rem 0.8rem; margin-bottom: 0.8rem; }
.lio-side-pack-label { font-size: 0.8rem; color: var(--green-dark); font-weight: 700; }
.lio-side-pack-count { font-family: var(--font-heading); font-weight: 800; color: var(--green-dark); }
.lio-side-note { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; margin: 0; }
.lio-main { min-width: 0; }

.lio-restore { display: none; align-items: center; gap: 0.8rem; background: var(--violet-pale); border-radius: 8px; padding: 0.6rem 1rem; margin-bottom: 1.1rem; font-size: 0.88rem; }
.lio-restore p { margin: 0; color: var(--violet-dark); }
.lio-restore-fresh { background: none; border: none; color: var(--violet); font-weight: 700; font-size: 0.85rem; cursor: pointer; text-decoration: underline; font-family: var(--font-body); margin-left: auto; }

.lio-msg { border-radius: 8px; padding: 0.7rem 1rem; margin-bottom: 1rem; font-size: 0.88rem; font-weight: 500; }
.lio-msg-info { background: var(--violet-pale); color: var(--violet-dark); }
.lio-msg-ok { background: rgba(30,200,106,0.12); color: var(--green-dark); }
.lio-msg-warn { background: rgba(108,99,255,0.1); color: var(--violet-dark); }

.lio-screen { display: none; }
.lio-screen.on { display: block; }
.lio-head { background: var(--white, #fff); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.75rem; margin-bottom: 1.1rem; }
.lio-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); margin-bottom: 0.4rem; }
.lio-head h1 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 0 0 0.5rem; line-height: 1.3; }
.lio-head p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; margin: 0; }

/* v2 card (replaces lio-check) */
.lio-card { background: var(--white, #fff); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.6rem; margin-bottom: 1.1rem; position: relative; box-shadow: 0 2px 8px rgba(18,21,61,0.04); }
.lio-card-top { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
.lio-card-top h3 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--navy); margin: 0; flex: 1; }
.lio-card p { font-size: 0.88rem; color: #12153D; line-height: 1.6; margin: 0 0 0.6rem; }
.lio-card h3 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin: 0 0 0.8rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--border); }
.lio-card-disabled { opacity: 0.45; pointer-events: none; }
.lio-card-overlay { display: none; position: absolute; inset: 0; background: rgba(255,255,255,0.4); border-radius: 12px; z-index: 5; }
.lio-card-disabled .lio-card-overlay { display: block; }
.lio-feature { border-color: var(--violet); box-shadow: 0 2px 14px rgba(108,99,255,0.08); }
.lio-center { text-align: center; }
.lio-email-pitch { font-size: 0.9rem; color: var(--navy); }
.lio-field-help { font-size: 0.82rem; color: #6C63FF; background: var(--violet-pale); border-radius: 6px; padding: 0.5rem 0.75rem; margin-bottom: 0.8rem; }

.lio-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 6px; padding: 0.25rem 0.6rem; }
.lio-badge-pass { color: var(--green-dark); background: rgba(30,200,106,0.1); }
.lio-badge-work { color: var(--violet); background: var(--violet-pale); }
.lio-badge-opt { color: var(--text-light); background: var(--bg-section); }
.lio-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--violet); background: var(--violet-pale); border-radius: 4px; padding: 0.12rem 0.45rem; }

.lio-field { margin-bottom: 0.4rem; }
.lio-field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.lio-field input, .lio-field textarea { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 0.55rem 0.75rem; font-size: 0.88rem; font-family: var(--font-body); color: var(--navy); }
.lio-field input:focus, .lio-field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-pale); }
.lio-inline-row { display: flex; gap: 0.6rem; }
.lio-inline-row input { flex: 1; }
.lio-hint { font-size: 0.72rem; color: var(--text-light); line-height: 1.5; margin: 0.75rem 0 0.3rem; }
.lio-recog { font-size: 0.88rem; font-weight: 700; color: var(--green-dark); margin: 0.45rem 0 0; }

.lio-upzone { border: 2px dashed var(--text-mid); border-radius: 8px; padding: 2.5rem 1.5rem; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-bottom: 1rem; background: var(--white, #fff); transition: border-color 0.2s, background 0.2s; }
.lio-upzone:hover, .lio-upzone.lio-drag { border-color: var(--violet); background: rgba(108,99,255,0.03); }
.lio-upzone strong { font-family: var(--font-heading); color: var(--navy); font-size: 0.95rem; }
.lio-upzone span { font-size: 0.83rem; color: var(--text-light); }
.lio-upzone-sm { padding: 1.4rem 1rem; }
.lio-upzone-sm svg { color: var(--text-light); margin-bottom: 0.3rem; }
.lio-upzone-sm strong { font-size: 0.88rem; }
.lio-upzone-sm span { font-size: 0.78rem; }
.lio-howto { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.7rem; margin-bottom: 0.9rem; }
.lio-howto-box { background: var(--bg-section); border-radius: 8px; padding: 0.8rem 0.9rem; font-size: 0.82rem; color: var(--text-mid); line-height: 1.45; }
.lio-howto-box b { display: block; color: var(--navy); margin-bottom: 0.15rem; }
.lio-or { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--text-light); letter-spacing: 0.1em; margin: 0.9rem 0; }

.lio-cv-tabs { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; }
.lio-cv-tab { background: var(--bg-section); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 1rem; font-size: 0.85rem; font-weight: 700; color: var(--text-light); cursor: pointer; font-family: var(--font-body); }
.lio-cv-tab.on { background: var(--violet-pale); border-color: var(--violet); color: var(--violet); }
.lio-cv-panel textarea { width: 100%; min-height: 120px; border: 1px solid var(--border); border-radius: 6px; padding: 0.55rem 0.75rem; font-family: var(--font-body); font-size: 0.88rem; color: var(--navy); margin-bottom: 0.6rem; resize: vertical; }
.lio-cv-nudge { font-size: 0.85rem; color: var(--text-mid); background: var(--bg-section); border-radius: 6px; padding: 0.55rem 0.85rem; margin: 0.8rem 0; }
.lio-cv-nudge a { color: var(--violet); font-weight: 700; }

.lio-btnrow { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.5rem; }
.lio-btnrow-end { display: flex; gap: 0.6rem; }
.lio-cta { font-family: var(--font-heading); font-weight: 700; font-size: 0.88rem; border-radius: 10px; padding: 0.7rem 1.4rem; cursor: pointer; border: none; text-decoration: none; display: inline-block; }
.lio-cta-primary { background: var(--violet); color: #fff; }
.lio-cta-primary:hover { opacity: 0.92; }
.lio-cta-primary:disabled, .lio-cta-primary[disabled] { opacity: 0.4; cursor: default; }
.lio-cta-ghost { background: none; border: 1px solid var(--border); color: var(--text-light); }
.lio-cta-skip { background: none; border: 1px solid var(--violet); color: var(--violet); }

.lio-think { display: flex; align-items: center; gap: 0.8rem; background: var(--white, #fff); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.4rem; margin-bottom: 1.1rem; }
.lio-think p { margin: 0; font-size: 0.92rem; color: var(--text-mid); }
.lio-think-dots { display: flex; gap: 4px; }
.lio-think-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); animation: lioPulse 1.2s infinite; }
.lio-think-dots i:nth-child(2) { animation-delay: 0.2s; }
.lio-think-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes lioPulse { 0%,100% { opacity: 0.25; } 50% { opacity: 1; } }
.lio-err p { color: var(--navy); }
.lio-retry { background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text-light); font-size: 0.76rem; font-weight: 700; padding: 0.35rem 0.8rem; cursor: pointer; }
.lio-retry:hover { border-color: var(--violet); color: var(--violet); }

.lio-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.7rem; }
.lio-chip { border: 1px solid var(--border); background: var(--white, #fff); border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.85rem; font-family: var(--font-body); color: var(--text-mid); cursor: pointer; }
.lio-chip:hover { border-color: var(--violet); }
.lio-chip.sel, .lio-chip.on { border-color: var(--green); color: var(--green-dark); background: rgba(30,200,106,0.07); font-weight: 500; }
.lio-chip.on::before { content: '\2713  '; }
.lio-add-skill { display: flex; gap: 0.6rem; margin-bottom: 0.7rem; }
.lio-add-skill input { flex: 1; border: 1px solid var(--border); border-radius: 6px; padding: 0.55rem 0.75rem; font-size: 0.88rem; font-family: var(--font-body); }
.lio-add-skill button { background: var(--violet); color: #fff; border: none; border-radius: 8px; font-weight: 700; font-size: 0.8rem; padding: 0 1.1rem; cursor: pointer; font-family: var(--font-heading); }

/* THE WORKBENCH ROW */
.lio-rows { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 0.4rem; }
.lio-row { border: 1px solid var(--border); border-radius: 10px; padding: 0.9rem 1rem; }
.lio-row-saved { border-color: var(--green); background: rgba(30,200,106,0.04); }
.lio-row-meta { font-size: 0.68rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.lio-saved-tag { color: var(--green-dark); }
.lio-row-text { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 0.55rem 0.75rem; font-family: var(--font-body); font-size: 0.88rem; line-height: 1.55; color: var(--navy); resize: vertical; }
.lio-row-text:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-pale); }
.lio-row-acts { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.lio-act { border: none; border-radius: 8px; font-weight: 700; font-size: 0.78rem; padding: 0.45rem 0.9rem; cursor: pointer; font-family: var(--font-body); }
.lio-act-add { background: var(--violet); color: #fff; }
.lio-act-add:hover { opacity: 0.9; }
.lio-act-save { background: var(--navy); color: #fff; }
.lio-act-save:hover { opacity: 0.9; }
.lio-act-copy { background: rgba(30,200,106,0.1); color: var(--green-dark); }
.lio-act-copy:hover { background: rgba(30,200,106,0.2); }
.lio-act-flash { background: var(--green) !important; color: #fff !important; }
.lio-added-tag { color: var(--violet); font-weight: 700; }
.lio-row-added { border-color: var(--violet); background: var(--violet-pale); }
.lio-what { font-size: 0.82rem; color: #6C63FF; background: var(--violet-pale); border-left: 3px solid var(--violet); border-radius: 0 6px 6px 0; padding: 0.55rem 0.85rem; margin-bottom: 0.7rem; }

.lio-tip { border-left: 3px solid var(--violet); background: var(--bg-section); border-radius: 0 6px 6px 0; padding: 0.6rem 0.85rem; font-size: 0.85rem; margin-bottom: 0.5rem; }
.lio-list { margin: 0 0 0.6rem; padding-left: 1.2rem; color: var(--text-mid); font-size: 0.88rem; line-height: 1.6; }
.lio-entry { background: var(--bg-section); border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 0.6rem; }
.lio-entry-pass { background: rgba(30,200,106,0.06); }
.lio-entry-h { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.lio-entry-h b { color: var(--navy); font-size: 0.88rem; }
.lio-entry p { margin: 0; font-size: 0.85rem; }

.lio-optin { gap: 0.9rem; align-items: flex-start; }
.lio-optin:not([hidden]) { display: flex; }
.lio-optin input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); cursor: pointer; flex-shrink: 0; }
.lio-optin-title { font-weight: 700; color: var(--navy); margin: 0 0 0.3rem; }
.lio-optin-body { font-size: 0.92rem; }

/* context toggles */
.lio-toggle-list { display: flex; flex-direction: column; gap: 0.5rem; }
.lio-toggle { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--bg-section); border: 1px solid transparent; border-radius: 9px; padding: 0.7rem 0.9rem; cursor: pointer; transition: border-color 0.15s; }
.lio-toggle:hover { border-color: var(--border); }
.lio-toggle.on { background: var(--violet-pale); border-color: var(--violet); }
.lio-toggle-box { position: absolute; opacity: 0; width: 0; height: 0; }
.lio-switch { position: relative; flex-shrink: 0; margin-top: 2px; }
.lio-switch-track { display: block; width: 36px; height: 20px; background: var(--border); border-radius: 99px; transition: background 0.2s; cursor: pointer; }
.lio-switch-thumb { display: block; width: 16px; height: 16px; background: #fff; border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.lio-toggle-box:checked + .lio-switch-track { background: var(--violet); }
.lio-toggle-box:checked + .lio-switch-track .lio-switch-thumb { transform: translateX(16px); }
.lio-toggle-label { font-weight: 700; color: var(--navy); margin: 0 0 0.15rem; font-size: 0.88rem; }
.lio-toggle-explain { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; margin: 0; }
.lio-jobspec-reveal { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--border); }

/* selectable list */
.lio-sel-list { display: flex; flex-direction: column; gap: 0.5rem; }
.lio-selall { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--navy); font-size: 0.88rem; padding: 0.5rem 0.2rem; border-bottom: 1px solid var(--border); margin-bottom: 0.3rem; cursor: pointer; }
.lio-sel { display: flex; gap: 0.7rem; align-items: flex-start; background: var(--bg-section); border: 1px solid transparent; border-radius: 9px; padding: 0.7rem 0.9rem; cursor: pointer; }
.lio-sel:hover { border-color: var(--border); }
.lio-sel.on { background: var(--violet-pale); border-color: var(--violet); }
.lio-sel input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); flex-shrink: 0; cursor: pointer; }
.lio-sel-text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.55; }
.lio-sel-text b { color: var(--navy); }
.lio-selall input { width: 18px; height: 18px; accent-color: var(--violet); }
.lio-mini-pass { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--green-dark); background: rgba(30,200,106,0.12); border-radius: 4px; padding: 0.1rem 0.4rem; }
.lio-sel-box { }
.lio-selall-box { }

/* CV alignment: divided coloured columns */
.lio-twocol { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 1.4rem; margin-top: 0.8rem; align-items: start; }
.lio-twocol > .lio-col { grid-row: 1; }
.lio-col-li { grid-column: 1; }
.lio-twocol::before { content: ''; grid-column: 2; grid-row: 1; background: var(--border); width: 1px; align-self: stretch; }
.lio-col-cv { grid-column: 3; }
.lio-col-li h4 .lio-col-dot, .lio-col-cv h4 .lio-col-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.5rem; vertical-align: middle; }
.lio-dot-violet { background: var(--violet); }
.lio-dot-blue { background: var(--green); }
.lio-col h4 { font-family: var(--font-heading); font-size: 0.92rem; color: var(--navy); margin: 0 0 0.6rem; }
.lio-fix { background: var(--bg-section); border-left: 3px solid var(--violet); border-radius: 0 8px 8px 0; padding: 0.75rem 0.95rem; margin-bottom: 0.6rem; }
.lio-fix b { display: block; color: var(--navy); font-size: 0.88rem; margin-bottom: 0.15rem; }
.lio-fix p { margin: 0; font-size: 0.85rem; }
.lio-fix-li { border-left-color: var(--violet); }
.lio-fix-cv { border-left-color: var(--green); }
.lio-col-cta { margin-top: 0.4rem; text-align: center; }
.lio-pack-block { background: var(--bg-section); border-radius: 6px; padding: 0.65rem 0.85rem; font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

.lio-score { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

.lio-todo { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.lio-todo:last-child { border-bottom: none; }
.lio-todo input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.lio-todo label { font-size: 0.88rem; color: var(--text-mid); line-height: 1.55; }
.lio-todo a { color: var(--violet); font-weight: 700; font-size: 0.85rem; }

.lio-pack-lead { font-size: 0.9rem; }
.lio-fld { border-top: 1px solid var(--border); padding: 1.1rem 0 0.6rem; margin-top: 1rem; }
.lio-fld:first-child { border-top: none; margin-top: 0.2rem; padding-top: 0.2rem; }
.lio-fld-h { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.lio-fld-h h4 { font-family: var(--font-heading); font-size: 0.95rem; color: var(--navy); margin: 0; }
.lio-fld-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; padding: 0.16rem 0.5rem; }
.lio-tag-li { color: var(--violet); background: var(--violet-pale); }
.lio-pack-remove { background: none; border: none; color: var(--text-light); font-size: 0.8rem; cursor: pointer; text-decoration: underline; margin-top: 0.5rem; font-family: var(--font-body); }

.lio-apps { background: var(--navy); border-radius: 12px; padding: 1.6rem 1.75rem; margin-bottom: 1.1rem; }
.lio-apps h3 { font-family: var(--font-heading); color: #fff; font-size: 1.05rem; margin: 0 0 0.3rem; }
.lio-apps > p { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin: 0 0 1.2rem; }
.lio-apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.lio-app-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 1.1rem 1.2rem; text-decoration: none; display: flex; flex-direction: column; gap: 0.4rem; }
.lio-app-card:hover { background: rgba(255,255,255,0.1); }
.lio-app-hero { border-color: var(--green); background: rgba(30,200,106,0.1); }
.lio-app-card b { font-family: var(--font-heading); color: #fff; font-size: 0.92rem; }
.lio-app-card p { color: rgba(255,255,255,0.7); font-size: 0.8rem; line-height: 1.5; margin: 0; }
.lio-go { color: var(--green); font-size: 0.78rem; font-weight: 700; margin-top: auto; }

.lio-next { }

.lio-job-clear { display: block; margin: 0.5rem auto 0; background: none; border: none; color: var(--violet); font-size: 0.8rem; font-weight: 700; cursor: pointer; text-decoration: underline; font-family: var(--font-body); }

/* projected score */
.lio-proj-note { font-size: 0.82rem; color: var(--text-mid); text-align: center; margin-bottom: 0.5rem; }
.lio-score-guidance { font-size: 0.82rem; color: var(--violet); background: var(--violet-pale); border-radius: 6px; padding: 0.5rem 0.75rem; text-align: left; margin: 0.3rem 0 1rem; line-height: 1.5; }
.lio-cat-row { display: grid; grid-template-columns: 160px 1fr 70px; align-items: center; gap: 0.6rem; }
.lio-cat-row span { font-size: 0.82rem; }
.lio-cat-row b { font-size: 0.78rem; white-space: nowrap; }
.lio-cat-tips { padding-left: 160px; margin-top: 0.2rem; margin-bottom: 0.4rem; }
.lio-cat-tip { font-size: 0.78rem; color: var(--violet); margin: 0; line-height: 1.5; }

/* mission cards (step 2) */
.lio-mission-list { display: flex; flex-direction: column; gap: 0.6rem; }
.lio-mission-card { display: flex; flex-direction: column; gap: 0.25rem; background: var(--bg-section); border: 2px solid transparent; border-radius: 10px; padding: 0.9rem 1.1rem; cursor: pointer; text-align: left; font-family: var(--font-body); transition: border-color 0.15s, background 0.15s; }
.lio-mission-card:hover { border-color: var(--border); }
.lio-mission-card.sel { border-color: var(--violet); background: var(--violet-pale); }
.lio-mission-title { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.lio-mission-desc { font-size: 0.84rem; color: var(--text-mid); line-height: 1.5; }
.lio-mission-best { font-size: 0.76rem; color: var(--text-light); font-style: italic; }

/* dual score layout (step 7) */
.lio-dual-score { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; padding: 1rem 0; }
.lio-score-col { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.lio-score-label { font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }
.lio-ring { position: relative; width: 160px; height: 160px; flex-shrink: 0; }
.lio-ring svg circle { transition: stroke-dashoffset 0.9s ease; }
.lio-ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lio-ring-num strong { font-family: var(--font-heading); font-size: 2.2rem; color: var(--navy); line-height: 1; }
.lio-ring-num span { font-size: 0.75rem; color: var(--text-light); }
.lio-uplift { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.lio-uplift-arrow { font-size: 1.8rem; color: var(--green); font-weight: 700; }
.lio-uplift-num { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--green-dark); background: rgba(30,200,106,0.1); border-radius: 8px; padding: 0.2rem 0.6rem; }

/* updated category bars: stacked current + projected */
#lioCats { min-width: 0; }
.lio-cat { margin-bottom: 0.7rem; font-size: 0.88rem; color: var(--text-mid); }
.lio-cat b { color: var(--navy); text-align: right; font-size: 0.82rem; }
.lio-cat-bar { position: relative; height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; }
.lio-cat-bar .lio-cat-cur { position: absolute; top: 0; left: 0; height: 100%; background: var(--text-light); border-radius: 99px; opacity: 0.5; z-index: 1; }
.lio-cat-bar .lio-cat-proj { position: absolute; top: 0; left: 0; height: 100%; background: var(--green); border-radius: 99px; z-index: 2; }

/* context bar updates */
.lio-context-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; background: var(--bg-section); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.9rem; margin-bottom: 1.1rem; font-size: 0.78rem; color: var(--text-mid); line-height: 1.6; }
.lio-context-sep { color: var(--border); margin: 0 0.15rem; }
.lio-context-tag { background: var(--violet-pale); color: var(--violet); font-weight: 700; font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.03em; }

/* === LANDING PAGE === */
.lio-hero { position: relative; min-height: 520px; background-image: url('/static/images/hero-linkedin-optimiser.png'); background-size: cover; background-position: center right; background-repeat: no-repeat; display: flex; align-items: center; overflow: hidden; }
.lio-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, #141C43 0%, #141C43 40%, rgba(20,28,67,.88) 58%, rgba(20,28,67,.5) 75%, rgba(20,28,67,.2) 100%); z-index: 1; }
.lio-hero-content { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 120px 2rem 80px; width: 100%; }
.lio-hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(108,99,255,.18); border: 1px solid rgba(108,99,255,.35); color: #a09eff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 1.5rem; }
.lio-hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #6C63FF; }
.lio-hero h1 { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.lio-hero h1 em { color: #1EC86A; font-style: normal; }
.lio-hero-sub { color: rgba(255,255,255,0.72); font-size: 1.05rem; line-height: 1.7; max-width: 540px; margin-bottom: 2rem; }
.lio-hero-cta-group { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.lio-hero-note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
.lio-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 14px 32px; border-radius: 8px; font-weight: 700; font-size: 1rem; font-family: 'Plus Jakarta Sans', sans-serif; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.01em; }
.lio-btn-primary { background: #6C63FF; color: #fff; }
.lio-btn-primary:hover { background: #1EC86A; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,200,106,0.28); }
.lio-btn-large { padding: 16px 44px; font-size: 1.05rem; }

/* LANDING SECTIONS */
.lio-section { padding: 64px 2rem; }
.lio-container { max-width: 1140px; margin: 0 auto; }
.lio-section .lio-section-label { display: inline-block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6C63FF; margin-bottom: 1rem; }
.lio-section h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #12153D; line-height: 1.15; margin-bottom: 1rem; }
.lio-section h2 em { font-style: normal; color: #1EC86A; }
.lio-section p { color: #4A4E7A; font-size: 1rem; line-height: 1.65; }

/* HOW IT WORKS */
.lio-how { background: #F5F6FA; }
.lio-steps { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr; gap: 0; align-items: start; margin-top: 40px; }
.lio-step { background: #fff; border-radius: 14px; padding: 28px 20px; text-align: center; box-shadow: 0 4px 16px rgba(18,21,61,0.06); min-height: 200px; display: flex; flex-direction: column; align-items: center; }
.lio-step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #6C63FF; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.1rem; font-weight: 800; border-radius: 50%; margin: 0 auto 1rem; }
.lio-step-arrow { display: flex; align-items: center; justify-content: center; padding-top: 50px; color: #C8CAD8; }
.lio-step h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700; color: #12153D; margin-bottom: 0.5rem; }
.lio-step p { font-size: 0.9rem; color: #4A4E7A; line-height: 1.65; }

/* WHAT WE CHECK */
.lio-checks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.lio-check-card { background: #fff; border: 1px solid #E2E4ED; border-radius: 14px; padding: 28px 24px; box-shadow: 0 4px 16px rgba(18,21,61,0.06); }
.lio-check-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 700; color: #12153D; margin-bottom: 0.5rem; }
.lio-check-card p { font-size: 0.88rem; color: #4A4E7A; line-height: 1.55; margin: 0; }

/* BOTTOM CTA */
.lio-cta-bottom { background: #F5F6FA; border-top: 1px solid #E2E4ED; }
.lio-cta-bottom h2 { margin-bottom: 0.25rem; }
.lio-cta-bottom h2 em { font-style: normal; color: #1EC86A; }
.lio-cta-bottom p { margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; margin-top: 1rem; }

/* RESPONSIVE */
@media (max-width: 968px) {
    .lio-hero { min-height: 400px; }
    .lio-hero-overlay { background: linear-gradient(to right, #141C43 0%, #141C43 55%, rgba(20,28,67,.75) 100%); }
    .lio-hero-content { padding: 100px 2rem 60px; }
    .lio-steps { grid-template-columns: 1fr; gap: 16px; }
    .lio-step-arrow { display: none; }
    .lio-checks-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .lio-wrap { grid-template-columns: 1fr; }
    .lio-side { position: static; }
    .lio-howto { grid-template-columns: 1fr; }
    .lio-apps-grid { grid-template-columns: 1fr; }
    .lio-dual-score { flex-direction: column; gap: 1rem; }
    .lio-uplift { flex-direction: row; }
    .lio-uplift-arrow { transform: rotate(90deg); }
    .lio-twocol { grid-template-columns: 1fr; }
    .lio-twocol::before { display: none; }
}
@media (max-width: 768px) {
    .lio-section { padding: 48px 1.5rem; }
    .lio-hero { min-height: 360px; }
    .lio-hero-overlay { background: rgba(20,28,67,0.9); }
    .lio-hero-content { text-align: center; padding: 88px 1.5rem 56px; }
    .lio-hero-cta-group { align-items: center; }
    .lio-hero-sub { margin-left: auto; margin-right: auto; }
    .lio-checks-grid { grid-template-columns: 1fr; }
}
