/*
 * Plain Talk: design tokens
 * Clean, confident and almost monochrome. White pages, a pale stone gray for capsules and
 * panels, heavy tight geometric headlines in near-black, and small live widgets (a chip with a
 * reading, a dial, a tiny photo tile) set right inside the headline as if they were words.
 * Dark pill buttons next to white bordered ones. One leaf green, used only for live status.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, stone for capsules, panels and quiet sections */
  --pt-white: #ffffff;
  --pt-stone: #f4f4f2;
  --pt-stone-2: #ebebe8;
  --pt-line: #e3e3df;
  --pt-line-strong: #d2d2cd;

  /* Text and the dark button */
  --pt-ink: #1b1b19;
  --pt-ink-2: #2b2b28;      /* hover on dark buttons, dark panels */
  --pt-soft: #6a6a65;
  --pt-faint: #a3a39d;

  /* The only color: live status, a reading, a check. Never on buttons or headlines */
  --pt-leaf: #2e9a5c;
  --pt-leaf-soft: #e3f3e9;
  --pt-sun: #e8a33a;        /* warnings inside product UI only */
  --pt-sun-soft: #fbf0dc;

  /* Type */
  --pt-display: "Outfit", "Avenir Next", system-ui, sans-serif;
  --pt-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pt-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pt-text-hero: clamp(44px, 7.4vw, 96px);
  --pt-text-h2: clamp(32px, 4.4vw, 56px);
  --pt-text-h3: 22px;
  --pt-text-lead: 20px;
  --pt-text-body: 16px;
  --pt-text-small: 14px;
  --pt-text-micro: 12px;

  --pt-tracking-hero: -.045em;
  --pt-tracking-h2: -.035em;

  /* Shape: rounded, hairline borders, almost no shadow */
  --pt-radius-sm: 8px;
  --pt-radius: 14px;
  --pt-radius-lg: 24px;
  --pt-radius-pill: 999px;
  --pt-border: 1px solid var(--pt-line);
  --pt-shadow-inset: inset 0 -2px 0 rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .18);
  --pt-shadow: 0 1px 2px rgba(27, 27, 25, .05), 0 4px 14px rgba(27, 27, 25, .05);
  --pt-shadow-lg: 0 1px 3px rgba(27, 27, 25, .06), 0 20px 50px rgba(27, 27, 25, .10);

  /* Space */
  --pt-section: clamp(72px, 9vw, 120px);
  --pt-container: 1200px;
  --pt-narrow: 720px;

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