/*
 * Paint Swash: design tokens
 * Fresh, friendly and tidy. A clean white page with big pastel brush swashes (blush, sage and sky)
 * painted behind the product, as if someone dragged a dry brush across the screen. Bold, tight
 * Figtree headlines in near-black, one clear blue button, and a coral highlight for the selected
 * row and "New" pills. The product sits in a soft app window with a nested sidebar tree and counts.
 * Small handwritten Caveat notes point at things, like margin scribbles.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap" rel="stylesheet">
 *
 * Brush swashes get their rough edge from inline SVG filters "ps-rough" (big swashes) and "ps-rough-sm"
 * (painted underlines). Paste this once
 * near the top of <body> on every page:
 *   <svg class="ps-defs" aria-hidden="true"><filter id="ps-rough"><feTurbulence type="fractalNoise" baseFrequency="0.035" numOctaves="3" seed="4"/><feDisplacementMap in="SourceGraphic" scale="22"/></filter><filter id="ps-rough-sm"><feTurbulence type="fractalNoise" baseFrequency="0.06" numOctaves="2" seed="7"/><feDisplacementMap in="SourceGraphic" scale="5"/></filter></svg>
 */
:root {
  /* Surfaces: white page, a faint cool gray for app chrome */
  --ps-page: #ffffff;
  --ps-chrome: #f5f6f8;      /* app sidebar, toolbar, table heads */
  --ps-chrome-2: #eceef2;    /* hover rows, toggles */
  --ps-line: #e3e6eb;
  --ps-line-strong: #cfd4dc;

  /* Text */
  --ps-ink: #15181e;
  --ps-ink-2: #2b3039;
  --ps-soft: #5c6370;
  --ps-faint: #9aa1ad;

  /* The one button color: clear blue */
  --ps-blue: #1f6fd1;
  --ps-blue-deep: #1659ad;
  --ps-blue-soft: #e5effb;

  /* Highlight: coral for the selected row, New pills and small marks */
  --ps-coral: #ec5a3f;
  --ps-coral-deep: #c9452d;
  --ps-coral-soft: #fde9e4;

  /* Paint: the pastel brush swashes. Background only, never text */
  --ps-blush: #f6d3cd;
  --ps-blush-2: #fae4df;
  --ps-sage: #d3e2d4;
  --ps-sage-2: #e4ede4;
  --ps-sage-deep: #9cbf9f;   /* hills in drawn art only */
  --ps-green: #3d7a4a;       /* icon strokes on sage tiles */
  --ps-sky: #d4e4f3;
  --ps-sky-2: #e6eff8;
  --ps-butter: #f7e7b9;

  /* Folder dots in the sidebar tree */
  --ps-dot-1: #3d8be0;
  --ps-dot-2: #f0a13a;
  --ps-dot-3: #5fae6e;
  --ps-dot-4: #a173d6;

  /* Type */
  --ps-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ps-hand: "Caveat", "Comic Sans MS", cursive;

  --ps-text-hero: clamp(38px, 5.4vw, 64px);
  --ps-text-h2: clamp(28px, 3.4vw, 40px);
  --ps-text-h3: 20px;
  --ps-text-lead: clamp(18px, 1.6vw, 22px);
  --ps-text-body: 16px;
  --ps-text-small: 14px;
  --ps-text-tiny: 12.5px;
  --ps-text-hand: 24px;

  --ps-track-tight: -0.03em;
  --ps-leading-tight: 1.08;
  --ps-leading: 1.6;

  /* Shape */
  --ps-radius-sm: 6px;       /* buttons, inputs, sidebar rows */
  --ps-radius: 10px;         /* app windows, cards */
  --ps-radius-lg: 16px;      /* plans, the form card */
  --ps-pill: 999px;

  --ps-shadow-sm: 0 1px 2px rgba(21, 24, 30, 0.06);
  --ps-shadow: 0 2px 6px rgba(21, 24, 30, 0.05), 0 10px 24px rgba(21, 24, 30, 0.06);
  --ps-shadow-window: 0 4px 10px rgba(21, 24, 30, 0.05), 0 28px 60px rgba(21, 24, 30, 0.12);
  --ps-ring: 0 0 0 3px rgba(31, 111, 209, 0.22);

  /* Space */
  --ps-space-1: 4px;
  --ps-space-2: 8px;
  --ps-space-3: 12px;
  --ps-space-4: 16px;
  --ps-space-5: 24px;
  --ps-space-6: 32px;
  --ps-space-7: 48px;
  --ps-space-8: 72px;
  --ps-space-9: 112px;

  --ps-container: 1080px;
  --ps-narrow: 700px;
  --ps-ease: 0.18s ease;
}
