/*
 * String Wave: design tokens
 * Clean, precise and quietly fresh. White paper, hairline borders, a bookish
 * serif for headlines over a crisp geometric sans, small mono chips for numbers,
 * square-cornered black buttons and one signature move: a fan of fine lime and
 * teal lines (string art) sweeping behind the product window.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Literata:opsz,wght@7..72,400;7..72,500&family=Figtree:wght@400;500;600&family=Martian+Mono:wght@400;500&display=swap" rel="stylesheet">
 */

:root {
  /* Surfaces */
  --sw-paper: #FFFFFF;
  --sw-mist: #F3F7F4;
  --sw-mist-2: #E8F0EA;
  --sw-line: #E2E8E4;
  --sw-line-strong: #C9D3CD;

  /* Text */
  --sw-ink: #0F1512;
  --sw-soft: #5D6963;
  --sw-faint: #8E9993;

  /* Accent */
  --sw-mint: #0C8F63;
  --sw-mint-soft: #E3F4EB;
  --sw-lime: #B5E234;
  --sw-teal: #2FBFAE;
  --sw-night: #0E1714;

  /* Fonts */
  --sw-font-head: "Literata", Georgia, serif;
  --sw-font-body: "Figtree", system-ui, sans-serif;
  --sw-font-mono: "Martian Mono", ui-monospace, monospace;

  /* Type scale */
  --sw-text-hero: clamp(42px, 6vw, 72px);
  --sw-text-h2: clamp(30px, 3.6vw, 44px);
  --sw-text-h3: 21px;
  --sw-text-lead: 19px;
  --sw-text-body: 16px;
  --sw-text-small: 14px;
  --sw-text-mono: 12px;

  /* Shape */
  --sw-radius-sm: 4px;
  --sw-radius: 6px;
  --sw-radius-lg: 12px;
  --sw-radius-xl: 18px;
  --sw-border: 1px solid var(--sw-line);

  /* Shadows: soft, cool and low */
  --sw-shadow: 0 1px 2px rgba(15, 21, 18, 0.05), 0 4px 14px rgba(15, 21, 18, 0.04);
  --sw-shadow-lg: 0 2px 4px rgba(15, 21, 18, 0.04), 0 24px 60px rgba(12, 143, 99, 0.10);

  /* String art */
  --sw-wave-from: var(--sw-lime);
  --sw-wave-to: var(--sw-teal);
  --sw-wave-width: 1.1px;

  /* Space */
  --sw-space-1: 4px;
  --sw-space-2: 8px;
  --sw-space-3: 12px;
  --sw-space-4: 16px;
  --sw-space-5: 24px;
  --sw-space-6: 32px;
  --sw-space-7: 48px;
  --sw-space-8: 72px;
  --sw-space-9: 112px;
  --sw-container: 1120px;
  --sw-text-width: 680px;
}
