/*
 * Soak Board: design tokens
 * A quiet night-water control board. Deep teal-black surfaces with a rippled water backdrop
 * drawn in CSS, wide-tracked uppercase Josefin Sans headings, soft Nunito Sans body text,
 * thin outlined boxy buttons, and a grid of line-drawn icons that each sit over a slider.
 * One warm copper accent for heat and the main action; a cool sea teal for cold and calm.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600&family=Nunito+Sans:wght@400;600;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: night water, darkest at the bottom of the page */
  --sb-deep: #0d171b;        /* page background */
  --sb-pool: #142329;        /* panels, cards, the form card */
  --sb-pool-2: #1c3139;      /* hover on panels, slider tracks */
  --sb-line: #33494f;        /* every hairline border and divider */
  --sb-line-bright: #5d7479; /* outlined buttons and focused inputs */

  /* Text */
  --sb-foam: #edf1ec;        /* headings and body text */
  --sb-mist: #9cb0b1;        /* leads, labels, secondary text */
  --sb-faint: #64797c;       /* captions, legal lines */

  /* Accents: copper is warmth and the one main action; sea is coolness and calm states */
  --sb-copper: #e3955c;
  --sb-copper-deep: #c8773f;
  --sb-copper-glow: rgba(227, 149, 92, .16);
  --sb-sea: #73b9b1;
  --sb-sea-glow: rgba(115, 185, 177, .14);

  /* The water backdrop: two glows and a ripple ring pattern, no images */
  --sb-water:
    radial-gradient(ellipse 60% 45% at 22% 18%, rgba(115, 185, 177, .16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 82% 70%, rgba(227, 149, 92, .10), transparent 70%),
    repeating-radial-gradient(ellipse at 50% 120%, rgba(237, 241, 236, .035) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, #17282f 0%, #0d171b 100%);
  --sb-veil: linear-gradient(180deg, rgba(13, 23, 27, 0) 0%, rgba(13, 23, 27, .9) 100%);

  /* Type */
  --sb-display: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
  --sb-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sb-text-hero: clamp(40px, 6.4vw, 80px);
  --sb-text-h2: clamp(26px, 3.4vw, 40px);
  --sb-text-h3: 18px;
  --sb-text-lead: 19px;
  --sb-text-body: 16px;
  --sb-text-small: 14px;
  --sb-text-label: 12px;

  --sb-track-hero: .14em;    /* headings are uppercase and wide */
  --sb-track-label: .22em;   /* buttons, eyebrows, icon labels */

  /* Shape: boxy, hairline, flat. No drop shadows anywhere, only glows */
  --sb-radius-xs: 2px;
  --sb-radius-sm: 4px;
  --sb-radius-md: 8px;
  --sb-radius-round: 999px;  /* only the play button and slider thumbs */
  --sb-border: 1px solid var(--sb-line);
  --sb-border-strong: 1.5px solid var(--sb-line-bright);
  --sb-glow-copper: 0 0 0 6px var(--sb-copper-glow);
  --sb-glow-sea: 0 0 0 6px var(--sb-sea-glow);

  /* Space */
  --sb-container: 1120px;
  --sb-narrow: 680px;
  --sb-section: clamp(64px, 9vw, 120px);
  --sb-gap: 24px;
  --sb-gap-lg: 48px;

  /* Motion: slow, like water */
  --sb-ease: cubic-bezier(.4, 0, .2, 1);
  --sb-slow: 600ms;
}
