/*
 * Red Pen: design tokens
 * A tidy, friendly app-maker style. A white page, a rounded sans set dark and centered,
 * one warm tomato red for marks that matter, and a soft teal for the hand-drawn underline
 * under one word of every headline. The signature is "the desk": a layered app window with
 * a charcoal sidebar, a note list with a red marker on the open item and a clean editor
 * full of #tag pills and a warm callout. Pill controls, hairlines, one soft shadow.
 *
 * 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=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --rp-page: #ffffff;
  --rp-paper: #faf9f7;
  --rp-sand: #f3f1ed;
  --rp-line: #e7e4df;
  --rp-line-strong: #cfcbc4;

  /* Text */
  --rp-ink: #2e2d31;
  --rp-soft: #6b6a72;
  --rp-faint: #a3a1a8;

  /* The red pen: logo, the open-note marker, the caret, small "new" marks */
  --rp-red: #d9483a;
  --rp-red-deep: #b8382c;
  --rp-red-soft: #fbe9e6;

  /* The teal underline and active-tab ticks */
  --rp-teal: #79c4c8;
  --rp-teal-soft: #e5f4f4;

  /* The warm callout */
  --rp-amber: #ee8a3c;
  --rp-amber-soft: #fff4ea;

  /* The app window's sidebar */
  --rp-charcoal: #2a2b2f;
  --rp-charcoal-2: #36373c;
  --rp-charcoal-text: #c9c8cd;

  /* Window dots, only on the window bar */
  --rp-dot-red: #ee6a5f;
  --rp-dot-amber: #f5be4f;
  --rp-dot-green: #62c554;

  /* Success */
  --rp-green: #3f9a63;

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

  --rp-text-hero: clamp(36px, 4.6vw, 60px);
  --rp-text-h2: clamp(28px, 3vw, 40px);
  --rp-text-h3: 21px;
  --rp-text-lead: clamp(18px, 1.6vw, 22px);
  --rp-text-body: 16px;
  --rp-text-prose: 18px;
  --rp-text-small: 14px;
  --rp-text-micro: 12px;

  --rp-leading-display: 1.12;
  --rp-tracking-display: -.015em;

  /* Shape: pills for controls, soft corners for cards, one soft shadow */
  --rp-radius-pill: 999px;
  --rp-radius-sm: 6px;
  --rp-radius: 12px;
  --rp-radius-lg: 18px;
  --rp-border: 1.5px solid var(--rp-ink);
  --rp-hairline: 1px solid var(--rp-line);
  --rp-shadow: 0 30px 60px -24px rgba(46, 45, 49, .28), 0 2px 6px rgba(46, 45, 49, .06);
  --rp-shadow-sm: 0 6px 18px -8px rgba(46, 45, 49, .2);

  /* Space */
  --rp-gutter: clamp(20px, 3vw, 40px);
  --rp-section: clamp(64px, 9vw, 120px);
  --rp-container: 1120px;
  --rp-narrow: 680px;

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