/* Канон вида: docs/superpowers/specs/2026-09-17-nordic-motion-hubs.md
   Референс R1–R3: docs/research/2026-09-19-ref-cmc-coinbase.md + docs/INDEX.md § Дизайн */
:root {
  --bg: #0e1214;
  --surface: #151a1d;
  --surface2: #1c2327;
  --surface3: #252e33;
  --border: #2a3338;
  --text: #e8eef0;
  --muted: #7d8b90;
  --accent: #3d6b63;
  --ok: #3dba7a;
  --bad: #e05656;
  --gap: 16px;
  --font-ui: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-news: "Source Serif 4", "Iowan Old Style", Georgia, serif;
}
html[data-theme="light"] {
  --bg: #f4f6f7;
  --surface: #ffffff;
  --surface2: #eef2f3;
  --surface3: #e4eaec;
  --border: #e2e8ea;
  --text: #1a2224;
  --muted: #5c6a6e;
  --accent: #2f5d56;
  --ok: #1f8a54;
  --bad: #c43c3c;
}
html[data-theme="dark"] {
  --bg: #0e1214;
  --surface: #151a1d;
  --surface2: #1c2327;
  --surface3: #252e33;
  --border: #2a3338;
  --text: #e8eef0;
  --muted: #7d8b90;
  --accent: #3d6b63;
  --ok: #3dba7a;
  --bad: #e05656;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-ui);
  font-size: 13px;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

header.top {
  position: sticky; top: 0; z-index: 40;
  height: 48px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo { font-weight: 800; letter-spacing: -0.03em; font-size: 15px; }
.logo h1 { font-size: inherit; font-weight: inherit; letter-spacing: inherit; display: inline; }
.logo span { color: var(--accent); }
.live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
}
.top-meta { margin-left: auto; display: flex; gap: 16px; color: var(--muted); font-size: 11px; }
.top-meta strong { display: block; color: var(--text); font-size: 13px; line-height: 1.1; }
.top a.nav { color: var(--muted); font-size: 12px; }
.top a.nav:hover { color: var(--text); }

.dash {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(min-content, auto);
  align-items: start;
  gap: var(--gap);
  padding: 10px 12px 24px;
  max-width: 1480px;
  margin: 0 auto;
}
.dash-wait { grid-column: 1 / -1; color: var(--muted); margin: 24px 4px; }
.slot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 0;
  overflow: hidden;
}
.slot-grow {
  overflow: visible;
  min-height: min-content;
}
.win-bar { display: flex; gap: 4px; flex-wrap: wrap; }
.win-bar button, .hot-tabs button {
  font: inherit; font-size: 10px; padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface2); color: var(--muted); cursor: pointer;
}
.win-bar button.on, .hot-tabs button.on { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.co-grid.rows-3 { max-height: 132px; overflow: hidden; }
.co-grid.rows-3.open { max-height: none; overflow: visible; }
.co-chip { cursor: default; }
.co-chip.on { border-color: var(--accent); }
.deals-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rsya-ph {
  border: 1px dashed var(--border); border-radius: 8px; padding: 12px;
  font-size: 12px; color: var(--muted); min-height: 88px;
}
.rsya-ph b { display: block; color: var(--text); margin-bottom: 4px; }
.sent-how { font-size: 11px; color: var(--muted); margin: 6px 0 0; }
.sent-how a { color: var(--text); }
.hot-tabs { display: flex; gap: 4px; margin: 0 0 8px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.foot-nav .brand { font-weight: 650; color: var(--text); text-decoration: none; }
.filter-note { font-size: 12px; margin: 0 0 8px; }
@media (max-width: 800px) {
  .deals-split { grid-template-columns: 1fr; }
}
.slot-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 0;
}
.slot-title { font-size: 11px; font-weight: 650; color: var(--muted); }
.slot-hint { font-size: 10px; color: var(--muted); opacity: 0.8; }
.slot-body { padding: 8px 10px 10px; }

.ticker-slot { padding: 0; }
.ticker-slot .slot-head { display: none; }
.ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
}
.ticker-inner { display: inline-flex; animation: tick 55s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 28px; font-size: 12px; color: var(--muted);
}
.ticker-item b { color: var(--text); font-weight: 550; }
.badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.04em;
  padding: 1px 5px; border-radius: 3px; text-transform: uppercase;
}
.badge-hot { background: color-mix(in srgb, var(--bad) 22%, transparent); color: #f08a8a; }
.badge-new { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
.badge-trend { background: color-mix(in srgb, var(--ok) 22%, transparent); color: #7ee0a8; }

.cloud { display: flex; flex-wrap: wrap; gap: 4px; }
.tc {
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  border-radius: 4px;
  padding: 1px 6px;
  cursor: pointer;
}
.tc:hover { border-color: var(--accent); color: var(--text); }
.tc.xl { font-size: 14px; color: var(--text); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.tc.lg { font-size: 12px; color: var(--text); }
.tc.md { font-size: 11px; }
.tc.sm { font-size: 10px; }

.sent-score { font-size: 28px; font-weight: 800; line-height: 1; }
.sent-score.pos { color: var(--ok); }
.sent-score.neg { color: var(--bad); }
.sent-label { font-size: 11px; color: var(--muted); margin: 2px 0 6px; }
.bar { height: 5px; background: var(--surface3); border-radius: 3px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--ok); }
.sent-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 5px; }

.conflict {
  border-left: 2px solid var(--bad);
  background: var(--surface2);
  border-radius: 0 4px 4px 0;
  padding: 5px 7px;
  margin-bottom: 6px;
  font-size: 12px;
}
.conflict .sides { font-weight: 650; }
.conflict .vs { color: var(--bad); font-size: 10px; margin: 0 4px; }
.conflict .topic { color: var(--muted); font-size: 11px; }

.hot-row { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; font-size: 12px; }
.hot-rank {
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700; background: var(--surface3); color: var(--muted);
}
.hot-rank.r1 { background: var(--accent); color: #fff; }
.hot-bar { flex: 1; height: 3px; background: var(--surface3); border-radius: 2px; overflow: hidden; }
.hot-bar i { display: block; height: 100%; background: var(--accent); }
.hot-n { font-size: 10px; color: var(--muted); }

.deals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.deal {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
}
.deal:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.deal .offer { font-weight: 750; font-size: 13px; color: var(--text); }
.deal .who { font-size: 11px; color: var(--muted); }
.deal .until { font-size: 10px; color: var(--muted); }

.sectors { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.sectors button {
  background: none; border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 2px 8px; font-size: 11px;
}
.sectors button.on, .sectors button:hover { border-color: var(--accent); color: var(--text); }

.co-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 6px;
}
.co-chip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 4px;
  padding: 6px 7px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 0;
}
.co-feed, .hot-feed {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  cursor: pointer;
  white-space: nowrap;
}
.co-feed.on, .hot-feed.on {
  border-color: var(--accent);
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.co-chip > .go {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.co-chip:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.co-mark {
  width: 22px; height: 22px; border-radius: 5px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #fff;
}
.co-chip .nm {
  font-size: 12px; font-weight: 650;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.co-chip .n { font-size: 10px; color: var(--muted); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 9px 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 92px;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card-kicker {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.card-title {
  font-size: 13px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title:hover { color: var(--accent); }
.card-foot {
  margin-top: auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; color: var(--muted);
}
.vote {
  margin-left: auto;
  background: var(--surface3); border: 1px solid var(--border);
  color: var(--muted); border-radius: 4px; padding: 2px 6px; font-size: 11px;
}
.vote.on, .vote:hover { border-color: var(--accent); color: var(--text); }

footer.foot {
  border-top: 1px solid var(--border);
  padding: 12px 16px 20px;
  font-size: 11px; color: var(--muted);
  max-width: 1480px;
  margin: 0 auto;
}
footer.foot a { color: var(--accent); }
.dir-filter {
  display: flex; flex-direction: column; gap: 6px;
  max-width: 28rem; margin: 0 0 16px; font-size: 12px; color: var(--muted);
}
.dir-filter input {
  padding: 8px 10px; font-size: 15px; color: var(--text);
}
.dir-list { list-style: none; margin: 0; padding: 0; columns: 2; gap: 12px 24px; }
.dir-list li { break-inside: avoid; margin: 0 0 6px; font-size: 14px; }
.dir-list .muted { font-size: 12px; color: var(--muted); }
@media (max-width: 720px) {
  .dir-list { columns: 1; }
}

/* company page */
.page { max-width: 920px; margin: 0 auto; padding: 20px 16px 48px; overflow-x: clip; }
.back { font-size: 12px; color: var(--muted); }
.back:hover { color: var(--text); }
.co-hero {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 12px; align-items: center;
  margin: 14px 0 18px;
}
.co-hero .mark { width: 48px; height: 48px; border-radius: 10px; font-size: 18px; }
.co-hero h1 { font-size: 22px; letter-spacing: -0.03em; }
.co-hero.is-photo {
  display: block;
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin: -20px 0 22px;
  margin-left: calc(50% - 50vw);
  min-height: 300px;
  overflow: hidden;
  background: #0c1412;
  color: #e8eef0;
}
.co-hero.is-photo .co-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--co-hero-focus, 50% 40%);
  z-index: 0;
  filter: brightness(0.88) saturate(0.88) contrast(1.06);
}
.co-hero.is-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgb(8 14 12 / 0.18) 0%,
      rgb(8 14 12 / 0.42) 55%,
      rgb(6 12 10 / 0.78) 100%),
    linear-gradient(90deg,
      rgb(8 14 12 / 0.48) 0%,
      rgb(8 14 12 / 0.18) 52%,
      rgb(8 14 12 / 0.10) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgb(20 36 30 / 0.22) 31px,
      rgb(20 36 30 / 0.22) 32px),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 31px,
      rgb(20 36 30 / 0.16) 31px,
      rgb(20 36 30 / 0.16) 32px);
}
.co-hero.is-photo .co-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
}
.co-hero.is-photo .back {
  color: color-mix(in srgb, #e8eef0 68%, transparent);
}
.co-hero.is-photo .back:hover { color: #e8eef0; }
.co-hero.is-photo .co-hero-id {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 8px;
}
.co-hero.is-photo h1 {
  font-family: var(--font-news);
  font-size: clamp(28px, 4.2vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #e8eef0;
  margin: 0 0 8px;
}
.co-hero.is-photo .co-dek {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
  max-width: 58ch;
  color: color-mix(in srgb, #e8eef0 88%, #7d8b90);
  margin: 0;
}
.co-hero.is-photo .co-sub {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, #e8eef0 62%, #7d8b90);
}
.co-hero.is-photo .co-links { margin: 0; }
.co-hero.is-photo .co-links .chip,
html[data-theme="light"] .co-hero.is-photo .co-links .chip,
html[data-theme="dark"] .co-hero.is-photo .co-links .chip {
  background: color-mix(in srgb, #0c1412 70%, transparent);
  border-color: color-mix(in srgb, #e8eef0 28%, transparent);
  color: #e8eef0;
  backdrop-filter: blur(8px);
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1), transform 160ms cubic-bezier(0.2, 0, 0, 1);
}
.co-hero.is-photo .co-links .chip:hover,
html[data-theme="light"] .co-hero.is-photo .co-links .chip:hover,
html[data-theme="dark"] .co-hero.is-photo .co-links .chip:hover {
  border-color: color-mix(in srgb, var(--accent) 70%, #e8eef0);
  color: #e8eef0;
  transform: translateY(-1px);
}
.co-hero-credit {
  display: block;
  margin-top: auto;
  font-size: 10px;
  line-height: 1.35;
  max-width: 68ch;
  color: color-mix(in srgb, #e8eef0 42%, transparent);
}
a.co-hero-credit:hover { color: color-mix(in srgb, #e8eef0 70%, transparent); }
html[data-theme="light"] .co-hero.is-photo,
html[data-theme="dark"] .co-hero.is-photo,
html[data-theme="light"] .co-hero.is-photo h1,
html[data-theme="dark"] .co-hero.is-photo h1,
html[data-theme="light"] .co-hero.is-photo .co-dek,
html[data-theme="dark"] .co-hero.is-photo .co-dek,
html[data-theme="light"] .co-hero.is-photo .co-sub,
html[data-theme="dark"] .co-hero.is-photo .co-sub,
html[data-theme="light"] .co-hero.is-photo .back,
html[data-theme="dark"] .co-hero.is-photo .back,
html[data-theme="light"] .co-hero.is-photo .co-hero-credit,
html[data-theme="dark"] .co-hero.is-photo .co-hero-credit {
  color: #e8eef0;
}
html[data-theme="light"] .co-hero.is-photo .co-dek,
html[data-theme="dark"] .co-hero.is-photo .co-dek {
  color: color-mix(in srgb, #e8eef0 88%, #7d8b90);
}
html[data-theme="light"] .co-hero.is-photo .co-sub,
html[data-theme="dark"] .co-hero.is-photo .co-sub,
html[data-theme="light"] .co-hero.is-photo .back,
html[data-theme="dark"] .co-hero.is-photo .back {
  color: color-mix(in srgb, #e8eef0 68%, transparent);
}
html[data-theme="light"] .co-hero.is-photo .co-hero-credit,
html[data-theme="dark"] .co-hero.is-photo .co-hero-credit {
  color: color-mix(in srgb, #e8eef0 46%, transparent);
}
@media (max-width: 390px) {
  .co-hero.is-photo { margin-top: -16px; }
  .co-hero.is-photo .co-hero-inner { padding: 14px 12px 22px; min-height: 260px; }
  .co-hero.is-photo h1 { font-size: 26px; }
}
@media (prefers-reduced-transparency: reduce) {
  .co-hero.is-photo .co-links .chip { background: #0c1412; backdrop-filter: none; }
}
.co-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.co-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.co-stat b { display: block; font-size: 20px; }
.co-stat span { font-size: 11px; color: var(--muted); }
.analysis { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.analysis h2 { font-size: 13px; color: var(--muted); font-weight: 650; margin-bottom: 8px; }
.analysis li { margin: 0 0 6px 16px; line-height: 1.4; }
.news-list { display: flex; flex-direction: column; gap: 8px; }
.news-row {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px;
}
.news-row h3 { font-size: 14px; margin-bottom: 4px; }
.news-row p { font-size: 12px; color: var(--muted); line-height: 1.45; }
.take-row .take { font-size: 14px; color: var(--text); line-height: 1.5; max-width: 68ch; }
.take-kicker { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.take-why { font-size: 12px; }
.take-why a { color: var(--text); font-weight: 650; border-bottom: 1px solid var(--border); }
.brief-sec { margin: 0 0 22px; }
.brief-sec h2 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.quick-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.quick-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 13px; border-bottom: 1px solid var(--border); padding: 6px 0; }
.quick-item span { color: var(--muted); font-size: 11px; }
.brief-chips { margin: 0 0 14px; }
button.linkish { border: 0; background: none; padding: 0; color: var(--text); font: inherit; cursor: pointer; border-bottom: 1px solid var(--border); }

/* admin */
.admin { max-width: 1180px; margin: 0 auto; padding: 16px 16px 48px; }
.admin h1 { font-size: 20px; letter-spacing: -0.03em; margin: 8px 0 4px; }
.admin .lead { color: var(--muted); margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.panel h2 { font-size: 13px; margin-bottom: 10px; }
table.slots { width: 100%; border-collapse: collapse; font-size: 12px; }
table.slots th, table.slots td { text-align: left; padding: 5px 4px; border-bottom: 1px solid var(--border); }
table.slots input[type="number"] { width: 52px; background: var(--surface2); color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 3px 4px; }
table.slots .how {
  max-height: 3.6em;
  overflow: auto;
}
textarea.block {
  width: 100%; min-height: 120px;
  background: var(--surface2); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 8px; font-size: 12px; line-height: 1.4;
}
.btn {
  background: var(--accent); color: #fff; border: 0;
  border-radius: 6px; padding: 6px 12px; font-weight: 650; font-size: 12px;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.msg { font-size: 12px; color: var(--ok); min-height: 16px; margin-top: 6px; }
.preview {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px;
  min-height: 120px;
}
.preview .p {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 4px; font-size: 9px; color: var(--muted);
  padding: 4px; overflow: hidden;
}

.chrome { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.ch-btn {
  background: var(--surface2); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 3px 9px; font-size: 11px;
}
.ch-btn.on, .ch-btn:hover { border-color: var(--accent); color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }

.hero-card {
  display: grid; grid-template-columns: 1fr auto;
  gap: 12px; align-items: start;
  padding: 14px 16px 16px;
  min-height: 92px;
}
.hero-kicker { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.hero-card h2 { font-family: var(--font-news); font-size: 22px; letter-spacing: -0.03em; line-height: 1.2; margin: 4px 0 6px; font-weight: 600; }
.hero-dek { font-size: 13px; color: var(--muted); line-height: 1.45; max-width: 62ch; }
.hero-src { font-size: 11px; color: var(--muted); margin-top: 8px; }
.hero-nav { display: flex; gap: 4px; }
.hero-nav button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--surface3);
}
.hero-nav button.on { background: var(--accent); }

.deals-lines { display: flex; flex-direction: column; gap: 4px; }
.deal-line {
  display: flex; align-items: baseline; gap: 10px;
  padding: 4px 2px; border-bottom: 1px dashed var(--border); font-size: 13px;
}
.deal-line:last-child { border-bottom: 0; }
.deal-line .admark { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.deal-line .txt { flex: 1; }
.deal-line:hover .txt { color: var(--accent); }

.co-logo { width: 22px; height: 22px; object-fit: contain; display: block; }
.co-hero .co-logo { width: 48px; height: 48px; }

.news-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
}
.card-title {
  font-family: var(--font-news);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}
html[data-theme="light"] .card-title:hover { color: var(--accent); }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.card-tags button {
  background: none; border: 1px solid var(--border); color: var(--muted);
  border-radius: 3px; padding: 0 5px; font-size: 10px;
}
.card-tags button:hover { border-color: var(--bad); color: var(--bad); }
.card-preview {
  display: none;
  position: absolute; left: 8px; right: 8px; top: 100%; z-index: 8;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px; box-shadow: 0 10px 28px color-mix(in srgb, #000 18%, transparent);
}
.card:hover .card-preview, .card:focus-within .card-preview { display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.card-preview img { width: 72px; height: 56px; object-fit: cover; border-radius: 4px; background: var(--surface3); }
.card-preview p { font-size: 12px; color: var(--muted); line-height: 1.4; }

.ads-slot {
  min-height: 90px; display: grid; place-items: center;
  border: 1px dashed var(--border); color: var(--muted); font-size: 11px;
}

.cookie-bar {
  position: sticky; bottom: 0; z-index: 50;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--border);
  font-size: 12px;
}
.cookie-bar p { color: var(--muted); max-width: 80ch; }

.bio { font-size: 15px; line-height: 1.45; max-width: 58ch; margin: 0 0 14px; }
.co-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; font-size: 13px; margin-bottom: 16px; }
.co-meta dt { color: var(--muted); font-size: 11px; }
.co-now { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.co-spark { display: flex; align-items: flex-end; gap: 3px; height: 28px; margin: 0 0 14px; }
.co-spark i { display: block; width: 8px; background: var(--accent); border-radius: 2px 2px 0 0; }
.co-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.co-links .chip {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); background: var(--surface2); color: var(--text);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; text-decoration: none;
}
.co-links .chip:hover { border-color: var(--accent); color: var(--accent); }
.co-links .chip.role { font-weight: 650; }
.co-links.audience { margin-top: -8px; }
.crumbs { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.prod-card {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--border); background: var(--surface2);
  border-radius: 8px; padding: 10px 10px 8px; color: var(--text);
}
.prod-card:hover { border-color: var(--accent); }
.prod-card b { font-size: 13px; }
.prod-card span { font-size: 11px; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--border); padding: 8px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 14px; }
.faq details p { margin: 6px 0 0; font-size: 13px; color: var(--muted); max-width: 62ch; }
.co-prods, .co-comp, .co-anchor { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.co-prods a, .co-comp a, .co-anchor a { color: var(--text); font-weight: 650; border-bottom: 1px solid var(--border); }
.co-prods a:hover, .co-comp a:hover, .co-anchor a:hover { border-color: var(--accent); }
.co-h { font-size: 13px; color: var(--muted); margin: 18px 0 8px; }
.cluster.now { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin: 0 0 14px; }
.cluster.now h2 { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.cluster-more { font-size: 12px; color: var(--muted); margin: 6px 0 10px; }
.cluster-more a { color: var(--text); }
.day-board { display: grid; gap: 10px; margin: 0 0 14px; }
.cluster-feed .card-title { font-size: 16px; font-weight: 650; }
.cluster-feed p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.people a { color: inherit; text-decoration: none; }
.people a:hover { color: var(--accent); }
.co-mark-wrap { display: grid; place-items: center; width: 48px; height: 48px; }
.lead { font-size: 14px; color: var(--muted); max-width: 62ch; margin: 0 0 16px; }
.muted { color: var(--muted); font-size: 13px; }

.co-block { margin: 0 0 18px; }
.co-block h2 { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.people { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.people li { display: grid; grid-template-columns: 36px 1fr; gap: 8px; align-items: center; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface2); }
.people .ini { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface3); font-size: 11px; font-weight: 700; }
.people b { display: block; font-size: 13px; }
.people span { font-size: 11px; color: var(--muted); }
.risks { list-style: none; font-size: 13px; line-height: 1.45; }
.risks li { margin: 0 0 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface2); }
.risks p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.money li { margin: 0 0 6px; }
.money i { color: var(--muted); font-style: normal; font-size: 11px; }
.timeline { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 8px; }
.timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.timeline .y { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent); }
.timeline p { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.mix { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0 0 8px; padding: 0; }
.mix li { display: grid; grid-template-columns: 96px 1fr 28px; gap: 8px; align-items: center; font-size: 12px; }
.mix i { display: block; height: 8px; background: var(--accent); border-radius: 4px; }
.mix-k { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mix b { font-variant-numeric: tabular-nums; text-align: right; }
.faq details { margin: 0 0 8px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.crumbs { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.crumbs a { color: var(--text); border-bottom: 1px solid var(--border); }

.hero-stage { padding: 0 0 12px; }
.hero-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 300px;
  border-bottom: 1px solid var(--border);
}
.hero-photo {
  display: block; position: relative;
  background: var(--surface3);
  min-height: 300px;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  min-height: 300px; max-height: 360px;
}
.hero-ph { display: block; min-height: 300px; background: var(--surface3); }
.hero-ph.sm { min-height: 72px; }
.hero-credit {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 10px; color: #f4f1ea;
  background: color-mix(in srgb, #1c1914 62%, transparent);
  padding: 2px 6px; border-radius: 4px;
  max-width: 70%;
}
.hero-copy { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.hero-copy h2 { font-family: var(--font-news); font-size: 26px; letter-spacing: -0.03em; line-height: 1.18; font-weight: 600; margin: 0; }
.hero-copy h2 a:hover { color: var(--accent); }
.hero-pager { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.hero-pager button {
  border: 1px solid var(--border); background: var(--surface2); color: var(--text);
  border-radius: 999px; padding: 4px 10px; font-size: 11px;
}
.hero-pager button:hover { border-color: var(--accent); }
.hero-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 10px 4px;
}
.hero-thumb {
  text-align: left; border: 1px solid var(--border);
  background: var(--surface2); color: var(--text);
  border-radius: 8px; overflow: hidden; padding: 0 0 8px;
}
.hero-thumb img { width: 100%; height: 76px; object-fit: cover; display: block; }
.hero-thumb .k { display: block; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); padding: 6px 8px 0; }
.hero-thumb .t { display: block; font-size: 12px; line-height: 1.3; padding: 2px 8px 0; font-weight: 650; }
.hero-thumb.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.feed-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.feed-thumb { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; background: var(--surface3); }
.feed-tools { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; }
.feed-tools button { border: 1px solid var(--border); background: var(--surface2); color: var(--text); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.feed-tools button.on { border-color: var(--accent); }
.pager { display: flex; gap: 12px; align-items: center; margin: 10px 0; font-size: 12px; color: var(--muted); }
.pager button { border: 1px solid var(--border); background: var(--surface2); color: var(--text); border-radius: 6px; padding: 4px 10px; }
.pager button:disabled { opacity: 0.4; }

@media (max-width: 900px) {
  .hero-main { grid-template-columns: 1fr; }
  .hero-photo img, .hero-photo, .hero-ph { min-height: 200px; max-height: 220px; }
  .hero-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .feed-row { grid-template-columns: 1fr; }
}

.settings-page { max-width: 720px; }
.settings-page h1 { font-family: var(--font-news); margin: 12px 0 8px; }
.set-block { margin-bottom: 18px; }
.set-block h2 { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-row button { border: 1px solid var(--border); background: var(--surface2); color: var(--text); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.chip-row button.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.chip-row button.hid { opacity: 0.45; text-decoration: line-through; }
.auth-box { font-size: 13px; color: var(--muted); }

.legal-page { max-width: 720px; }
.legal-page h1 { font-family: var(--font-news); margin: 12px 0 10px; }
.legal-page p, .legal-page li { font-size: 14px; line-height: 1.55; margin-bottom: 8px; }
.legal-page .draft, .investor-page .draft, p.draft { font-size: 12px; color: var(--bad); margin-bottom: 12px; }

.tc.on { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.tc.hid { opacity: 0.4; }

@media (max-width: 1100px) {
  .news-grid, .deals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .news-grid, .deals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-meta { display: none; }
  .dash { grid-template-columns: 1fr; }
  .slot { grid-column: 1 / -1 !important; }
}
@media (max-width: 520px) {
  .news-grid, .deals { grid-template-columns: 1fr; }
}
.viz-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 0 0 16px;
}
.viz-strip > div {
  background: var(--surface);
  padding: 10px 12px;
}
.viz-strip dt {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.viz-strip dd {
  font-size: 22px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  margin: 2px 0 0;
}
.viz-words { margin: 0 0 16px; }
.admin-tabs { display: flex; gap: 6px; margin: 0 0 14px; }
.admin-tab {
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
}
.admin-tab.on, .admin-tab:hover { border-color: var(--accent); color: var(--text); }
.log-filters, .schema-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.log-panel { padding: 4px 12px 12px; }
.git-log { list-style: none; margin: 0; padding: 0; }
.git-item { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.git-lane {
  position: relative;
  min-height: 100%;
}
.git-lane::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: -4px;
  width: 1px;
  background: var(--border);
}
.git-lane.last::before { display: none; }
.git-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 9px;
  height: 9px;
  margin: 8px 0 0 2px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--surface);
}
.git-dot.t-feat { border-color: var(--ok); }
.git-dot.t-docs { border-color: var(--muted); }
.git-item.source-working .git-dot { background: var(--bad); border-color: var(--bad); }
.git-body { padding: 6px 0 10px; border-bottom: 1px solid var(--border); }
.git-row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; }
.git-hash { font-size: 11px; color: var(--accent); }
.git-type { font-size: 10px; letter-spacing: 0.04em; text-transform: lowercase; color: var(--muted); }
.git-type.t-feat { color: var(--ok); }
.git-row b { font-size: 13px; font-weight: 600; }
.git-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.git-files { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; }
.git-files code, .schema-edges code {
  font-size: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
}
.log-inbox {
  display: inline-block;
  font-size: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 4px;
  margin-left: 4px;
}
.schema-nodes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.schema-node {
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
}
.schema-edges { list-style: none; margin: 0 0 10px; padding: 0; font-size: 12px; color: var(--muted); }
.schema-edges li { margin: 0 0 3px; }
.schema-mermaid {
  margin: 0;
  max-height: 180px;
  overflow: auto;
  font-size: 11px;
  line-height: 1.4;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  color: var(--muted);
  white-space: pre-wrap;
}
.admin-gate { font-size: 13px; color: var(--muted); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-gate input { border: 1px solid var(--border); background: var(--surface2); color: var(--text); padding: 6px 8px; border-radius: 6px; }
.investor-page .pitch { max-width: 68ch; }
.investor-walk { list-style: none; margin: 0 0 24px; padding: 0; }
.investor-walk li { border-bottom: 1px solid var(--border); padding: 12px 0; }
.investor-walk b { display: block; font-size: 14px; }
.investor-walk span { font-size: 13px; color: var(--muted); }
.investor-locks { font-size: 13px; max-width: 68ch; }
.investor-locks li { margin: 0 0 6px; }
@media (max-width: 720px) {
  .viz-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: 1fr; }
  .co-stats, .co-meta { grid-template-columns: 1fr 1fr; }
  .hero-main { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
}

html { transition: background-color 0.2s ease, color 0.2s ease; }
.lead, .bio, .hero-dek, .news-row p, .take-row .take {
  font-family: var(--font-news);
}
.page, .admin { animation: slot-in 0.32s cubic-bezier(0.2, 0, 0, 1) both; }
.dash .slot {
  animation: slot-in 0.28s cubic-bezier(0.2, 0, 0, 1) both;
}
.dash .slot:nth-child(1) { animation-delay: 20ms; }
.dash .slot:nth-child(2) { animation-delay: 40ms; }
.dash .slot:nth-child(3) { animation-delay: 60ms; }
.dash .slot:nth-child(4) { animation-delay: 80ms; }
.dash .slot:nth-child(5) { animation-delay: 100ms; }
.dash .slot:nth-child(6) { animation-delay: 120ms; }
.dash .slot:nth-child(7) { animation-delay: 140ms; }
.dash .slot:nth-child(8) { animation-delay: 160ms; }
.dash .slot:nth-child(9) { animation-delay: 180ms; }
.dash .slot:nth-child(10) { animation-delay: 200ms; }
.dash .slot:nth-child(11) { animation-delay: 220ms; }
.dash .slot:nth-child(12) { animation-delay: 240ms; }
@keyframes slot-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spark-in {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.live { animation: live-pulse 2s ease-in-out infinite; }
.hero-copy { animation: fade-in 0.6s cubic-bezier(0.2, 0, 0, 1) both; }
.co-spark i {
  transform-origin: bottom;
  animation: spark-in 0.55s cubic-bezier(0.2, 0, 0, 1) both;
}
.co-chip, .card, .deal, .deal-line, .prod-card, .news-row, .term-chip, .people li, .cluster.now {
  transition: transform 0.16s cubic-bezier(0.2, 0, 0, 1), border-color 0.16s ease;
}
.co-chip:hover, .card:hover, .deal:hover, .prod-card:hover, .news-row:hover, .people li:hover {
  transform: translateY(-1px);
}
.set-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}
.set-block h2 { letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.term-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 8px 0 0;
}
.term-chip {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); background: var(--surface2); color: var(--text);
  border-radius: 999px; padding: 3px 9px; font-size: 11px;
}
.term-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.glossary { display: flex; flex-direction: column; gap: 10px; }
.glossary dt { font-weight: 650; font-size: 14px; }
.glossary dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); max-width: 68ch; }
.legal-page .draft, .draft {
  font-size: 12px; color: var(--muted);
  border-left: 2px solid var(--accent); padding: 0 0 0 10px; margin: 0 0 14px;
}
input, textarea, select {
  background: var(--surface2); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
}
.page h1 { font-size: 26px; letter-spacing: -0.03em; font-weight: 650; margin: 0 0 8px; }
@media (max-width: 390px) {
  .page { padding: 16px 12px 40px; }
  .hero-copy h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-inner, .dash .slot, .page, .admin, .hero-copy, .co-spark i, .live {
    animation: none !important;
  }
  html { transition: none; }
  .co-chip, .card, .deal, .deal-line, .prod-card, .news-row, .term-chip, .people li, .cluster.now,
  .co-hero.is-photo .co-links .chip {
    transition: none;
    transform: none;
  }
}
