/* Design tokens: every colour, size, radius and shadow the site uses, as custom properties. Pages
   and components read these and never hardcode a value, so a theme change is a change here.
   The palette is the cremation-fyi one: sage green on warm off-white with a gentle navy, plus the
   slate greys its cards and badges used. The design is light-only; there is no dark theme. */
:root {
    color-scheme: light;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Brand */
    --color-primary: #4a6b5e;        /* soft sage green */
    --color-primary-hover: #3a544a;
    --color-primary-soft: #e6f0eb;   /* sage tint for badges and icon circles */
    --color-sand: #ede6d9;           /* warm sand accent on dark panels */
    --color-navy: #2b3d4d;           /* headings, dark panels */
    --color-navy-deep: #1f2e3d;
    --color-ink: #14212e;            /* logotype */
    --color-bg: #f9f8f6;             /* warm off-white page */
    --color-surface: #ffffff;
    --color-text: #333333;
    --color-text-2: #5a6b7c;         /* supportive grey-blue */
    --color-border: #e2e8f0;
    --color-success: #2f855a;

    /* Slate scale the cards, chips and footers use */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* State colours */
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-700: #15803d;
    --green-800: #166534;
    --mint-50: #ecfdf5;
    --mint-200: #a7f3d0;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-600: #dc2626;
    --red-800: #991b1b;
    --red-900: #742a2a;
    --blue-50: #eff6ff;
    --blue-200: #bfdbfe;
    --blue-700: #1d4ed8;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #b45309;
    --lime-400: #a3e635;
    --star: #eab308;

    /* Dark footer */
    --footer-bg: #17222c;
    --footer-bg-2: #111922;
    --footer-bg-3: #0c1218;

    /* Typography scale */
    --text-xs: 0.8rem;
    --text-sm: 0.9rem;
    --text-base: 0.96rem;
    --text-lg: 1.15rem;
    --text-xl: 1.3rem;

    /* 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: 2.25rem;
    --space-8: 3rem;
    --space-10: 4rem;
    --space-12: 6rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.06);
    --shadow-hero: 0 16px 40px rgba(0, 0, 0, 0.24);
    --shadow-dropdown: 0 20px 40px rgba(0, 0, 0, 0.25);
    --shadow-sage: 0 6px 20px rgba(74, 107, 94, 0.12);
    --ring: 0 0 0 3px rgba(74, 107, 94, 0.25);

    /* Layout and motion */
    --container: 1200px;
    --measure: 42rem;
    --transition: 0.2s ease;
    --header-height: 80px;
    --header-height-mobile: 64px;
    --hero-gradient: linear-gradient(135deg, #1f2e3d 0%, #3a544a 100%);
    --hero-light-gradient: linear-gradient(180deg, #e6f0eb 0%, #f9f8f6 100%);
}
