/* Cirque design tokens. Every value is read from the explore page
   (snow/static/snow/pages/romainmap.css and snow/templates/snow/dc/romainmap_template.html), not invented.
   Rule: pages use these tokens, not literal values. See design/SYSTEM.md. */
:root {
  /* Corners */
  /* Sharper corners, as Render's site (Romain, 6 Nov 2026: "not too rounded"): 2 px controls, 4 px cards. */
  --r-card: 4px;       /* cards, panels, tiles: .as-tl-card, .as-acct-pill, .maplibregl-popup-content */
  --r-menu: 4px;        /* menus and floating result lists: #as-menu, .as-mcard, #as-tripres */
  --r-btn: 2px;         /* buttons, inputs, small controls */
  --r-pill: 4px;        /* pill containers (search, switches) */
  --r-pill-item: 3px;   /* the items inside a pill */
  --r-pop: 4px;         /* map tooltips: .ski-tip */

  /* Type */
  /* Type after Render's site (Romain, 6 Nov 2026): Render uses PP Neue Montreal + PP Neue Montreal Mono (a paid licence);
     Geist + Geist Mono (Vercel, SIL Open Font Licence, Google Fonts) are the free stand-in until a licence is bought.
     Weights 400 and 500 (600 for figures), headings medium with tight tracking, small text slightly open. */
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --font-serif: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;

  /* Colour */
  --border: #e4e4e7;      /* card, menu and control borders */
  --border-soft: #f0f0f2; /* row dividers inside a card */
  --ink: #24282c;         /* primary text, filled controls */
  --ink-2: #60656d;       /* secondary text */
  --ink-3: #8b9097;       /* labels */
  --ink-4: #a1a1aa;       /* quiet marks only, never body text */
  --brand: #3b4a40;       /* Archean green */
  --surface: #ffffff;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .08); /* .as-tl-card */
  --shadow-menu: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .08); /* .as-mcard */
  --shadow-pop: 0 8px 24px rgba(31, 42, 36, .18);                             /* map popups */

  /* Spacing (px steps used on the explore page) */
  --sp-1: 4px;
  --sp-2: 6px;
  --sp-3: 8px;
  --sp-4: 12px;
  --sp-5: 16px;
  --sp-6: 24px;
}

/* Render-style type, everywhere tokens.css loads. */
body{font-family:var(--font);letter-spacing:.005em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3{font-weight:500;letter-spacing:-.02em}
h1{letter-spacing:-.03em}
code,kbd,samp,pre{font-family:var(--font-mono)}
