/*
 * Plainspoken: design tokens
 * A homepage written by one person, by hand. One warm apricot sheet of paper, one narrow
 * column of old-style serif text, headings set in small capitals, and links that look like
 * links: deep ink blue, always underlined, purple once visited. Little gray sans-serif date
 * stamps in parentheses lead into paragraphs, like notes in a margin. No cards, no shadows,
 * no rounded corners, no pictures beyond a tiny ink mark. The words do the work.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Alegreya+SC:wght@500;700&family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Archivo:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* The sheet */
  --ps-paper: #FDF0E4;        /* the page, everywhere */
  --ps-paper-deep: #F7E3D0;   /* input wells, the one quiet band, row hover */
  --ps-rule: #E2CBB5;         /* hairlines between list rows and sections */
  --ps-rule-strong: #2A2119;  /* the rare full-strength rule */

  /* Ink */
  --ps-ink: #17120E;          /* body text and headings */
  --ps-soft: #5C4F44;         /* secondary copy, captions */
  --ps-stamp: #968A7F;        /* gray date stamps, hints, fine print */

  /* Links: the only color on the page */
  --ps-link: #1B1BA3;         /* every link, every primary button */
  --ps-link-hover: #0E0E6B;   /* hover and pressed */
  --ps-visited: #5B2B8E;      /* visited links */
  --ps-mark: #FFE7A3;         /* highlighter: search hits, the picked plan */
  --ps-ok: #2E6B34;           /* form success line */
  --ps-error: #A3261B;        /* form error line */

  /* Fonts */
  --ps-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --ps-caps: "Alegreya SC", "Libre Caslon Text", Georgia, serif;
  --ps-stamp-font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Type scale */
  --ps-text-name: clamp(32px, 5vw, 42px);   /* the site name, small caps, underlined link */
  --ps-text-h1: clamp(28px, 4.2vw, 36px);
  --ps-text-h2: clamp(22px, 3vw, 27px);
  --ps-text-h3: 20px;
  --ps-text-body: 19px;
  --ps-text-small: 16px;
  --ps-text-stamp: 13px;
  --ps-leading: 1.7;
  --ps-leading-tight: 1.25;
  --ps-weight-body: 400;
  --ps-weight-caps: 700;

  /* Shape: square, flat, hairlines only */
  --ps-radius: 0;
  --ps-border: 1px solid var(--ps-rule);
  --ps-border-ink: 1px solid var(--ps-ink);
  --ps-underline: 1px;
  --ps-underline-offset: 3px;
  --ps-focus: 0 0 0 3px var(--ps-mark);
  --ps-shadow: none;

  /* Space */
  --ps-column: 680px;
  --ps-gutter: 20px;
  --ps-space-1: 6px;
  --ps-space-2: 12px;
  --ps-space-3: 20px;
  --ps-space-4: 32px;
  --ps-space-5: 56px;
  --ps-space-6: 96px;
}
