/* ==========================================================================
   Design tokens — colours sampled from assets/logo/logo.jpg
   ========================================================================== */

:root {
  /* Brand */
  --color-navy: #233448;        /* Clock face / wordmark */
  --color-navy-dark: #1a2736;
  --color-teal: #2c6a80;        /* Dial ring / strapline */
  --color-teal-dark: #22566a;
  --color-copper: #c47d35;      /* Bezel / accent arc */
  --color-copper-dark: #a5642a; /* Accessible copper for text & buttons */
  --color-copper-darker: #8a5222;
  --color-cream: #ece4d8;       /* Clock hands */
  --color-cream-light: #f5f1eb;

  /* Neutrals */
  --color-white: #ffffff;
  --color-text: #2b3440;
  --color-text-muted: #6b7480;
  --color-border: #d9d2c7;
  --color-input-border: #8a8378; /* 3:1+ against white for form controls */
  --color-error: #b3261e;

  /* Semantic */
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-cream-light);
  --color-link: var(--color-teal);
  --color-link-hover: var(--color-teal-dark);
  --color-accent: var(--color-copper-dark);

  /* Typography */
  --font-heading: "Urbanist", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.125rem;
  --text-3xl: 2.5rem;

  --leading-tight: 1.2;
  --leading-normal: 1.65;

  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 66rem;   /* ~1056px — header, cards */
  --container-narrow: 38rem; /* ~608px — reading column */
  --gutter: var(--space-md);

  /* Misc */
  --radius-sm: 3px;
  --radius-md: 6px;
  --transition: 180ms ease;
  --shadow-sm: 0 1px 3px rgb(26 39 54 / 0.12);
}

@media (min-width: 48em) {
  :root {
    --gutter: var(--space-xl);
    --text-2xl: 2.25rem;
    --text-3xl: 3rem;
  }
}
