/* ==========================================================================
   Design tokens — Garage Door Saver
   Brand colors are the ORIGINAL site palette. Do not invent new hues.
   ========================================================================== */
:root {
    /* Brand (original) */
    --primary-color: #1d4e1d;
    --primary-dark: #0f2e0f;
    --primary-light: #2d7a2d;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;

    /* Neutrals (original) */
    --dark: #1f2937;
    --dark-light: #374151;
    --gray: #6b7280;
    --gray-border: #d1d5db;
    --light-gray: #f3f4f6;
    --white: #ffffff;

    /* Derived tints (brand-green / amber, low chroma — alpha of brand colors only) */
    --cream: #f7f8f4;
    --line: #e3e6df;
    --primary-tint: rgba(29, 78, 29, 0.08);
    --primary-tint-2: rgba(29, 78, 29, 0.14);
    --secondary-tint: rgba(245, 158, 11, 0.14);
    --secondary-tint-2: rgba(245, 158, 11, 0.28);
    --on-dark: #eef3ee;
    --on-dark-muted: rgba(255, 255, 255, 0.7);
    --on-dark-line: rgba(255, 255, 255, 0.14);
    --on-dark-panel: rgba(255, 255, 255, 0.06);

    /* Gradients (original hero gradient) */
    --gradient-brand: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 55%, var(--primary-dark) 100%);
    --gradient-amber: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);

    /* Typography */
    --font-display: 'Barlow Semi Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
    --font-sans: var(--font-body);
    --fs-xs: 0.8125rem;
    --fs-sm: 0.9375rem;
    --fs-base: 1.0625rem;
    --fs-lg: 1.1875rem;
    --fs-xl: 1.375rem;
    --fs-h3: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
    --fs-h2: clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem);
    --fs-h1: clamp(2.9rem, 1.5rem + 4.4vw, 4.9rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --section-y: clamp(4.5rem, 3rem + 5vw, 8rem);

    /* Radii */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 46, 15, 0.06), 0 1px 3px rgba(15, 46, 15, 0.08);
    --shadow: 0 1px 2px rgba(15, 46, 15, 0.06), 0 12px 32px -12px rgba(15, 46, 15, 0.18);
    --shadow-lg: 0 20px 40px -12px rgba(15, 46, 15, 0.22);
    --shadow-xl: 0 40px 80px -24px rgba(15, 46, 15, 0.45);
    --shadow-amber: 0 10px 30px -8px rgba(217, 119, 6, 0.55);

    /* Layout */
    --container: 1240px;
    --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
    --nav-h: 76px;
    --topbar-h: 38px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast: 180ms;
    --dur: 320ms;
    --dur-slow: 700ms;

    /* Layers */
    --z-nav: 1000;
    --z-mobile-bar: 900;
    --z-lightbox: 2000;
}
