:root{
  --bg:#0b0f17;
  --panel:#0f1624;
  --soft:#0d1320;
  --text:#e7eaf0;
  --muted:#a7b0c0;
  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.06);

  --radius:18px;
  --radius2:14px;

  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --shadow2: 0 10px 24px rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 20% 0%, rgba(255,255,255,.06), transparent 55%),
              radial-gradient(1000px 700px at 100% 30%, rgba(255,255,255,.05), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.94}

.container{
  width:min(1060px, 92vw);
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{left:10px}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,23,.70);
  border-bottom: 1px solid var(--line2);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.2px;
}
.brand__mark{
  width:14px;
  height:14px;
  border-radius:5px;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.35));
  box-shadow: 0 0 0 6px rgba(255,255,255,.06);
}
.brand__text{font-size:14px}

.nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.nav a{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.nav a:hover{
  color:var(--text);
  border-color: var(--line2);
  background: rgba(255,255,255,.03);
}

.hero{
  padding:46px 0 22px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr}
}
.hero__copy h1{
  margin:0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height:1.12;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size: 16px;
  max-width: 62ch;
}
.hero__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 12px 0 18px;
}

.metaCard{
  border:1px solid var(--line2);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:12px 12px;
  min-width: 160px;
}
.hero__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.metaCard__k{
  font-size:12px;
  color:var(--muted);
}
.metaCard__v{
  font-size:14px;
  margin-top:4px;
}

.panel{
  border:1px solid var(--line2);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow2);
}
.panel__title{
  margin:0 0 10px;
  font-size:16px;
}
.panel__list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
}
.panel__list li{margin:6px 0}
.panel__note{
  margin:12px 0 0;
  color:var(--muted);
  font-size:12px;
}

.section{
  padding:34px 0;
}
.section--soft{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line2);
  border-bottom:1px solid var(--line2);
}
.section__head{
  margin-bottom:14px;
}
.section__head h2{
  margin:0 0 6px;
  font-size:22px;
}
.muted{color:var(--muted)}

.quiz{
  border:1px solid var(--line2);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow2);
}
.quiz__legend{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:space-between;
  border:1px solid var(--line2);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding:10px 12px;
  color:var(--muted);
  font-size:12px;
  margin-bottom:14px;
}

.questions{
  display:grid;
  gap:10px;
}

.q{
  border:1px solid var(--line2);
  background: rgba(11,15,23,.35);
  border-radius: 14px;
  padding:12px;
}
.q__title{
  margin:0;
  font-size:14px;
}
.q__hint{
  margin:6px 0 0;
  font-size:12px;
  color:var(--muted);
}

.opts{
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
@media (max-width: 640px){
  .opts{grid-template-columns:1fr}
}
.opt{
  position:relative;
  border:1px solid var(--line2);
  background: rgba(255,255,255,.02);
  border-radius: 12px;
  padding:10px;
  cursor:pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.opt:hover{
  background: rgba(255,255,255,.03);
  transform: translateY(-1px);
}
.opt input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.opt span{
  display:block;
  font-size:12px;
  color:var(--muted);
}
.opt strong{
  display:block;
  font-size:13px;
  margin-top:2px;
  color:var(--text);
}
.opt:has(input:checked){
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.btn{
  appearance:none;
  border:none;
  cursor:pointer;
  border-radius: 14px;
  padding:11px 14px;
  font-weight:800;
  font-size:13px;
  letter-spacing:.2px;
  transition: transform .08s ease, opacity .15s ease, background .15s ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn:active{transform: translateY(1px)}
.btn--primary{
  background: #ffffff;
  color:#0b0f17;
}
.btn--primary:hover{opacity:.92}
.btn--ghost{
  background: rgba(255,255,255,.03);
  color:var(--text);
  border:1px solid var(--line2);
}
.btn--ghost:hover{background: rgba(255,255,255,.05)}

/* BuyMeACoffee button – more visible but still clean */
.btn--bmc{
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  color: var(--text);
  border: 1px solid rgba(255,255,255,.20);
}
.btn--bmc:hover{
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
}
.btn--bmcWide{
  padding:12px 16px;
  border-radius: 16px;
}
.btn__icon{
  font-size:14px;
  line-height:1;
}

.errorBox{
  margin-top:12px;
  border:1px solid rgba(255,122,122,.35);
  background: rgba(255,122,122,.10);
  padding:10px 12px;
  border-radius: 14px;
  color: #ffd0d0;
  font-size:13px;
}

.result{
  margin-top:16px;
  display:grid;
  gap:12px;
}
.result__card{
  border:1px solid var(--line2);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow2);
}
.result__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.result__top h3{margin:0}
.score{
  border:1px solid var(--line2);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding:12px 14px;
  min-width: 150px;
  text-align:center;
}
.score__num{
  font-size:34px;
  font-weight:900;
  line-height:1;
}
.score__cap{
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
}

.bar{
  margin-top:12px;
  height:12px;
  border-radius: 999px;
  border:1px solid var(--line2);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.bar__fill{
  height:100%;
  width:0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126,224,129,.95), rgba(255,211,106,.95), rgba(255,122,122,.95));
}

.recos{
  margin-top:14px;
}
.recos h4{
  margin:0 0 8px;
  font-size:15px;
}
.recos ul{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}
.recos li{margin:6px 0}

.support{
  margin-top:14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.support__text{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.result__footer{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.adBox{
  margin-top:12px;
  border:1px dashed var(--line2);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius2);
  padding:12px;
}
.adBox__label{
  font-size:11px;
  color:var(--muted);
  margin-bottom:4px;
}

.prose{
  max-width: 78ch;
}
.prose h2{margin-top:0}
.prose a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer{
  padding:22px 0 28px;
  border-top:1px solid var(--line2);
  background: rgba(0,0,0,.15);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer__brand{
  font-weight:900;
  font-size:14px;
}
.footer__note{
  font-size:12px;
  margin-top:4px;
}
.footer__links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.footer__links a{
  font-size:13px;
  color:var(--muted);
}
.footer__links a:hover{color:var(--text)}
.footer__bottom{
  margin-top:12px;
  font-size:12px;
}

/* Floating BMC – more visible */
.bmc{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:60;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
  box-shadow: var(--shadow2);
  font-weight:900;
}
.bmc:hover{background: rgba(255,255,255,.10)}
.bmc__dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: #fff;
  opacity:.95;
}
.bmc__text{
  font-size:13px;
  color:var(--text);
}
.bmc__cup{
  font-size:14px;
  line-height:1;
}
