:root { color-scheme: light; --bg: #faf9f6; --text: #20252b; --muted: #575f6b; --line: #dfe1e5; --surface: #fff; --soft: #f0f0ec; --blue: #2d55d4; --tint: #e9edfa; --button-text: #fff; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
:root.dark { color-scheme: dark; --bg: #13171e; --text: #f0f2f6; --muted: #b1bbc9; --line: #37404e; --surface: #1b212b; --soft: #222b38; --blue: #a0b7ff; --tint: #273657; --button-text: #14234d; }
@media (prefers-color-scheme: dark) { :root:not(.dark):not(:has(#theme-toggle:not([hidden]))) { color-scheme: dark; --bg: #13171e; --text: #f0f2f6; --muted: #b1bbc9; --line: #37404e; --surface: #1b212b; --soft: #222b38; --blue: #a0b7ff; --tint: #273657; --button-text: #14234d; } }
* { box-sizing: border-box; } [hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.7; }
a { color: var(--blue); text-underline-offset: .2em; } a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; } button { cursor: pointer; }
:where(a, button, input, select, [tabindex]):focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
:where(main)[tabindex="-1"]:focus { outline: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.7vw, 4.6rem); margin: 1rem 0 1.25rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); } h3 { font-size: 1.4rem; }
p { margin: 0 0 1.25rem; } img { display: block; }
.container { max-width: 1184px; padding-inline: 24px; margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-200%); background: var(--surface); padding: 12px; } .skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; min-height: 80px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.25rem; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
.site-header nav { display: flex; gap: 24px; margin-left: 20px; } .site-header nav a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
.site-header nav a[aria-current] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; font-size: 14px; }
#theme-toggle { border: 0; background: transparent; color: var(--muted); min-height: 44px; padding: 0; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 7px; background: var(--blue); color: var(--button-text); font-weight: 600; padding: 11px 20px; text-decoration: none; text-align: center; line-height: 1.5; }
.button:hover { text-decoration: underline; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--blue); line-height: 1.5; text-transform: uppercase; }
.blog-hero { padding: 72px 0 52px; } .blog-hero .lede { max-width: 600px; }
.lede { font-size: 20px; color: var(--muted); line-height: 1.65; }
.featured { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.featured > div { padding: 40px; } .featured h2 { margin: 18px 0; max-width: 24ch; } .featured h2 a { color: var(--text); text-decoration: none; } .featured > div > p:not(.eyebrow) { color: var(--muted); }
.featured .featured-note { background: var(--tint); color: var(--blue); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.featured-note .note-number { font-size: 12px; letter-spacing: .15em; } .featured .featured-note p { color: var(--text); font-size: 25px; line-height: 1.55; font-weight: 550; margin: 0; letter-spacing: -.03em; } .featured-note > span:last-child { font-size: 13px; }
.text-link { color: var(--blue); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 10px 0; min-height: 44px; display: inline-block; }
.library { padding-block: 60px; } .library-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; } .library-top h2 { margin: 0 0 20px; } .library-top p { font-size: 14px; color: var(--muted); }
.filters { display: flex; gap: 20px; align-items: flex-end; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.filters > div:first-child { flex: 1; } .filters label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.filters input, .filters select { min-height: 48px; border: 1px solid var(--line); border-radius: 5px; padding: 9px 12px; background: var(--surface); color: var(--text); width: 100%; font-size: 16px; }
.results-count { color: var(--muted); font-size: 13px; margin: 14px 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { padding: 26px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.post-card .eyebrow { margin-bottom: 10px; } .post-card h3 { margin: 0 0 14px; } .post-card h3 a { color: var(--text); text-decoration: none; } .post-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.post-card > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.7; } .card-meta { font-size: 12px; color: var(--muted); margin-top: auto; }
.cta { border-top: 1px solid var(--line); padding: 40px 0 60px; display: flex; gap: 40px; align-items: center; justify-content: space-between; } .cta h2 { max-width: 27ch; margin: 10px 0 16px; } .cta > a { flex-shrink: 0; } .cta p:last-child { color: var(--muted); margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; } .footer-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; } .footer-row p { font-size: 13px; color: var(--muted); margin: 0; } .site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; } .site-footer a { font-size: 14px; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumb { padding-top: 35px; display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.article-header { max-width: 900px; padding-block: 35px 48px; } .article-header h1 { font-size: clamp(2.3rem, 4.7vw, 3.65rem); } .byline { font-size: 13px; color: var(--muted); }
.review-note { font-size: 13px; border-left: 3px solid var(--blue); padding-left: 16px; max-width: 760px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 64px; border-top: 1px solid var(--line); padding-top: 35px; }
.toc nav { position: sticky; top: 24px; } .toc a { display: block; font-size: 14px; color: var(--muted); padding-block: 8px; text-decoration: none; } .toc a:hover { color: var(--blue); text-decoration: underline; }
.article-body { min-width: 0; overflow-wrap: anywhere; } .article-body .intro { font-size: 19px; } .article-body section { scroll-margin-top: 24px; padding-block: 10px; } .article-body section h2 { font-size: 1.7rem; margin: 28px 0 20px; }
.article-body ul { padding-left: 24px; } .article-body li { padding-left: 4px; margin-block: 12px; } .sources { font-size: 13px; color: var(--muted); }
.table-scroll { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 7px; } table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 480px; } th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; } thead { background: var(--soft); } tbody tr:last-child > * { border-bottom: 0; } tbody th { width: 25%; font-weight: 600; }
.article-cta { background: var(--tint); padding: 28px; margin-top: 32px; border-radius: 9px; } .article-cta h2 { margin-top: 0; font-size: 1.6rem; } .article-cta > a:last-child { margin-left: 12px; font-size: 14px; }
.related { padding-block: 50px; } .related h2 { font-size: 1.7rem; } .not-found { padding-block: 90px; }
@media (max-width: 900px) { .header-row { gap: 12px; } .site-header nav { margin-left: 0; gap: 16px; } .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .article-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 28px; } .featured > div { padding: 28px; } .header-actions { gap: 12px; } }
@media (max-width: 680px) { .container { padding-inline: 20px; } .brand { font-size: 18px; } .header-row { gap: 6px 12px; } .site-header nav { order: 3; width: 100%; justify-content: space-between; } .header-actions { gap: 10px; font-size: 12px; } .header-actions .button { padding-inline: 10px; } #theme-toggle { max-width: 45px; line-height: 1.3; } .blog-hero { padding-block: 42px 24px; } .lede { font-size: 18px; } .desktop-break { display: none; } .featured, .post-grid, .article-layout { grid-template-columns: 1fr; } .featured .featured-note { display: none; } .featured > div { padding: 24px; } .filters { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; } .library { padding-block: 40px; } .post-grid { gap: 0; } .post-card { padding-block: 26px; } .post-card > p:not(.eyebrow) { font-size: 16px; } .cta { flex-direction: column; align-items: stretch; gap: 24px; } .site-footer nav { margin-left: 0; width: 100%; } .footer-row { gap: 8px 20px; } .article-header { padding-block: 24px; } .article-layout { gap: 16px; padding-top: 24px; } .toc nav { position: static; } .toc { border-bottom: 1px solid var(--line); padding-bottom: 18px; } .toc a { padding-block: 8px; } .article-cta > a:last-child { display: block; margin: 18px 0 0; } }
@media print { .site-header, .site-footer, .toc, .article-cta, .related, .filters, .cta { display: none; } .article-layout { display: block; } :root, :root.dark { --bg: #fff; --text: #000; --muted: #333; --blue: #000; } a { text-decoration: underline; } .container { max-width: none; } }
