:root{
  --bg:#f7f7f8; --card:#fff; --border:#e5e7eb; --text:#0f172a; --muted:#6b7280;
  --brand:#1f6feb; --brand-ghost:#e6efff; --radius:16px;
  --shadow:0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.06);
}


*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height:1.55; background:var(--bg); color:var(--text);
}
.container{max-width:920px; margin-inline:auto; padding:24px}

/* Header */
.site-header{border-bottom:1px solid var(--border); background:var(--card)}
.site-header h1{margin:0 0 4px; font-size:clamp(20px,3.6vw,28px); letter-spacing:-.02em}
.subtitle{margin:0; color:var(--muted); font-size:14px}

/* List & cards */
.download-list{display:grid; gap:14px; margin-top:22px}
.file-card{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 16px; background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); box-shadow:var(--shadow);
  transition:transform .12s ease, border-color .12s ease;
}
.file-card:hover{transform:translateY(-2px); border-color:#d7dbe3}
.file-left{display:flex; align-items:center; gap:12px; min-width:0}
.file-icon{
  display:grid; place-items:center; width:44px; height:44px; border-radius:10px;
  background:var(--brand-ghost); color:var(--brand); flex:0 0 auto;
}
.file-icon svg{width:24px; height:24px; fill:currentColor}
.file-meta{min-width:0}
.file-title{margin:0; font-size:16px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.file-info{margin:4px 0 0; font-size:13px; color:var(--muted)}



/* Single download button */
.file-actions{display:flex; gap:8px; flex-wrap:wrap}
.btn{
  --py:10px; --px:14px;
  display:inline-flex; align-items:center; justify-content:center;
  padding:var(--py) var(--px); border-radius:12px; border:1px solid transparent;
  background:#22344f; color:#FFFFFF; text-decoration:none; font-size:14px; font-weight:600;
  transition:filter .12s ease, transform .06s ease;
}
.btn:hover{filter:brightness(.96)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:3px solid #cddfff; outline-offset:2px}

/* Footer */
.site-footer{margin-top:24px; border-top:1px solid var(--border); background:var(--card)}
.site-footer small{color:var(--muted)}

@media (max-width:640px){
  .file-card{align-items:flex-start; flex-wrap:wrap}
  .file-actions{margin-left:56px}
}
@media (prefers-reduced-motion:reduce){.file-card,.btn{transition:none}}
