@font-face {
  font-family: Inter;
  src: url("/brand/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #182949;
  --blue: #155ab2;
  --blue-hover: #133e78;
  --on-blue: #fff;
  --muted: #495d77;
  --mist: #edf4fc;
  --line: #cedbea;
  --control-border: #798ea6;
  --control-hover: #d8e8fa;
  --focus: #327cd1;
  --accent-line: #abc9e8;
  --hero-start: #f5f9fe;
  --hero-mid: #eaf3ff;
  --hero-end: #deebfc;
  --sample-shadow: #22467148;
  --brand-filter: none;
  --mark-bg: #ffe6a0;
  --mark-ink: #493813;
  --sans: Inter, "Segoe UI", sans-serif;
  --mono: "Cascadia Code", ui-monospace, Consolas, monospace;
  background-color: var(--paper);
}
* { box-sizing: border-box; }
html > body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
pre, code, samp, kbd { font-family: var(--mono); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .6rem; background: var(--paper); }
.cloth-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.cloth-bar, .page-width { width: min(76rem, calc(100% - 4rem)); margin-inline: auto; }
.cloth-bar { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cloth-brand:any-link {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: 1;
  text-decoration: none;
}
.cloth-brand::before {
  content: "";
  width: 1.85rem;
  height: 1.85rem;
  background: url("/logo-color.svg") center / contain no-repeat;
  filter: var(--brand-filter);
}
.cloth-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); margin-inline-start: auto; white-space: nowrap; }
.cloth-nav a, .cloth-footer a:not(.cloth-brand) { color: var(--muted); font-weight: 550; font-size: .93rem; text-decoration: none; }
.cloth-nav a:hover, .cloth-footer a:hover { color: var(--blue); text-decoration: underline; }
.cloth-nav .repo-link { border-left: 1px solid var(--line); padding-left: clamp(1rem, 3vw, 2.25rem); }
.cloth-footer { border-top: 1px solid var(--line); background: var(--mist); }
.cloth-footer .cloth-bar {
  flex-wrap: wrap;
  row-gap: clamp(1.15rem, 2.2vw, 1.75rem);
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
}
.cloth-footer .cloth-brand { font-size: 1.4rem; }
.cloth-footer .cloth-brand::before { width: 1.65rem; height: 1.65rem; }
.footer-nav { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.6rem; }
.theme-picker {
  display: inline-flex;
  flex: none;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--control-border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font: 550 .875rem/1.25 var(--sans);
}
.theme-picker label { display: flex; position: relative; }
.theme-picker label + label { border-inline-start: 1px solid var(--line); }
.theme-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.theme-picker span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.4rem;
  padding: .4rem clamp(.65rem, 1.5vw, .95rem);
}
.theme-picker label:first-of-type span { border-radius: 999px 0 0 999px; }
.theme-picker label:last-of-type span { border-radius: 0 999px 999px 0; }
.theme-picker svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-picker label:hover span { background: var(--control-hover); color: var(--ink); }
.theme-picker input:checked + span { background: var(--blue); color: var(--on-blue); }
.theme-picker input:focus-visible + span { outline: 2px solid currentColor; outline-offset: -4px; }
.manual-search { display: flex; min-width: 0; border: 1px solid var(--control-border); border-radius: .38rem; background: var(--paper); }
.manual-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: inherit;
  padding: .64rem .8rem;
  color: var(--ink);
  background: transparent;
  font: inherit;
}
.manual-search input::placeholder { color: var(--muted); opacity: 1; }
.manual-search button {
  margin: .22rem;
  border: 0;
  border-radius: .23rem;
  background: var(--mist);
  color: var(--blue-hover);
  padding: .35rem .7rem;
  font: 600 .88rem/1.3 var(--sans);
  cursor: pointer;
}
.manual-search button:hover { background: var(--control-hover); }
@media (scripting: none) {
  .theme-picker { display: none; }
}
@media (pointer: coarse) {
  .theme-picker span { min-height: 2.75rem; }
}
@media (forced-colors: active) {
  .theme-picker input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; }
}
@media (max-width: 680px) {
  .cloth-bar, .page-width { width: calc(100% - 2.5rem); }
  .cloth-bar { min-height: 3.9rem; }
  .cloth-nav .wide-nav { display: none; }
}
@media (max-width: 380px) {
  .cloth-bar, .page-width { width: calc(100% - 2rem); }
  .cloth-nav { gap: .7rem; }
  .cloth-nav .repo-link { padding-left: .7rem; }
  .cloth-nav a { font-size: .82rem; }
}
