/*
  tokens.css
  Design tokens: every colour, font, size, space, radius, shadow and timing
  used on the site. Change a value here and it changes everywhere.
*/

:root {
  /* Colours */
  --color-bg: #fafaf7;              /* off-white page background */
  --color-surface: #ffffff;         /* cards, panels */
  --color-text: #151a17;            /* near-black body text */
  --color-text-muted: #4f5852;      /* secondary text (AA on bg and tint) */
  --color-border: #e2e5df;          /* soft borders */
  --color-border-strong: #c9cec6;   /* form fields, hovered borders */

  --color-accent: #1d5b45;          /* deep green: buttons, links, highlights */
  --color-accent-hover: #154635;
  --color-accent-tint: #eef4f0;     /* alternating section background */
  --color-accent-soft: #d7e6dd;     /* small fills such as icon backgrounds */
  --color-on-accent: #ffffff;       /* text on accent */

  --color-error: #a3261b;
  --color-backdrop: rgb(13 20 16 / 0.55);

  /* Typography */
  --font-heading: "Inter Tight", "Inter Tight Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;

  --text-xs: 0.8125rem;   /* 13px */
  --text-sm: 0.9375rem;   /* 15px */
  --text-base: 1.0625rem; /* 17px */
  --text-lg: 1.1875rem;   /* 19px */
  --text-h4: 1.1875rem;
  --text-h3: 1.375rem;
  --text-h2: clamp(1.875rem, 1.35rem + 2.1vw, 2.75rem);
  --text-h1: clamp(2.25rem, 1.5rem + 3vw, 3.625rem);
  --text-price: clamp(3rem, 2.4rem + 2.4vw, 4.25rem);

  --line-height-body: 1.65;
  --line-height-heading: 1.1;
  --letter-spacing-heading: -0.025em;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Spacing scale */
  --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.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --section-padding: clamp(4.5rem, 3rem + 6vw, 8rem);

  /* Layout */
  --container-max: 1160px;
  --container-gutter: clamp(1rem, 4vw, 2rem);
  --header-height: 4.5rem;

  /* Shape and depth */
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgb(21 26 23 / 0.05);
  --shadow-md: 0 1px 2px rgb(21 26 23 / 0.04), 0 8px 24px -12px rgb(21 26 23 / 0.12);
  --shadow-lg: 0 2px 4px rgb(21 26 23 / 0.04), 0 24px 48px -20px rgb(21 26 23 / 0.22);

  /* Motion */
  --duration-fast: 160ms;
  --duration-base: 250ms;
  --duration-reveal: 700ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --reveal-distance: 20px;
}
