/* =====================================================================
   A BIT OF LIFE CLINIC — DESIGN TOKENS
   Locked brand system. Do not introduce black/near-black backgrounds.
   ===================================================================== */

:root {
  /* --- Paper / surface --- */
  --paper: #FFFBF5;           /* warm off-white, primary background */
  --paper-raised: #FFFFFF;    /* cards sitting on paper */
  --paper-tint: #FFF6EA;      /* slightly deeper warm tint for alternating sections */

  /* --- Ink --- */
  --ink: #1A2E22;             /* deep forest green — primary text, never true black */
  --ink-soft: #3F5A48;        /* secondary text */
  --ink-faint: #6E8578;       /* tertiary / meta text */

  /* --- Brand: Pink --- */
  --pink: #E31C79;
  --pink-deep: #B71466;
  --pink-tint: #FDE3EF;

  /* --- Brand: Green --- */
  --green: #4CA83E;
  --green-deep: #2F6E27;
  --green-tint: #E6F5E2;

  /* --- Brand: Yellow --- */
  --yellow: #FFC93C;
  --yellow-deep: #D9A400;
  --yellow-tint: #FFF3D6;

  /* --- Brand: Sky --- */
  --sky: #4BB8E8;
  --sky-deep: #2B8FC0;
  --sky-tint: #E3F5FC;

  /* --- Type families --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-division: 'Caveat', cursive;
  --font-city: 'Alex Brush', cursive;

  /* --- Type scale (fluid) --- */
  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --step-h4: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-h3: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-h2: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  --step-h1: clamp(2.5rem, 1.9rem + 3vw, 3.75rem);

  /* --- Radius --- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* --- Shadow (warm, never grey-black) --- */
  --shadow-sm: 0 2px 10px rgba(183, 20, 102, 0.08);
  --shadow-md: 0 8px 28px rgba(26, 46, 34, 0.10);
  --shadow-lg: 0 18px 48px rgba(26, 46, 34, 0.14);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur-med: 340ms;
  --dur-slow: 600ms;

  /* --- Layout --- */
  --content-width: 1180px;
  --content-narrow: 720px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-med: 0ms;
    --dur-slow: 0ms;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
