@charset "UTF-8";

:root {
  --paper: #fff;
  --ink: #182e41;
  --body: #354957;
  --muted: #5c7080;
  --accent: #226990;
  --line: #20435b26;
  --wash: #f4f8fa;
  font-family: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--paper);
  color-scheme: light;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { position: relative; margin: 0; font-size: 1rem; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { color: #142e41; background: #c6e2f3; }
h1, h2, h3, h4 { color: var(--ink); }
.site-width { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.page-width { width: min(800px, calc(100% - 64px)); margin-inline: auto; }
main, .page-masthead { position: relative; z-index: 1; }
.atmosphere { position: absolute; z-index: 0; top: 0; left: 0; width: 100%; height: 860px; pointer-events: none; background: linear-gradient(180deg, #ffffff00 0%, #ffffff3b 28%, #ffffffbf 63%, #fff 100%), linear-gradient(112deg, #c1d9ee 0%, #d6e8f3 50%, #e9f2ef 100%); }
.page-masthead { display: flex; align-items: center; min-height: 100px; }
.wordmark { color: var(--ink); text-decoration: none; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.035em; font-weight: 600; }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; border-bottom: 1px solid #ccd9e2; background: #fffffff5; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transform: translateY(-100%); transition: transform .25s ease, opacity .2s ease, visibility .25s; }
.site-header.is-visible, .site-header:focus-within { opacity: 1; visibility: visible; transform: translateY(0); }
.header-inner { width: min(1184px, calc(100% - 96px)); margin-inline: auto; display: flex; align-items: center; min-height: 70px; }
.site-header .wordmark { font-size: 1.2rem; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 1rem; background: var(--ink); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
h1 { margin: 0; font-size: clamp(2rem, 3.7vw, 3rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.article-heading { padding-top: 35px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 24px 50px; margin: 28px 0 0; padding-block: 19px 21px; border-top: 1px solid #6c8a9f5c; border-bottom: 1px solid #6c8a9f5c; }
.article-meta dt { margin-bottom: 7px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.article-meta dd { margin: 0; color: var(--ink); font-size: .875rem; line-height: 1.5; }
.article-body { padding-top: 30px; padding-bottom: 75px; }
.prose { font-size: 1.0625rem; line-height: 1.8; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-block: 0 1.35em; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.6em; margin-bottom: .65em; color: var(--ink); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.0625rem; }
.prose a { text-decoration-color: #22699060; }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 2px solid #81abc4; font-size: 1.125rem; line-height: 1.75; color: #365b72; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.5em; margin-block: 0 1.35em; }
.prose li { margin-block: .35em; padding-left: .2em; }
.prose li::marker { color: var(--accent); }
.prose pre { padding: 22px 24px; border: 1px solid #dae4eb; border-radius: 4px; background: var(--wash); overflow-x: auto; font-size: .875rem; line-height: 1.8; }
.prose code { padding: .12em .3em; border-radius: 3px; background: #edf3f7; color: #294e66; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .86em; }
.prose pre code { padding: 0; background: none; font-size: inherit; }
.prose img { display: block; max-width: 100%; height: auto; margin-block: 2rem; border-radius: 4px; }
.prose table { display: block; max-width: 100%; overflow-x: auto; margin-block: 2rem; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--wash); color: var(--ink); font-weight: 600; }
.prose hr { margin-block: 2.5rem; border: 0; border-top: 1px solid var(--line); }
.writing { padding-block: 25px 75px; }
.writing > h1 { margin-bottom: 12px; font-size: 2rem; }
.article-row { padding-block: 25px 35px; border-bottom: 1px solid var(--line); }
.article-row h2 { margin: 0; font-size: 1.625rem; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.article-row h2 a { color: var(--ink); text-decoration: none; }
.article-row h2 a:hover { color: var(--accent); }
.article-row .article-meta { margin-top: 16px; padding: 0; border: 0; }
.article-row p { max-width: 800px; margin: 22px 0 0; line-height: 1.8; }
.empty-state { padding-block: 40px; color: var(--muted); }
.not-found { padding-block: 70px 100px; min-height: 65vh; }
.not-found p { margin-top: 30px; }

@media (max-width: 760px) {
  .site-width, .header-inner, .page-width { width: calc(100% - 40px); }
  .page-masthead { min-height: 84px; }
  .wordmark { font-size: 1.25rem; }
  .header-inner { min-height: 64px; }
  .article-heading { padding-top: 25px; }
  .article-heading h1 { font-size: clamp(2rem, 5.3vw, 2.7rem); line-height: 1.25; }
  .article-meta { gap: 20px 28px; margin-top: 26px; padding-block: 19px; }
  .article-meta dd { font-size: .8125rem; }
  .article-body { padding-top: 27px; padding-bottom: 60px; }
  .prose { font-size: 1rem; line-height: 1.8; }
  .prose blockquote { font-size: 1rem; padding-left: 18px; }
  .prose pre { padding: 17px; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .atmosphere, .site-header, .page-masthead { display: none; }
  .page-width { width: 100%; }
  .article-heading { padding-top: 0; }
  .article-heading h1 { font-size: 28pt; }
  .article-body { padding-bottom: 0; }
}
