/*
  Index Box: design tokens
  The no-nonsense reference page. A white page, a deep petrol nav band with gently
  rounded ends, a humanist sans that reads like a manual, underlined links everywhere,
  and the signature move: a framed index box with a nested list of everything on the
  site, sitting beside the main text. Buttons are small raised gray system buttons.
  A little italic serif motto sits top right, and every page ends with a "last
  updated" stamp. Square corners, flat surfaces, no soft shadows.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400&family=PT+Serif:ital,wght@0,400;0,700;1,400&family=PT+Mono&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --ib-paper: #FFFFFF;
  --ib-wash: #F1F5F6;
  --ib-wash-2: #E3EBEE;
  --ib-note: #FBF5DF;
  --ib-note-edge: #E6D69A;
  --ib-line: #C6D1D6;

  /* The band and frames */
  --ib-petrol: #0C4A60;
  --ib-petrol-deep: #083646;
  --ib-petrol-soft: #4F7F90;

  /* Text */
  --ib-ink: #121619;
  --ib-soft: #4A575E;
  --ib-faint: #7D888E;
  --ib-on-petrol: #FFFFFF;
  --ib-on-petrol-soft: #B9D3DC;

  /* Accents */
  --ib-link: #0A5C7C;
  --ib-link-hover: #063E54;
  --ib-sky: #4A9BD8;
  --ib-sky-deep: #1B5C9A;
  --ib-ok: #2C6B3B;
  --ib-ok-soft: #E2EFE2;
  --ib-warn: #9A4A12;

  /* Raised gray system button */
  --ib-bevel-top: #F7F7F7;
  --ib-bevel-bottom: #D6D9DB;
  --ib-bevel-edge: #8D969B;
  --ib-bevel-press: #C9CDD0;

  /* Fonts */
  --ib-font: "PT Sans", "Trebuchet MS", Verdana, sans-serif;
  --ib-serif: "PT Serif", Georgia, serif;
  --ib-mono: "PT Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --ib-text-mark: 40px;
  --ib-text-hero: clamp(28px, 4vw, 38px);
  --ib-text-h2: 24px;
  --ib-text-h3: 19px;
  --ib-text-lead: 19px;
  --ib-text-body: 17px;
  --ib-text-small: 15px;
  --ib-text-micro: 13px;
  --ib-leading: 1.55;

  /* Shape */
  --ib-radius-band: 4px;
  --ib-radius-btn: 3px;
  --ib-radius-input: 2px;
  --ib-radius-box: 0;
  --ib-frame: 2px solid var(--ib-petrol);
  --ib-rule: 1px solid var(--ib-line);
  --ib-shadow-btn: inset 0 1px 0 #FFFFFF;
  --ib-shadow-press: inset 0 1px 2px rgba(18, 22, 25, 0.25);
  --ib-focus: 0 0 0 2px var(--ib-paper), 0 0 0 4px var(--ib-sky);

  /* Space */
  --ib-space-1: 4px;
  --ib-space-2: 8px;
  --ib-space-3: 12px;
  --ib-space-4: 16px;
  --ib-space-5: 24px;
  --ib-space-6: 36px;
  --ib-space-7: 56px;
  --ib-page: 1180px;
  --ib-index: 320px;
  --ib-measure: 760px;
}
