/*
 * Sprout Stack: design tokens
 * Bright, open and friendly. White pages with misty green-gray sections, a two-tone stacked
 * headline (a thin sprout-green line sitting on a heavy ink line), pill buttons in leaf green,
 * flat drawn scene tiles in a row of three and tiny pixel-art icons with pixel-font labels.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;700;800&family=Silkscreen&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --ss-paper: #ffffff;
  --ss-mist: #f3f6f1;       /* quiet sections, form fields, the footer */
  --ss-mist-2: #e8eee5;     /* hover on mist */
  --ss-line: #e1e6de;       /* every border and divider */

  /* Text */
  --ss-ink: #191c1a;
  --ss-soft: #5c645e;
  --ss-faint: #98a09a;

  /* The one accent: buttons, the thin headline line, links, pixel icons */
  --ss-sprout: #2bb15f;
  --ss-sprout-dark: #1f8f4b;
  --ss-sprout-soft: #e0f4e6;

  /* Scene colors: only inside drawn scene tiles and pixel icons */
  --ss-sky: #d3e8f1;
  --ss-sun: #f3c34f;
  --ss-wood: #c88a58;
  --ss-wood-dark: #8f5a33;
  --ss-clay: #e9a38a;

  /* Type */
  --ss-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ss-pixel: "Silkscreen", ui-monospace, "SF Mono", Menlo, monospace;

  --ss-text-hero: clamp(38px, 5.6vw, 68px);
  --ss-text-h2: clamp(30px, 3.6vw, 44px);
  --ss-text-h3: 22px;
  --ss-text-lead: 20px;
  --ss-text-body: 17px;
  --ss-text-small: 15px;
  --ss-text-micro: 11px;

  --ss-weight-thin: 300;    /* the green top line and section titles */
  --ss-weight-heavy: 800;   /* the ink bottom line */
  --ss-tracking: -.025em;

  /* Shape: flat. Hairlines, soft corners, no shadows except the focus ring */
  --ss-radius-sm: 6px;
  --ss-radius: 10px;
  --ss-radius-lg: 16px;
  --ss-radius-pill: 999px;
  --ss-border: 1px solid var(--ss-line);
  --ss-focus: 0 0 0 3px var(--ss-sprout-soft), 0 0 0 4px var(--ss-sprout);

  /* Space */
  --ss-section: clamp(72px, 9vw, 120px);
  --ss-container: 1200px;
  --ss-narrow: 720px;
  --ss-gap: 16px;

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