/* TSDevTech design tokens — the shared theme for every page (home, apps, learning, games). */
:root {
  /* Surfaces & ink */
  --color-bg: #fff8ee;
  --color-bg-alt: #fdeedb;
  --color-surface: #ffffff;
  --color-ink: #1b1530;
  --color-ink-soft: #4a4360;
  --color-line: #1b1530;

  /* Brand + product-line colors (semantic: reuse on product pages) */
  --color-brand: #5b3df5;        /* TSDevTech violet */
  --color-apps: #2f6bff;         /* Apps  = electric blue */
  --color-learn: #ffc83d;        /* Learning = sunny yellow */
  --color-learn-2: #2bc48a;      /* Learning accent green */
  --color-games: #ff5d73;        /* Games = coral */
  --color-games-2: #ff9f43;      /* Games accent orange */

  --color-apps-tint: #e3ebff;
  --color-learn-tint: #fff1c7;
  --color-games-tint: #ffe1e5;

  /* Type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --text-sm: 0.875rem;
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --text-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.75rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max-width: 1200px;

  /* Shape & depth — chunky "sticker" shadows give the playful look */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --border: 2.5px solid var(--color-line);
  --shadow-pop: 5px 5px 0 var(--color-line);
  --shadow-pop-lg: 8px 8px 0 var(--color-line);
  --shadow-soft: 0 20px 40px -20px rgb(27 21 48 / 0.35);

  /* Motion */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 700ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}
