/*
 * Non-brand design tokens. These are universal across every store.
 * Brand tokens (colours, fonts) are injected at runtime by config-loader.js
 * from site.config.js, so they intentionally don't live here.
 */

:root {
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  3rem;

  --leading-tight: 1.2;
  --leading-body:  1.5;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);

  --max-w: 1200px;
  --page-pad: var(--space-4);

  /* Functional (non-brand) tokens used by image overlays. White text + a dark
   * tint is a universal hero-image convention, not a brand decision — exposing
   * them as tokens keeps the no-hardcoded-brand-values rule airtight while
   * making the overlay tweakable per store if needed. */
  --color-on-overlay: #ffffff;
  --overlay-tint: rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  :root {
    --page-pad: var(--space-6);
  }
}
