:root {
    color-scheme: dark;
    --bg: #0d0d0d;
    --surface: #141414;
    --surface-raised: #191919;
    --border: rgba(255, 255, 255, 0.09);
    --text: #f5f7fb;
    --muted: #a3a3a3;
    --subtle: #737373;
    --accent: #3b82f6;
    --accent-light: #93c5fd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: radial-gradient(ellipse at 50% 0, rgba(37, 99, 235, 0.13), transparent 38rem), var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
.skip-link {
    position: absolute;
    z-index: 20;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: white;
    color: #111;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    border-bottom: 1px solid var(--border);
    background: rgba(13, 13, 13, 0.88);
    backdrop-filter: blur(18px);
}
.nav {
    display: flex;
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; width: 165px; }
.brand img { display: block; width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: white; }
.nav-cta {
    padding: 10px 16px;
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    color: #dbeafe !important;
    font-weight: 600;
}
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.breadcrumbs { padding-top: 28px; color: var(--subtle); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: 9px; color: #525252; content: "/"; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: white; }
.article-hero { max-width: 860px; margin: 0 auto; padding: 44px 0 32px; }
.category {
    display: inline-flex;
    padding: 5px 10px;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 650;
}
h1 {
    margin: 17px 0 15px;
    font-size: clamp(34px, 5.5vw, 58px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.08;
}
.dek { max-width: 760px; margin: 0; color: #b8c0cc; font-size: clamp(17px, 2.1vw, 20px); line-height: 1.65; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 21px; color: var(--subtle); font-size: 13px; }
.byline .dot { color: #4b5563; }
.cover {
    width: 100%;
    max-height: 490px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.32), transparent 60%), #111827;
}
.cover img { display: block; width: 100%; max-height: 490px; object-fit: cover; }
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(210px, 1fr);
    align-items: start;
    gap: clamp(36px, 6vw, 82px);
    padding: 42px 0 76px;
}
.article-body { min-width: 0; }
.article-body > p, .article-body li { color: #c3c8d0; font-size: 16px; line-height: 1.85; }
.article-body > p { margin: 0 0 22px; }
.article-body h2 { margin: 42px 0 14px; font-size: clamp(23px, 3vw, 30px); letter-spacing: -0.04em; line-height: 1.25; }
.article-body h3 { margin: 26px 0 10px; font-size: 19px; letter-spacing: -0.02em; }
.article-body ul, .article-body ol { display: grid; gap: 10px; margin: 12px 0 25px; padding-left: 24px; }
.article-body li::marker { color: var(--accent-light); }
.article-body strong { color: #f1f5f9; }
.article-body a { color: #93c5fd; text-underline-offset: 3px; }
.article-body blockquote {
    margin: 30px 0;
    padding: 18px 22px;
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: rgba(37, 99, 235, 0.08);
    color: #dbeafe;
    font-size: 17px;
}
.toc {
    position: sticky;
    top: 108px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(20, 20, 20, 0.82);
}
.toc h2 { margin: 0 0 12px; font-size: 14px; }
.toc ol { display: grid; gap: 11px; margin: 0; padding-left: 18px; }
.toc li { color: var(--accent-light); font-size: 13px; line-height: 1.45; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: white; }
.article-callout {
    margin: 34px 0;
    padding: 22px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.13), rgba(255, 255, 255, 0.02));
}
.article-callout p { margin: 0; color: #dbeafe; line-height: 1.75; }
.article-callout p + p { margin-top: 10px; }
.author-note { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--subtle); font-size: 13px; }
.related {
    margin: 0 0 78px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(20, 20, 20, 0.76);
}
.related h2 { margin: 0 0 17px; font-size: 22px; letter-spacing: -0.035em; }
.related-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-links a {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 13px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease;
}
.related-links a:hover { border-color: rgba(96, 165, 250, 0.48); background: rgba(37, 99, 235, 0.1); }
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 78px;
    padding: clamp(24px, 5vw, 38px);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 22px;
    background: radial-gradient(ellipse at 10% 100%, rgba(37, 99, 235, 0.2), transparent 55%), #111;
}
.cta h2 { margin: 0; font-size: clamp(22px, 3vw, 29px); letter-spacing: -0.04em; }
.cta p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.cta-link { flex: 0 0 auto; padding: 12px 18px; border-radius: 999px; background: #2563eb; color: white; font-size: 14px; font-weight: 650; text-decoration: none; }
.cta-link:hover { background: #1d4ed8; }
footer { border-top: 1px solid var(--border); background: rgba(8, 8, 8, 0.65); }
.footer-inner {
    display: flex;
    width: min(1180px, calc(100% - 40px));
    min-height: 94px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--subtle);
    font-size: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: white; }
@media (max-width: 820px) {
    .article-layout { grid-template-columns: 1fr; }
    .toc { position: static; grid-row: 1; }
    .related-links { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .nav { width: min(100% - 32px, 1180px); min-height: 68px; }
    .brand { width: 145px; }
    .nav-links { gap: 12px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .nav-cta { padding: 9px 12px; font-size: 12px !important; }
    main, .footer-inner { width: min(100% - 32px, 1120px); }
    .article-hero { padding-top: 34px; }
    .cover, .cover img { border-radius: 16px; }
    .article-layout { gap: 24px; padding-top: 30px; }
    .article-body > p, .article-body li { font-size: 15px; }
    .related { padding: 20px; }
    .cta { align-items: flex-start; flex-direction: column; }
    .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
