/* =====================================================================
   THEME - change the whole look of the website from this one file.
   ---------------------------------------------------------------------
   To change the main colour (e.g. from blue to green), change
   --brand-hue below. Or set each --color-* value directly with any
   colour (e.g. #1d4f91). Everything else on the site uses these values.
   ===================================================================== */

:root {
  /* ---- Brand colour ---- */
  --brand-hue: 214;          /* 214 = blue. Try 160 (teal), 140 (green), 260 (purple), 0 (red) */
  --brand-saturation: 66%;

  --color-primary:        hsl(var(--brand-hue) var(--brand-saturation) 34%);  /* buttons, links, headings accents */
  --color-primary-dark:   hsl(var(--brand-hue) var(--brand-saturation) 22%);  /* hover, dark sections, footer */
  --color-primary-darker: hsl(var(--brand-hue) 60% 15%);
  --color-primary-light:  hsl(var(--brand-hue) 80% 96%);                       /* soft backgrounds */
  --color-primary-soft:   hsl(var(--brand-hue) 70% 90%);                       /* borders, highlights */
  --color-accent:         hsl(var(--brand-hue) 85% 62%);                       /* small highlights on dark backgrounds */
  --color-star:           #e7a614;                                             /* review stars */
  --color-logo:           #ffffff;                                             /* logo wording in the header (on the navy bar) */

  /* ---- Neutrals ---- */
  --color-bg:       #ffffff;
  --color-surface:  hsl(var(--brand-hue) 40% 98%);
  --color-text:     #1c2430;
  --color-muted:    #4a5566;
  --color-border:   hsl(var(--brand-hue) 25% 87%);
  --color-on-primary: #ffffff;   /* text on top of primary colour */
  --color-success:  #1e7a46;
  --color-error:    #b42318;

  /* ---- Typography ----
     System fonts: instant loading, no external requests. */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-body);
  --font-size-base: 1.125rem;    /* 18px - larger than usual for easy reading */
  --line-height: 1.65;
  --heading-weight: 700;

  /* ---- Layout ---- */
  --container: 1180px;
  --prose-width: 72ch;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgb(16 24 40 / .06), 0 4px 12px rgb(16 24 40 / .06);
  --shadow-lg: 0 12px 32px rgb(16 24 40 / .12);

  /* ---- Spacing scale ---- */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
}
