@font-face { font-family: Onest; src: url('../fonts/Onest-Variable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #171a1d; font: 400 18px/1.7 Onest, Arial, sans-serif; }
a { color: #176b9c; text-underline-offset: .2em; }
a:hover { color: #0b4a70; }
a:focus-visible { outline: 3px solid #70b9f9; outline-offset: 5px; }
.skip { position: fixed; top: -100px; left: 20px; padding: 12px; background: white; z-index: 2; }
.skip:focus { top: 12px; }
.article-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px max(24px, calc((100% - 1120px) / 2)); border-bottom: 1px solid #e3e9ec; }
.article-brand { color: #101010; font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.05em; text-decoration: none; }
.article-brand span { color: #50a5de; }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; }
nav a { text-decoration: none; }
main { min-height: 65vh; }
.article, .article-index { width: min(100% - 48px, 800px); margin: 64px auto 80px; }
.back { display: inline-block; margin-bottom: 32px; font-size: 15px; text-decoration: none; }
.eyebrow { margin: 0 0 12px; color: #176b9c; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
h1 { margin: 0 0 24px; font-size: clamp(32px, 5vw, 52px); font-weight: 750; line-height: 1.13; letter-spacing: -.04em; overflow-wrap: anywhere; }
.lead { margin: 0 0 24px; color: #53616a; font-size: 21px; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: #62727b; font-size: 14px; }
.prose { margin-top: 40px; border-top: 1px solid #e3e9ec; padding-top: 24px; overflow-wrap: anywhere; }
.prose h2 { margin: 40px 0 16px; font-size: 29px; line-height: 1.25; letter-spacing: -.025em; }
.prose h3 { margin-top: 32px; line-height: 1.35; }
.prose p { margin: 0 0 22px; }
.prose li { margin-bottom: 8px; }
.prose img { display: block; max-width: 100%; height: auto; margin: 28px auto; border-radius: 8px; }
.prose blockquote { margin: 24px 0; border-left: 4px solid #70b9f9; padding: 16px 24px; background: #edf7fe; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose pre { max-width: 100%; padding: 20px; overflow-x: auto; border-radius: 8px; background: #edf1f3; font-size: 15px; }
.prose code { font-size: .9em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; margin: 28px 0; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 18px; border: 1px solid #d6e0e6; text-align: left; }
.prose th { background: #edf7fe; }
.prose hr { margin: 32px 0; border: 0; border-top: 1px solid #e3e9ec; }
.practice { display: inline-block; margin-top: 32px; padding: 14px 24px; border-radius: 8px; background: #d9efff; text-decoration: none; font-weight: 650; }
.article-list { display: grid; gap: 24px; margin-top: 48px; }
.article-list article { padding: 28px; border: 1px solid #d6e0e6; border-radius: 12px; }
.article-list time, .read { font-size: 14px; }
.article-list time { color: #62727b; }
.article-list h2 { margin: 12px 0; font-size: 26px; line-height: 1.3; }
.article-list h2 a { color: inherit; text-decoration: none; }
.article-list p { color: #53616a; }
.empty { margin-top: 48px; color: #53616a; }
.article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px max(24px, calc((100% - 1120px) / 2)); border-top: 1px solid #e3e9ec; font-size: 14px; }
@media (max-width: 600px) {
  body { font-size: 17px; }
  .article-header { align-items: flex-start; flex-direction: column; gap: 18px; padding: 24px; }
  nav { gap: 12px 20px; }
  .article, .article-index { margin-top: 40px; }
  .lead { font-size: 19px; }
  .article-list article { padding: 22px; }
  .prose blockquote { padding: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
