:root{
  --bg:#ffffff;
  --bg2:#f6f7fb;
  --text:#0f172a;
  --muted:#475569;
  --line:#e5e7eb;
  --accent:#0b5cff;
  --accentHover:#0848c9;
  --max:980px;
  --radius:16px;
  --padY:72px;
  --padX:20px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ height:100%; margin:0; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

.section{
  min-height:100vh;
  padding:var(--padY) var(--padX);
  display:flex;
  justify-content:center;
}

.light{ background:var(--bg); }
.gray{ background:var(--bg2); }

.container{
  width:100%;
  max-width:var(--max);
  display:flex;
  flex-direction:column;
}

/* HERO */
.hero{
  flex:1;
  display:flex;
  flex-direction:column;
  height:calc(100vh - (var(--padY)*2));
}

.hero-main{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:18px;
}

.hero-footer{
  text-align:center;
  font-size:13px;
  color:#94a3b8;
  padding-top:14px;
}

.logo{
  height:164px;
  width:auto;
  margin-bottom:12px;
}

h1{
  margin:0;
  font-weight:750;
  letter-spacing:-0.02em;
  font-size:clamp(32px,4.6vw,56px);
}

.subline{
  color:var(--muted);
  font-size:clamp(15px,1.5vw,18px);
  max-width:52ch;
  margin:0;
}

.cta{
  margin-top:8px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--accent);
  color:#fff;
  font-weight:700;
  text-decoration:none;
  transition:.15s ease;
}

.cta:hover{
  background:var(--accentHover);
}

@media (min-width: 561px){
  .cta{ margin-top: 100px; }
}

/* ASSESSMENTS */
.gray .container{
  min-height:calc(100vh - (var(--padY)*2));
}

.section-title{
  font-size:18px;
  font-weight:750;
  margin:0 0 10px;
}

.section-note{
  font-size:14px;
  color:var(--muted);
  margin-bottom:18px;
}

.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.search-input{
  min-width:280px;
  flex:1;
  max-width:420px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  padding:12px 14px;
  border-radius:999px;
  outline:none;
}

.toolbar-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.mini-status,
.mini-count{
  font-size:12px;
  color:#64748b;
  border:1px solid var(--line);
  background:#fff;
  padding:6px 10px;
  border-radius:999px;
}

.mini-status.info{
  color:var(--accent);
}

.mini-status.good{
  color:#15803d;
}

.mini-status.error{
  color:#dc2626;
}

.list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  display:flex;
  justify-content:space-between;
  gap:14px;
}

.item h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:750;
}

.item p{
  margin:0;
  font-size:13.5px;
  color:var(--muted);
}

.meta{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
  color:#64748b;
}

.pill{
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
}

.go{
  align-self:flex-start;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font-weight:700;
  text-decoration:none;
  transition:.15s ease;
}

.go:hover{
  transform:translateY(-1px);
}

.go.disabled{
  opacity:.55;
  pointer-events:none;
}

.empty-state{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px 18px;
  color:var(--muted);
  font-size:14px;
}

footer{
  margin-top:auto;
  border-top:1px solid var(--line);
  padding-top:18px;
  font-size:12px;
  color:#64748b;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}

footer a{
  color:#64748b;
  text-decoration:none;
}

footer a:hover{
  color:var(--text);
}

/* BACK TO TOP */
#backToTop{
  position:fixed;
  right:24px;
  bottom:24px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 6px 20px rgba(15,23,42,.08);
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:.2s ease;
  z-index:999;
}

#backToTop.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

/* MOBILE */
@media(max-width:560px){
  .item{ flex-direction:column; }
  .go{ width:100%; }
  .logo{ width:min(240px,86vw); height:auto; }
  #backToTop{ right:16px; bottom:16px; }
  .search-input{
    min-width:100%;
    max-width:none;
  }
}