/*
 * Fern Note: tokens
 * A tended notebook. Warm unbleached paper, charcoal ink, one plum for links and actions and
 * one teal for drawn leaves. Serif headlines mix a heavy word with regular ones in the same
 * line. Small handwritten margin notes, growth-stage marks (seed, sprout, bloom) on every
 * entry and thin dotted vines that join things up. Flat, quiet and a little bit tender.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,300..800;1,7..72,400&family=Figtree:wght@400;500;600&family=Caveat:wght@500;600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --fn-paper: #F5F3EE;
  --fn-card: #FBFAF6;
  --fn-mist: #EAE6DC;
  --fn-line: #DCD6C8;

  /* Ink */
  --fn-ink: #2E2B2A;
  --fn-soft: #67625C;
  --fn-faint: #9A948B;

  /* Accent: plum for every link and action */
  --fn-plum: #8A1559;
  --fn-plum-deep: #6B0F44;
  --fn-plum-soft: #F4E3EC;

  /* Leaf: teal, only for drawn leaves, vines and the sprout mark */
  --fn-teal: #1E93A6;
  --fn-teal-deep: #136F7E;
  --fn-teal-soft: #DDF0F2;

  /* Growth stages */
  --fn-seed: #C9922E;
  --fn-seed-soft: #F6EAD2;
  --fn-bloom: #6E8B3D;
  --fn-bloom-soft: #E7EDD9;

  --fn-alert: #B0361F;

  /* Fonts */
  --fn-serif: "Literata", Georgia, "Times New Roman", serif;
  --fn-sans: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  --fn-hand: "Caveat", "Comic Sans MS", cursive;

  /* Type scale */
  --fn-text-hero: clamp(42px, 6.2vw, 84px);
  --fn-text-h2: clamp(32px, 4vw, 52px);
  --fn-text-h3: 23px;
  --fn-text-lead: clamp(19px, 1.8vw, 24px);
  --fn-text-body: 18px;
  --fn-text-small: 15px;
  --fn-text-label: 13px;
  --fn-text-hand: 24px;
  --fn-weight-light: 300;
  --fn-weight-regular: 400;
  --fn-weight-heavy: 800;
  --fn-tracking-display: -0.025em;

  /* Shape */
  --fn-radius-lg: 14px;
  --fn-radius: 8px;
  --fn-radius-sm: 4px;
  --fn-pill: 999px;
  --fn-border: 1px solid var(--fn-line);
  --fn-vine: 2px dotted var(--fn-teal);
  --fn-focus: 0 0 0 3px var(--fn-paper), 0 0 0 5px var(--fn-plum);

  /* Space */
  --fn-container: 1180px;
  --fn-narrow: 700px;
  --fn-gutter: clamp(20px, 5vw, 86px);
  --fn-section: clamp(64px, 8vw, 112px);
  --fn-gap: 28px;
}
