/* ═══════════════════════════════════════════
   Design Tokens — billigsteabonnement.dk v2
   Single source of truth for all visual values
   ═══════════════════════════════════════════ */

:root {
  /* ── Colors ── */
  --color-primary:        #05c89e;
  --color-primary-dark:   #04af8a;
  --color-primary-light:  #e8faf4;
  --color-primary-50:     rgba(5, 200, 158, 0.08);
  --color-primary-100:    rgba(5, 200, 158, 0.15);

  --color-text:           #1a1a2e;
  --color-text-secondary: #4b5563;
  --color-text-muted:     #9ca3af;

  --color-surface:        #ffffff;
  --color-background:     #f8fafb;
  --color-border:         #e5e7eb;
  --color-border-light:   #f3f4f6;

  --color-offer:          #dc2626;
  --color-offer-bg:       #fef2f2;
  --color-badge-blue:     #2563eb;
  --color-badge-blue-bg:  #eff6ff;

  --color-star:           #00b67a;  /* Trustpilot green */
  --color-star-empty:     #dcdce6;

  --color-success:        #16a34a;
  --color-warning:        #f59e0b;
  --color-error:          #dc2626;

  /* ── Typography ── */
  --font-family:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:            'SF Mono', 'Fira Code', monospace;

  --text-xs:    0.75rem;   /* 12px */
  --text-sm:    0.875rem;  /* 14px */
  --text-base:  1rem;      /* 16px */
  --text-lg:    1.125rem;  /* 18px */
  --text-xl:    1.25rem;   /* 20px */
  --text-2xl:   1.5rem;    /* 24px */
  --text-3xl:   1.875rem;  /* 30px */
  --text-4xl:   2.25rem;   /* 36px */

  --leading-tight:   1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  --weight-normal:    400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;

  /* ── Spacing (4px base) ── */
  --space-1:  0.25rem;  /* 4px */
  --space-2:  0.5rem;   /* 8px */
  --space-3:  0.75rem;  /* 12px */
  --space-4:  1rem;     /* 16px */
  --space-5:  1.25rem;  /* 20px */
  --space-6:  1.5rem;   /* 24px */
  --space-8:  2rem;     /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */

  /* ── Border radius ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs:    0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm:    0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:    0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-card:  0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -6px rgba(0, 0, 0, 0.05);

  /* ── Transitions ── */
  --transition-fast:   150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow:   300ms ease;

  /* ── Layout ── */
  --max-width:       1200px;
  --max-width-narrow: 800px;
  --header-height:   64px;
  --filter-bar-height: 56px;

  /* ── Z-index scale ── */
  --z-base:     1;
  --z-dropdown: 300;
  --z-sticky:   200;
  --z-overlay:  500;
  --z-modal:    1000;
}

/* Dark mode ready (not active yet, but tokens are here) */
@media (prefers-color-scheme: dark) {
  :root {
    /* Override when needed */
  }
}
