body {
  background: radial-gradient(ellipse at 78% 0%, #172540 0, transparent 42rem), var(--bg);
}
#navigation { margin-inline-start: auto; gap: .35rem; }
#navigation a { white-space: nowrap; }
#navigation a[aria-current="page"] {
  color: #9cc8ff; background: transparent; border-radius: 0;
  box-shadow: inset 0 -2px var(--blue);
}
#navigation .nav-return { color: #93c3ff; }
#navigation a:hover { background: #213049; color: #f0f4fa; }
.hero { gap: clamp(1.25rem, 3vw, 3rem); }
.hero h1 { font-size: clamp(2.5rem, 4.7vw, 5.3rem); letter-spacing: -.05em; line-height: 1.05; }
.hero > img { border: 1px solid #346cbd; box-shadow: 0 12px 42px #0008, 0 0 24px #2d70e52b; }
.button, button, #navigation a, .overview-grid a, .marketcards a, .df-support a {
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.primary { background: linear-gradient(135deg, #236ce4, #1d57c6); border-color: #5897ff; }
.button.primary:hover { background: #2265d8; box-shadow: 0 0 20px #377ee64d; }
.button:not(.primary):hover, button:not([aria-pressed="true"]):hover { border-color: #6a9ce5; }
.overview-grid a, #home .quick-start li, .cards article, .marketcards a, #home .preview-panel {
  background: linear-gradient(145deg, #202b3b, #171d28);
}
.overview-grid a, .marketcards a { border-color: #3b5270; }
.overview-grid a:hover, .marketcards a:hover { border-color: var(--blue); box-shadow: 0 8px 22px #0004; }
#demo-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
#demo-tools button { min-height: 2.8rem; }
#demo-tools button[aria-pressed="true"] { border-color: #73abff; }
#widget, .chart, .workspace aside { box-shadow: 0 8px 22px #0003; }
.df-footer .df-support a { background: #1d293a; border-color: #405775; }
@media (max-width: 780px) {
  #navigation { margin-inline-start: 0; }
  #navigation.open { display: grid; grid-template-columns: 1fr; gap: .25rem; }
  #navigation a { white-space: normal; }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  #demo-tools { gap: .3rem; }
  #demo-tools button { padding-inline: .3rem; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button, button, #navigation a, .overview-grid a, .marketcards a, .df-support a { transition: none; }
}
