/*
 * Wellspring: design tokens
 * Hopeful, plain-spoken and trustworthy, like a well-run nonprofit. Clean white surfaces,
 * a warm book serif for headlines, wide-tracked uppercase sans labels and one sunny yellow
 * for every action. The signature moves: a full-bleed drawn scene in the hero with a white
 * "pledge" card sitting on it, square corners everywhere, segmented amount tiles, and impact
 * numbers underlined in yellow.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&family=Figtree:wght@400;500;600;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, a cool grey for quiet panels, warm sand for soft bands */
  --ws-white: #ffffff;
  --ws-mist: #efefeb;
  --ws-mist-2: #e2e2dc;
  --ws-sand: #f6f1e7;
  --ws-ink: #1c2023;
  --ws-ink-2: #30363a;

  /* Text */
  --ws-text: #1c2023;
  --ws-soft: #5a6166;
  --ws-faint: #8b9196;

  /* The action color. Buttons, the selected tile, underlines, the odd icon */
  --ws-sun: #ffc82e;
  --ws-sun-deep: #e9ad00;
  --ws-sun-soft: #fff3c8;

  /* Scene colors: only for drawn heroes, covers and illustrations */
  --ws-lagoon: #127f99;
  --ws-lagoon-deep: #0b5c70;
  --ws-sky: #9fd3e0;
  --ws-clay: #c9824f;
  --ws-field: #7a9a4a;

  /* Links and focus */
  --ws-link: #0b5c70;
  --ws-focus: 0 0 0 3px rgba(18, 127, 153, .35);

  /* Type */
  --ws-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ws-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --ws-text-hero: clamp(40px, 5.4vw, 68px);
  --ws-text-h2: clamp(32px, 3.8vw, 48px);
  --ws-text-h3: 24px;
  --ws-text-lead: clamp(18px, 1.5vw, 21px);
  --ws-text-body: 17px;
  --ws-text-small: 15px;
  --ws-text-label: 13px;

  --ws-weight-head: 500;
  --ws-tracking-label: .14em;

  /* Shape: square corners, hairlines, one soft shadow for cards that sit on a scene */
  --ws-line: 1px solid var(--ws-mist-2);
  --ws-line-dark: 1px solid var(--ws-ink);
  --ws-radius: 2px;
  --ws-radius-pill: 999px;
  --ws-shadow: 0 1px 2px rgba(28, 32, 35, .06), 0 12px 32px rgba(28, 32, 35, .14);
  --ws-shadow-sm: 0 1px 2px rgba(28, 32, 35, .08), 0 4px 12px rgba(28, 32, 35, .08);

  /* Space */
  --ws-section: clamp(64px, 8vw, 112px);
  --ws-container: 1200px;
  --ws-narrow: 700px;
  --ws-header: 80px;

  /* Motion */
  --ws-ease: cubic-bezier(.2, .7, .2, 1);
}
