/*
  Hand Noted: design tokens
  A plain-spoken light style. White paper, one pale sage panel, heavy
  tight grotesk headlines, underlined blue text links, square blue buttons,
  and handwritten margin notes with drawn arrows pointing at the product.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@600;800&family=Public+Sans:ital,wght@0,400;0,600;1,400&family=Caveat:wght@500;700&display=swap" rel="stylesheet">
*/

:root {
  /* Color */
  --hn-paper: #ffffff;
  --hn-panel: #eef3f0;
  --hn-wash: #f6f8f7;
  --hn-ink: #1d282d;
  --hn-muted: #56646b;
  --hn-line: #d4dcdf;
  --hn-blue: #1a5bd6;
  --hn-blue-dark: #11419e;
  --hn-green: #2f9b5a;
  --hn-green-soft: #dcefe2;
  --hn-yellow: #ffe57a;
  --hn-red: #c8432f;

  /* Fonts */
  --hn-font-head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --hn-font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --hn-font-hand: "Caveat", "Comic Sans MS", cursive;

  /* Type scale */
  --hn-text-xs: 0.8125rem;
  --hn-text-sm: 0.9375rem;
  --hn-text-md: 1.0625rem;
  --hn-text-lg: 1.375rem;
  --hn-text-xl: 1.75rem;
  --hn-text-2xl: 2.5rem;
  --hn-text-3xl: clamp(2.25rem, 5.6vw, 4.25rem);
  --hn-hand-size: 1.5rem;
  --hn-track-tight: -0.035em;
  --hn-leading-head: 1.04;
  --hn-leading-body: 1.6;

  /* Shape */
  --hn-radius: 3px;
  --hn-radius-lg: 6px;
  --hn-border: 1px solid var(--hn-line);
  --hn-shadow: 0 1px 2px rgba(29, 40, 45, 0.08), 0 12px 32px rgba(29, 40, 45, 0.12);
  --hn-shadow-sm: 0 1px 2px rgba(29, 40, 45, 0.1);

  /* Space */
  --hn-space-1: 0.25rem;
  --hn-space-2: 0.5rem;
  --hn-space-3: 0.75rem;
  --hn-space-4: 1rem;
  --hn-space-5: 1.5rem;
  --hn-space-6: 2rem;
  --hn-space-7: 3rem;
  --hn-space-8: 4.5rem;
  --hn-max: 1180px;
  --hn-max-text: 680px;
}
