/*
 * Red Pencil: design tokens
 * A friendly, tidy notebook feel: white paper, a soft charcoal ink, rounded humanist sans type,
 * one coral-red accent and a hand-drawn teal underline under a single word. Product shots are
 * calm app windows with a dark sidebar, a note list and a roomy editor.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800&family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white paper first, mist for quiet sections */
  --rp-paper: #ffffff;
  --rp-mist: #f4f5f6;
  --rp-mist-2: #eceef0;
  --rp-line: #e3e5e8;
  --rp-line-strong: #c9ccd1;
  --rp-night: #2c2e33;      /* the app sidebar and the occasional dark card */
  --rp-night-2: #383b41;

  /* Text: soft charcoal, never pure black */
  --rp-ink: #36383d;
  --rp-soft: #7d8188;
  --rp-faint: #aeb2b8;

  /* Accents */
  --rp-red: #df4f45;        /* logo, active marker, NEW tags, links on hover */
  --rp-red-dark: #c63e35;
  --rp-red-soft: #fdecea;
  --rp-teal: #7fc8d2;       /* the hand-drawn underline and sketch ticks only */
  --rp-teal-soft: #e5f4f6;
  --rp-amber: #ef9333;      /* callout borders inside notes */
  --rp-amber-soft: #fff6ec;

  /* Type */
  --rp-display: "Nunito", "Avenir Next", system-ui, sans-serif;
  --rp-sans: "Nunito Sans", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rp-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --rp-text-hero: clamp(40px, 5.6vw, 68px);
  --rp-text-h2: clamp(30px, 3.6vw, 44px);
  --rp-text-h3: 22px;
  --rp-text-lead: clamp(19px, 2vw, 24px);
  --rp-text-body: 17px;
  --rp-text-small: 14px;
  --rp-text-micro: 12px;

  --rp-tracking-hero: -.015em;

  /* Shape: rounded but not bubbly. Thin lines, one soft shadow for windows */
  --rp-radius-sm: 6px;
  --rp-radius: 10px;
  --rp-radius-lg: 18px;
  --rp-radius-pill: 999px;
  --rp-border: 1px solid var(--rp-line);
  --rp-border-ink: 1.5px solid var(--rp-ink);
  --rp-shadow: 0 1px 2px rgba(44, 46, 51, .06), 0 6px 18px rgba(44, 46, 51, .06);
  --rp-shadow-lg: 0 2px 6px rgba(44, 46, 51, .08), 0 30px 70px rgba(44, 46, 51, .16);

  /* Space */
  --rp-section: clamp(72px, 9vw, 120px);
  --rp-container: 1080px;
  --rp-wide: 1180px;
  --rp-narrow: 700px;

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