/* ============================================================
   Diwali Moments — Design Tokens
   Single source of truth for colour, type, spacing, motion.
   ============================================================ */

:root {
    /* ---- Brand palette (from the developer brief) ---- */
    --navy:        #241D7A;
    --navy-deep:   #1A1560;   /* darker navy for gradient depth */
    --gold:        #FFBC26;
    --cyan:        #68EDE6;
    --purple:      #834CFC;
    --pink:        #FA7A95;
    --white:       #FFFFFF;
    --yellow:      #FFD700;

    /* ---- Semantic roles ---- */
    --bg:            var(--navy);
    --text:          var(--white);
    --text-muted:    rgba(255, 255, 255, 0.72);
    --accent:        var(--gold);
    --accent-strong: var(--yellow);
    --focus-ring:    var(--cyan);

    /* ---- Typography ---- */
    --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
                 Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Fluid type scale (min → max across viewport) */
    --fs-eyebrow:  clamp(1.25rem, 4.5vw, 1.9rem);
    --fs-title:    clamp(1.5rem, 5.5vw, 2.6rem);
    --fs-question: clamp(1.35rem, 4.8vw, 2.1rem);
    --fs-lead:     clamp(1.15rem, 4vw, 1.7rem);
    --fs-body:     clamp(1rem, 3.4vw, 1.15rem);
    --fs-small:    clamp(0.8rem, 3vw, 0.95rem);

    /* ---- Spacing scale ---- */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;
    --sp-8: 4rem;

    /* ---- Radii & shadow ---- */
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.28);
    --shadow-gold: 0 6px 20px rgba(255, 188, 38, 0.45);

    /* ---- Motion ---- */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur-fast: 0.18s;
    --dur:      0.32s;
    --dur-slow: 0.6s;

    /* ---- Layout ---- */
    --content-max: 560px;
    --gutter: clamp(1.25rem, 5vw, 2.5rem);

    /* ---- Decorative ---- */
    --rangoli-opacity: 0.35;
    --stars-opacity: 0.5;

    /* ---- Z-index ladder ---- */
    --z-backdrop: 0;
    --z-content: 10;
    --z-toggle: 40;
    --z-modal: 100;
}
