:root { --ink:#14213d; --muted:#5b6475; --line:#e3e7ee; --accent:#2a6df4; --accent2:#1f56c7; --bg:#f6f8fb; --yellow:#ffc83d; }
* { box-sizing: border-box; }
body { margin:0; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color:var(--ink); background:#fff; line-height:1.6; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent2); }
.top { background: linear-gradient(180deg,#0f2552 0%, #163a7a 100%); color:#fff; }
.topin { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:12px; padding-bottom:12px; }
.logo { display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; font-size:18px; text-decoration:none; }
.logo img { border-radius:50%; border:2px solid var(--yellow); background:#fff; }
.top nav { display:flex; align-items:center; gap:12px; }
.top nav > a:first-child { margin-right: 8px; }
.top nav > a:not(.btn) { color:#d8e2f6; text-decoration:none; font-weight:600; }
.top nav > a:not(.btn):hover { color:#fff; }
.btn { display:inline-flex; align-items:center; gap:10px; background:var(--accent); color:#fff; font-weight:700;
       font-size:17px; padding:13px 22px; border-radius:12px; text-decoration:none; border:0; cursor:pointer; white-space:nowrap; }
.btn:hover { background: var(--accent2); }
.btn svg { width:20px; height:20px; flex:none; }
.btn.alt { background: #fff; color: var(--ink); border: 2px solid var(--accent); padding: 11px 20px; }
.btn.alt:hover { background: var(--bg); }
.btns { display:flex; gap:12px; flex-wrap:wrap; }
.btn.sm { background: var(--yellow); color: var(--ink); font-size:15px; padding:8px 14px; border-radius:10px; }
.btn.sm:hover { filter: brightness(1.05); }
.crumbs { font-size:14px; color:var(--muted); margin:22px 0 8px; }
.crumbs a { color:var(--muted); }
h1 { font-size: 34px; line-height:1.2; margin: 6px 0 12px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.meta { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.art { max-width: 780px; }
article h2 { font-size: 25px; line-height:1.25; margin: 34px 0 12px; }
article h3 { font-size: 20px; margin: 24px 0 8px; }
article p, article li { font-size: 17px; }
article ul, article ol { padding-left: 22px; }
article li { margin: 4px 0; }
article blockquote { margin: 16px 0; padding: 12px 18px; background: var(--bg); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; }
article blockquote p { margin: 6px 0; }
article code { background: var(--bg); border:1px solid var(--line); border-radius:6px; padding: 1px 6px; font-size: 15px; }
.tbl { overflow-x:auto; margin: 14px 0; }
table { width:100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align:left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight:600; font-size:14px; background: var(--bg); }
.ctabox { display:flex; gap:20px; align-items:center; justify-content:space-between; flex-wrap:wrap;
          background: var(--bg); border:1px solid var(--line); border-left: 5px solid var(--yellow); border-radius: 14px; padding: 22px 24px; margin: 36px 0; }
.ctat { flex: 1; min-width: 260px; }
.ctat b { display:block; font-size: 20px; margin-bottom: 4px; }
.ctat span { color: var(--muted); }
.rel h2 { font-size: 22px; }
.rel ul { list-style:none; padding:0; display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.rel li { background: var(--bg); border:1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.rel li a { font-weight: 700; text-decoration: none; color: var(--ink); display:block; margin-bottom: 4px; }
.rel li a:hover { color: var(--accent2); }
.rel li span { color: var(--muted); font-size: 14.5px; }
.posts { display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 14px 0 26px; }
.grp h2 { font-size: 24px; margin: 30px 0 4px; }
.post { display:block; background: var(--bg); border:1px solid var(--line); border-radius: 12px; padding: 18px 20px; text-decoration:none; color: var(--ink); }
.post:hover { border-color: var(--accent); }
.post b { display:block; font-size: 18px; line-height:1.3; margin-bottom: 6px; }
.post span { color: var(--muted); font-size: 15px; }
article li.chk { list-style: none; position: relative; }
article li.chk::before { content: "☐"; position: absolute; left: -22px; color: var(--muted); }
.auto { color: var(--accent); font-weight: 700; }
.back { margin: 10px 0 40px; }
footer { color: var(--muted); font-size: 13px; padding: 28px 0 40px; border-top:1px solid var(--line); margin-top: 20px; }
footer a { color: var(--muted); }
@media (max-width: 600px) {
  h1 { font-size: 27px; } .lead { font-size: 17px; } article h2 { font-size: 22px; }
  .top nav > a:not(.btn) { display:none; } .btn.sm { font-size:14px; }
}
