/* ==========================================================================
   Design tokens
   Colours were sampled from the Figma frames. Sizes, spacing and radii are
   centralised here so they can be fine-tuned against Figma in one place.
   ========================================================================== */
:root {
  /* Brand */
  --color-primary: #e03500;
  --color-primary-hover: #c22e00;
  --color-primary-soft: #fdece6;

  /* Neutrals */
  --color-black: #000000;
  --color-ink: #111111;
  --color-heading: #0e0e0e;
  --color-text: #444444;
  --color-muted: #6b6b6b;
  --color-white: #ffffff;
  --color-surface: #f7f6f4;
  --color-surface-alt: #f8f8fc;
  --color-border: #e8e8e8;
  --color-border-dark: #2b2b2b;
  --color-on-dark: #ffffff;
  --color-on-dark-muted: #c9c9c9;

  /* Feedback */
  --color-success: #1f8a4c;
  --color-success-soft: #e8f6ee;
  --color-error: #c62828;
  --color-error-soft: #fdecec;

  /* Typography */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2rem, 1.35rem + 2.6vw, 3rem);
  --fs-h1: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
  --fs-h2: clamp(1.625rem, 1.15rem + 1.9vw, 2.625rem);
  --fs-h3: 1.125rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.8125rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.25;
  --lh-body: 1.7;

  /* 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: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(4rem, 2.75rem + 5vw, 7.5rem);

  /* Layout */
  --container: 1132px;                       /* Figma content width */
  --split-gap: clamp(2rem, 1rem + 3vw, 3.5rem); /* 56px between the two 538px Figma columns */
  --container-narrow: 780px;
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 1.5rem);
  --header-h: 72px;

  /* Shape */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --accent-border: 4px solid var(--color-primary);

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 18px 40px rgba(17, 17, 17, 0.16);

  /* Controls */
  --control-h: 48px;
  --control-h-sm: 40px;
  --transition: 0.2s ease;
}
