@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/CourierPrime-400.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/CourierPrime-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/Barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/Barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/Barlow-600.woff2) format("woff2"); }

:root {
  --paper: #F5F2EB; --paper2: #ECE8DF; --paper3: #E3DED3; --white: #FFFFFF;
  --rule: #B9B2A4; --rule2: #D9D3C6;
  --ink: #1F1D1A; --ink2: #5E5851; --ink3: #8C857B;
  --blue: #2A4E7C; --blue2: #1F3D63; --blue-tint: #E4EAF2;
  --red: #B8321F; --red-tint: #F6E3DF;
  --green: #3B6B45; --green-tint: #E2EBE3;
  --orange: #B07A1F; --orange-tint: #F3EAD6;
  --sans: Barlow, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
}
p, h1, h2, h3, ul, ol { margin: 0; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue2); }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em;
  font-size: 11px; line-height: 1.3; color: var(--ink2);
}
.label-ink { color: var(--ink); }
.h-mono {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em;
  font-weight: 700; line-height: 1.15; margin: 0;
}
.muted { color: var(--ink2); }
.faint { color: var(--ink3); }
.hidden { display: none !important; }

.hatch { background-image: repeating-linear-gradient(45deg, var(--rule) 0, var(--rule) 1px, transparent 1px, transparent 8px); }
.hatch-soft { background-image: repeating-linear-gradient(45deg, var(--rule2) 0, var(--rule2) 1px, transparent 1px, transparent 8px); }
.rule-h { height: 1px; background: var(--ink); }
.rule-soft { height: 1px; background: var(--rule); }

.stamp {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid currentColor; padding: 1px 7px;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em;
  font-size: 10px; line-height: 1.6; white-space: nowrap; color: var(--ink);
}
.stamp-blue { color: var(--blue); } .stamp-red { color: var(--red); }
.stamp-green { color: var(--green); } .stamp-orange { color: var(--orange); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em;
  font-size: 12px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap; border-radius: 0;
}
.btn:hover { background: var(--paper2); color: var(--ink); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue2); border-color: var(--blue2); color: var(--white); }
.btn-sm { height: 30px; padding: 0 12px; font-size: 11px; }
.btn-ghost { border-color: var(--rule); }
.btn-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-on:hover { background: var(--ink); color: var(--paper); }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: default; pointer-events: none; }

.input, textarea.input, input.input {
  width: 100%; border: 1px solid var(--rule); background: var(--white); color: var(--ink);
  font: 14px/1.4 var(--sans); padding: 8px 10px; border-radius: 0;
}
textarea.input { resize: vertical; }
.input:focus { border-color: var(--ink); outline: none; }
.input::placeholder { color: var(--ink3); }

.wordmark {
  font-family: var(--mono); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: 15px; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark .sub { font-weight: 400; letter-spacing: .12em; color: var(--ink2); font-size: 11px; }

.callout {
  display: inline-flex; width: 24px; height: 24px; border: 1px solid var(--ink);
  border-radius: 50%; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 12px; flex: none; background: var(--paper);
}
.code {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.6;
  background: var(--white); border: 1px solid var(--ink); padding: 14px 16px;
  white-space: pre; overflow-x: auto; color: var(--ink); margin: 0;
}
.tb { border: 1px solid var(--ink); display: grid; font-family: var(--mono); }
.tb > div { padding: 10px 14px; border-right: 1px solid var(--ink); min-width: 0; }
.tb > div:last-child { border-right: 0; }

.icon { width: 18px; height: 18px; flex: none; display: block; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
