/* ==========================================================================
   Clone.it — Design Tokens
   CSS custom properties only. Consumed by base, background, components, lead.
   ========================================================================== */

:root {
  /* ----- Surfaces ----- */
  --color-bg: #06060A;
  --color-bg-2: #08080F;
  --color-surface-1: #101018;
  --color-surface-2: #14141E;

  /* ----- Text ----- */
  --color-fg: #F5F5F0;
  --color-fg-muted: #A1A1AA;
  --color-fg-dim: #6B6B78;

  /* ----- Borders ----- */
  --color-border: #1A1A22;
  --color-border-hi: #2A2A38;

  /* ----- Accent / glow ----- */
  --color-glow-blue: #3B5BFF;
  --color-glow-warm: #7A6BFF;
  --color-horizon: #C8D4FF;

  /* ----- Button ----- */
  --color-btn-bg: #FFFFFF;
  --color-btn-fg: #0A0A10;

  /* ----- Alert ----- */
  --color-danger: #FF6B7A;
  --color-success: #84F7B0;

  /* ----- Radii ----- */
  --radius-chip: 999px;
  --radius-input: 14px;
  --radius-btn: 12px;
  --radius-card: 18px;

  /* ----- Spacing (4px base) ----- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 96px;

  /* ----- Type ----- */
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", "Inter var", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-chip: 13px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-tiny: 11px;
  --fs-logo: clamp(64px, 12vw, 128px);
  --fs-btn: 14px;
  --fs-input: 16px;

  /* ----- Shadows / glows ----- */
  --shadow-btn: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(255, 255, 255, .06);
  --shadow-btn-hover: 0 2px 4px rgba(0, 0, 0, .4), 0 12px 30px rgba(255, 255, 255, .10);
  --ring-input-focus: 0 0 0 1px rgba(120, 140, 255, .55), 0 0 24px rgba(120, 140, 255, .18);

  /* ----- Motion ----- */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
}

/* Reduced motion collapses durations so no per-selector override is needed
   for transitions that reference these tokens. Individual keyframe-based
   animations still need their own media query guards in component CSS. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
  }
}
