/* Shared look for the home page and the tool pages: the same JLL palette (red #E30613 with black, white and
   warm greys), charcoal band and fonts as Rating List Search (app/search.html). Keep the tokens in step with it. */
:root {
  --bg: #f2f2f0; --surface: #ffffff; --ink: #161616; --muted: #5d5d5d; --line: #e2e2e0;
  --accent: #e30613; --hover: #f1f1ef; --signal: #e30613; --live: #1e8a4a;
  --accent-soft: #fde9ea; --warn: #8a5300; --warn-soft: #fcefd6;
  --band: #1b1b1b; --band-ink: #ffffff; --band-muted: #a9a9a9; --band-line: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.12);
  --f-display: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #111111; --surface: #1b1b1b; --ink: #f1f1f1; --muted: #a2a2a2; --line: #2d2d2d;
  --accent: #ff4b55; --hover: #242424; --signal: #ff4b55; --live: #4cc38a;
  --accent-soft: #3b1518; --warn: #f2b45a; --warn-soft: #3a2a10;
  --band: #000000; --band-ink: #ffffff; --band-muted: #9a9a9a; --band-line: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.5);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #111111; --surface: #1b1b1b; --ink: #f1f1f1; --muted: #a2a2a2; --line: #2d2d2d;
  --accent: #ff4b55; --hover: #242424; --signal: #ff4b55; --live: #4cc38a;
  --accent-soft: #3b1518; --warn: #f2b45a; --warn-soft: #3a2a10;
  --band: #000000; --band-ink: #ffffff; --band-muted: #9a9a9a; --band-line: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 14px; line-height: 1.45; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
a { color: inherit; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
[hidden] { display: none !important; }
/* The user prefers a slightly zoomed-out look (tried 80%, settled on 90%), so on laptop and desktop screens every page is drawn at 90% (phones
   stay full size so the text stays readable) */
@media (min-width: 1000px) { body { zoom: 0.9; } }

.wrap { max-width: 1120px; margin: 0 auto; padding-bottom: 40px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; gap: 22px; }

/* Charcoal band across the full width of the window (border-image, not a clip-path, so menus can hang below it) */
.top { background: var(--band); color: var(--band-ink); padding: 28px 0 26px;
  border-image: linear-gradient(var(--band) 0 0) fill 0 / 0 / 0 100vmax; position: relative; z-index: 10; display: grid; gap: 8px; }
.top .eyebrow { color: var(--band-muted); }
.top h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--band-ink); }
.top h1 .dot { color: var(--signal); }
.top p { margin: 0; color: var(--band-muted); max-width: 62ch; }
.crumb { color: var(--band-muted); text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; width: max-content; }
.crumb:hover { color: var(--band-ink); }
.crumb:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 3px; }

.notes { color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line); padding-top: 14px; }
.notes p { margin: 0 0 6px; max-width: 110ch; }
