/* ═══════════════════════════════════════════════════════════════
   SOLONAS Design Tokens — Apple.com-inspired
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Color palette ─────────────────────────────────── */
  --color-bg:              #ffffff;
  --color-surface:         #ffffff;
  --color-surface-alt:     #f5f5f7;
  --color-surface-elevated:#ffffff;
  --color-text:            #1d1d1f;
  --color-text-secondary:  #6e6e73;
  --color-text-tertiary:   #86868b;
  --color-accent:          #0071e3;
  --color-accent-hover:    #0077ed;
  --color-accent-soft:     rgba(0, 113, 227, 0.08);
  --color-border:          rgba(0, 0, 0, 0.08);
  --color-border-strong:   rgba(0, 0, 0, 0.16);
  --color-divider:         #d2d2d7;

  /* ── Shadows — multi-layered, Apple-style ──────────── */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 14px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:   0 14px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-hero: 0 30px 80px rgba(0,0,0,0.14), 0 10px 30px rgba(0,0,0,0.08);

  /* ── Typography ────────────────────────────────────── */
  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;

  --leading-tight:   1.08;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.7;

  --tracking-tight:  -0.03em;
  --tracking-snug:   -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-caps:   0.12em;

  /* ── Spacing scale ─────────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-section: 100px;

  /* ── Layout ────────────────────────────────────────── */
  --max-width:      980px;
  --max-width-wide: 1120px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  /* ── Header ────────────────────────────────────────── */
  --header-h:    48px;
  --header-blur: 20px;

  /* ── Transitions ───────────────────────────────────── */
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   0.15s;
  --duration-normal: 0.3s;
  --duration-slow:   0.6s;
}

/* ── Dark mode ─────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:              #000000;
    --color-surface:         #1c1c1e;
    --color-surface-alt:     #111113;
    --color-surface-elevated:#2c2c2e;
    --color-text:            #f5f5f7;
    --color-text-secondary:  #a1a1a6;
    --color-text-tertiary:   #6e6e73;
    --color-accent:          #2997ff;
    --color-accent-hover:    #40a9ff;
    --color-accent-soft:     rgba(41, 151, 255, 0.12);
    --color-border:          rgba(255, 255, 255, 0.1);
    --color-border-strong:   rgba(255, 255, 255, 0.16);
    --color-divider:         #424245;

    --shadow-sm:   0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:   0 4px 14px rgba(0,0,0,0.4);
    --shadow-lg:   0 14px 40px rgba(0,0,0,0.5);
    --shadow-xl:   0 20px 60px rgba(0,0,0,0.6);
    --shadow-hero: 0 30px 80px rgba(0,0,0,0.7);
  }
}
