:root{
  --navy:#0A2540;
  --navy2:#0F335C;
  --aqua:#00C2CB;
  --ink:#0b1220;
  --muted:#667085;
  --line:#e7ecf3;
  --bg:#f5f8fc;
  --card:#ffffff;
  --shadow:0 18px 60px rgba(16,24,40,.12);
}

*{box-sizing:border-box}
html,body{height:100%}


/* Local Poppins (normal) */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/Poppins/poppins--v24-normal-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/Poppins/poppins--v24-normal-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/Poppins/poppins--v24-normal-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/Poppins/poppins--v24-normal-700.woff2") format("woff2");
}

body{
  margin:0;
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background: radial-gradient(900px 420px at 15% -10%, rgba(0,194,203,.14), rgba(255,255,255,0) 60%),
              radial-gradient(900px 420px at 85% -10%, rgba(10,37,64,.16), rgba(255,255,255,0) 60%),
              var(--bg);
}

.vpq-wrap{padding:28px 16px}
.vpq-card{
  max-width: 800px;
  margin:0 auto;
  background:var(--card);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(15, 51, 92, .08);
}

/* Header */
.vpq-head{
  background: linear-gradient(180deg, var(--navy) 0%, #0b2f54 100%);
  color:#fff;
  padding:18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{display:flex; align-items:center; gap:12px; min-width:0; cursor:pointer;}
.brand-mark{
  width:42px; height:42px;
  border-radius:14px;
  display:grid; place-items:center;
  border:0px solid rgba(255,255,255,.14);
  flex:0 0 auto;
  cursor:pointer;
}
.brand h1{color:#00C2CB;margin:0; font-size:20px; letter-spacing:.2px; line-height:1.1}
.byline{font-size:12px; font-weight:500; opacity:.65; margin-left:0px}
.sub{font-size:13px; opacity:.85}
.head-right{white-space:nowrap}

/* Hero */
.hero{padding:22px 22px 8px 22px; border-bottom:1px solid var(--line)}
.hero-title{margin:0}
.hero-q{font-size:22px; color:#00C2CB; font-weight:600; margin-bottom:6px}
.hero-a{font-size:22px; font-weight:700; letter-spacing:-.4px; color:#0A2540; line-height:1.05}
.hero-sub{margin:10px 0 0; color:var(--muted); font-size:12px}

/* App container */
.vpq-body{padding:18px 22px 10px}

/* Start screen CTA meta (shown only on hero) */
.cta-meta{
  margin-top:6px;
  margin-bottom:12px;
  display:flex;
  justify-content:center;
  font-size:13px;
  color:rgba(11,18,32,.70);
  font-weight:bold;
}
#hero[style*="display: none"] ~ .vpq-body .cta-meta{display:none}

/* Buttons */
.btn{
  appearance:none;
  border:1px solid rgba(15, 51, 92, .18);
  background:#fff;
  color:var(--ink);
  border-radius:999px;
  padding:12px 16px;
  font-weight:700;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px)}
.btn:disabled{opacity:.55; cursor:not-allowed; transform:none}
.btn.primary{
  background:var(--aqua);
  border-color:transparent;
  color:var(--navy);
  box-shadow:0 10px 24px rgba(0,194,203,.22);
  text-decoration:none;
}
.btn.link{
  border-color:transparent;
  background:transparent;
  color:rgba(11,18,32,.75);
  padding:6px 6px;
  font-weight:700;
  text-decoration:none;
}

/* Make start button larger + centered (JS inserts #startBtn) */
#startBtn{
  width:min(420px, 100%);
  margin: 4px auto 0;
  display:block;
  padding:16px 18px;
  font-size:16px;
}

/* Controls row */
.controls{
  padding:14px 22px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-top:1px solid var(--line);
}

.small{font-size:13px; color:rgba(11,18,32,.65);}

/* Progress */
.progress{display:flex; align-items:center; gap:10px; margin-bottom:16px}
.progress .bar{flex:1; height:8px; background:#00C2CB; border-radius:999px; overflow:hidden}
.progress .bar > div{height:100%; background:linear-gradient(90deg, var(--aqua), #0A2540); border-radius:999px}
.progress .meta{font-size:13px; color:rgba(11,18,32,.65);font-weight: bold;}
/* Hide repeated “About 1 minute” in steps */
.progress .meta:last-child{display:none}

/* Question */
.q-title{margin:0 0 6px; font-size:22px; letter-spacing:-.2px; color:#0A2540; padding:6px}
.q-title{
  padding-left: 14px;
  position: relative;
}
.q-title::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  bottom:6px;
  width:4px;
  border-radius:999px;
  background: var(--aqua);
  
}
.q-help{margin:0 0 12px; color:var(--muted)}

/* Reposition validation message above options (CSS-only) */
#app > div:last-child{display:flex; flex-direction:column}
#app > div:last-child .q-title{order:0}
#app > div:last-child .q-help{order:1}
#app > div:last-child .error{order:2; margin:8px 0 14px}
#app > div:last-child .grid{order:3}

.grid{display:grid; gap:12px}

.opt{
  text-align:center;
  width:100%;
  border:1px solid rgba(15, 51, 92, .18);
  background:#fff;
  border-radius:14px;
  padding:14px 16px;
  cursor:pointer;
  transition: all .12s ease;
}
.opt .label{font-size:15px; font-weight:600;color:#0A2540}
.opt .hint{margin:8px 0 0; font-size:13px; color:#0A2540}
.opt:hover{background-color:#00C2CB; box-shadow:0 10px 28px rgba(16,24,40,.06)}
.opt.selected{
 
  box-shadow:0 12px 30px rgba(0,194,203,.16);
  background:#00C2CB;
  color:#00C2CB;
  border:2px solid;
  border-color:#0A2540;
}

.error{
  background: rgba(255, 80, 80, .08);
  border:1px solid rgba(255,80,80,.25);
  color:#8a1f1f;
  padding:10px 12px;
  border-radius:12px;
  font-weight:400;
  text-align:center
}

/* Results */
.results{padding:6px 0 6px}
.res-head{display:flex; justify-content:space-between; gap:14px; margin-bottom:12px}
.res-head h3{margin:0; font-size:22px}
/* Keep explanation, but make it subtle (no JS change) */
.res-head p{margin:6px 0 0; color:rgba(11,18,32,.70); font-size:13px}

.res-box{
  border:1px solid rgba(15, 51, 92, .14);
  border-radius:18px;
  padding:12px;
  padding-right: 2px;
  background: linear-gradient(180deg, rgba(10,37,64,.03), rgba(0,194,203,.03));
  margin: 14px 0;
}
.kicker{font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:rgba(11,18,32,.60); font-weight:600}
.name{font-size:22px; font-weight:700; margin-top:6px}

.logo{
  width:160px;
  margin-top: 19px;
  margin-right:5px;
  float:right;
  position:realtive;
}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15, 51, 92, .14);
  background:#fff;
  font-size:12px;
  font-weight:600;
  color:rgba(11,18,32,.72);
}

.res-actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:12px;}
.res-actions .btn{padding:12px 14px; text-decoration:none;background-color: #00C2CB; }

.hr{height:1px; background:var(--line); margin:14px 0}

/* Share + restart: inline on desktop, wraps on mobile naturally */
.results > .small{margin-top:12px}
#restart{margin-top:2px; color:#00C2CB; }

/* Footer */
.footer{border-top:1px solid var(--line); padding:14px 22px 18px}
.legal{display:flex; flex-direction:column; gap:8px}
.engine{font-size:13px; color:rgba(11,18,32,.70); font-weight:700}
.privacy{font-size:12px; color:rgba(11,18,32,.70)}
.row{display:flex; gap:6px; flex-wrap:wrap}
.disclaimer,.disclosure{font-size:12px; color:rgba(11,18,32,.62)}

#back_home_link{
color:#00C2CB;
}

.copyright{
  text-align:center;
  font-size:10px;
  color:#1E1E1E;
}

.logofooter{
  display:block;
  margin: 10px auto 6px;   /* centered */
  height: auto;
  width: 140px;            /* desktop target */
  max-width: 40vw;         /* never too big on small screens */
  opacity: .92;            /* subtle */
}

@media (max-width: 720px){
  .vpq-wrap{padding:18px 12px}
  .vpq-head{padding:16px 16px}
  .hero{padding:18px 16px 8px}
  .hero-q{font-size:20px}
  .hero-a{font-size:26px}
  .vpq-body{padding:16px}
  .controls{padding:12px 16px 16px}
  .q-title{font-size:20px}
  .logofooter{
    width: 110px;          /* mobile target */
    max-width: 55vw;
    margin: 10px auto 6px;
  }
}