/* Shofy colour-labelling kit: ink on paper, hairlines, one typeface (after web/DESIGN.md). */
:root {
  --ink: #000;
  --paper: #fff;
  --charcoal: #333;
  --stone: #ccc;
  --fog: #f0efe7;
  --clay: #523037;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.025em;
}
main { max-width: 960px; margin: 0 auto; padding: 32px 16px 96px; }
header.site { border-bottom: 1px solid var(--ink); padding: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
header.site a { color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: 0.06em; }
header.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
header.site nav a { font-weight: 500; font-size: 12px; text-transform: uppercase; }
header.site nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
h1 { font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: 12px; font-weight: 500; text-transform: uppercase; margin: 32px 0 12px; }
h3 { font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 0; }
p, li { max-width: 68ch; line-height: 1.55; }
.lede { font-size: 16px; }
.muted { color: var(--charcoal); font-size: 12px; }
.rule { border-top: 1px solid var(--ink); padding-top: 12px; margin-top: 16px; }
.band { background: var(--fog); padding: 12px 16px; margin: 16px 0; }
.band strong { color: var(--clay); text-transform: uppercase; font-size: 12px; font-weight: 500; display: block; margin-bottom: 4px; }
a { color: var(--ink); text-underline-offset: 4px; }
button, .button {
  font: inherit; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.025em;
  border: 1px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink);
  padding: 8px 14px; cursor: pointer; text-decoration: none; display: inline-block;
}
button:hover, .button:hover { background: var(--ink); color: var(--paper); }
button:disabled { opacity: 0.4; pointer-events: none; }
button.quiet { border-color: transparent; }
button.quiet:hover { background: var(--fog); color: var(--ink); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
input[type="text"], input[type="date"], select, textarea {
  font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  border-radius: 0; padding: 6px 0; width: 100%;
}
textarea { border: 1px solid var(--charcoal); border-radius: 4px; padding: 8px; min-height: 64px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-width: 2px; }
label { display: block; font-size: 12px; color: var(--charcoal); margin-bottom: 4px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swatch { width: 24px; height: 24px; flex: none; display: inline-block; }
.swatch.pale { box-shadow: inset 0 0 0 1px var(--stone); }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--ink); vertical-align: top; }
th { font-size: 12px; font-weight: 500; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
ol.steps li { margin-bottom: 8px; }
@media print {
  header.site nav, .no-print, button { display: none !important; }
  main { padding: 0; }
  .band { border: 1px solid var(--ink); }
}
