:root {
  color-scheme: dark;
  --bg: #080c14;
  --panel: rgba(18, 25, 38, 0.78);
  --panel-strong: #111827;
  --line: rgba(148, 163, 184, 0.18);
  --text: #edf2f7;
  --muted: #96a3b8;
  --gold: #f5b942;
  --green: #16c784;
  --red: #ea3943;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 15% 0%, rgba(245, 185, 66, 0.16), transparent 30rem), var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(8, 12, 20, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--gold);
  color: #080c14;
}

.nav nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 80px clamp(18px, 5vw, 64px);
  background: linear-gradient(135deg, rgba(8, 12, 20, 0.94), rgba(17, 24, 39, 0.72)),
    url("https://images.unsplash.com/photo-1642790551116-18e150f248e7?q=80&w=2200&auto=format&fit=crop") center/cover;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.96;
}

h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero p {
  max-width: 680px;
  font-size: 18px;
  margin-top: 24px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.primary {
  background: var(--gold);
  color: #080c14;
}

.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.ticker {
  display: flex;
  gap: 28px;
  overflow: hidden;
  padding: 13px clamp(18px, 5vw, 64px);
  border-block: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.74);
  white-space: nowrap;
}

.ticker span {
  color: var(--muted);
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

.section,
.dashboard {
  padding: 48px clamp(18px, 5vw, 64px);
}

.grid {
  display: grid;
  gap: 18px;
}

.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.7fr);
  margin-top: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 0 36px rgba(245, 185, 66, 0.08);
  backdrop-filter: blur(14px);
}

.featured {
  border-color: var(--gold);
}

.price strong {
  display: block;
  margin: 18px 0;
  font-size: 34px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.dash-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.live {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--muted);
}

.live span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  margin-right: 8px;
}

.metric small,
.metric em {
  color: var(--muted);
  font-style: normal;
}

.metric strong {
  display: block;
  margin: 10px 0;
  font-size: 30px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

canvas {
  width: 100%;
  height: auto;
}

.signals {
  display: grid;
  gap: 18px;
}

.signal-action {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  font-weight: 800;
}

.signal-metrics,
.insight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.signal-metrics span,
.insight-row span {
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.1);
  padding: 12px;
  color: var(--muted);
}

.signal-metrics strong,
.insight-row strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.heat {
  border-radius: 8px;
  padding: 14px;
  background: rgba(22, 199, 132, 0.14);
}

.heat.negative {
  background: rgba(234, 57, 67, 0.14);
}

@media (max-width: 960px) {
  .four,
  .three,
  .two,
  .layout {
    grid-template-columns: 1fr;
  }

  .nav nav {
    display: none;
  }

  .dash-head {
    align-items: start;
    flex-direction: column;
  }
}
