/* Tap The Island design tokens — the single source of colours, type, spacing, radii, elevation and motion.
   Used by the map page (public/app.html) and the Next.js pages (app/globals.css). See DESIGN.md. */
:root{
  color-scheme:dark;

  /* Surfaces, darkest to lightest */
  --bg-deep:#040608;      /* sea on the map */
  --bg:#07090b;           /* page background */
  --panel:#0d1115;        /* cards, sheets, panels */
  --field:#151a1f;        /* inputs, chips, secondary surfaces */
  --raised:#1b2127;       /* hover on dark surfaces */

  /* Lines */
  --line:#232a31;         /* dividers and card borders (decorative) */
  --line-strong:#3a434b;  /* hover borders */
  --edge:#5c6770;         /* input borders: 3:1 against panel and field (WCAG 1.4.11) */

  /* Text */
  --ink:#f2f5f7;          /* main text and primary buttons */
  --ink-hi:#ffffff;       /* primary button hover */
  --mute:#8e99a3;         /* secondary text: 6.5:1 on panel */
  --mute-2:#7d8892;       /* placeholders and credits: 4.8:1 on field */
  --on-ink:#07090b;       /* text on white buttons */

  /* Status: text colour, border, background */
  --ok:#7fd4a2;   --ok-line:#24402f;
  --warn:#f0c674; --warn-line:#4a3e22; --warn-bg:#2a2410;
  --bad:#f08c7c;  --bad-line:#4a2a27;
  --info:#4aa8ff;         /* your location on the map */

  /* Type: Inter Tight only; weight carries hierarchy */
  --font:"Inter Tight",system-ui,sans-serif;
  --t-xs:12.5px; --t-sm:13.5px; --t-md:14.5px; --t-base:16px; --t-lg:17px; --t-xl:22px;
  --t-h1:clamp(28px,4.4vw,44px);
  --t-display:clamp(40px,6vw,68px);
  --t-num:clamp(34px,5vw,52px);
  --track-tight:-.035em;

  /* Space (4px grid) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px;

  /* Radii */
  --r-sm:12px;            /* inputs, small controls */
  --r-md:16px;            /* cards inside panels, offers */
  --r-lg:20px;            /* boxes, sheets */
  --r-pill:999px;         /* buttons, chips, badges */

  /* Elevation (only for things that float over the map or page) */
  --sh-1:0 6px 20px rgba(0,0,0,.45);
  --sh-2:0 18px 50px rgba(0,0,0,.55);

  /* Motion */
  --dur:220ms; --ease:cubic-bezier(.2,.7,.2,1);

  /* Touch */
  --hit:44px;
}
@media(prefers-reduced-motion:reduce){:root{--dur:0ms}}
