/* Cutsheet: the plan sheets' palette and type. See the brand guide. */
:root {
  --paper: #FAFAF8;
  --ink: #1E2327;
  --ink-soft: #4A5056;
  --rule: #D9D7D0;
  --walnut: #6B4630;
  --walnut-dark: #553623;
  --endgrain: #F2D3BC;
  --material: #2F6B4A;
  --hardware: #2B5C8C;
  --mark: #C23B2E;
  --sel-soft: #E9F0F6;

  --display: "Archivo", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 3px;
  --gutter: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--body);
}

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }

a { color: var(--walnut); text-underline-offset: 3px; }

.mono, code, kbd { font-family: var(--mono); font-size: 0.9em; }

.muted { color: var(--ink-soft); }

.label {
  font: 500 0.72rem/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

[hidden] { display: none !important; }

turbo-cable-stream-source { display: none; }
