/*
 * Side Note: design tokens
 * A plain-spoken, warm product style for tools that promise to calm things down.
 * White pages with a soft cream panel, heavy tightly tracked sans headlines in a dark
 * slate, a row of underlined blue text links instead of a menu, and real-looking app
 * windows stacked on the page. The signature is the margin note: a handwritten
 * comment with a hand-drawn arrow pointing at the product, plus a yellow highlighter
 * stroke behind the one phrase that matters.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;800;900&family=Source+Sans+3:ital,wght@0,400;0,600;1,400&family=Kalam:wght@400;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: a white page, a cream panel that holds the hero, a light paper tint for app windows */
  --sn-page: #ffffff;
  --sn-cream: #fdf4e8;
  --sn-cream-deep: #f6e6d0;
  --sn-paper: #f7f8f9;
  --sn-line: #e3e6e8;
  --sn-line-strong: #c6ccd0;

  /* Text: a dark slate, never pure black */
  --sn-ink: #1d2b33;
  --sn-soft: #4f5f68;
  --sn-faint: #8a979e;

  /* Link and button blue: the only loud color */
  --sn-blue: #1c5fd4;
  --sn-blue-deep: #1449a8;
  --sn-blue-soft: #e5eefc;

  /* Small notes: highlighter yellow, a check green, a flag red */
  --sn-marker: #ffe36b;
  --sn-green: #2b9a5a;
  --sn-green-soft: #e1f3e8;
  --sn-red: #d6453a;

  /* Avatar fills inside app windows */
  --sn-av-1: #e8875b;
  --sn-av-2: #5a8fd6;
  --sn-av-3: #8b6bc9;
  --sn-av-4: #3fa58a;
  --sn-av-5: #d6a43a;

  /* Type */
  --sn-display: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sn-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sn-hand: "Kalam", "Comic Neue", "Bradley Hand", cursive;

  --sn-text-hero: clamp(38px, 5.4vw, 72px);
  --sn-text-h2: clamp(30px, 3.6vw, 46px);
  --sn-text-h3: 22px;
  --sn-text-lede: clamp(19px, 1.7vw, 24px);
  --sn-text-body: 18px;
  --sn-text-small: 15px;
  --sn-text-micro: 12px;
  --sn-text-note: clamp(18px, 1.6vw, 22px);

  --sn-tracking-display: -.035em;
  --sn-leading-display: 1.04;

  /* Shape: small radii, one soft window shadow, a cream panel with a gentle round */
  --sn-radius-sm: 4px;
  --sn-radius: 8px;
  --sn-radius-panel: 14px;
  --sn-radius-pill: 999px;
  --sn-shadow-window: 0 1px 2px rgba(29, 43, 51, .08), 0 14px 40px -12px rgba(29, 43, 51, .28);
  --sn-shadow-card: 0 1px 2px rgba(29, 43, 51, .06), 0 6px 18px -8px rgba(29, 43, 51, .18);
  --sn-hairline: 1px solid var(--sn-line);
  --sn-tilt: -2deg;

  /* Space */
  --sn-gutter: clamp(18px, 2.4vw, 32px);
  --sn-section: clamp(64px, 9vw, 120px);
  --sn-container: 1240px;
  --sn-narrow: 700px;

  /* Motion: quick and plain */
  --sn-ease: cubic-bezier(.25, .8, .3, 1);
  --sn-speed: .2s;
}
