/* Shared funnel styles (index + kenya). Builds on the page's :root tokens. */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hp-field{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

:where(a,button,input,select,summary,[tabindex]):focus-visible{outline:3px solid #1D4ED8;outline-offset:2px;border-radius:6px}
[data-step-heading]:focus,[id=wp-result-title]:focus{outline:none}

fieldset.q{border:0;margin:0 0 1.25rem;padding:0;min-width:0}
fieldset.q legend{padding:0}
.q-label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}
.q-hint{font-size:.8rem;color:var(--muted);margin:-2px 0 8px}

label.opt{position:relative}
label.opt input[type=radio]{position:absolute;opacity:0;width:1px;height:1px}
label.opt:has(input:focus-visible){outline:3px solid #1D4ED8;outline-offset:2px}
label.opt:has(input:checked),label.opt.selected{border-color:var(--red);background:rgba(204,0,0,0.03)}
label.opt:has(input:checked) .opt-radio,label.opt.selected .opt-radio{border-color:var(--red);background:var(--red)}
label.opt:has(input:checked) .opt-radio::after,label.opt.selected .opt-radio::after{content:'';position:absolute;inset:3px;border-radius:50%;background:white}

.select-field{width:100%;padding:.75rem 1rem;border:1.5px solid var(--border);border-radius:8px;font-size:.95rem;font-family:inherit;color:var(--text);background:white}
.input-field[aria-invalid=true],.select-field[aria-invalid=true],fieldset[aria-invalid=true] .opts{border-color:var(--red)}
fieldset[aria-invalid=true] .opt{border-color:rgba(204,0,0,.45)}
.field-error{color:#B00000;font-size:.82rem;font-weight:500;margin:6px 0 0}
.field-error::before{content:"⚠ "}
.input-hint{font-size:.78rem;color:var(--muted);margin-top:4px}
.gdpr-label{font-size:12px!important;color:#475569!important}
.gate-why{font-size:.8rem;color:#475569;margin:-.25rem 0 1rem;line-height:1.55}

.submit-status{background:#FFF7ED;border:1px solid #FDBA74;border-radius:10px;padding:.875rem 1rem;margin-top:1rem;font-size:.875rem}
.submit-status p{margin-bottom:.5rem}
.submit-status .btn{margin-top:.5rem}

/* result */
#wp-result{max-width:560px;margin:0 auto;padding:1.25rem 1.5rem 4rem}
.result-head{text-align:left;margin-bottom:1.25rem}
.result-head .result-title{font-family:'Playfair Display',serif;font-size:1.5rem;line-height:1.2;margin-bottom:.5rem}
.result-head .result-sub{font-size:.92rem;color:#334155;line-height:1.6;margin-bottom:1rem}
.tone-ok .result-title{color:var(--green)}
.tone-warn .result-title{color:var(--text)}
.meter{position:relative;height:10px;background:var(--border);border-radius:5px;overflow:visible;margin:.25rem 0 .375rem}
.meter-fill{height:100%;border-radius:5px;background:var(--text)}
.tone-ok .meter-fill{background:var(--green)}
.tone-warn .meter-fill{background:var(--amber)}
.meter-mark{position:absolute;top:-4px;width:2px;height:18px;background:var(--text)}
.meter-legend{font-size:.78rem;color:#475569}
.card{background:white;border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.125rem;margin-bottom:1rem}
.card-muted{background:#F1F5F9}
.card-title{font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#475569;margin-bottom:.75rem}
.brows{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:center;font-size:.85rem}
.brows dt{color:#334155}
.brows dd{display:flex;align-items:center;gap:10px;justify-content:flex-end;font-weight:600}
.bar{flex:1;max-width:140px;height:6px;background:var(--border);border-radius:3px;overflow:hidden}
.bar-fill{display:block;height:100%;background:var(--text);border-radius:3px}
.checklist,.plain{list-style:none;padding:0;margin:0;font-size:.875rem;line-height:1.55}
.checklist li,.plain li{padding:4px 0 4px 1.25rem;position:relative}
.checklist li::before{content:"→";position:absolute;left:0;color:var(--red);font-weight:700}
.plain li::before{content:"•";position:absolute;left:.25rem;color:#64748B}
.timeline{list-style:none;counter-reset:tl;padding:0;margin:0}
.timeline li{counter-increment:tl;position:relative;padding:0 0 1rem 2.5rem;font-size:.875rem;line-height:1.55}
.timeline li::before{content:counter(tl);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--red);color:white;font-weight:700;font-size:.8rem;display:flex;align-items:center;justify-content:center}
.timeline li:last-child{padding-bottom:0}
.timeline strong{display:block;color:var(--text)}
.timeline .tl-sub{display:block;color:#475569}
.timeline a{display:inline-block;margin-top:4px;color:#B00000;font-weight:600;text-decoration:none}
.timeline a:hover{text-decoration:underline}
.action{padding:.25rem 0 .875rem}
.action:last-child{padding-bottom:0}
.action .btn{margin-top:0}
.action-desc{font-size:.8rem;color:#475569;margin-top:6px;line-height:1.5}
.action-status{font-size:.85rem;color:var(--green);font-weight:600;margin-top:6px}
.action-status:empty{display:none}
.notice{border-radius:10px;padding:.75rem 1rem;margin-bottom:1rem;font-size:.85rem}
.notice-warn{background:#FFF7ED;border:1px solid #FDBA74}
.restart{display:block;text-align:center;margin-top:1rem;font-size:.85rem;color:#475569}
.trust-line{font-size:.78rem;color:#475569;margin-top:.5rem}
footer .footer-links a{color:rgba(255,255,255,.92)!important}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
form.flow .step{display:block}
label.opt .opt-label,label.opt .opt-sub{display:block}
label.opt .opt-text{display:block}
/* Pathway stage card (2026-11) */
.stage-card .card-title{text-transform:none;letter-spacing:-.01em;font-size:1.05rem;color:var(--text)}
.stage-bar{display:flex;gap:4px;margin:0 0 1rem}
.stage-seg{flex:1;height:6px;border-radius:3px;background:#E2E8F0}
.stage-seg.is-done{background:#0F172A}
.stage-seg.is-current{background:var(--red)}
.stage-list{list-style:none;padding:0;margin:0 0 1rem}
.stage-list li{display:flex;gap:.75rem;align-items:flex-start;padding:.5rem 0;border-bottom:1px solid #F1F5F9;font-size:.875rem;line-height:1.5}
.stage-list li:last-child{border-bottom:none}
.stage-num{flex:none;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:700;border:1px solid #CBD5E1;color:#475569;background:white}
.stage-list .is-done .stage-num{background:#0F172A;border-color:#0F172A;color:white}
.stage-list .is-current .stage-num{background:var(--red);border-color:var(--red);color:white}
.stage-list .is-open strong{color:#475569}
.stage-text strong{display:block;color:var(--text)}
.stage-text .tl-sub{display:block;color:#475569}
.stage-next{border:2px solid var(--red);border-radius:var(--radius);padding:1rem;margin-bottom:.75rem}
.stage-next-label{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#B00000;margin:0 0 .25rem}
.stage-next-title{font-weight:600;margin:0 0 .25rem}
.stage-next-text{font-size:.875rem;color:#475569;margin:0 0 .75rem}
.stage-next .btn{display:inline-block;text-decoration:none}
.stage-note{font-size:.78rem;color:#475569;margin:0}
/* Jobs list (2026-11) */
.jobs-card .card-title{text-transform:none;letter-spacing:-.01em;font-size:1.05rem;color:var(--text)}
.jobs-intro{font-size:.875rem;color:#475569;margin:0 0 1rem}
.jobs-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:.75rem}
.jobs-status{font-size:.875rem;color:#475569;margin:0}
.job{border:1px solid #E2E8F0;border-radius:var(--radius);padding:.875rem 1rem;background:white}
.job-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}
.job-title{font-size:.95rem;color:var(--text)}
.job-tag{flex:none;font-size:.72rem;font-weight:600;padding:.15rem .5rem;border-radius:4px;background:#F1F5F9;color:#334155}
.job-meta{font-size:.85rem;color:#475569;margin:.25rem 0 0}
.job-lock{font-size:.8rem;color:#64748B;margin:.5rem 0 .75rem}
.job-btn{width:100%;min-height:44px}
.job-btn:disabled{opacity:1;cursor:default;background:#F1F5F9;color:#1E5A2B;border-color:#CBD5E1}
.job-msg{font-size:.8rem;color:#B00000;margin:.25rem 0 0}
.job-msg:empty{display:none}
/* Kenya result — relaunch 2026-11 (minimal: step, next step, jobs, one action) */
.res-head{margin-bottom:1.5rem}
.res-eyebrow{font-size:14px;color:#64748B;margin:0 0 6px}
.res-title{font-size:30px;line-height:1.1;letter-spacing:-.035em;font-weight:700;color:var(--text);margin:0 0 18px}
.res-sub{font-size:15px;color:#475569;margin:0 0 1rem}
.res-steps{list-style:none;padding:0;margin:0 0 20px;display:flex;flex-direction:column;gap:8px;font-size:15px}
.res-steps li{display:flex;justify-content:space-between;gap:12px}
.res-steps .is-open{color:#64748B}
.res-steps .is-current{font-weight:600}
.res-step-state{flex:none;color:#475569}
.res-steps .is-current .res-step-state{color:#A30D24}
.stage-next{background:#fff}
.stage-next .btn-cta-sm{display:flex;align-items:center;justify-content:center;min-height:46px;background:#C8102E;color:#fff;border-radius:6px;font-weight:600;font-size:15px;text-decoration:none;width:100%}
.stage-next .btn-cta-sm:hover{background:#A30D24;color:#fff}
.res-points{font-size:14px;color:#475569;margin:14px 0 0}
.res-mailed{font-size:13px;color:#475569;margin:8px 0 0;padding:10px 12px;background:#fff;border:1px solid #E2E8F0;border-radius:6px}
.jobs-card{border-top:1px solid #E2E8F0;border-left:0;border-right:0;border-bottom:0;border-radius:0;background:transparent;padding:24px 0 8px;margin:0}
.jobs-card .card-title{font-size:20px;font-weight:700;letter-spacing:-.02em;margin-bottom:.5rem}
.res-action{border-top:1px solid #E2E8F0;padding:24px 0}
.res-action .action-desc{font-size:13px;color:#64748B}
.res-more{border-top:1px solid #E2E8F0}
.res-details{border-bottom:1px solid #E2E8F0;padding:16px 0}
.res-details summary{font-size:15px;font-weight:600;cursor:pointer;color:var(--text)}
.res-details-body{padding-top:12px}
.res-details-body .brows{margin-bottom:10px}
.res-small{font-size:13px;color:#64748B;margin:8px 0 0}
.res-priority{border:2px solid #0F172A;border-radius:10px;padding:18px;margin:24px 0;background:#fff}
.res-priority-title{font-size:20px;letter-spacing:-.02em;font-weight:700;margin:0 0 6px;color:#0F172A}
.res-priority-text{font-size:15px;color:#475569;margin:0 0 14px}
.btn-cta{background:#C8102E;color:#fff}
.btn-cta:hover{background:#A30D24}
.btn-cta:disabled{background:#F1F5F9;color:#1E5A2B;border:1px solid #CBD5E1;opacity:1}
.btn-cta:disabled{color:#1E5A2B!important}
