/* Hallmark · checked: 2026-11-12 · genre: modern-minimal · theme: custom (vibe: warm paper, black ink, one vermilion signal) · contrast: pass · built: Claude · redesign: full */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, the system face is the browser's; the serif display head carries the identity instead of a webfont */
/* Hallmark · waive 42 · a plain sticky bar (wordmark, four links, one action) is the right chrome for a tool opened daily; the footer is one row, not four columns */
/* One set of tokens for the public pages and the signed-in app. Both stylesheets read these names;
   nothing else declares a colour or a font family. Same names as before, new values. */

:root {
  color-scheme: light dark;

  /* Surfaces and ink: warm paper, near-black text. */
  --bg: #f5f3ee; --soft: #ebe8e0; --card: #fdfcf9; --ink: #1b1c1e; --muted: #5a5c61; --line: #dcd8cc;
  --line-strong: #bdb8a9;
  /* One signal colour, used for links, the current item and the call to act on. Buttons are ink. */
  --accent: #a83a0e; --accent-ink: #ffffff; --accent-soft: #f5e4da;
  --glow: transparent;
  /* Meaning, never decoration. */
  --good: #14684a; --good-soft: #dcefe5; --warn: #7d4c00; --warn-soft: #f6e9c9;
  --bad: #a8261c; --bad-soft: #f6dedb;
  /* Fit tiers on an account: act now, soon, later, skip. */
  --t0: #a83a0e; --t1: #14684a; --t2: #7d4c00; --t3: #5a5c61;
  --focus: #1b1c1e;
  --shadow: none; --lift: 0 10px 30px rgba(27, 28, 30, .14);
  --scrim: rgba(27, 28, 30, .5);

  /* Type: system sans for work, a system serif for page titles and big claims. */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-1: 12px; --fs-2: 13px; --fs-3: 15px; --fs-4: 17px; --fs-5: 22px; --fs-6: 30px; --fs-7: 44px;

  /* Space on a 4px scale; a short radius scale. */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;
  --r-1: 4px; --r-2: 6px; --r-3: 8px;
  --measure: 68ch; --page: 1120px; --app: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211; --soft: #1b1b19; --card: #171715; --ink: #ecebe5; --muted: #a5a39b; --line: #2d2c28;
    --line-strong: #4a4943;
    --accent: #f0946a; --accent-ink: #1b0f08; --accent-soft: #2b1c13;
    --good: #62c79a; --good-soft: #14281f; --warn: #e6ae57; --warn-soft: #2b2112;
    --bad: #f3958c; --bad-soft: #2e1a18;
    --t0: #f0946a; --t1: #62c79a; --t2: #e6ae57; --t3: #a5a39b;
    --focus: #ecebe5;
    --lift: 0 12px 32px rgba(0, 0, 0, .55); --scrim: rgba(0, 0, 0, .65);
  }
}

html, body { overflow-x: clip; }
::selection { background: var(--accent); color: var(--accent-ink); }
html { caret-color: var(--accent); scrollbar-color: var(--line-strong) var(--bg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-1); }
