/*
  Proof Wall: design tokens

  Feel: a type specimen that never stops moving. A warm grey wall of giant
  charcoal words, each line set in a different display face and cropped by the
  edges of the screen, rolls slowly upward. Small white proof cards float over
  it with mono uppercase titles and an electric blue pill button. A crimson
  stamp logo, butter yellow version tags and plain white bars do the rest.

  Fonts (all free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Fraunces:ital,opsz,wght@1,9..144,700..900&family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:wght@400..700&family=Syne:wght@700;800&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --pw-wall: #EBE9E4;        /* the warm grey wall behind everything big */
  --pw-wall-2: #DEDBD3;      /* deeper grey: quiet sections, inline code, tracks */
  --pw-card: #FFFFFF;        /* proof cards, header, forms, tables */
  --pw-line: #CFCBC2;        /* 1px rules between rows */

  /* Ink */
  --pw-ink: #2E2D2B;         /* wall words, headings, body text */
  --pw-mute: #77746D;        /* captions, meta, help text */
  --pw-on-dark: #F4F2ED;     /* text on ink fills (footer) */

  /* Accents */
  --pw-blue: #2244F5;        /* every primary button, links, focus ring */
  --pw-blue-deep: #1633C9;   /* button hover */
  --pw-red: #E0194F;         /* the stamp logo, errors, the one hot mark per page */
  --pw-butter: #F4CE4A;      /* version tags, progress fills, highlights */
  --pw-butter-soft: #FBEBB0; /* callout fill */

  /* Fonts */
  --pw-font-ui: "IBM Plex Mono", ui-monospace, monospace;
  --pw-font-body: "Instrument Sans", system-ui, sans-serif;
  --pw-font-fat: "Bagel Fat One", "Instrument Sans", sans-serif;
  --pw-font-serif: "Fraunces", Georgia, serif;
  --pw-font-wide: "Syne", "Instrument Sans", sans-serif;

  /* Type scale */
  --pw-text-wall: clamp(84px, 19vw, 300px);
  --pw-text-hero: clamp(44px, 7.2vw, 104px);
  --pw-text-h2: clamp(32px, 4.6vw, 60px);
  --pw-text-h3: 22px;
  --pw-text-lead: 19px;
  --pw-text-body: 16px;
  --pw-text-ui: 14px;
  --pw-text-label: 12px;
  --pw-track-ui: .04em;
  --pw-track-label: .08em;

  /* Shape */
  --pw-radius-pill: 999px;
  --pw-radius-card: 2px;
  --pw-radius-input: 6px;
  --pw-border: 1px solid var(--pw-line);
  --pw-border-ink: 2px solid var(--pw-ink);

  /* Shadows: only proof cards and the header float */
  --pw-shadow-card: 0 18px 40px -12px rgba(46, 45, 43, .28), 0 2px 6px rgba(46, 45, 43, .10);
  --pw-shadow-bar: 0 1px 0 var(--pw-line);
  --pw-focus: 0 0 0 3px rgba(34, 68, 245, .35);

  /* Space */
  --pw-space-1: 4px;
  --pw-space-2: 8px;
  --pw-space-3: 12px;
  --pw-space-4: 16px;
  --pw-space-5: 24px;
  --pw-space-6: 32px;
  --pw-space-7: 48px;
  --pw-space-8: 72px;
  --pw-space-9: 112px;
  --pw-gutter: clamp(16px, 3vw, 32px);
  --pw-container: 1200px;
  --pw-text-width: 700px;
  --pw-bar-h: 72px;

  /* Motion */
  --pw-roll: 46s;            /* one full loop of the wall */
  --pw-ease: cubic-bezier(.2, .7, .2, 1);
}
