/* buzzword.today (AIorg TODO-954). Palette from the buzzword.today Metatron mark: magenta glow, gold lines, ice-blue halos. */
:root {
  --ground: #f7f3f9;
  --paper: #ffffff;
  --ink: #1d1530;
  --muted: #625a73;
  --rule: #e4dcea;
  --magenta: #a8238f;
  --gold: #946c00;
  --ice: #2f5fd0;
  --pos: #1c7a45;
  --neg: #b3261e;
  --track-neg: #f3d7d5;
  --track-pos: #d4ecdd;
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #150f22;
    --paper: #1e1630;
    --ink: #f2ecf8;
    --muted: #b0a6c2;
    --rule: #33294a;
    --magenta: #f07ae6;
    --gold: #f0cf5a;
    --ice: #8fb0ff;
    --pos: #6fd49a;
    --neg: #ff8a80;
    --track-neg: #4a2430;
    --track-pos: #1d3d2c;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.55 var(--body); }
a { color: var(--ice); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; border-radius: 2px; }
.muted { color: var(--muted); }

.bar, main, .foot { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 18px/1 var(--display); letter-spacing: -0.01em; }
.brand b { color: var(--magenta); font-weight: 700; }
.today { font: 500 13px/1.2 var(--mono); color: var(--muted); text-align: right; }

main { display: grid; gap: 28px; padding-block: 8px 48px; }

/* The calendar leaf: date on top, the word as the page. */
.leaf { background: var(--paper); border: 1px solid var(--rule); border-top: 6px solid var(--magenta); border-radius: 4px 4px 12px 12px;
  padding: clamp(20px, 4vw, 44px); display: grid; gap: 14px; }
.eyebrow { margin: 0; font: 600 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta); }
.word { margin: 0; font: 800 clamp(56px, 14vw, 184px)/0.92 var(--display); letter-spacing: -0.035em; overflow-wrap: anywhere; text-wrap: balance; }
.word.is-loading { color: var(--rule); }
.lede { margin: 0; max-width: 56ch; font-size: clamp(17px, 2.2vw, 21px); }
.stats { margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.stats div { background: var(--paper); padding: 12px 14px; display: grid; gap: 4px; }
.stats dt { font: 600 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0; font: 700 26px/1.1 var(--display); font-variant-numeric: tabular-nums; }

.block { display: grid; gap: 14px; align-content: start; }
[hidden] { display: none !important; }
.now { display: grid; gap: 8px; padding: 16px 20px; border: 1px dashed var(--magenta); border-radius: 12px; background: var(--paper); }
.now-line { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.now-word { font: 800 clamp(34px, 6vw, 56px)/1 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.now-line span { color: var(--muted); }
h2 { margin: 0; font: 700 22px/1.2 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.note { margin: 0; max-width: 64ch; color: var(--muted); }
.note.small { font-size: 14px; }

/* Mood scale: -10 .. +10, two pins (this word's headlines vs all news). */
.mood { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 20px; }
.scale { position: relative; height: 64px; margin-top: 8px; }
.scale-track { position: absolute; left: 0; right: 0; top: 38px; height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, var(--track-neg) 0 50%, var(--track-pos) 50% 100%); }
.tick { position: absolute; top: -4px; width: 2px; height: 20px; background: var(--rule); }
.tick[data-v="-10"] { left: 0; } .tick.mid { left: calc(50% - 1px); background: var(--muted); } .tick[data-v="10"] { right: 0; }
.pin { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; transition: left 0.6s ease; }
.pin i { order: 2; width: 4px; height: 28px; border-radius: 2px; background: currentColor; margin-top: 6px; }
.pin em { order: 1; font: 700 12px/1 var(--mono); font-style: normal; white-space: nowrap; padding: 3px 6px; border-radius: 4px; background: var(--paper); border: 1px solid currentColor; }
.pin-word { color: var(--magenta); z-index: 2; }
.pin-all { color: var(--ice); }
.pin-all em { transform: translateY(46px); }
.scale-legend { display: flex; justify-content: space-between; margin-top: 16px; font: 500 12px/1.2 var(--mono); color: var(--muted); }

.grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.side { display: grid; gap: 28px; }

.headlines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.headlines li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.headlines a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.35; }
.headlines a:hover { color: var(--magenta); text-decoration: underline; }
.headlines mark { background: none; color: var(--magenta); }
.headlines .meta { font: 500 12px/1.3 var(--mono); color: var(--muted); }

.runners { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: r 1; }
.runners li { counter-increment: r; display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.runners li::before { content: counter(r); font: 700 14px/1 var(--mono); color: var(--muted); text-align: right; }
.runners .w { position: relative; font: 700 18px/1.2 var(--display); padding: 6px 8px; overflow-wrap: anywhere; }
.runners .w::before { content: ""; position: absolute; inset: 0; width: var(--pct, 0%); background: var(--rule); border-radius: 4px; z-index: 0; }
.runners .w span { position: relative; z-index: 1; }
.runners .n { font: 600 13px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 600 13px/1 var(--mono); padding: 7px 10px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); }
.chips b { color: var(--gold); font-weight: 700; margin-left: 4px; }

.archive { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.archive li { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; display: grid; gap: 4px; }
.archive .d { font: 600 12px/1.2 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.archive .w { font: 800 24px/1.1 var(--display); overflow-wrap: anywhere; }

.foot { border-top: 1px solid var(--rule); padding-block: 20px 40px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.foot p { margin: 0; max-width: 72ch; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .today { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pin { transition: none; } }
.runners li.muted { display: block; }
.runners li.muted::before { content: none; }

/* TODO-956: brand line first (CEO 2026-09-28) */
.foot .powered { font-weight: 700; color: var(--ink); }
.foot .powered a { font-weight: 700; }
