@font-face { font-family: Geist; font-style: normal; font-weight: 400; font-display: swap; src: url('./geist-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Geist; font-style: normal; font-weight: 500; font-display: swap; src: url('./geist-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Geist; font-style: normal; font-weight: 600; font-display: swap; src: url('./geist-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('./geist-mono-latin-400-normal.woff2') format('woff2'); }
:root { font-family: Geist, sans-serif; color: #e6e8eb; background: #111315; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; --text: #e6e8eb; --muted: #b0b7be; --subtle: #929ba3; --line: #30353a; --accent: #b2c9b8; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:hover { color: var(--accent); }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
::selection { background: #354b3d; color: #f0f3f0; }
h1, h2, h3, h4, p { margin: 0; }
svg { width: 16px; height: 16px; flex-shrink: 0; }
.page-width { width: min(1060px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -80px; padding: 12px 18px; z-index: 30; background: var(--text); color: #111315; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(17, 19, 21, .94); border-bottom: 1px solid #272c31; backdrop-filter: blur(16px); }
.nav-shell { width: min(1140px, calc(100% - 80px)); min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: auto; }
.wordmark { font-size: 15px; font-weight: 500; letter-spacing: -.25px; white-space: nowrap; }
.wordmark > span { color: var(--subtle); font-weight: 400; margin-left: 4px; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.site-header nav a:hover { color: var(--text); }
.article-header { padding-top: 43px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--subtle); font-size: 13px; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--accent); font-size: 12px; line-height: 1.5; margin-top: 49px; }
.eyebrow span { font-family: 'Geist Mono', monospace; color: var(--subtle); border-right: 1px solid #414c44; padding-right: 14px; }
h1 { max-width: 900px; font-size: clamp(34px, 4.15vw, 52px); font-weight: 500; line-height: 1.16; letter-spacing: -1.9px; margin-top: 18px; text-wrap: balance; }
.standfirst { max-width: 770px; font-size: 18px; line-height: 1.75; color: var(--muted); margin-top: 24px; }
.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; font-size: 13px; color: var(--subtle); margin-top: 28px; }
.byline a { color: var(--text); }
.byline > span[aria-hidden] { color: #4e575e; }
.tags { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; margin: 23px 0 0; padding: 0; }
.tags li { font-size: 11px; line-height: 1.5; color: var(--muted); border: 1px solid #32383d; padding: 4px 8px; border-radius: 3px; }
.article-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); column-gap: 66px; align-items: start; padding-top: 43px; }
.contents { position: sticky; top: 112px; max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; padding: 0 8px 12px 0; }
.contents nav > p { font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: 1px; color: var(--subtle); margin-bottom: 17px; }
.contents ol { list-style: none; padding: 0; margin: 0; counter-reset: contents; }
.contents li { counter-increment: contents; margin-top: 13px; }
.contents a { display: flex; align-items: baseline; gap: 10px; font-size: 12px; line-height: 1.6; color: #a0a9b1; }
.contents a::before { content: counter(contents, decimal-leading-zero); flex: 0 0 17px; font-family: 'Geist Mono', monospace; font-size: 10px; color: #7c878f; }
.contents a:hover { color: var(--accent); }
.prose { min-width: 0; font-size: 16px; line-height: 1.85; color: #b9c0c7; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-block: 0 22px; }
.prose strong { color: var(--text); font-weight: 500; }
.prose em { color: #c4ccd2; }
.prose a { color: #c6dbcb; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #536b5a; }
.prose a:hover { color: #e0eee4; text-decoration-color: currentColor; }
.prose h2, .prose h3, .prose h4 { color: var(--text); font-weight: 500; line-height: 1.4; }
.prose h2 { font-size: 28px; letter-spacing: -.75px; margin: 59px 0 23px; padding-top: 27px; border-top: 1px solid #2a3035; text-wrap: balance; }
.prose h3 { font-size: 21px; letter-spacing: -.35px; margin: 35px 0 16px; }
.prose h4 { font-size: 17px; margin: 27px 0 13px; }
.prose h2 code, .prose h3 code { font-size: .82em; }
.prose ul, .prose ol { margin: 0 0 25px; padding-left: 23px; }
.prose li { padding-left: 4px; margin-top: 8px; }
.prose li::marker { color: #84948a; }
.prose li p { margin-bottom: 10px; }
.prose blockquote { border-left: 2px solid #769580; padding: 4px 0 4px 22px; margin: 29px 0; color: #c4d3c8; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font-family: 'Geist Mono', monospace; font-size: .82em; padding: .17em .35em; color: #d4ded7; background: #1c2320; border-radius: 3px; overflow-wrap: anywhere; }
.code-block { border: 1px solid #333d37; border-radius: 5px; margin: 28px 0; overflow: hidden; background: #151a17; }
.code-label { color: #97ac9d; font-family: 'Geist Mono', monospace; font-size: 10px; line-height: 1.5; padding: 10px 18px; border-bottom: 1px solid #2b342e; background: #191f1b; }
.prose pre { margin: 0; overflow-x: auto; padding: 20px; font-size: 12px; line-height: 1.8; tab-size: 4; scrollbar-width: thin; }
.prose pre code { padding: 0; background: transparent; color: #c7d6cb; font-size: inherit; overflow-wrap: normal; border-radius: 0; }
.table-wrap { overflow-x: auto; margin: 27px 0; border: 1px solid #343b40; border-radius: 4px; scrollbar-width: thin; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.7; text-align: left; }
.prose th { color: #d5ddd8; font-weight: 500; background: #1b221e; }
.prose td, .prose th { padding: 13px 15px; vertical-align: top; border-bottom: 1px solid #30373c; min-width: 130px; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: #d2d8dd; }
.prose img { display: block; width: 100%; height: auto; border: 1px solid #343c36; border-radius: 5px; background: #151a17; }
.prose p:has(> img) { margin-block: 30px 13px; }
.prose p:has(> img) + p:has(> em:only-child) { font-size: 12px; line-height: 1.7; color: var(--subtle); margin-bottom: 31px; }
.prose p:has(> img) + p:has(> em:only-child) em { color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 35px 0; }
.article-end { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; font-size: 13px; color: var(--subtle); }
.article-end a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--subtle); padding-block: 25px; margin-top: 64px; margin-bottom: 25px; }
@media (max-width: 1023px) {
  .article-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 38px; }
  .contents a { font-size: 11px; gap: 7px; }
  .prose { font-size: 15px; }
}
@media (max-width: 800px) {
  .article-layout { display: block; }
  .contents { position: static; max-height: none; overflow: visible; padding: 0 0 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
  .contents ol { columns: 2; column-gap: 32px; }
  .contents li { break-inside: avoid; margin-top: 9px; }
  .contents a { font-size: 12px; }
  .contents nav > p { margin-bottom: 12px; }
  .prose { max-width: 720px; margin-inline: auto; font-size: 16px; }
}
@media (max-width: 600px) {
  .page-width, .nav-shell { width: calc(100% - 40px); }
  .nav-shell { min-height: 65px; gap: 15px; }
  .wordmark { font-size: 14px; }
  .wordmark > span { display: none; }
  .site-header nav { gap: 17px; }
  .site-header nav a { font-size: 12px; }
  .site-header nav a svg { width: 13px; height: 13px; }
  .article-header { padding-top: 27px; padding-bottom: 32px; }
  .back-link { font-size: 12px; }
  .eyebrow { margin-top: 34px; font-size: 11px; }
  h1 { font-size: 35px; line-height: 1.2; letter-spacing: -1.15px; margin-top: 16px; }
  .standfirst { font-size: 16px; line-height: 1.8; margin-top: 21px; }
  .byline { font-size: 12px; gap: 9px 11px; margin-top: 23px; }
  .tags { margin-top: 20px; }
  .tags li { font-size: 10px; }
  .article-layout { padding-top: 28px; }
  .contents { padding-bottom: 24px; margin-bottom: 28px; }
  .contents ol { columns: 1; }
  .contents a { font-size: 12px; }
  .contents li { margin-top: 10px; }
  .prose { font-size: 15px; line-height: 1.9; }
  .prose h2 { font-size: 25px; line-height: 1.4; letter-spacing: -.6px; margin-top: 44px; padding-top: 24px; }
  .prose h3 { font-size: 20px; }
  .prose pre { font-size: 11px; padding: 15px; }
  .code-label { padding-inline: 15px; }
  .prose td, .prose th { padding: 12px; }
  .prose table { font-size: 12px; }
  .prose blockquote { padding-left: 17px; }
  .article-end { font-size: 12px; }
  footer { font-size: 11px; margin-top: 44px; padding-block: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-reduced-transparency: reduce) { .site-header { background: #111315; backdrop-filter: none; } }
