/* Design tokens: every color, size and timing lives here.
   Change a token once and every page follows. */
@layer tokens {
  :root {
    /* Colors: warm-spring teal + sunset coral (coral is from the original theme-color) */
    --color-primary: #0f766e;
    --color-primary-strong: #115e59;
    --color-accent: #ff5a5f;
    --color-ink: #1c2421;
    --color-ink-soft: #55625d;
    --color-surface: #fbfaf7;
    --color-surface-alt: #f1efe8;
    --color-line: #e2ded3;
    --color-on-image: #ffffff;

    /* Fluid type scale: clamp(min, preferred-vw, max) grows smoothly with the viewport */
    --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
    --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
    --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
    --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
    --step-4: clamp(2.6rem, 1.8rem + 4vw, 5rem);

    /* Fluid spacing */
    --space-2xs: clamp(0.25rem, 0.2rem + 0.2vw, 0.375rem);
    --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    --space-s: clamp(0.75rem, 0.7rem + 0.3vw, 1rem);
    --space-m: clamp(1rem, 0.9rem + 0.6vw, 1.5rem);
    --space-l: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    --space-xl: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
    --space-2xl: clamp(4rem, 3rem + 5vw, 8rem);

    --radius-s: 0.5rem;
    --radius-m: 1rem;
    --radius-l: 1.75rem;

    --shadow-s: 0 1px 2px rgb(0 0 0 / 0.06), 0 2px 8px rgb(0 0 0 / 0.06);
    --shadow-m: 0 8px 30px rgb(0 0 0 / 0.12);

    --container: 72rem;
    --header-h: 4.5rem;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  }
}
