/* ============================================================
   CÁDIZ BUS — TYPOGRAPHY TOKENS
   The app (Ionic) and the landing page both use the native
   system font stack — no webfonts are shipped. Times on the
   arrivals "board" use a tabular monospace face.
   ============================================================ */
:root {
  /* --- Families --- */
  --font-body: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;

  /* --- Weights --- */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  /* --- Type scale (rem) --- */
  --text-display: clamp(2.4rem, 6vw, 4.6rem); /* landing hero */
  --text-h2: clamp(1.6rem, 3.4vw, 2.3rem);    /* section heads */
  --text-h1-app: 1.3rem;   /* screen title (stop detail) */
  --text-h3: 1.18rem;      /* card / route node heading */
  --text-lg: 1.09rem;      /* lead paragraph */
  --text-base: 1rem;       /* body */
  --text-sm: 0.9rem;       /* dense list text */
  --text-xs: 0.85rem;      /* meta, chips, distance */
  --text-2xs: 0.78rem;     /* eyebrow / mono labels */
  --text-3xs: 0.72rem;     /* uppercase eyebrow */

  /* --- Line heights --- */
  --leading-tight: 1.02;   /* display */
  --leading-snug: 1.15;    /* headings */
  --leading-normal: 1.3;   /* subheads */
  --leading-relaxed: 1.6;  /* body */

  /* --- Tracking --- */
  --tracking-display: -0.015em;
  --tracking-tight: -0.01em;
  --tracking-eyebrow: 0.14em; /* uppercase eyebrow */
  --tracking-mono: 0.04em;
}
