/* Tech2CL IT Reality Check v0.3: brighter, accessible slate-and-blue styling.
   No external fonts, images, CSS imports, scripts or third-party dependencies. */
:root{
  color-scheme:light;
  --page:#edf3f9;--panel:#ffffff;--panel2:#f4f8fc;
  --blue:#497cb5;--blue-dark:#31679e;--cyan:#2775aa;
  --ink:#1d2f47;--muted:#496078;--subtle:#60748a;
  --border:#d4e0eb;--good:#236a4b;--review:#7d5515;
  --attention:#982c30;--unknown:#285983;--focus:#1a67a8;
}
*{box-sizing:border-box}
html{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-text-size-adjust:100%;scroll-behavior:auto}
body{margin:0;background:linear-gradient(150deg,#f6f9fc 0%,#eaf2f9 48%,#e6edf5 100%);min-height:100vh;color:var(--ink);line-height:1.6}
button,a{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.page-shell{max-width:1020px;margin:0 auto;padding:18px 22px 40px}
.site-header,.brand,.header-right,.footer,.between,.tip-heading,.result-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-header{padding:3px 2px 19px;border-bottom:1px solid var(--border);margin-bottom:24px}
.brand{justify-content:flex-start;gap:18px}
.brand-logo{display:block;width:130px;height:auto;max-height:90px;object-fit:contain;flex-shrink:0}
.brand-slogan strong{display:block;font-size:17px;font-weight:750;line-height:1.25}
.brand-slogan small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.header-right{gap:12px;justify-content:flex-end}
.prototype-pill{font-size:10px;letter-spacing:.08em;font-weight:800;background:#e4f1fc;color:#245e93;padding:7px 10px;border:1px solid #c4d9ee;border-radius:999px;white-space:nowrap}
.language-switch{display:flex;gap:2px;padding:3px;background:#e6edf5;border:1px solid #cad8e6;border-radius:10px}
.language-button{border:0;border-radius:7px;padding:6px 11px;background:transparent;color:#39536d;font-size:13px;font-weight:750}
.language-button.active{background:var(--blue-dark);color:#fff}
.hero{background:linear-gradient(129deg,#fff 0%,#e6f1fc 68%,#dcecf8 100%);color:var(--ink);border:1px solid #cbdceb;border-radius:17px;padding:clamp(26px,5vw,49px);box-shadow:0 18px 40px rgba(45,83,128,.07);position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;width:210px;height:210px;border-radius:50%;right:-100px;top:-120px;border:28px solid rgba(73,124,181,.09);pointer-events:none}
.eyebrow{letter-spacing:.13em;color:#326da4;text-transform:uppercase;font-size:12px;font-weight:800}
.hero h1{font-size:clamp(31px,5.2vw,57px);line-height:1.09;max-width:730px;letter-spacing:-.045em;margin:12px 0 14px;font-weight:850}
.hero h1 em{color:#2e70ae;font-style:normal}
.hero .lede{color:#3a516d;font-size:17px;max-width:640px;margin:0}
.hero .subheading{font-size:clamp(20px,3vw,25px);font-weight:800;margin:30px 0 6px}
.hero .offer{font-size:16px;color:#304a65;max-width:680px;margin:0}
.hero .hero-foot{font-size:13px;color:#566f88;margin:20px 0 0;white-space:pre-line}
.choice-wrap{margin-top:20px;background:var(--panel);border:1px solid var(--border);border-radius:17px;padding:27px;box-shadow:0 8px 24px rgba(54,81,110,.07)}
.choice-wrap h2{font-size:clamp(22px,3vw,28px);line-height:1.25;margin:0 0 7px;letter-spacing:-.025em}
.choice-wrap p{color:var(--muted);margin:0 0 20px}
.audience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.audience-card{color:var(--ink);border:2px solid var(--border);background:var(--panel2);border-radius:13px;padding:21px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;min-height:160px;transition:border-color .15s,transform .15s,background .15s}
.audience-card:hover{border-color:#6d9dc9;background:#eaf4fe;transform:translateY(-1px)}
.audience-icon{font-size:29px;line-height:1.1;color:#346fa5}
.audience-card strong{font-size:18px}
.audience-card span.description{font-size:13px;color:var(--muted)}
.mini-privacy{display:flex;gap:10px;align-items:flex-start;margin-top:19px;font-size:13px;color:var(--muted)}
.mini-privacy .shield{font-size:19px;color:#23714a}
.mini-privacy strong{color:var(--ink)}
.footer{color:var(--subtle);font-size:12px;margin-top:22px;flex-wrap:wrap;padding:3px}
.assessment{background:var(--panel);border:1px solid var(--border);border-radius:17px;padding:clamp(23px,4vw,36px);box-shadow:0 15px 40px rgba(54,81,110,.07)}
.section-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.muted-label{font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.07em;color:#556f8b}
.audience-label{font-size:12px;padding:6px 10px;border-radius:999px;background:#e6f2fc;color:#245f92;font-weight:750;border:1px solid #c3dced}
.progress-meta{display:flex;align-items:center;justify-content:space-between;margin-top:22px;font-size:13px;color:var(--muted)}
.progress-track{height:7px;background:#e6edf5;border-radius:99px;overflow:hidden;margin-top:8px}
.progress-fill{height:100%;background:linear-gradient(90deg,#497cb5,#6dcff6);border-radius:99px;transition:width .18s}
.topic{margin:28px 0 8px;font-size:13px;text-transform:uppercase;color:#276fa7;font-weight:800;letter-spacing:.06em}
.question{font-size:clamp(23px,3vw,31px);line-height:1.28;letter-spacing:-.023em;margin:0 0 24px}
.answer-list{display:grid;gap:11px}
.answer-option{width:100%;text-align:left;padding:15px 17px;border-radius:10px;border:2px solid var(--border);background:var(--panel2);font-size:15px;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:8px}
.answer-option:hover{border-color:#83aad0;background:#eaf3fb}
.answer-option.selected{border-color:#477fb5;background:#e7f1fb;font-weight:700}
.answer-option .select-indicator{height:19px;width:19px;border:2px solid #7e98b3;border-radius:50%;flex-shrink:0}
.answer-option.selected .select-indicator{background:#4278ad;border-color:#4278ad;box-shadow:inset 0 0 0 4px #e7f1fb}
.tip-card{background:#edf5fd;border:1px solid #c7ddf0;border-left:4px solid #497cb5;border-radius:10px;color:#263f59;margin:20px 0 0;padding:19px 22px}
.tip-heading{justify-content:flex-start;gap:10px;font-size:12px;letter-spacing:.08em;color:#245d92;font-weight:850}
.tip-card p{margin:10px 0 0;font-size:15px;line-height:1.68;max-width:80ch}
.actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:25px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:2px solid transparent;background:var(--blue-dark);color:#fff;font-weight:750;border-radius:8px;padding:12px 20px;text-decoration:none;min-height:47px}
.button:hover{background:#25537f}
.button.secondary{background:#fff;color:#244969;border-color:#9db7d0}
.button.secondary:hover{background:#edf6fd}
.button.ghost{background:transparent;border-color:transparent;color:var(--muted);padding-left:0}
.button:disabled{opacity:.55;cursor:not-allowed}
.advice-intro{font-size:16px;color:var(--muted);margin-bottom:22px}
.result-grid{display:grid;gap:13px}
.result-card{border:1px solid var(--border);border-radius:11px;padding:17px 18px;background:#f6f9fd}
.result-title{justify-content:flex-start;gap:9px;flex-wrap:wrap}
.result-title h3{margin:0;font-size:17px}
.level-pill{margin-left:auto;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800}
.level-attention{background:#fae5e5;color:#982c30}
.level-review{background:#fff0d1;color:#775016}
.level-unknown{background:#e2effb;color:#285983}
.level-good{background:#ddf3e8;color:#236a4b}
.level-na{background:#e7edf4;color:#4d6279}
.result-card p{margin:10px 0 0;font-size:14px;color:#435a73}
.results-divider{height:1px;background:var(--border);margin:23px 0}
.details-toggle{margin-top:15px}
.notice{font-size:13px;color:#405a73;background:#f1f6fb;border:1px solid var(--border);padding:15px;border-radius:10px;margin-top:18px}
.notice strong{color:#1d2f47}
.cta-block{background:#eaf4ff;border:1px solid #c4dcee;padding:24px;border-radius:11px;margin-top:23px}
.cta-block h3{margin:0 0 8px;font-size:23px}
.cta-block p{color:var(--muted);font-size:14px;margin:0 0 15px}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.all-results{margin-top:14px}
.all-results[hidden]{display:none}
.cta-small{font-size:12px;color:var(--subtle)!important;margin-top:10px!important}
@media(max-width:640px){
 .page-shell{padding:12px 12px 26px}
 .brand-logo{width:97px;max-height:66px}
 .brand{gap:9px}
 .brand-slogan strong{font-size:13px}
 .brand-slogan small{font-size:10px}
 .site-header{gap:7px;margin-bottom:15px}
 .prototype-pill{display:none}
 .header-right{gap:6px}
 .language-button{padding:5px 8px}
 .hero{border-radius:12px}
 .choice-wrap,.assessment{padding:20px;border-radius:12px}
 .audience-grid{grid-template-columns:1fr}
 .audience-card{min-height:105px;padding:15px;gap:4px}
 .audience-icon{font-size:24px}
 .section-top{align-items:flex-start}
 .audience-label{max-width:135px;text-align:center}
 .actions{flex-direction:column-reverse;align-items:stretch}
 .actions .button{width:100%}
 .result-title .level-pill{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.audience-card,.progress-fill{transition:none}}

/* v11: persistent exit and keyboard focus. */
.return-link { color: #214c7a; font-weight: 600; text-decoration: underline; text-underline-offset: .15em; font-size: .95rem; }
.header-right { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .6rem; }
:focus-visible { outline: 3px solid #164f95; outline-offset: 3px; }
@media (max-width: 600px) { .header-right { justify-content: flex-start; } }
@media (max-width: 640px) { .site-header { flex-wrap: wrap; } .header-right { width: 100%; justify-content: space-between; } }
