@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
}
:root {
  --ink: #1d232b;
  --text: #303841;
  --muted: #5b6672;
  --bg: #fff;
  --panel: #f2f4f6;
  --line: #dde2e7;
  --blue: #1747a6;
  --blue-dark: #0f3480;
  --signal: #f2c230;
  --signal-soft: #fff7dc;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.7 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; height: auto; }

/* header: the brand is a moped plate */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem;
  max-width: 64rem; padding-top: .9rem; padding-bottom: .9rem;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.plate {
  display: inline-block; padding: .05rem .5rem .1rem; border: 3px solid var(--ink); border-radius: 6px;
  background: #fff; color: var(--ink); font: 600 1.35rem/1.1 var(--display); letter-spacing: .06em;
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px var(--line);
}
.brand-name { font: 600 1.3rem/1.1 var(--display); }
.brand:hover .brand-name { color: var(--blue); }
nav.menu { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; font-size: .95rem; }
nav.menu a { color: var(--text); text-decoration: none; }
nav.menu a:hover, nav.menu a[aria-current] { color: var(--blue); }
nav.menu a[aria-current] { text-decoration: underline; text-decoration-color: var(--signal);
  text-decoration-thickness: 3px; text-underline-offset: 6px; }

.crumbs { margin: 1.5rem 0 0; font-size: .875rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 .4rem; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 7vw, 3.1rem); margin: 2.5rem 0 1rem; letter-spacing: -.005em; }
.crumbs + article h1 { margin-top: 1rem; }
.updated { margin: 0 0 1.75rem; font-size: .9rem; color: var(--muted); }
h2 { font-size: 1.85rem; margin: 2.75rem 0 .8rem; scroll-margin-top: 1rem; }
h3 { font-size: 1.4rem; margin: 2rem 0 .5rem; }
p, ul, ol, table { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .4rem; }
strong { color: var(--ink); }
a strong { color: inherit; }

table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: var(--panel); }
.table { overflow-x: auto; margin: 0 0 1.1rem; }
.table table { margin: 0; }
.table.wide table { min-width: 34rem; }

.note { margin: 2rem 0; padding: 1.1rem 1.3rem; border-left: 5px solid var(--signal); border-radius: 4px;
  background: var(--signal-soft); }
.note > :first-child { margin-top: 0; }
.note > :last-child { margin-bottom: 0; }
.faq { margin: 1.5rem 0 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: .85rem 0; color: var(--ink); font-weight: 600; cursor: pointer; }
.faq details[open] summary { color: var(--blue); }
.faq details > :last-child { margin-bottom: 1rem; }

/* home: list of guides */
h3 + .guides { margin-top: .5rem; }
.guides { margin: 1.25rem 0 2rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guides li { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.guides a { font: 600 1.35rem/1.2 var(--display); text-decoration: none; }
.guides a:hover { text-decoration: underline; }
.guides p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }

.related { margin: 3rem 0 0; padding: 1.25rem 1.4rem; border-radius: 6px; background: var(--panel); }
.related h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.related ul { margin: 0; }
.cta { margin: 1.5rem 0 0; padding: 1.4rem 1.4rem 1.5rem; border: 3px solid var(--ink); border-radius: 8px; }
.cta h2 { margin: 0 0 .4rem; font-size: 1.5rem; }
.cta p { margin: 0 0 1rem; }
.cta a { display: inline-block; padding: .6rem 1.1rem; border-radius: 6px; background: var(--blue); color: #fff;
  font-weight: 600; text-decoration: none; }
.cta a:hover { background: var(--blue-dark); color: #fff; }

footer.site { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--panel); font-size: .9rem;
  color: var(--muted); }
footer.site .wrap { max-width: 64rem; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.75rem 2.5rem;
  padding: 2.5rem 0 1.75rem; }
footer.site h2 { margin: 0 0 .6rem; font-size: 1.15rem; }
footer.site ul { margin: 0; padding: 0; list-style: none; }
footer.site li + li { margin-top: .3rem; }
footer.site p { margin: 0 0 .6rem; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--blue); text-decoration: underline; }
footer.site .copy { padding: 1rem 0 1.75rem; border-top: 1px solid var(--line); }

@media (max-width: 40rem) { /* phones: thumb-sized tap areas */
  nav.menu a { padding: .4rem 0; }
  .faq summary { padding: 1rem 0; }
  footer.site li + li { margin-top: 0; }
  footer.site li a { display: inline-block; padding: .4rem 0; }
}
