:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14243a;
  background: #f4f7fb;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: #114fbc; text-underline-offset: .2em; }
a:hover, a:focus-visible { color: #08357e; }
a:focus-visible { outline: 3px solid #f4a124; outline-offset: 3px; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 74rem;
  margin: auto;
  padding: 1.1rem max(1.25rem, 3vw);
}
.site-header { border-bottom: 1px solid #d9e2f0; }
.brand { color: #14243a; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.site-header nav { display: flex; gap: 1rem; }
.article, .home {
  max-width: 48rem;
  margin: 2.5rem auto 5rem;
  padding: 0 1.25rem;
}
.home { max-width: 54rem; }
.eyebrow { color: #465e7f; font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
h1, h2 { line-height: 1.2; letter-spacing: -.03em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: .5rem 0 1rem; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0 0 .8rem; }
.lead { font-size: 1.2rem; color: #354866; }
section { margin-top: 3.25rem; }
p, li { max-width: 70ch; }
pre { overflow-x: auto; background: #14243a; color: #fff; border-radius: .7rem; padding: 1.2rem; line-height: 1.5; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
:not(pre) > code { background: #e5ebf4; padding: .12em .3em; border-radius: .25rem; }
.visual { margin: 1.5rem 0; }
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.flow li { background: #fff; border: 1px solid #ccdaec; border-top: 4px solid #3675cf; border-radius: .6rem; padding: 1rem; min-width: 0; }
.flow strong, .flow span { display: block; }
.flow strong { color: #104789; margin-bottom: .45rem; }
.flow span { font-size: .94rem; }
figcaption, .source { font-size: .92rem; color: #465e7f; }
.card-list { list-style: none; padding: 0; display: grid; gap: .9rem; }
.card-list li { padding: 1.15rem; background: #fff; border: 1px solid #ccdaec; border-radius: .65rem; }
.card-list a { font-weight: 700; }
.site-footer { border-top: 1px solid #d9e2f0; color: #465e7f; font-size: .9rem; }
@media (max-width: 680px) { .flow { grid-template-columns: 1fr; } .article, .home { margin-top: 1.5rem; } }
.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.path-grid > div { min-width: 0; background: #fff; border: 1px solid #ccdaec; border-radius: .65rem; padding: 1rem; }
.path-grid h3 { margin: 0 0 .6rem; }
.path-grid pre { font-size: .87rem; margin: 0; }
.path-grid p { margin-bottom: 0; }
@media (max-width: 680px) { .path-grid { grid-template-columns: 1fr; } }
.site-footer { flex-direction: column; align-items: flex-start; }
.social-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.social-links a { display: inline-block; padding: .15rem 0; }
