/* Lab Access · Brand Orange Theme */

:root {
  /* ── Paper ── */
  --color-paper:    #ffffff;
  --color-paper-2:  #f5f7fa;
  --color-paper-3:  #e8ecf1;

  /* ── Ink ── */
  --color-ink:      #1a1a2e;
  --color-ink-2:    #4a4a5a;
  --color-ink-3:    #7a7a8a;

  /* ── Neutrals ── */
  --color-rule:     #d1d9e0;
  --color-rule-2:   #b8c4d0;
  --color-muted:    #8a94a0;

  /* ── Accent (brand orange) ── */
  --color-accent:       #C2410C;  /* deep orange: links, small accent text — WCAG AA on white */
  --color-accent-ink:   #ffffff;
  --color-accent-hover: #9A3412;
  --color-focus:        #F2820C;
  --brand-bright:       #F7941E;   /* the logo orange — buttons (dark text) + decorative pops */

  /* ── Success / CTA ── */
  --color-success:      #28a745;
  --color-success-hover:#218838;

  /* ── Fonts ── */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", monospace;

  /* ── Type scale (major third, 1.25) ── */
  --text-xs:   0.64rem;
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-md:   1.25rem;
  --text-lg:   1.5625rem;
  --text-xl:   1.9531rem;
  --text-2xl:  2.4414rem;
  --text-3xl:  3.0518rem;
  --text-display: clamp(2.5rem, 5vw + 1rem, 4rem);
  --text-display-s: clamp(2rem, 4vw + 0.5rem, 3rem);

  /* ── Spacing (4-pt) ── */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  /* ── Motion ── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro:   120ms;
  --dur-short:   220ms;
  --dur-long:    420ms;

  /* ── Radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  /* ── Z-index ── */
  --z-base:     1;
  --z-raised:   10;
  --z-sticky:   200;
  --z-modal:    400;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 150ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
  }
}
