@font-face { font-family: "DM Sans"; src: url("/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/instrument-serif-latin-400-normal-DnYpCC2O.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #30312d;
  --muted: #61625a;
  --line: #d8d7cf;
  --paper: #f7f6f2;
  --card: #fffefa;
  --selected: #eeeee8;
  --pass: #2f5d34;
  --fail: #8a2b22;
  font: 16px/1.55 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; }
a:focus-visible { outline: 3px solid #80522c; outline-offset: 3px; }
code, pre { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.9em; }
.wrap { max-width: 1180px; margin: auto; padding-inline: clamp(16px, 4vw, 56px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px; }
header { border-bottom: 1px solid var(--line); background: var(--card); }
.top { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding-block: 6px; }
.brand { font: 31px/1 "Instrument Serif", Georgia, serif; letter-spacing: -1.2px; display: flex; gap: 8px; align-items: center; text-decoration: none; min-height: 44px; }
header nav { display: flex; flex-wrap: wrap; gap: 2px; }
header nav a { min-height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 7px; color: var(--muted); font-size: 14px; font-weight: 570; text-decoration: none; border: 1px solid transparent; }
header nav a[aria-current] { color: var(--ink); background: var(--selected); border-color: #74766d; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.intro { margin: 18px 0 22px; max-width: 75ch; }
.intro h1 { font: 2.6rem/1.08 "Instrument Serif", Georgia, serif; letter-spacing: -0.03em; margin: 0 0 10px; }
.intro p { color: var(--muted); margin: 0; }
.hex { font: 0.55em "Geist Mono", monospace; letter-spacing: 0; color: var(--muted); }
h2 { font: 1.7rem/1.15 "Instrument Serif", Georgia, serif; font-weight: 400; margin: 40px 0 12px; }
section > p { max-width: 75ch; }
.hero { display: flex; min-height: 190px; border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; }
.hero span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px; font: 13px "Geist Mono", monospace; }
.hero b { font: 600 15px "DM Sans", sans-serif; }
.hero.single { max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 7px; background: var(--ink); color: var(--card); font-weight: 600; text-decoration: none; }
.button.outline { background: var(--card); color: var(--ink); border: 1px solid var(--ink); }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
tbody th { font-weight: 500; white-space: nowrap; }
table.roles { width: auto; min-width: min(100%, 420px); }
td small, th small { color: var(--muted); }
.pass { color: var(--pass); font-weight: 600; }
.fail { color: var(--fail); font-weight: 600; }
.note { font-size: 14px; color: var(--muted); }
pre { background: var(--card); border: 1px solid var(--line); border-radius: 7px; padding: 14px; overflow-x: auto; max-width: 520px; }
.chip { display: inline-block; width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgb(0 0 0 / 0.25); vertical-align: -4px; margin-right: 2px; }
.chip.large { width: 100%; height: 72px; border-radius: 6px; margin: 0 0 6px; }
.cards, .swatches, .tools { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { display: grid; gap: 4px; padding: 10px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.card:hover, .swatches a:hover, .tools a:hover { border-color: var(--ink); }
.band { display: flex; height: 48px; border-radius: 5px; overflow: hidden; margin-bottom: 4px; }
.band .chip { flex: 1; height: auto; width: auto; border: 0; border-radius: 0; margin: 0; }
.card small, .swatches small { color: var(--muted); font-size: 13px; }
.swatches { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.swatches a, .swatches span { display: grid; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: 14px; }
.tools { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.tools a { display: grid; gap: 6px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.tools img { width: 100%; height: auto; border-radius: 5px; border: 1px solid var(--line); }
.tools b { font: 1.6rem "Instrument Serif", Georgia, serif; font-weight: 400; }
.tools span, .jump { color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 36px 0 0; }
.pager a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer { margin-top: 56px; padding-block: 20px 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 600px) {
  .intro h1 { font-size: 2rem; }
  .hero { flex-direction: column; }
  .hero span { min-height: 64px; }
}
