:root {
  --bg:#0b1020; --card:rgba(15,23,42,.90); --card-border:rgba(148,163,184,.18);
  --text:#f8fafc; --muted:#94a3b8; --body:#cbd5e1;
  --soft:rgba(148,163,184,.12); --soft-hover:rgba(148,163,184,.20);
  --primary:#60a5fa; --primary-strong:#3b82f6; --link:#93c5fd;
}
body.light {
  --bg:#f5f7fb; --card:rgba(255,255,255,.94); --card-border:rgba(15,23,42,.12);
  --text:#0f172a; --muted:#64748b; --body:#334155;
  --soft:rgba(15,23,42,.06); --soft-hover:rgba(15,23,42,.10);
  --primary:#2563eb; --primary-strong:#1d4ed8; --link:#1d4ed8;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {
  margin:0; min-height:100vh; color:var(--text);
  background:radial-gradient(circle at top left,rgba(96,165,250,.22),transparent 30%),
             radial-gradient(circle at top right,rgba(239,68,68,.12),transparent 28%),var(--bg);
  font:15px/1.8 "Noto Sans", "Noto Sans Arabic", "Noto Sans KR", system-ui, sans-serif;
  -webkit-font-smoothing:antialiased;
}
.page {min-height:100vh;display:flex;flex-direction:column}
.header {width:100%;padding:18px 38px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.brand {display:flex;align-items:center;gap:12px;min-width:0;color:var(--text);text-decoration:none}
.brand img {display:block;width:44px;height:44px;border-radius:14px;flex-shrink:0}
.brand-label {display:flex;flex-direction:column;gap:1px}
.brand-title {font-size:21px;font-weight:850;line-height:1.2;letter-spacing:-.035em}
.brand-subtitle {font-size:12px;color:var(--muted);font-weight:650;line-height:1.2}
.nav {margin-left:auto;display:flex;align-items:center;gap:10px}
.nav a,.theme-button {border:1px solid var(--card-border);border-radius:14px;background:var(--soft);color:var(--text);text-decoration:none;
  font:700 13px/1.3 inherit; font-family:inherit; font-size:13px; font-weight:720;
  min-height:42px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;
  transition:background .16s ease,transform .16s ease}
.nav a:hover,.theme-button:hover {background:var(--soft-hover);transform:translateY(-1px)}
.theme-button {cursor:pointer}
a:focus-visible,button:focus-visible {outline:2px solid var(--primary);outline-offset:4px}
main {width:min(810px,calc(100% - 44px));margin:0 auto;flex:1;padding:54px 0 76px}
.kicker {font-size:12px;letter-spacing:.11em;text-transform:uppercase;color:var(--primary);font-weight:850;margin:0 0 13px}
h1 {font-size:clamp(34px,5.2vw,52px);letter-spacing:-.047em;line-height:1.15;margin:0 0 12px;font-weight:900}
.lead {margin:0;color:var(--muted);font-size:16px;line-height:1.65;max-width:680px}
.updated {color:var(--muted);font-size:12px;margin:18px 0 0}
.rule {height:1px;background:var(--card-border);margin:31px 0 18px;border:0}
article section {margin-top:28px}
article h2 {color:var(--text);font-weight:820;font-size:19px;letter-spacing:-.03em;line-height:1.4;margin:0 0 10px}
article h3 {color:var(--text);font-size:16px;margin:20px 0 8px}
article p {color:var(--body);margin:0 0 14px;line-height:1.8}
article ul,article ol {color:var(--body);margin:8px 0 16px;padding-left:24px;line-height:1.8}
article li {padding-left:3px;margin:5px 0}
article strong {color:var(--text);font-weight:770}
article a {color:var(--link);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(96,165,250,.45);overflow-wrap:anywhere}
article a:hover {text-decoration-color:currentColor}
.footer {width:calc(100% - 76px);margin:0 auto;padding:22px 0;border-top:1px solid var(--card-border);
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 22px;color:var(--muted);font-size:13px;font-weight:680}
.footer-links {display:flex;align-items:center;flex-wrap:wrap;gap:13px 22px}
.footer-links a {color:var(--muted);text-decoration:none}
.footer-links a:hover {color:var(--primary)}
.footer-links a[aria-current="page"] {color:var(--text)}
.skip-link {position:absolute;left:12px;top:-60px;padding:9px 13px;background:var(--card);color:var(--text);border:1px solid var(--card-border);z-index:10}
.skip-link:focus {top:10px}
@media(max-width:700px){
 .header {padding:16px 18px;gap:14px}
 .brand-title {font-size:18px}
 .brand-subtitle {display:none}
 .brand img {width:42px;height:42px;border-radius:13px}
 .nav {margin-left:0;gap:8px}
 .nav a,.theme-button {font-size:12px;min-height:38px;padding:8px 12px}
 main {width:calc(100% - 36px);padding:39px 0 55px}
 .lead {font-size:15px}
 article section {margin-top:25px}
 article h2 {font-size:18px}
 .footer {width:calc(100% - 36px);justify-content:center;text-align:center}
 .footer-links {justify-content:center}
}
@media(max-width:380px){ .header {flex-direction:column;align-items:stretch}.nav {justify-content:space-between}}
@media print {
 body {background:white;color:#000;font-size:11pt}
 .header,.footer,.skip-link {display:none}
 main {width:100%;padding:0}
 article p,article ul,article ol {color:#222}
 article strong,article h2,h1 {color:#000}
 article a {color:#000}
 article section {break-inside:avoid-page}
}
