:root{--bg:#f4f8fd;--card:#fff;--primary:#0b638f;--primary-dark:#084f73;--muted:#52657d;--line:#d9e6f5;--shadow:0 18px 42px rgba(13,111,158,.12)}
*{box-sizing:border-box} body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:linear-gradient(180deg,#f7f9fc 0%,#eef4fb 100%);color:#14263b;line-height:1.55}
a{text-decoration:none;color:inherit} img{max-width:100%;display:block} .wrap{max-width:1200px;margin:0 auto;padding:0 1rem}
.site-header{background:linear-gradient(135deg,#0e1724 0%,#1d2a38 30%,#b71d2b 100%); color:#fff; box-shadow:0 12px 28px rgba(18,35,52,.18)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0}
.brand{display:flex;align-items:center;gap:14px}
.brand img{width:64px;height:64px;border-radius:16px;background:rgba(255,255,255,.08);padding:7px}
.brand h1{margin:0;font-size:clamp(1.2rem,2vw,1.6rem)}
.brand p{margin:.2rem 0 0;color:rgba(255,255,255,.82);font-size:.9rem}
.topnav{display:flex;gap:.65rem;flex-wrap:wrap;justify-content:flex-end}
.topnav a{padding:.62rem .9rem;border-radius:10px;color:#fff;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-weight:700}
.topnav a.primary{background:linear-gradient(135deg,#f5c451,#f9db77);color:#111;border:none}
.page-shell{padding:2rem 0 3rem}
.hero{background:linear-gradient(135deg,#fff,#f3f8ff);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);padding:1.4rem 1.5rem;margin-bottom:1.3rem}
.eyebrow{display:inline-flex;align-items:center;padding:.42rem .7rem;border-radius:999px;background:#edf4ff;color:#0b638f;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.7rem}
.hero h2{margin:.8rem 0 .4rem;font-size:clamp(2rem,3vw,2.8rem);line-height:1.08}
.hero p{margin:0;color:var(--muted)}
.library-shell{display:grid;grid-template-columns:1fr;gap:1.2rem}
.category-block{background:var(--card);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:1.2rem}
.category-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}
.category-head h3{margin:0;font-size:1.2rem}
.badge{display:inline-flex;padding:.38rem .7rem;border-radius:999px;background:#edf4ff;color:#0b638f;font-weight:800;font-size:.74rem}
.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.doc-card{background:linear-gradient(180deg,#fff,#f7fbff);border:1px solid var(--line);border-radius:20px;padding:1.1rem;box-shadow:0 12px 26px rgba(15,23,42,.04)}
.doc-icon{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#edf5ff,#fdf1f2);font-size:1.5rem;margin-bottom:.8rem}
.doc-card h4{margin:0 0 .45rem;font-size:1.08rem}
.doc-card p{margin:0 0 .9rem;color:var(--muted)}
.doc-card a{display:inline-flex;padding:.6rem .9rem;border-radius:10px;background:#11263e;color:#fff;font-weight:700}
.sidebar-panel{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:1.1rem;box-shadow:var(--shadow);margin-top:1.2rem}
.sidebar-panel h3{margin-top:0}
.tag-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.tag{display:inline-flex;padding:.38rem .7rem;border-radius:999px;background:#edf4ff;color:#0b638f;font-weight:700;font-size:.74rem}
footer{background:#0f1a23;color:#d8e1ea;padding:1.8rem 0 1rem;margin-top:2rem}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:1200px;margin:0 auto;padding:0 1rem}
.footer-grid h4{color:#fff;margin:0 0 .6rem} .footer-grid a,.footer-grid p{color:#d8e1ea}
.footer-bottom{max-width:1200px;margin:1rem auto 0;padding:1rem 1rem 0;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
@media (max-width:900px){ .library-grid,.footer-grid{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}.topnav{justify-content:flex-start}.category-head{flex-direction:column;align-items:flex-start}}