/*
 * Dog Ear: design tokens
 * Friendly, tidy and warm, like a well-kept notebook. White pages with a pale mist band,
 * rounded humanist sans headlines in soft charcoal, one radish-red accent, and a hand-drawn
 * aqua underline under the one word that matters. Product shots are app windows with a dark
 * slate sidebar, a light list and a clean editor where faint markup marks peek around words.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, mist for quiet bands and list panes */
  --de-paper: #ffffff;
  --de-mist: #f5f4f2;
  --de-mist-2: #ecebe8;
  --de-line: #e4e1dd;
  --de-slate: #2c2b30;        /* the app sidebar and the one dark band */
  --de-slate-2: #3a3940;

  /* Text: soft charcoal, never pure black */
  --de-ink: #38373c;
  --de-soft: #75717a;
  --de-faint: #aaa6ad;

  /* The one accent: primary buttons, the selected-note bar, the mascot, tiny "new" tags */
  --de-radish: #dc4a3e;
  --de-radish-dark: #c13a2f;
  --de-radish-soft: #fbe6e3;

  /* Sketch: the hand-drawn underline and spark marks. Decoration only, never text */
  --de-aqua: #85c9cf;
  --de-aqua-soft: #e3f3f4;
  --de-aqua-ink: #3d8f97;     /* icon strokes on aqua tiles */

  /* Callout: the left bar on tip boxes */
  --de-amber: #ee8a32;
  --de-amber-soft: #fdf3ea;
  --de-amber-line: #f6d7bb;

  /* Window lights, only on the app window */
  --de-light-red: #ef5f57;
  --de-light-amber: #f5bd3a;
  --de-light-green: #3fc44f;

  /* Type */
  --de-sans: "Figtree", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --de-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

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

  --de-tracking-hero: -.025em;
  --de-tracking-h2: -.02em;

  /* Shape: gently rounded, thin lines, one big soft shadow under app windows */
  --de-radius-sm: 6px;
  --de-radius: 10px;
  --de-radius-lg: 18px;
  --de-radius-pill: 999px;
  --de-border: 1px solid var(--de-line);
  --de-border-strong: 1.5px solid var(--de-ink);
  --de-shadow: 0 1px 2px rgba(44, 43, 48, .05), 0 6px 18px rgba(44, 43, 48, .06);
  --de-shadow-lg: 0 2px 6px rgba(44, 43, 48, .06), 0 30px 70px rgba(44, 43, 48, .18);

  /* Space */
  --de-section: clamp(72px, 9vw, 120px);
  --de-container: 1100px;
  --de-wide: 1220px;
  --de-narrow: 700px;

  /* Motion */
  --de-ease: cubic-bezier(.25, .8, .25, 1);
}
