/**
 * FlingNow - Design System
 * Silence. Intention. Presence.
 */

/* Typography - Cormorant for elegance, Inter for clarity */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
    /* ========================================
       PALETTE - Neutral warmth
       ======================================== */

    /* Backgrounds - Deep, quiet */
    --bg-void: #0a0a0a;
    --bg-deep: #0f0f0f;
    --bg-base: #141414;
    --bg-raised: #1a1a1a;
    --bg-surface: #222222;
    --bg-hover: #2a2a2a;

    /* Text - Soft, never pure white */
    --text-primary: #e8e6e3;
    --text-secondary: #a8a5a0;
    --text-tertiary: #6b6965;
    --text-whisper: #4a4845;

    /* Accent - Barely there, warm ivory */
    --accent: #c4bdb2;
    --accent-muted: rgba(196, 189, 178, 0.12);
    --accent-whisper: rgba(196, 189, 178, 0.06);

    /* Borders - Almost invisible */
    --border-invisible: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-visible: rgba(255, 255, 255, 0.1);

    /* Danger/Error - Muted red */
    --text-danger: #ef5350;
    --bg-danger: #dc2626;
    --bg-danger-hover: #b91c1c;
    --bg-danger-subtle: rgba(220, 38, 38, 0.12);
    --border-danger: #dc2626;

    /* ========================================
       TYPOGRAPHY
       ======================================== */

    /* Font families */
    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Scale - Generous, breathing */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3.5rem;
    --text-display: 4.5rem;

    /* Weights */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;

    /* Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.12em;
    --tracking-widest: 0.2em;

    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* ========================================
       SPACING - Generous, intentional
       ======================================== */

    --space-px: 1px;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* ========================================
       MOTION - Slow, deliberate
       ======================================== */

    --duration-fast: 300ms;
    --duration-base: 500ms;
    --duration-slow: 700ms;
    --duration-slower: 900ms;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* ========================================
       EFFECTS
       ======================================== */

    --radius-sm: 2px;
    --radius-base: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);

    /* Noise texture overlay */
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
