/* ==========================================================================
   VIKRAMSHILA SOFTWARES — DESIGN TOKENS (light theme)
   Single source of truth. Components in modern-style.css read only these
   variables; change a value here and it changes everywhere.

   Contrast (WCAG 2.x, measured):
     text        #0F172A on #FFFFFF  17.9:1
     text-2      #475569 on #FFFFFF   7.6:1  (on --surface-2: 7.2:1)
     text-3      #64748B on #FFFFFF   4.8:1  (on --surface-2: 4.6:1)
     accent      #DB2777 on #FFFFFF   4.6:1  (white on accent: 4.6:1)
     accent-700  #BE185D on #FFFFFF   6.0:1  (use for small accent text)
   ========================================================================== */

:root {
    color-scheme: light;

    /* --- Color ----------------------------------------------------------- */
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-surface-2: #f8fafc;          /* alternate section band */
    --color-surface-3: #f1f5f9;          /* inset / wells */

    --color-text: #0f172a;               /* headings, primary text */
    --color-text-2: #475569;             /* body copy */
    --color-text-3: #64748b;             /* captions, meta */

    --color-border: #e5e7eb;
    --color-border-strong: #d1d5db;

    --color-accent: #db2777;             /* brand pink */
    --color-accent-700: #be185d;         /* hover + small accent text */
    --color-accent-50: #fdf2f8;          /* tints */
    --color-accent-100: #fce7f3;
    --color-on-accent: #ffffff;

    --color-success: #059669;

    /* Decorative only (blobs behind visuals, never behind text) */
    --blob-1: #f9a8d4;
    --blob-2: #c4b5fd;

    /* --- Typography ------------------------------------------------------ */
    --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
        "Segoe UI", Roboto, sans-serif;

    --text-xs: 0.75rem;      /* 12 */
    --text-sm: 0.875rem;     /* 14 */
    --text-base: 1rem;       /* 16 */
    --text-lg: 1.125rem;     /* 18 */
    --text-xl: 1.25rem;      /* 20 */
    --text-2xl: 1.5rem;      /* 24 */
    --text-3xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);  /* 28–36 */
    --text-4xl: clamp(2rem, 1.3rem + 2.4vw, 2.875rem);    /* 32–46 section h2 */
    --text-hero: clamp(2.5rem, 1.6rem + 3.2vw, 4rem);     /* 40–64 hero h1 */

    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-body: 1.65;

    --tracking-tight: -0.035em;
    --tracking-snug: -0.02em;
    --tracking-wide: 0.08em;

    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* --- Spacing (8px base) --------------------------------------------- */
    --space-1: 0.25rem;   /* 4  */
    --space-2: 0.5rem;    /* 8  */
    --space-3: 0.75rem;   /* 12 */
    --space-4: 1rem;      /* 16 */
    --space-5: 1.5rem;    /* 24 */
    --space-6: 2rem;      /* 32 */
    --space-7: 2.5rem;    /* 40 */
    --space-8: 3rem;      /* 48 */
    --space-9: 4rem;      /* 64 */
    --space-10: 5rem;     /* 80 */
    --space-11: 6rem;     /* 96 */
    --space-12: 8rem;     /* 128 */

    --section-y: clamp(4rem, 3rem + 4vw, 7rem);
    --container: 1200px;
    --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
    --header-h: 72px;

    /* --- Radius ---------------------------------------------------------- */
    --radius-sm: 8px;
    --radius-btn: 10px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;

    /* --- Shadow (soft, slate-tinted) ------------------------------------ */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.04), 0 12px 24px -8px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 4px 8px rgba(15, 23, 42, 0.04), 0 24px 48px -16px rgba(15, 23, 42, 0.16);
    --shadow-accent: 0 8px 20px -8px rgba(219, 39, 119, 0.5);

    /* --- Motion ---------------------------------------------------------- */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast: 150ms;
    --dur: 250ms;
    --dur-slow: 600ms;

    /* --- Focus ----------------------------------------------------------- */
    --focus-ring: 0 0 0 3px #ffffff, 0 0 0 5px var(--color-accent-700);
}
