:root {
  --bg: #070b10;
  --panel: #10171f;
  --panel-2: #151d26;
  --line: #24313b;
  --text: #edf7f8;
  --muted: #9bb3bd;
  --cyan: #42d7c7;
  --green: #74df8b;
  --amber: #ffd166;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}
a { color: inherit; text-decoration: none; }
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: #080c12;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), #74a8ff);
  color: #061014;
  display: grid;
  place-items: center;
  font-weight: 950;
}
.brand strong { display: block; font-size: 20px; }
.brand span, .disclaimer { color: var(--muted); font-size: 13px; line-height: 1.35; }
nav { display: grid; gap: 8px; }
nav a {
  padding: 12px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}
nav a.active, nav a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.disclaimer {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,.035);
}
main { padding: 24px; min-width: 0; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--panel);
  color: var(--muted);
}
.topbar strong { color: var(--cyan); }
.hero {
  min-height: 360px;
  border: 1px solid rgba(66,215,199,.35);
  border-radius: 8px;
  padding: 36px;
  background:
    radial-gradient(circle at 18% 20%, rgba(66,215,199,.16), transparent 30%),
    linear-gradient(135deg, rgba(18,40,43,.9), rgba(17,22,30,.95));
  display: grid;
  align-content: center;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 950;
}
h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(52px, 7vw, 96px);
  line-height: .92;
  letter-spacing: 0;
}
.hero > p:not(.eyebrow) {
  max-width: 900px;
  color: #c7dbe2;
  font-size: 18px;
  line-height: 1.5;
}
.brief {
  max-width: 980px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  background: rgba(66,215,199,.08);
}
.brief span { display: block; color: var(--cyan); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.brief strong { display: block; margin-top: 6px; line-height: 1.45; }
.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.metrics article, .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.metrics article { min-height: 106px; padding: 16px; display: grid; align-content: space-between; }
.metrics span, .metrics small, .idea small { color: var(--muted); }
.metrics strong { font-size: 30px; line-height: 1; }
.metrics strong.flat { color: var(--green); }
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 12px;
}
.panel { padding: 18px; }
.panel.wide { grid-row: span 2; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 14px; }
h2 { margin: 0; font-size: 22px; }
.pill {
  border: 1px solid rgba(66,215,199,.3);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
}
.ideas { display: grid; gap: 10px; }
.idea {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 86px 92px;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel-2);
}
.ticker {
  border-radius: 7px;
  background: var(--green);
  color: #071013;
  font-weight: 950;
  padding: 10px 12px;
  text-align: center;
}
.idea strong { display: block; font-size: 17px; }
.idea small { display: block; margin-top: 5px; line-height: 1.35; }
.idea em { color: var(--cyan); font-style: normal; font-weight: 950; }
.idea b { color: var(--amber); text-align: right; }
.empty {
  margin-top: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  line-height: 1.45;
}
li { margin: 10px 0; color: #c9dde4; }
@media (max-width: 980px) {
  body { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .metrics, .grid { grid-template-columns: 1fr; }
  .idea { grid-template-columns: 74px minmax(0, 1fr); }
  .idea em, .idea b { text-align: left; }
}
