:root { color-scheme: light dark; --bg: #fbfaf8; --surface: #ffffff; --surface-2: #f3f1ed; --text: #16181d; --text-2: #3f444d; --muted: #5f646d; --rule: #e4e1dc; --rule-strong: #cdc8c0; --accent: #ff5722; --accent-text: #b5370f; --accent-soft: rgba(255, 87, 34, 0.1); --link: var(--text); --link-underline: rgba(255, 87, 34, 0.55); --code-bg: #f3f1ed; --focus: #1d5fd6; --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-serif: "Source Serif 4", Charter, "Iowan Old Style", Georgia, serif; --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --wrap: 72rem; --measure: 42rem; --gutter: 16px; --radius: 6px; } @media (prefers-color-scheme: dark) { :root { --bg: #0f1113; --surface: #16191c; --surface-2: #1c2024; --text: #eceae6; --text-2: #c3c6cb; --muted: #9a9fa7; --rule: #2a2e33; --rule-strong: #3b4047; --accent: #ff6a3d; --accent-text: #ff8a5f; --accent-soft: rgba(255, 106, 61, 0.12); --link-underline: rgba(255, 106, 61, 0.6); --code-bg: #1a1d21; --focus: #7fb0ff; } } @media (min-width: 640px) { :root { --gutter: 24px; } } @media (min-width: 1024px) { :root { --gutter: 40px; } } *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; } body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; } main { flex: 1 0 auto; } img, svg { max-width: 100%; height: auto; display: block; } a { color: var(--link); text-decoration-color: var(--link-underline); text-underline-offset: 0.18em; text-decoration-thickness: 1px; } a:hover { text-decoration-color: currentColor; } :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; } h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; } p { margin: 0; } ::selection { background: var(--accent-soft); } .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } .skip-link { position: absolute; left: var(--gutter); top: -3rem; z-index: 10; padding: 0.5rem 0.75rem; background: var(--text); color: var(--bg); border-radius: var(--radius); text-decoration: none; font-weight: 500; } .skip-link:focus { top: 0.75rem; } .wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); } .eyebrow { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); } .eyebrow-accent, .eyebrow-accent a { color: var(--accent-text); } .eyebrow a { text-decoration: none; } .eyebrow a:hover { text-decoration: underline; } .lede { font-family: var(--font-serif); font-size: 1.1875rem; line-height: 1.5; color: var(--text-2); max-width: var(--measure); } .site-header { border-bottom: 1px solid var(--rule); background: var(--bg); } .site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; } .brand { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; color: var(--text); font-weight: 600; letter-spacing: -0.01em; flex-shrink: 0; } .brand img { width: 36px; height: 36px; } .brand-name { display: none; } @media (min-width: 560px) { .brand-name { display: inline; } } .nav-links { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; } .nav-links a { display: block; padding: 0.5rem 0.5rem; color: var(--text-2); text-decoration: none; border-radius: var(--radius); white-space: nowrap; } .nav-links a:hover { color: var(--text); background: var(--surface-2); } .nav-links a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; } @media (min-width: 640px) { .nav-links { gap: 0.5rem; } .nav-links a { padding-inline: 0.75rem; } } .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; } .button { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1.125rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); font-weight: 500; font-size: 0.9375rem; text-decoration: none; } .button:hover { border-color: var(--text); } .button-primary { background: var(--text); border-color: var(--text); color: var(--bg); } .button-primary:hover { background: var(--text-2); border-color: var(--text-2); } .hero { padding-block: 3.5rem 2.5rem; } .hero h1 { margin-top: 1rem; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.25rem, 7vw, 4rem); line-height: 1.06; letter-spacing: -0.025em; max-width: 18ch; } .hero-em { font-style: italic; color: var(--text-2); } .hero .lede { margin-top: 1.25rem; } @media (min-width: 1024px) { .hero { padding-block: 5.5rem 3.5rem; } } .feature-card { display: grid; gap: 2rem; padding: 1.5rem 1.25rem; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: var(--radius); } .feature-text h2 { margin-top: 0.75rem; font-size: clamp(1.5rem, 4vw, 2rem); } .feature-text p:not(.eyebrow) { margin-top: 0.875rem; color: var(--text-2); max-width: 38rem; } .stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--rule); } .stat { padding: 1rem 0.75rem 1rem 0; border-bottom: 1px solid var(--rule); } .stat:nth-child(odd) { border-right: 1px solid var(--rule); } .stat:nth-child(even) { padding-left: 0.75rem; } .stats-footnote { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); } .stat dt { font-size: 0.8125rem; color: var(--muted); } .stat dd { margin: 0.25rem 0 0; } .stat-value { display: block; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; } .stat-value.stat-key { font-weight: 700; font-size: clamp(1.75rem, 7vw, 2.5rem); color: var(--accent-text); } .stat-unit { margin-left: 0.3em; font-size: 0.8125rem; font-weight: 400; letter-spacing: 0; color: var(--text-2); } .stat-note { display: block; margin-top: 0.25rem; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); } .minichart { margin: 0; } .minichart figcaption { font-size: 0.8125rem; color: var(--muted); } .minichart-rows { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.5rem; } .minichart-rows li { display: grid; grid-template-columns: 3.5rem 1fr 3rem; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; } .minichart-label { color: var(--text-2); } .minichart-track { height: 0.625rem; background: var(--surface-2); border-radius: 2px; overflow: hidden; } .minichart-bar { display: block; height: 100%; background: var(--accent); } .minichart-value { text-align: right; } @media (min-width: 900px) { .feature-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "text stats" "chart stats" "spec spec"; gap: 2rem 3.5rem; padding: 2.5rem; } .feature-text { grid-area: text; } .stats-block { grid-area: stats; align-self: start; } .minichart { grid-area: chart; align-self: end; } .spec { grid-area: spec; } } .spec { padding-top: 1.25rem; border-top: 1px solid var(--rule); } .spec h3 { font-size: 0.9375rem; } .spec-note { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--muted); } .spec-list { margin: 0.75rem 0 0; display: grid; } .spec-list > div { display: grid; gap: 0.125rem; padding-block: 0.5rem; border-bottom: 1px solid var(--rule); font-size: 0.875rem; line-height: 1.45; } .spec-list dt { color: var(--text-2); } .spec-list dd { margin: 0; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text); } @media (min-width: 640px) { .spec-list > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; } } .writing { padding-block: 4rem 2rem; } .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--text); } .section-head h2 { font-size: 1.125rem; } .section-link { font-size: 0.9375rem; color: var(--text-2); text-decoration: none; } .section-link:hover { color: var(--text); text-decoration: underline; } .post-list { list-style: none; margin: 0; padding: 0; } .post-row { display: grid; gap: 0.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); } .post-row-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); } .post-row-cat { color: var(--accent-text); } .post-row h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.375rem; line-height: 1.25; } .post-row h3 a { text-decoration: none; } .post-row h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); } .post-row p { margin-top: 0.5rem; color: var(--text-2); max-width: var(--measure); } @media (min-width: 768px) { .post-row { grid-template-columns: 11rem 1fr; gap: 2rem; padding-block: 2rem; } .post-row-meta { flex-direction: column; padding-top: 0.35rem; } } .empty { padding-block: 1.5rem; color: var(--muted); } .post-header { padding-block: 3rem 2rem; } .post-header > * { max-width: 48rem; } .post-header h1 { margin-top: 0.875rem; font-family: var(--font-serif); font-weight: 600; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; } .post-header .lede { margin-top: 1rem; } .post-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); } @media (min-width: 1024px) { .post-header { padding-block: 4.5rem 2.5rem; } } .post-figure { margin-block: 0 2.5rem; } .post-figure img { width: 100%; max-width: 56rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); } .prose { font-family: var(--font-serif); font-size: 1.0625rem; line-height: 1.7; color: var(--text); padding-bottom: 3rem; } @media (min-width: 640px) { .prose { font-size: 1.125rem; } } .prose > * { max-width: var(--measure); } .prose > * + * { margin-top: 1.25em; } .prose h2, .prose h3 { font-family: var(--font-sans); } .prose h2 { margin-top: 2.5em; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: 1.5rem; } .prose h3 { margin-top: 2em; font-size: 1.1875rem; } .prose h2 + *, .prose h3 + * { margin-top: 0.75em; } .prose strong { font-weight: 600; } .prose ul { padding-left: 1.25em; } .prose ol { padding-left: 1.5em; } .prose li + li { margin-top: 0.5em; } .prose li::marker { color: var(--accent); } .prose ol > li::marker { font-family: var(--font-mono); font-size: 0.875em; color: var(--accent-text); } .prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2.5em; } .prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); color: var(--text-2); } .prose-lead > p:first-child { font-size: 1.3125rem; line-height: 1.5; color: var(--text); } .prose code, .collection code { font-family: var(--font-mono); font-size: 0.84em; padding: 0.1em 0.35em; background: var(--code-bg); border: 1px solid var(--rule); border-radius: 4px; } .prose pre { max-width: min(100%, 48rem); padding: 1rem 1.125rem; overflow-x: auto; background: var(--code-bg); border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: var(--radius); font-size: 0.875rem; line-height: 1.65; tab-size: 2; } .prose pre code { padding: 0; background: none; border: 0; font-size: inherit; white-space: pre; } .table-wrap { max-width: min(100%, 48rem); overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); } .table-wrap table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 0.9375rem; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums; } .table-wrap th, .table-wrap td { padding: 0.625rem 0.875rem; text-align: right; vertical-align: top; white-space: nowrap; } .table-wrap th:first-child, .table-wrap td:first-child { text-align: left; white-space: normal; min-width: 11rem; color: var(--text-2); } .table-wrap thead th { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--rule-strong); } .table-wrap tbody tr + tr td { border-top: 1px solid var(--rule); } .table-text th, .table-text td { text-align: left; white-space: normal; } .table-text td:last-child { min-width: 12rem; color: var(--text); } .table-wrap td strong { color: var(--text); } .post-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 4rem; } .post-footer > * { max-width: none; } .tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; } .tag-list a { display: inline-block; padding: 0.25rem 0.625rem; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-2); text-decoration: none; } .tag-list a:hover { border-color: var(--text-2); color: var(--text); } .collection { padding-bottom: 4rem; } .collection-meta { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); padding-bottom: 0.75rem; border-bottom: 1px solid var(--text); } .posts { max-width: 48rem; } .post-item { display: grid; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); } .post-item .post-title { font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.25; } .post-item .post-title a { text-decoration: none; } .post-item .post-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); } .post-item .post-intro { margin-top: 0.5rem; color: var(--text-2); } .post-item .post-date { order: -1; margin-bottom: 0.5rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); } .pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 2rem; font-size: 0.9375rem; } .pagination-pages { display: flex; gap: 0.25rem; } .pagination a, .pagination span { padding: 0.375rem 0.625rem; border-radius: var(--radius); } .pagination a { text-decoration: none; color: var(--text-2); } .pagination a:hover { background: var(--surface-2); color: var(--text); } .pagination .current { background: var(--text); color: var(--bg); } .pagination .disabled { color: var(--muted); } .site-footer { border-top: 1px solid var(--rule); background: var(--surface-2); font-size: 0.875rem; color: var(--text-2); } .footer-grid { display: grid; gap: 1.5rem; padding-block: 2.5rem; } .footer-brand { display: flex; align-items: center; gap: 0.75rem; } .footer-brand img { width: 28px; height: 28px; } .footer-name { font-weight: 600; color: var(--text); } .footer-tag { color: var(--muted); } .footer-nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; } .footer-nav a { color: var(--text-2); text-decoration: none; } .footer-nav a:hover { color: var(--text); text-decoration: underline; } .footer-copy { color: var(--muted); font-size: 0.8125rem; } @media (min-width: 900px) { .footer-grid { grid-template-columns: auto 1fr; align-items: center; } .footer-nav ul { justify-content: flex-end; } .footer-copy { grid-column: 1 / -1; } } @media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }