:root{
  --primary:#0057d1;         /* blue */
  --accent:#ffcc00;          /* yellow */
  --text:#1a1a1a;
  --muted:#5a5a5a;
  --bg:#ffffff;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
header{
  background:linear-gradient(180deg,var(--accent),#ffe680);
  border-bottom:6px solid var(--primary);
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:18px 12px 8px;
  text-align:center;
}
.brand{
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing:.5px;
  text-shadow: 0 2px 0 rgba(0,0,0,.05);
}
.logo{
  height: clamp(40px, 8vw, 72px);
  width:auto;
}
nav{
  display:flex;
  gap:16px;
  justify-content:center;
  padding:10px 8px 14px;
  flex-wrap:wrap;
}
nav a{
  text-decoration:none;
  color:var(--bg);
  background:var(--primary);
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
  transition:transform .15s ease, box-shadow .15s ease;
  box-shadow:0 2px 0 rgba(0,0,0,.1);
}
nav a:hover{ transform:translateY(-1px) }
main{ max-width:1100px; margin:20px auto; padding:0 16px 40px }
.card{
  border:1px solid #e6e6e6;
  border-radius:18px;
  padding:18px;
  margin-bottom:18px;
  box-shadow:0 2px 12px rgba(0,0,0,.04);
  background:#fff;
}
h2{ margin:6px 0 12px; color:var(--primary)}
.grid{
  display:grid; gap:16px; 
  grid-template-columns: repeat( auto-fill, minmax(220px, 1fr) );
}
.archive-item{
  border:1px solid #eee; border-radius:14px; padding:12px; background:#fff;
  display:flex; flex-direction:column; gap:8px;
}
.btn{
  display:inline-block; text-decoration:none; padding:10px 12px; border-radius:10px;
  background:var(--accent); color:#000; font-weight:700;
  border:2px solid var(--primary);
}
.muted{ color:var(--muted) }
footer{
  border-top:4px solid var(--primary);
  background:#f7f9ff;
  color:#333;
  text-align:center;
  padding:20px 12px 40px;
}
.pdf-viewer{
  width:100%; aspect-ratio: 9/13; border:1px solid #ddd; border-radius:12px; overflow:hidden;
  background:#fafafa;
}
.center{ text-align:center }
.mobile-note{ font-size:14px; color:var(--muted) }