/* Postal brand tokens — PROVISIONAL.
   Measured from Pierre's Postal app screenshot (2026-10-13).
   When the Postal brand guidebook arrives, replace values here only;
   nothing else in Spotlight hard-codes a colour, radius or face. */

/* Inter (SIL OFL 1.1, see fonts/OFL.txt), self-hosted so Android and Windows guests get the
   same heavy lettering. Apple devices still use SF first, which is what the Postal app shows. */
@font-face {
  font-family: "Inter Spotlight";
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Spotlight";
  src: url("/assets/fonts/inter-latin-ext-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* ground and surfaces */
  --bg: #000000;
  --panel: #141414;          /* sidebar / main panels */
  --raised: #1e1e1e;         /* cards, rows, inputs */
  --raised-hover: #262626;
  --raised-active: #2e2e2e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* nested tiers (admin blocks sit one step above raised) */
  --nested: #2a2a2a;
  --nested-hover: #333333;
  --nested-active: #363636;
  --sunken: #1a1a1a;         /* segmented controls, steppers */
  --bubble: #2c2c2c;         /* icon circles inside rows */
  --input-hover: #222222;
  --track: #3a3a3a;          /* unfilled waveform bars, switch off */
  --slide-bg: #0b0b0b;       /* the preview slide */
  --primary-hover: #e9e9e9;
  --danger-ink: #ffb4ad;     /* error text on a colour field */

  /* ink */
  --fg: #ffffff;
  --fg-2: #a1a1a1;           /* secondary lines: "Group tracks and sell them together" */
  --fg-3: #8a8a8a;           /* tertiary, placeholders on raised */
  --on-primary: #000000;     /* text on the white pill */
  --primary: #ffffff;

  /* signals — used sparingly, never as decoration */
  --live: #34c759;           /* "Live", "+18%" */
  --live-ink: #4ade80;
  --live-tint: rgba(52, 199, 89, 0.16);
  --attention: #ff9f0a;      /* to-do dots */
  --danger: #ff453a;

  /* colour field (header wash). Seeded per guest by hue rotation. */
  --field-1: #b6a51c;        /* olive-gold, top left */
  --field-2: #e2652a;        /* orange */
  --field-3: #c42a3f;        /* red */
  --field-4: #9b1f6f;        /* magenta */
  --field-5: #3b1660;        /* violet, right edge */
  --field-base: #2a1a20;     /* under the wash */

  /* shape */
  --r-panel: 24px;
  --r-card: 16px;
  --r-input: 14px;
  --r-pill: 999px;

  /* type */
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter Spotlight", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --track-display: -0.035em;
  --track-title: -0.02em;
  --w-display: 800;
  --w-title: 700;
  --w-body: 400;
  --w-strong: 600;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 640ms;
}
