/* tokens.css: the site's own visual system. Colors are drawn from the
   extension's real "Dark" theme (see popup.css) and scaled for a marketing
   surface. This is a distinct namespace (--site-*) from the DashboardMock's
   tokens (--bg-base etc., scoped under .dbm) so the two never collide,
   even though they share the same source palette.

   This file also defines the fluid type + spacing system used across the
   redesign: a small set of clamp()-based tokens instead of a fixed size at
   every breakpoint, so hierarchy scales smoothly between phone and desktop
   rather than jumping at each media query. */

:root {
  --site-bg-0: #0a0d12;
  --site-bg-1: #0d1117;
  --site-surface: #12171f;
  --site-elevated: #171d27;
  --site-border: rgba(255, 255, 255, 0.07);
  --site-border-strong: rgba(255, 255, 255, 0.14);

  --site-text-primary: #e6edf3;
  --site-text-secondary: #a9b3bf;
  --site-text-muted: #7d8590;

  --site-accent: #1d9e75;
  --site-accent-deep: #0f6e56;
  --site-accent-soft: rgba(29, 158, 117, 0.12);
  --site-accent-text: #e1f5ee;
  --site-danger: #e8405a;

  --site-font: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --site-font-mono: "SFMono-Regular", Consolas, monospace;

  --site-radius-sm: 6px;
  --site-radius-md: 10px;
  --site-radius-lg: 16px;
  --site-radius-xl: 22px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Fluid section rhythm: three tiers of "cinematic" vertical breathing
     room. Each scales continuously with viewport width instead of jumping
     between fixed values at a handful of media-query breakpoints, and
     each has a floor so mobile never loses whitespace entirely. */
  --pad-section: clamp(4.5rem, 3vw + 3.4rem, 12.5rem);
  --pad-section-md: clamp(3.5rem, 2.6vw + 2.6rem, 9rem);
  --pad-section-tight: clamp(3rem, 2vw + 2rem, 6.5rem);

  --container-w: 1180px;
  /* Wider stage reserved for dominant product visuals (the hero window,
     large mocks) so they can read as bigger than body-copy measure without
     the page losing its edges entirely. */
  --stage-w: 1000px;
  --measure: 62ch;
  --measure-narrow: 42ch;

  /* Measured render height of .nav (sticky header) at every breakpoint;
     used so the hero can fill exactly one viewport minus the header,
     with no next-section content peeking in before the user scrolls. */
  --nav-height: 72px;

  /* ── Fluid type scale ──────────────────────────────────────────────
     hero: 1 headline per page, ~36px (mobile) to ~76px (desktop)
     display: major section headings, ~23px to ~42px
     heading: supporting sub-headings, ~17px to ~25px
     body-lg: intro/lede copy, 17px to 20px
     body: running copy, 17px
     meta: small labels/captions, 13-15px */
  --fs-hero: clamp(2.25rem, 1.5rem + 3.5vw, 4.75rem);
  --fs-display: clamp(1.5rem, 1rem + 1.8vw, 2.75rem);
  --fs-heading: clamp(1.125rem, 0.9rem + 0.7vw, 1.625rem);
  --fs-body-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-meta: 0.875rem;
  --fs-micro: 0.8125rem;

  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-body: 1.65;

  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 450ms;
  --dur-slower: 750ms;
}
