/*
 * Mint Shift: design tokens
 * Fresh, upbeat and organised. Pages sit on a pale spring-mint wash. Headlines are
 * condensed, heavy Titillium Web, often in uppercase; body text is plain DM Sans.
 * Every main action is a solid black pill. Product shots are drawn as hairline
 * black browser windows with three dots, bright sprout-green bar charts and a
 * drawn cursor. Stats run along dotted leader lines into round line icons, and
 * dotted arrows join one section to the next.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700;900&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: the mint wash is the page; white is for windows and cards */
  --ms-mint: #e6f8d8;
  --ms-clover: #d2f0bd;       /* every second or third section, toggles, sign-in pill */
  --ms-clover-2: #bfe6a6;     /* hover on clover */
  --ms-paper: #ffffff;        /* windows, cards, inputs */
  --ms-paper-2: #f3f6f1;      /* the grey floor inside a window */

  /* Text and lines */
  --ms-ink: #0e120d;          /* text, black pills, window outlines */
  --ms-ink-2: #2a3127;        /* hover on black pills */
  --ms-moss: #4d5a49;         /* leads and secondary text */
  --ms-faint: #8a9785;        /* captions, placeholders */
  --ms-hair: #b9d6a5;         /* quiet dividers on mint */

  /* The accent: bright sprout green. Charts, the cursor, ticks and one highlight per screen */
  --ms-sprout: #22cf78;
  --ms-sprout-pale: #93e6b9;
  --ms-fern: #12764a;         /* green text that must be readable, links */

  /* Status, only inside product UI */
  --ms-down: #d5513b;
  --ms-amber: #e6a72e;

  /* Type */
  --ms-display: "Titillium Web", "Arial Narrow", system-ui, sans-serif;
  --ms-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ms-text-hero: clamp(50px, 7.2vw, 96px);
  --ms-text-kicker: clamp(28px, 3.4vw, 46px);
  --ms-text-h2: clamp(36px, 4.6vw, 60px);
  --ms-text-h3: 24px;
  --ms-text-stat: clamp(38px, 3.8vw, 50px);
  --ms-text-lead: 18px;
  --ms-text-body: 16px;
  --ms-text-small: 14px;
  --ms-text-micro: 11px;

  --ms-tracking-hero: -.015em;
  --ms-tracking-caps: -.005em;

  /* Shape: hairline black outlines, soft corners, pills for every button, almost no shadow */
  --ms-radius-sm: 8px;
  --ms-radius: 14px;
  --ms-radius-lg: 22px;
  --ms-radius-pill: 999px;
  --ms-outline: 1px solid var(--ms-ink);
  --ms-border: 1px solid var(--ms-hair);
  --ms-dotted: 1.5px dotted var(--ms-ink);
  --ms-shadow: 0 1px 0 rgba(14, 18, 13, .06), 0 10px 30px rgba(40, 90, 30, .08);
  --ms-shadow-pop: 0 2px 0 var(--ms-ink);

  /* Space */
  --ms-container: 1200px;
  --ms-narrow: 720px;
  --ms-section: clamp(64px, 9vw, 120px);
  --ms-gap: 24px;
}
