/* Trail Base System – písmo v1 (web trailbasesystem.cz)
   Web nesmí načítat nic zvenku, proto písma hostujte sami:
   stáhněte WOFF2 soubory (např. přes gwfh.mranftl.com, sada "latin-ext")
   a uložte je do složky /fonts vedle index.html. */

@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --tbs-font-head: "Space Grotesk", system-ui, sans-serif;
  --tbs-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--tbs-font-body);
  font-size: 1.0625rem;   /* 17 px */
  line-height: 1.6;
}

h1, h2, h3, .tbs-head { font-family: var(--tbs-font-head); line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; }

small, .tbs-small { font-size: 0.875rem; }
.tbs-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* Čísla stejné šířky: tempo, tep, km, ceny */
.tbs-num, table { font-variant-numeric: tabular-nums; }
.tbs-stat { font-family: var(--tbs-font-head); font-weight: 700; font-size: 2.25rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
