/* Aporius blog: same palette and header as the rest of aporius.com */
:root { --bg: #090b0f; --bg2: #0d1117; --panel: #11151c; --line: #232a35; --text: #eef1f6; --soft: #c8cdd8; --mute: #8b94a5;
  --ok: #3fbf86; --gold: #e3b341; --blue: #5d8ce8; --red: #e8583d;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: #9db8f2; }
:where(a, button):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 22px; min-height: 60px; flex-wrap: wrap; max-width: 1120px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; color: var(--text); } .brand img { width: 30px; height: 30px; }
header nav { display: flex; gap: 18px; font-size: 14.5px; margin-left: auto; flex-wrap: wrap; } header nav a { color: var(--mute); text-decoration: none; } header nav a:hover, header nav a.on { color: var(--text); }
article.wrap, main.list { padding-top: 40px; padding-bottom: 30px; }
h1 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 8px 0 14px; font-weight: 800; }
h2 { font-size: 25px; line-height: 1.25; margin: 40px 0 10px; letter-spacing: -.01em; }
h3 { line-height: 1.3; }
.meta { color: var(--mute); font-size: 14.5px; }
.lead { font-size: 19px; color: var(--soft); }
p, li { color: var(--soft); }
b { color: var(--text); }
code { font-family: var(--mono); font-size: .92em; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.key { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 20px; margin: 26px 0; }
.key p { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--mute); font-weight: 600; font-size: 14px; }
td.n { font-family: var(--mono); text-align: right; } th.n { text-align: right; }
.bad { color: var(--red); font-weight: 700; } .good { color: var(--ok); font-weight: 700; }
figure { margin: 26px 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
figcaption { color: var(--mute); font-size: 14px; margin-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 22px 0; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.facts b { display: block; font-size: 22px; } .facts span { color: var(--mute); font-size: 14px; }
.lp { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px 10px; margin: 18px 0; }
.lp h3 { margin: 14px 0 4px; } .tag { color: var(--mute); font-size: 14px; }
ol.q li { margin: 6px 0; }
.cta { margin: 36px 0 10px; padding: 22px; border-radius: 14px; background: linear-gradient(120deg, #18202c, var(--panel)); border: 1px solid var(--line); }
.cta a.btn { display: inline-block; margin-top: 8px; padding: 10px 18px; border-radius: 10px; background: var(--ok); color: #06120c; text-decoration: none; font-weight: 700; }
.small { color: var(--mute); font-size: 14.5px; }
.post { display: block; padding: 22px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); text-decoration: none; }
.post:hover { border-color: var(--ok); }
.post h2 { margin: 4px 0 6px; font-size: 21px; }
.post p { margin: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 22px; }
.share span { color: var(--mute); font-size: 14px; margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 600 14.5px system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ok); }
.shareH { font-size: 19px; margin: 34px 0 0; }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; margin-top: 30px; color: var(--mute); font-size: 13.5px; }
footer a { color: var(--mute); }
@media (max-width: 600px) { table { font-size: 14px; } th, td { padding: 8px 4px; } }
.answer { background: #0f1a15; border: 1px solid #1f3a2c; border-left: 4px solid var(--ok); border-radius: 12px; padding: 14px 20px; margin: 22px 0; }
.answer p { margin: 4px 0; color: var(--text); font-size: 18px; }
.kh { margin: 0 0 4px !important; color: var(--mute) !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.key .facts { margin: 10px 0 4px; } .key .facts div { background: var(--bg2); }
.cta a.btn2 { display: inline-block; margin: 8px 0 0 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq details p { margin: 8px 0 2px; }
