/*
 * Tidal Pane: design tokens
 *
 * Feel: a control room under the sea. Deep teal-black surfaces that brighten toward the
 * top like water near the surface, heavy rounded grotesque headlines whose second line
 * glows aqua, and a wall of thin outlined window tiles receding in perspective behind the
 * hero. Buttons are pills: a pale solid one next to an aqua outline that glows. A slim
 * glowing status dock sits under the hero. Futuristic and functional, never cold.
 *
 * Fonts (all free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Red+Hat+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: deep water. Abyss is the page, the rest step up toward the light */
  --tp-abyss: #031014;        /* page background */
  --tp-deep: #061C22;         /* sections, panels */
  --tp-shelf: #0B2A32;        /* cards, inputs, tiles */
  --tp-shelf-2: #113843;      /* hover on cards, active rows */
  --tp-line: #15404A;         /* every 1px border */
  --tp-line-bright: #2A6B78;  /* tile outlines, focused inputs */
  --tp-surface: #0E4552;      /* the lighter water at the top of the hero */

  /* Text */
  --tp-foam: #ECF7F8;         /* headlines and body */
  --tp-mist: #9DBDC2;         /* leads and secondary text */
  --tp-dim: #5F858C;          /* captions, timestamps, placeholders */

  /* The accent: aqua glow. Second headline line, outline buttons, live dots, the dock */
  --tp-aqua: #3FE6E0;
  --tp-aqua-deep: #19B8B8;
  --tp-aqua-soft: rgba(63, 230, 224, .12);
  --tp-aqua-glow: rgba(63, 230, 224, .45);
  --tp-pale: #D9EEF0;         /* the solid pale button */

  /* Status, only inside product UI */
  --tp-coral: #FF7A66;
  --tp-kelp: #8BE28B;
  --tp-sand: #F2C66D;

  /* Type */
  --tp-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tp-mono: "Red Hat Mono", ui-monospace, "SF Mono", Menlo, monospace;

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

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

  /* Shape: rounded tiles with thin lit edges, pills for buttons and the nav */
  --tp-radius-sm: 10px;
  --tp-radius: 18px;
  --tp-radius-lg: 28px;
  --tp-radius-pill: 999px;
  --tp-border: 1px solid var(--tp-line);
  --tp-edge: inset 0 1px 0 rgba(236, 247, 248, .06);
  --tp-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --tp-glow: 0 0 0 1px var(--tp-aqua), 0 0 18px var(--tp-aqua-glow);
  --tp-glow-soft: 0 0 32px rgba(63, 230, 224, .18);

  /* The hero water: lighter at the top, abyss at the bottom */
  --tp-water: radial-gradient(120% 70% at 50% -10%, var(--tp-surface) 0%, var(--tp-deep) 45%, var(--tp-abyss) 100%);

  /* Space */
  --tp-section: clamp(72px, 10vw, 136px);
  --tp-container: 1180px;
  --tp-narrow: 740px;

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