/*
 * Atlas Pane: design tokens
 * Functional, honest and calm, like a public map you can trust. The page is a drawn map:
 * cream land, pale blue water, soft green parks, orange main roads with white casing and
 * dashed violet boundaries. Plain white panels float over it with hairline borders, a
 * stack of slate map controls sits on the edge, and a scale bar and mono coordinates keep
 * every screen feeling measured. One route blue does all the actions.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,500;0,600;0,700;1,500&family=Barlow:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Panels and chrome */
  --ap-white: #ffffff;
  --ap-mist: #f5f6f7;          /* panel headers, table stripes, inputs at rest */
  --ap-line: #d9dde1;          /* hairline borders on every panel */
  --ap-line-2: #c3c9cf;        /* input borders, dividers on mist */

  /* The map palette: data and backgrounds, never buttons */
  --ap-land: #f3efe6;          /* the land, used as the page background */
  --ap-land-2: #e9e3d6;        /* built-up blocks */
  --ap-water: #a9cfdc;
  --ap-water-2: #8dbccc;       /* coastlines and river edges */
  --ap-park: #cde3b6;
  --ap-park-2: #b3d197;        /* park edges, allotment plots */
  --ap-road: #f3b78c;          /* main roads, drawn over a white casing */
  --ap-road-2: #e5946a;        /* road edges, motorways */
  --ap-boundary: #9d8cc2;      /* dashed boundaries and selection outlines */
  --ap-contour: #d8cbb0;       /* contour lines on land */

  /* Text */
  --ap-ink: #1e2830;
  --ap-soft: #56616b;
  --ap-faint: #8c959d;
  --ap-label: #6b5a44;         /* italic place labels on the map */

  /* The one action color: route blue */
  --ap-route: #2f68d1;
  --ap-route-dark: #2454ad;
  --ap-route-soft: #e5edfb;

  /* Map controls and the footer */
  --ap-slate: #3b444c;
  --ap-slate-2: #4c565f;
  --ap-on-slate: #f2f4f5;
  --ap-on-slate-soft: rgba(242, 244, 245, .66);

  /* Status, used sparingly inside panels */
  --ap-ok: #3f8a4a;
  --ap-pin: #d6453d;           /* the map pin only */

  /* Type */
  --ap-display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --ap-sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ap-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ap-text-hero: clamp(36px, 4.6vw, 56px);
  --ap-text-h2: clamp(28px, 3vw, 36px);
  --ap-text-h3: 21px;
  --ap-text-stat: clamp(34px, 4vw, 46px);
  --ap-text-lead: 19px;
  --ap-text-body: 16px;
  --ap-text-small: 14px;
  --ap-text-mono: 12px;
  --ap-text-label: 13px;

  --ap-tracking-hero: -.01em;
  --ap-tracking-caps: .08em;

  /* Shape: small radii, hairlines, one soft float shadow for panels on the map */
  --ap-radius-sm: 3px;
  --ap-radius: 5px;
  --ap-radius-lg: 8px;
  --ap-radius-pill: 999px;
  --ap-border: 1px solid var(--ap-line);
  --ap-shadow-float: 0 1px 2px rgba(30, 40, 48, .10), 0 4px 14px rgba(30, 40, 48, .12);
  --ap-shadow-control: 0 1px 3px rgba(30, 40, 48, .25);

  /* Space */
  --ap-section: clamp(56px, 7vw, 96px);
  --ap-container: 1160px;
  --ap-narrow: 700px;
  --ap-gap: 20px;
  --ap-panel-pad: 20px;

  /* Motion */
  --ap-ease: cubic-bezier(.2, .7, .3, 1);
}
