/* ==========================================================================
   Design tokens — soft editoryal tasarım sistemi (açık & koyu tema)
   ========================================================================== */

:root {
  /* Renkler — yumuşak sıcak-beyaz palet (Behance soft editorial) */
  --color-bg: #fcfcfb;
  --color-surface: #f3f3f1;
  --color-surface-elevated: #ffffff;
  --color-surface-strong: #e7e7e4;
  --color-ink: #111215;
  --color-ink-soft: #52545b;
  --color-ink-faint: #868890;
  --color-line: #e5e5e2;
  --color-line-strong: #d2d2ce;
  --color-accent: #1849d6;
  --color-accent-soft: #eaf0ff;
  --color-inverse-bg: #111215;
  --color-inverse-ink: #fcfcfb;
  --color-inverse-soft: #a4a6ae;
  --color-focus: #1849d6;
  --color-success: #16a34a;

  /* Tipografi */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.2rem;
  --text-xl: 1.45rem;
  --text-display: clamp(2.5rem, 6.2vw, 4.85rem);
  --text-title: clamp(1.85rem, 3.8vw, 2.85rem);

  /* Boşluk ölçeği */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.75rem;

  /* Yarıçap, gölge, hareket */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgb(17 18 21 / 4%), 0 4px 12px rgb(17 18 21 / 3%);
  --shadow-soft: 0 2px 6px rgb(17 18 21 / 4%), 0 18px 42px -10px rgb(17 18 21 / 8%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.45s;

  /* Yerleşim */
  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 76px;
}

[data-theme="dark"] {
  --color-bg: #0c0d10;
  --color-surface: #15171c;
  --color-surface-elevated: #1b1d24;
  --color-surface-strong: #23262f;
  --color-ink: #f3f4f6;
  --color-ink-soft: #a9acb5;
  --color-ink-faint: #757882;
  --color-line: #242730;
  --color-line-strong: #323642;
  --color-accent: #6b93ff;
  --color-accent-soft: #19233c;
  --color-inverse-bg: #16181f;
  --color-inverse-ink: #f3f4f6;
  --color-inverse-soft: #9fa2ac;
  --color-focus: #84a5ff;
  --shadow-xs: 0 1px 3px rgb(0 0 0 / 30%);
  --shadow-soft: 0 20px 48px -12px rgb(0 0 0 / 55%);
}
