/* Explain: Theme design tokens (colors, fonts) for consistent styling. */
/* Theme tokens: colors taken from the Cooklist logo (deep herb green + tomato red) on a warm cream background. */
:root {
    --primary-color: #1E6B3C;
    --primary-hover: #165530;
    --secondary-color: #F4C3AC;
    --accent-color: #E0623A;
    --accent-strong: #C4441F;
    --accent-strong-hover: #A33618;
    --background-color: #FBF8F2;
    --surface-color: #FFFFFF;
    --surface-alt: #EEF4EC;
    --text-color: #1F2D24;
    --text-muted: #5F6D64;
    --border-color: #E5E2D8;
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Rubik', sans-serif;

    /* daisyUI component colors follow the brand palette. */
    --color-primary: var(--primary-color);
    --color-primary-content: #ffffff;
    --color-secondary: var(--secondary-color);
    --color-secondary-content: var(--text-color);
    --color-accent: var(--accent-strong);
    --color-accent-content: #ffffff;

    /* Type scale — one set of text sizes for every page.
       Redefines Tailwind's text-xs … text-9xl: large sizes shrink smoothly on
       phones, small sizes stay readable, line heights suit Hebrew text. */
    --text-xs: 0.8125rem;
    --text-xs--line-height: 1.5;
    --text-sm: 0.875rem;
    --text-sm--line-height: 1.55;
    --text-base: 1rem;
    --text-base--line-height: 1.6;
    --text-lg: 1.125rem;
    --text-lg--line-height: 1.55;
    --text-xl: 1.25rem;
    --text-xl--line-height: 1.45;
    --text-2xl: clamp(1.375rem, 1.3rem + 0.35vw, 1.5rem);
    --text-2xl--line-height: 1.35;
    --text-3xl: clamp(1.5rem, 1.32rem + 0.8vw, 1.875rem);
    --text-3xl--line-height: 1.3;
    --text-4xl: clamp(1.75rem, 1.45rem + 1.35vw, 2.25rem);
    --text-4xl--line-height: 1.2;
    --text-5xl: clamp(2rem, 1.5rem + 2.2vw, 3rem);
    --text-5xl--line-height: 1.15;
    --text-6xl: clamp(2.25rem, 1.55rem + 3.1vw, 3.75rem);
    --text-6xl--line-height: 1.1;
    --text-7xl: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
    --text-7xl--line-height: 1.1;
    --text-8xl: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
    --text-8xl--line-height: 1.05;
    --text-9xl: clamp(3rem, 1.6rem + 6vw, 6.5rem);
    --text-9xl--line-height: 1.05;
}