/* Notpla screen tokens. Light = cream ground, dark = ink ground.
   Colours from the Notpla brand palette (Welcome Deck 2025, Impact Report 2025).
   Olive #6F7540 carries links and active states on cream, because lime text
   disappears on cream. Lime stays the signature fill, and the accent on ink. */

:root {
  --ground: #F2EFE0;      /* cream */
  --surface: #FAF8EE;
  --card: #DDD5B9;        /* sand, the soft image or stat well */
  --ink: #212323;
  --muted: #8E826A;       /* stone */
  --rule: #DDD5B9;
  --accent: #6F7540;      /* olive, links and active states */
  --accent-fill: #E7F3AC; /* lime, fills, highlights, pills */
  --on-accent-fill: #212323;
  --signal: #FF714A;      /* orange, today / problem / plastic, sparingly */
  --good: #9EA850; --warn: #F0D64A; --bad: #E8583A;  /* RAG, never decoration */

  --font-display: "FK Grotesk Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "FK Grotesk Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "FK Grotesk SemiMono", ui-monospace, Menlo, monospace;

  --ls-display: -0.05em;  /* very tight, the signature rule */
  --ls-heading: -0.03em;
  --lh-display: 1.05;
  --radius-card: 8px;
  --radius-pill: 999px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #212323; --surface: #2A2D2C; --card: #343735; --ink: #F2EFE0;
    --muted: #B5AC94; --rule: #3D403E; --accent: #E7F3AC; --accent-fill: #E7F3AC;
    --on-accent-fill: #212323; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #212323; --surface: #2A2D2C; --card: #343735; --ink: #F2EFE0;
  --muted: #B5AC94; --rule: #3D403E; --accent: #E7F3AC; --accent-fill: #E7F3AC;
  --on-accent-fill: #212323; color-scheme: dark;
}

body { background: var(--ground); color: var(--ink); font-family: var(--font-body); }
a { color: var(--accent); }

/* Display headline: Medium, very tight */
.np-display { font-family: var(--font-display); font-weight: 500; letter-spacing: var(--ls-display); line-height: var(--lh-display); }

/* Mono label in a capsule pill (eyebrows, tags, section names) */
.np-pill { display: inline-block; font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.01em;
  font-size: 0.72rem; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: var(--radius-pill);
  padding: 0.25em 0.8em; }
.np-pill--fill { background: var(--accent-fill); color: var(--on-accent-fill); border-color: var(--accent-fill); }

/* Big proof-point number */
.np-stat { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums; }
