/* Sprint design tokens — Warm Paper system */
:root {
  /* Surfaces */
  --paper-bg: #F5F1E8;
  --paper-surface: #FAF6ED;
  --paper-elev: #FFFBF2;

  /* Text */
  --ink: #1A1814;
  --ink-sec: #52483A;
  --ink-mute: #8B7F6E;

  /* Accents */
  --accent: #C65D3C;
  --accent-pressed: #B04E2F;
  --sage: #6B8E5A;
  --blue-buffer: #7C8FA8;

  /* Lines */
  --border: #D8CFC0;
  --border-subtle: #E8E0D0;
  --shadow: rgba(64, 48, 32, 0.08);
  --shadow-soft: rgba(64, 48, 32, 0.04);

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;

  /* Radii */
  --radius-card: 14px;
  --radius-button: 10px;
  --radius-hero: 20px;
  --radius-chip: 999px;

  /* Type families */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display-ar: "Markazi Text", "Amiri", Georgia, serif;
  --font-body-ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;

  /* Type scale */
  --fs-display: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  --fs-h1: clamp(2rem, 3vw + 1rem, 3rem);
  --fs-h2: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  --fs-h3: clamp(1.125rem, 1vw + 0.75rem, 1.375rem);
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-caps: 0.75rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 420ms;

  /* Layout */
  --max-w-content: 72rem;
  --max-w-prose: 38rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

:lang(ar) {
  --font-display: var(--font-display-ar);
  --font-body: var(--font-body-ar);
}
