/* Beam's tokens, defined once (the approved desk looks, 18 Oct 2026): the hero's periwinkle ground, near-black navy ink,
   marigold for the exception and chosen states, green for done, red-orange for overdue, and white and pale periwinkle
   sections that alternate (never cream). Every Beam document reads this file: the run site's pages, Base's /run,
   /contract and not-found pages (the --rer-* names below), the installed app (public/beam.css, the app-* names), and
   Base's sign-in, /setup and Lobby through /fonts/fonts.css, which imports it. /rer-theme.css repeats the --rer-* theme
   tokens as literals: change both. */
:root {
  --ink: #0d1228;
  --ink-2: #1e2540;
  --body: #454b5e;
  --muted: #6b7184;
  --faint: #8a90a2;
  --line: #e3e7f2;
  --line-strong: #d3d9ea;
  --white: #ffffff;
  --pale: #eef2fe;
  --periwinkle: #c5d7fd;
  --band: #e4ebfe;
  --wall: #7f9bdd;
  --eyebrow: #3b55c4;
  --navy: #111936;
  --navy-body: #c9cfe6;
  --marigold: #fab60c;
  --marigold-soft: #fff4d6;
  --marigold-ink: #6b4a00;
  --green: #20aa58;
  --green-ink: #13803f;
  --green-soft: #e3f6ea;
  --red: #e5484d;
  --red-soft: #fde8e8;
  --tint-violet: #ddd2fb;
  --tint-green: #cdeed6;
  --tint-blue: #cfe0fd;
  --tint-yellow: #fde49c;
  --tint-peach: #fbd5c8;
  --olive: #79872b;

  /* The installed app (desk pick K): the periwinkle work surface, its rail and quiet wall-blue tints. */
  --app-surface: #dce6fc;
  --app-rail: #e7eefe;
  --app-tint: #e3ebfe;
  --app-tint-strong: #c9d8fe;
  --blue: #2148d8;
  --navy-deep: #13205a;
  --focus-ring: rgba(33, 72, 216, .22);
  --orange: #ee4b2b;
  --orange-soft: #ffe9e2;
  --orange-ink: #a8300f;
  --orange-wash: #fff6f3;
  --marigold-line: #f4cf7c;
  --marigold-deep: #c98500;
  --marigold-wash: #fffaf0;
  --green-wash: #f2fbf5;
  --violet: #4a2fc0;

  --font-display: 'Roboto Serif Display', Georgia, serif;
  --font-body: Inter, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-condensed: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --radius-card: 16px;
  --radius-control: 10px;
  --shadow-card: 0 1px 2px rgba(13, 18, 40, .04), 0 12px 32px -12px rgba(13, 18, 40, .14);
  --shadow-soft: 0 1px 2px rgba(13, 18, 40, .04), 0 8px 22px -14px rgba(13, 18, 40, .16);

  /* Base's shared pages (/run, /contract, not found) read these. */
  --rer-font-body: var(--font-body);
  --rer-font-heading: var(--font-display);
  --rer-font-mono: var(--font-mono);
  --rer-page: var(--pale);
  --rer-surface: var(--white);
  --rer-text: var(--ink);
  --rer-muted: var(--body);
  --rer-border: #9aa6c8;
  --rer-focus: var(--eyebrow);
  --rer-link: var(--ink);
  --rer-accent: var(--ink);
  --rer-accent-text: var(--white);
  --rer-code-background: var(--ink);
  --rer-code-text: #eef2fe;
  --rer-radius: 12px;
  --rer-button-radius: 10px;
  --rer-wordmark-tracking: -.01em;
}

/* Base's Run page and its siblings in the site's look: the pale ground and display headline.
   Scoped by Base's own markup; the landing and docs never use these. */
body:has(> main > .intro), body:has(> main > .hero) { background: var(--pale); }
header.bar .brand { font-weight: 800; letter-spacing: -.01em; }
header.bar .brand img { width: 34px; height: 40px; }
main > .intro h1, main > .hero h1 { font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
main > .intro h1 { font-size: 66px; }
/* Keep the optional Run commands readable in full on phones. */
body .chooser .self .other-ways pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
/* The band is the horizon at its own proportions (1536 x 540; the phone crop 800 x 584), its sky fading into the page. */
body:has(> .art) { --art: calc(100vw * 540 / 1536); }
body > .art picture { display: block; height: 100%; }
body > .art img { -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%); mask-image: linear-gradient(180deg, transparent, #000 14%); }
@media (max-width: 760px) {
  main > .intro h1 { font-size: 44px; }
  body:has(> .art) { --art: calc(100vw * 584 / 800); }
}
