:root{
  --bg:#070B14;
  --panel:#0B1220;
  --panel2:#0A1628;
  --text:#E6EDF7;
  --muted:#A7B2C6;
  --muted2:#7C8AA6;
  --line:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 22px;
  --grad: linear-gradient(135deg, #0EA5E9 0%, #22C55E 100%);
  --good:#22C55E;
  --mid:#F59E0B;
  --bad:#EF4444;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1000px 600px at 15% 10%, rgba(14,165,233,.25), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(34,197,94,.18), transparent 55%),
    radial-gradient(700px 500px at 60% 90%, rgba(99,102,241,.12), transparent 60%),
    var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.95}
.container{max-width:1080px; margin:0 auto; padding:24px}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; padding:12px 16px; border:1px solid var(--line);
  background: rgba(11,18,32,.55);
  backdrop-filter: blur(10px);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  position: sticky; top: 16px; z-index: 10;
}
.brand{display:flex; align-items:center; gap:12px}
.brand img{height:34px; width:auto}
.nav-links{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.nav-links a{
  font-size:14px; color:var(--muted);
  padding:8px 10px; border-radius: 999px;
  border: 1px solid transparent;
}
.nav-links a:hover{color:var(--text); border-color:var(--line); background:rgba(255,255,255,.04)}

.hero{
  padding:56px 0 24px;
  display:grid; gap:18px;
}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:7px 12px; border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  width: fit-content;
  color: var(--muted);
  font-size:13px;
}
.dot{
  width:8px; height:8px; border-radius:999px;
  background: #22C55E;
  box-shadow: 0 0 0 5px rgba(34,197,94,.15);
}
h1{
  margin:0;
  font-size:44px;
  line-height:1.08;
  letter-spacing:-.02em;
}
.sub{
  margin:0;
  font-size:16px;
  line-height:1.6;
  color:var(--muted);
  max-width: 760px;
}
.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
  margin-top: 18px;
}
@media (max-width: 940px){
  h1{font-size:36px}
  .grid{grid-template-columns: 1fr}
  .nav{position:static}
}

.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,18,32,.70), rgba(11,18,32,.52));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card .inner{padding:18px}
.card h2{
  font-size:16px;
  margin:0 0 10px;
  color: var(--text);
}
.card p{margin:0; color:var(--muted); font-size:14px; line-height:1.6}
.card .divider{height:1px; background:var(--line); margin:16px 0}

.form{
  display:flex; gap:10px; margin-top: 12px;
  padding:12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
}
.input{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text);
  font-size:15px;
}
.input::placeholder{color: rgba(167,178,198,.70)}
.btn{
  border:0;
  padding: 11px 14px;
  border-radius: 14px;
  cursor:pointer;
  color:#071018;
  font-weight:700;
  background: var(--grad);
  box-shadow: 0 8px 20px rgba(14,165,233,.18);
  transition: transform .08s ease, opacity .2s ease;
  white-space:nowrap;
}
.btn:active{transform: translateY(1px)}
.btn.secondary{
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
  font-weight: 600;
}
.btn[disabled]{opacity:.55; cursor:not-allowed}

.pills{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.pill{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  padding:8px 10px;
  font-size:13px;
  color: var(--muted);
  display:flex; gap:8px; align-items:center;
}
.pill strong{color: var(--text); font-weight:700}

.score{
  display:flex; align-items:baseline; gap:10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.score .big{
  font-size: 34px;
  font-weight: 900;
  letter-spacing:-.02em;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 10px;
  border-radius:999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.badge .b{
  width:8px; height:8px; border-radius:999px;
}
.badge.good .b{background: var(--good); box-shadow: 0 0 0 5px rgba(34,197,94,.15)}
.badge.mid  .b{background: var(--mid); box-shadow: 0 0 0 5px rgba(245,158,11,.15)}
.badge.bad  .b{background: var(--bad); box-shadow: 0 0 0 5px rgba(239,68,68,.14)}

.small{font-size:13px; color: var(--muted2); line-height:1.6}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

.loader{
  display:none;
  align-items:center; gap:10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.spinner{
  width:18px; height:18px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.20);
  border-top-color: rgba(255,255,255,.75);
  animation: spin 1s linear infinite;
}
@keyframes spin{to{transform: rotate(360deg)}}

.results{display:none; margin-top: 14px}
.section-title{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  margin: 0 0 10px;
}
.section-title h3{margin:0; font-size:14px; color: var(--text)}
.section-title span{font-size:12px; color: var(--muted2)}
.list{display:grid; gap:10px}
.item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 12px;
}
.item .top{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.item .claim{margin:0; font-size:14px; line-height:1.5; color: var(--text)}
.item .meta{margin-top:8px; display:flex; flex-wrap:wrap; gap:8px}
.tag{
  font-size:12px;
  border-radius: 999px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.02);
}
.tag strong{color: var(--text)}
.verdict{
  font-weight:800;
  font-size:12px;
  border-radius:999px;
  padding:6px 10px;
  border: 1px solid var(--line);
  white-space:nowrap;
}
.verdict.good{color: var(--good)}
.verdict.mid{color: var(--mid)}
.verdict.bad{color: var(--bad)}
.verdict.unk{color: #94A3B8}

pre{
  margin:0;
  white-space:pre-wrap;
  word-wrap:break-word;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer{
  margin: 28px 0 6px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted2);
  font-size: 13px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
}
.footer a{color: var(--muted)}
.footer a:hover{color: var(--text)}
.notice{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
