/*
 * Squircle Dock: design tokens
 * A dark app-shell style. The whole page sits in a rounded window on a near-black bezel,
 * with a two-tier left rail: a thin icon strip and a labeled tool list where every tool
 * gets its own bright squircle icon. Content lives in oversized rounded media tiles with
 * the caption underneath, round arrow buttons, a white pill call to action and one
 * gradient-ring badge. Neutral graphite surfaces, the color comes from the tool icons.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700&family=Onest:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: bezel outside, window inside, rail a step lighter */
  --sq-bezel: #09090a;
  --sq-canvas: #111113;
  --sq-rail: #18181b;
  --sq-raised: #202024;
  --sq-hover: #2a2a2f;
  --sq-line: #2c2c31;
  --sq-line-strong: #3a3a40;

  /* Text */
  --sq-text: #f4f3f0;
  --sq-soft: #a9a8b0;
  --sq-faint: #6f6e76;

  /* The CTA is white on black, never a color */
  --sq-white: #ffffff;
  --sq-on-white: #111113;

  /* Tool colors: one per tool, used on squircle icons and media tiles only */
  --sq-tomato: #ff6b3d;
  --sq-butter: #ffc83d;
  --sq-mint: #34d399;
  --sq-sky: #4f8cff;
  --sq-grape: #9a6bff;
  --sq-rose: #ff5c9d;

  /* The one gradient: badge rings and the active-tile glow */
  --sq-ring: linear-gradient(90deg, var(--sq-sky), var(--sq-grape) 50%, var(--sq-rose));

  /* Type */
  --sq-display: "Bricolage Grotesque", "Onest", system-ui, sans-serif;
  --sq-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sq-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --sq-text-hero: clamp(40px, 5.4vw, 72px);
  --sq-text-h2: clamp(30px, 3.4vw, 44px);
  --sq-text-h3: 22px;
  --sq-text-caption: clamp(20px, 2vw, 26px);
  --sq-text-lead: 18px;
  --sq-text-body: 16px;
  --sq-text-small: 14px;
  --sq-text-micro: 12px;

  --sq-tracking-hero: -.035em;
  --sq-tracking-h2: -.025em;

  /* Shape: soft, round, app-like. Thin lines, almost no shadow */
  --sq-radius-xs: 7px;        /* squircle icons */
  --sq-radius-sm: 10px;       /* rail items, inputs */
  --sq-radius: 16px;          /* cards, the window */
  --sq-radius-lg: 22px;       /* media tiles */
  --sq-radius-pill: 999px;
  --sq-border: 1px solid var(--sq-line);
  --sq-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px rgba(0, 0, 0, .45);
  --sq-icon-shine: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .18);

  /* Space */
  --sq-bezel-gap: 8px;
  --sq-strip: 52px;
  --sq-sidebar: 272px;
  --sq-section: clamp(56px, 7vw, 96px);
  --sq-content: 1040px;
  --sq-narrow: 700px;

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