/*
  Pink Spiral: design tokens
  Feel: a fast, cheeky dark page. Near-black surfaces split by hairlines,
  huge condensed headlines in heavy caps-height type with one hot-pink
  italic word, a cream mascot sitting inside loud pink concentric rings,
  buttons with one notched corner, and a tabbed "benchmark" panel that
  proves the speed claim with plain bars and mono numbers.

  Fonts (free, Google Fonts), add before tokens.css:
  <link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,700;0,800;1,800&family=Instrument+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --ps-ink: #111013;          /* page */
  --ps-panel: #19181C;        /* panels, benchmark, install box, alternate sections */
  --ps-raised: #232127;       /* tabs, inputs, bar tracks, ghost buttons */
  --ps-lift: #2D2B32;         /* hover, active tab */
  --ps-line: #2E2C33;         /* every hairline */
  --ps-line-strong: #45424B;  /* inputs, focus-less borders, dividers in panels */

  /* Text */
  --ps-text: #F4F1EC;         /* headlines, primary text */
  --ps-text-2: #B3AFB8;       /* body, leads */
  --ps-text-3: #77737D;       /* labels, metadata, axis ticks */

  /* Accent */
  --ps-pink: #FF2F92;         /* the one accent: italic word, primary button, rings, winning bar */
  --ps-pink-deep: #C4166B;    /* pressed primary, ring shadow */
  --ps-pink-tint: rgba(255, 47, 146, 0.12); /* badge and row tint */
  --ps-cream: #F7EAD6;        /* mascot body, the inverted "Install" style button */
  --ps-blush: #FF9FC4;        /* mascot cheeks only */
  --ps-bar: #8F8B94;          /* losing bars in a benchmark */
  --ps-green: #57D69B;        /* success and "live" only */

  /* Textures */
  --ps-rings: repeating-radial-gradient(circle at 62% 46%, var(--ps-pink) 0 34px, var(--ps-ink) 34px 70px);
  --ps-rings-small: repeating-radial-gradient(circle at 50% 50%, var(--ps-pink) 0 14px, var(--ps-ink) 14px 28px);

  /* Fonts */
  --ps-font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ps-font-sans: "Instrument Sans", system-ui, sans-serif;
  --ps-font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Type scale */
  --ps-text-hero: clamp(52px, 6.6vw, 96px);
  --ps-text-h1: clamp(48px, 6.4vw, 88px);
  --ps-text-h2: clamp(38px, 4.6vw, 62px);
  --ps-text-h3: 22px;
  --ps-text-lead: 19px;
  --ps-text-body: 16px;
  --ps-text-small: 14px;
  --ps-text-label: 12px;
  --ps-track-display: -0.015em;   /* condensed headlines */
  --ps-track-label: 0.12em;       /* mono caps labels */

  /* Shape */
  --ps-radius-0: 0;
  --ps-radius-1: 2px;         /* tabs, inputs, badges */
  --ps-radius-2: 4px;         /* panels, cards */
  --ps-radius-round: 999px;   /* mascot, avatars, dots only */
  --ps-notch: 12px;           /* the cut corner on buttons and panels */
  --ps-shadow-panel: 0 30px 70px -24px rgba(0, 0, 0, 0.8);
  --ps-shadow-pop: 6px 6px 0 var(--ps-pink-deep);  /* hard offset shadow on the mascot and featured plan */
  --ps-focus: 0 0 0 2px var(--ps-ink), 0 0 0 4px var(--ps-pink);

  /* 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;

  /* Layout */
  --ps-container: 1180px;
  --ps-measure: 680px;
  --ps-nav-height: 64px;

  /* Motion */
  --ps-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ps-fast: 140ms;
}
