:root{
  --bg:#07111f;
  --panel:#0c192a;
  --panel-2:#102239;
  --line:rgba(255,255,255,.11);
  --muted:#99aac0;
  --text:#f4f7fb;
  --accent:#8ee3c8;
  --accent-2:#8bb8ff;
  --warn:#ffd28c;
  --shadow:0 25px 70px rgba(0,0,0,.28);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(77,124,255,.12), transparent 33%),
    radial-gradient(circle at 90% 70%, rgba(88,224,183,.09), transparent 32%),
    var(--bg);
  line-height:1.5;
  overflow-x:hidden;
}
button,textarea{font:inherit}
button,a{touch-action:manipulation}
.bg-orb{
  position:fixed;
  width:420px;height:420px;
  border-radius:50%;
  filter:blur(110px);
  opacity:.12;
  pointer-events:none;
  z-index:-1;
}
.orb-one{background:#6f8cff;top:-160px;left:-180px}
.orb-two{background:#55d6ad;right:-180px;bottom:-150px}

.topbar{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.brand{
  color:var(--text);
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:11px;
  letter-spacing:.01em;
}
.brand-mark{
  display:grid;place-items:center;
  width:34px;height:34px;
  border:1px solid rgba(142,227,200,.45);
  border-radius:10px;
  color:var(--accent);
  background:rgba(142,227,200,.06);
  font-weight:800;
}
.shell{width:min(1180px,calc(100% - 40px));margin:0 auto}
.screen{display:none;animation:fade .35s ease}
.screen.active{display:block}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.eyebrow{
  color:var(--accent);
  font-weight:800;
  letter-spacing:.15em;
  font-size:.74rem;
}
.hero{
  max-width:900px;
  margin:0 auto;
  padding:72px 0 62px;
  text-align:center;
}
.hero h1,.results-head h1,.plan-head h1{
  font-size:clamp(2.6rem,7vw,5.6rem);
  line-height:.98;
  letter-spacing:-.055em;
  margin:18px auto 24px;
  max-width:980px;
}
.hero h1 span{color:var(--accent)}
.hero-copy{
  color:#bdc9d8;
  font-size:clamp(1rem,2.1vw,1.2rem);
  max-width:720px;
  margin:0 auto 38px;
}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  text-align:left;
  margin:38px 0 18px;
}
.mini-card,.question-card,.progress-panel,.role-card,.route-panel,.plan-card,.research-card,.export-bar{
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.mini-card{padding:24px;border-radius:20px}
.mini-icon{
  color:var(--accent);
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.12em;
  margin-bottom:28px;
}
.mini-card h3{margin:0 0 6px;font-size:1rem}
.mini-card p{margin:0;color:var(--muted);font-size:.9rem}
.privacy-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:var(--muted);
  font-size:.9rem;
  margin:20px 0 28px;
}
.privacy-note span{color:var(--accent);font-size:.6rem}
.privacy-note p{margin:0}
.primary-btn,.ghost-btn{
  border-radius:14px;
  padding:13px 18px;
  border:1px solid transparent;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}
.primary-btn{
  background:var(--accent);
  color:#062118;
}
.primary-btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
.ghost-btn{
  color:var(--text);
  background:rgba(255,255,255,.035);
  border-color:var(--line);
}
.ghost-btn:hover{background:rgba(255,255,255,.07)}
.ghost-btn.small{padding:9px 13px;font-size:.85rem}
.hero-btn{padding:16px 22px;min-width:210px}
.microcopy{color:#72849c;font-size:.82rem;margin-top:10px}

.quiz-layout{
  padding:48px 0 70px;
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.progress-panel{
  border-radius:22px;
  padding:26px;
  position:sticky;
  top:24px;
}
.progress-number{
  font-size:3.25rem;
  font-weight:800;
  letter-spacing:-.055em;
  margin:8px 0 17px;
}
.progress-number small{font-size:1rem;color:var(--muted);font-weight:600;letter-spacing:0}
.progress-track{
  height:7px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden
}
.progress-fill{height:100%;width:8%;background:var(--accent);transition:width .3s ease}
.stage-label{font-size:.85rem;color:var(--accent);font-weight:700;margin:12px 0 26px}
.stage-list{display:grid;gap:14px}
.stage-item{
  display:flex;align-items:center;gap:10px;
  color:#71849b;font-size:.85rem;
}
.stage-item span{
  width:8px;height:8px;border-radius:50%;background:#34465d;flex:0 0 auto
}
.stage-item.active{color:var(--text)}
.stage-item.active span{background:var(--accent);box-shadow:0 0 0 5px rgba(142,227,200,.08)}
.question-card{
  border-radius:28px;
  padding:clamp(26px,5vw,54px);
  min-height:610px;
  display:flex;
  flex-direction:column;
}
.question-tag{font-size:.72rem;font-weight:900;letter-spacing:.14em;color:var(--accent)}
.question-card h2{
  margin:12px 0 8px;
  font-size:clamp(1.8rem,4vw,3rem);
  letter-spacing:-.04em;
  max-width:800px;
}
.question-help{margin:0 0 28px;color:var(--muted);max-width:720px}
.options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.option{
  border:1px solid var(--line);
  border-radius:17px;
  padding:18px;
  text-align:left;
  background:rgba(255,255,255,.025);
  color:var(--text);
  cursor:pointer;
  min-height:94px;
  transition:.18s ease;
  display:flex;
  gap:13px;
  align-items:flex-start;
}
.option:hover{border-color:rgba(142,227,200,.45);background:rgba(142,227,200,.04)}
.option.selected{
  border-color:var(--accent);
  background:rgba(142,227,200,.08);
  box-shadow:inset 0 0 0 1px rgba(142,227,200,.18);
}
.option-marker{
  width:26px;height:26px;border-radius:8px;
  display:grid;place-items:center;flex:0 0 auto;
  background:rgba(255,255,255,.06);
  color:#aebbc9;font-size:.72rem;font-weight:900;
}
.option.selected .option-marker{background:var(--accent);color:#062118}
.option strong{display:block;margin-bottom:3px}
.option span.option-copy{display:block;color:var(--muted);font-size:.86rem}
.validation{min-height:30px;color:var(--warn);padding:9px 2px;font-size:.9rem}
.question-nav{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-top:20px;
  border-top:1px solid var(--line);
}

.results-head{padding:62px 0 30px}
.results-head h1{font-size:clamp(2.5rem,5.6vw,4.8rem);margin-left:0;max-width:800px}
.results-head p{max-width:720px;color:var(--muted);font-size:1.05rem}
.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.role-card{
  border-radius:22px;
  padding:24px;
  cursor:pointer;
  position:relative;
  transition:.2s ease;
  min-height:325px;
}
.role-card:hover{transform:translateY(-3px);border-color:rgba(142,227,200,.35)}
.role-card.selected{border-color:var(--accent);background:linear-gradient(180deg,rgba(142,227,200,.09),rgba(255,255,255,.02))}
.match-pill{
  display:inline-flex;
  padding:7px 10px;border-radius:999px;
  background:rgba(139,184,255,.1);
  color:#b7d1ff;
  font-size:.74rem;font-weight:800;
}
.role-card h3{font-size:1.45rem;letter-spacing:-.025em;margin:18px 0 7px}
.role-card p{color:var(--muted);font-size:.91rem}
.role-list{display:grid;gap:7px;margin:20px 0 22px;padding:0;list-style:none}
.role-list li{color:#cfdae6;font-size:.86rem}
.role-list li::before{content:"↗";color:var(--accent);margin-right:8px}
.choose-label{
  position:absolute;bottom:22px;left:24px;right:24px;
  color:var(--accent);font-size:.78rem;font-weight:800
}
.route-panel{
  border-radius:22px;
  margin:18px 0;
  padding:25px;
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
}
.route-panel h2{margin:8px 0 5px}
.route-panel p{margin:0;color:var(--muted);max-width:750px}
.route-score{
  min-width:170px;
  border-left:1px solid var(--line);
  padding-left:24px;
  display:flex;flex-direction:column;gap:5px
}
.route-score span{color:var(--accent);font-size:1.1rem;font-weight:900}
.route-score small{color:var(--muted)}
.source-note{
  padding:16px 18px;
  border-left:3px solid var(--accent-2);
  background:rgba(139,184,255,.05);
  color:#b9c8d8;
  border-radius:7px 14px 14px 7px;
  font-size:.9rem;
}
.results-actions{display:flex;justify-content:space-between;gap:12px;padding:28px 0 70px}

.plan-head{
  padding:52px 0 24px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
}
.plan-head h1{font-size:clamp(2.4rem,5vw,4.6rem);margin:12px 0 12px}
.plan-head p{margin:0;color:var(--muted);max-width:760px}
.plan-status{display:flex;align-items:center;gap:10px;color:var(--accent);white-space:nowrap}
.plan-status span{
  width:30px;height:30px;display:grid;place-items:center;border-radius:50%;
  background:rgba(142,227,200,.1);border:1px solid rgba(142,227,200,.3)
}
.plan-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:16px}
.plan-card{border-radius:22px;padding:26px}
.section-kicker{font-size:.72rem;color:var(--accent);font-weight:900;letter-spacing:.12em;margin-bottom:14px}
.ambition-card label{display:block;font-weight:800;font-size:1.2rem;margin-bottom:10px}
textarea{
  width:100%;
  resize:vertical;
  color:var(--text);
  background:rgba(0,0,0,.18);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  outline:none;
}
textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(142,227,200,.07)}
.field-help{color:var(--muted);font-size:.82rem}
.pathway-ladder{margin-top:26px}
.ladder-step{
  border:1px solid var(--line);
  border-radius:14px;padding:12px 14px;
  display:flex;justify-content:space-between;gap:16px;align-items:center
}
.ladder-step span{font-size:.67rem;letter-spacing:.1em;color:var(--muted);font-weight:800}
.ladder-step strong{font-size:.88rem;text-align:right}
.ladder-step.current{background:rgba(255,255,255,.03)}
.ladder-step.target{border-color:rgba(142,227,200,.4);background:rgba(142,227,200,.05)}
.ladder-line{width:1px;height:13px;background:var(--line);margin-left:19px}
.target-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.target-head h2{margin:0 0 14px}
.text-btn{border:0;background:none;color:var(--accent);font-weight:800;cursor:pointer;padding:4px}
.target-list{display:grid;gap:10px}
.target-row{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  display:grid;
  grid-template-columns:35px 1fr;
  gap:10px;
  background:rgba(255,255,255,.02);
}
.target-num{
  width:30px;height:30px;border-radius:10px;display:grid;place-items:center;
  background:rgba(142,227,200,.08);color:var(--accent);font-weight:900;font-size:.77rem
}
.target-row textarea{min-height:68px;padding:10px;font-size:.88rem}
.reflection-card{margin-top:16px}
.reflection-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.reflection-grid label{font-weight:800;font-size:.9rem}
.reflection-grid textarea{margin-top:9px;font-weight:400}
.research-card{
  margin-top:16px;border-radius:22px;padding:26px;
  display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center
}
.research-card h2{margin:5px 0}.research-card p{color:var(--muted);margin:0}
.research-links{display:grid;gap:8px}
.research-links a{
  color:var(--text);text-decoration:none;border:1px solid var(--line);padding:12px 14px;
  border-radius:12px;display:flex;justify-content:space-between;background:rgba(255,255,255,.02)
}
.research-links a:hover{border-color:rgba(142,227,200,.4)}
.research-links span{color:var(--accent)}
.export-bar{
  margin:16px 0 60px;border-radius:22px;padding:22px 25px;
  display:flex;align-items:center;justify-content:space-between;gap:20px
}
.export-bar>div:first-child{display:flex;flex-direction:column}
.export-bar span{color:var(--muted);font-size:.84rem}
.export-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
footer{
  width:min(1180px,calc(100% - 40px));margin:0 auto;
  padding:20px 0 34px;border-top:1px solid var(--line);
  display:flex;justify-content:space-between;gap:20px;color:#71849b;font-size:.78rem
}

@media(max-width:900px){
  .feature-grid,.role-grid,.plan-grid,.research-card{grid-template-columns:1fr}
  .quiz-layout{grid-template-columns:1fr}
  .progress-panel{position:static;display:grid;grid-template-columns:auto 1fr;column-gap:18px}
  .stage-list{display:none}
  .stage-label{margin-bottom:0}
  .options{grid-template-columns:1fr}
  .plan-head{align-items:flex-start;flex-direction:column}
}
@media(max-width:640px){
  .topbar,.shell,footer{width:min(100% - 24px,1180px)}
  .hero{padding-top:44px}
  .hero h1{font-size:2.7rem}
  .feature-grid{gap:9px}
  .mini-card{padding:18px}
  .privacy-note{align-items:flex-start;text-align:left}
  .question-card{padding:24px 18px;min-height:580px}
  .progress-panel{padding:18px}
  .route-panel,.export-bar{align-items:flex-start;flex-direction:column}
  .route-score{border-left:0;border-top:1px solid var(--line);padding:14px 0 0;width:100%}
  .reflection-grid{grid-template-columns:1fr}
  .results-actions,.question-nav{gap:8px}
  .results-actions button,.question-nav button{flex:1}
  .export-actions{width:100%}
  .export-actions button{flex:1;min-width:140px}
  footer{flex-direction:column}
}
/* Kept outside the interactive layout; printed as selectable, flowing text. */
#printPlan{display:none}
@page{size:A4;margin:18mm}
@media print{
  html,body{background:#fff!important;color:#111!important;overflow:visible!important;min-height:0}
  body > :not(#printPlan){display:none!important}
  #printPlan{
    display:block!important;
    font-family:Arial,sans-serif;
    font-size:11pt;
    line-height:1.5;
    width:auto;
    margin:0;
    color:#111;
  }
  #printPlan h1{font-size:21pt;line-height:1.2;margin:0 0 12pt;letter-spacing:normal}
  #printPlan h2{font-size:14pt;margin:18pt 0 6pt;color:#155e55}
  #printPlan h3{font-size:11pt;margin:10pt 0 4pt}
  #printPlan h1,#printPlan h2,#printPlan h3{break-after:avoid;page-break-after:avoid}
  #printPlan p{
    margin:0 0 8pt;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    orphans:3;
    widows:3;
  }
  #printPlan a{color:#111;text-decoration:underline;overflow-wrap:anywhere}
}


.card-subhead{
  margin-top:14px;
  color:#7f91a9;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.course-line{
  margin:7px 0 45px!important;
  color:#d4deea!important;
  font-size:.82rem!important;
  line-height:1.45;
}
