/* dailymindpop - quiz lander */

:root{
  --bg:#0e1220;
  --panel:#171d2e;
  --panel-2:#1f2740;
  --ink:#f4f6fb;
  --muted:#9aa3bd;
  --accent:#ffd23f;
  --accent-ink:#1a1400;
  --ok:#3ddc97;
  --bad:#ff6b6b;
  --radius:16px;
}

*,*::before,*::after{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%}

body{
  font:400 17px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  min-height:100dvh;
}

.site-header{padding:18px 20px}
.brand{
  color:var(--ink);
  text-decoration:none;
  font-weight:800;
  font-size:16px;
  letter-spacing:-.01em;
  opacity:.85;
}
.brand:hover{opacity:1}

.wrap{
  width:100%;
  max-width:560px;
  margin:0 auto;
  padding:8px 20px 40px;
}

.card{
  background:var(--panel);
  border:1px solid var(--panel-2);
  border-radius:var(--radius);
  padding:28px 24px;
  box-shadow:0 20px 50px rgba(0,0,0,.35);
}

.hero-img{
  display:block;
  width:88px;
  height:88px;
  border-radius:20px;
  margin-bottom:16px;
}

.kicker{
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:700;
  margin-bottom:10px;
}

h1{font-size:26px;line-height:1.25;margin-bottom:12px;font-weight:800}
h2{font-size:22px;line-height:1.3;margin-bottom:12px;font-weight:800}

.lead{color:var(--muted);margin-bottom:22px}
.qtext{margin-bottom:20px}
.qcount{font-size:14px;color:var(--muted);margin:14px 0 6px}
.fineprint{margin-top:16px;font-size:13px;color:var(--muted)}

.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  font:inherit;
  font-weight:700;
  background:var(--accent);
  color:var(--accent-ink);
  border-radius:12px;
  padding:14px 20px;
  width:100%;
}
.btn--big{padding:16px 20px;font-size:18px}
.btn:active{transform:translateY(1px)}

.linklike{
  display:block;
  margin:12px auto 0;
  background:none;
  border:0;
  color:var(--muted);
  font:inherit;
  text-decoration:underline;
  cursor:pointer;
}

.opts{display:flex;flex-direction:column;gap:10px}
.opt{
  text-align:left;
  background:var(--panel-2);
  border:1px solid transparent;
  color:var(--ink);
  font:inherit;
  border-radius:12px;
  padding:14px 16px;
  cursor:pointer;
}
.opt:hover{border-color:var(--accent)}

.progress{
  height:6px;
  background:var(--panel-2);
  border-radius:999px;
  overflow:hidden;
  margin-bottom:6px;
}
.progress__bar{
  display:block;
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .25s ease;
}

.tips{list-style:none;display:flex;flex-direction:column;gap:10px;margin:18px 0}
.tips li{background:var(--panel-2);border-radius:10px;padding:12px 14px;font-size:15px}
.tips li::before{content:"\2192 ";color:var(--accent);font-weight:700}

.ad{min-height:1px;margin:18px 0}
.ad:empty{display:none}

.related{margin:20px 0 8px;border-top:1px solid var(--panel-2);padding-top:16px}
.related p{
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:700;
  margin-bottom:10px;
}
.related a{
  display:block;
  background:var(--panel-2);
  color:var(--ink);
  text-decoration:none;
  border-radius:10px;
  padding:12px 14px;
  font-size:15px;
  margin-bottom:8px;
}
.related a:hover{outline:1px solid var(--accent)}

#rtier[data-t="ok"]{color:var(--ok)}
#rtier[data-t="bad"]{color:var(--bad)}

.prose h1{font-size:24px;margin-bottom:14px}
.prose h2{font-size:17px;margin:22px 0 8px;font-weight:700}
.prose p{margin-bottom:12px;color:var(--muted)}
.prose ul{margin:0 0 12px 20px;color:var(--muted)}
.prose li{margin-bottom:6px}
.prose a{color:var(--accent)}

.site-footer{
  max-width:560px;
  margin:0 auto;
  padding:16px 20px 28px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-size:13px;
}
.site-footer a{color:var(--muted);text-decoration:none}
.site-footer a:hover{color:var(--ink)}

@media (max-width:420px){
  .card{padding:22px 18px}
  h1{font-size:23px}
}
