/* TOGOPEPTIDE — Design tokens
   Layer 1 of 5 · do not inherit from legacy main.css
   Dark premium surface + restrained accent. */

:root {
  /* Surfaces */
  --color-bg: #050505;
  --color-bg-elevated: #0b0b0d;
  --color-surface: #111114;
  --color-surface-raised: #17171b;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-border-accent: rgba(224, 27, 27, 0.28);

  /* Text */
  --color-text: #ffffff;
  --color-text-soft: #d6d6d9;
  --color-text-muted: #8c8c92;
  --color-text-faint: #5a5a60;

  /* Accent (restrained) */
  --color-accent: #e01b1b;
  --color-accent-hover: #ff3030;
  --color-accent-soft: rgba(224, 27, 27, 0.12);
  --color-accent-glow: rgba(224, 27, 27, 0.35);

  /* Semantic */
  --color-success: #2ec27e;
  --color-warning: #f0b429;
  --color-danger: #e01b1b;

  /* Spacing — 8pt scale */
  --space-0: 0;
  --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;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-lg: 17px;
  --text-xl: 20px;
  --text-2xl: clamp(22px, 2.8vw, 28px);
  --text-3xl: clamp(26px, 4vw, 36px);
  --text-4xl: clamp(32px, 5.5vw, 48px);
  --text-display: clamp(38px, 6.4vw, 60px);

  --leading-tight: 1.12;
  --leading-snug: 1.28;
  --leading-normal: 1.55;
  --leading-loose: 1.78;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  --letter-tight: -0.015em;
  --letter-tighter: -0.025em;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 20px;
  --container-pad-lg: 32px;

  --header-height: 64px;
  --header-height-mobile: 56px;
  --trust-bar-height: 40px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-instant: 80ms;
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 360ms;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 3px 8px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.48);
  --shadow-glow: 0 0 0 1px var(--color-border-accent),
                 0 14px 40px var(--color-accent-glow);

  /* Stacking */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 80;
  --z-header: 100;
  --z-overlay: 500;
  --z-modal: 1000;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-instant: 0ms;
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
  }
}
