:root {
  --bg: #030712;
  --fg: #f4f6fb;
  --muted: #9ba3b4;
  --accent: #4cf5c1;
  --accent-dark: #1b7f6e;
  --panel: #0e1524;
  --panel-light: #111a2f;
  --page-pad: clamp(1.5rem, 4vw, 6rem);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, rgba(76, 245, 193, 0.06), transparent 55%), var(--bg);
  color: var(--fg);
  line-height: 1.5;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -1;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #03130e;
  border-radius: 0.75rem;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem var(--page-pad);
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: nowrap;
}
.site-header__logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1.1;
  flex: 1;
  min-width: 0;
}
.site-header__title {
  font-weight: 600;
}
.site-header__logo small {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.site-header__toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}
.site-header__toggle.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.site-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.site-header__toggle.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}
.site-header__nav {
  display: flex;
  gap: 1.25rem;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  transition: max-height 200ms ease, opacity 200ms ease;
}
.site-header__nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-header__nav a:hover,
.site-header__nav a:focus-visible,
.site-header__nav a[aria-current="page"] {
  color: var(--fg);
}
.site-header__nav-cta {
  display: none;
}
.site-header__cta {
  white-space: nowrap;
}
.site-header__scrim {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(2px);
  z-index: 15;
}
body.nav-open {
  overflow: hidden;
}

.site-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 var(--page-pad) 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

section[id] {
  scroll-margin-top: 6rem;
}

header.hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.9fr);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  background: rgba(76, 245, 193, 0.1);
  color: var(--accent);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero__content h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 0.5rem;
}
.hero__content .lede {
  max-width: 42ch;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.step-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}
.step-value {
  margin: 0;
  font-weight: 500;
}
.hero__viz {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 380px;
  width: 100%;
  justify-self: end;
}
.viz-card {
  background: radial-gradient(circle at top right, rgba(76, 245, 193, 0.25), var(--panel));
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.viz-card h2 {
  margin: 0.5rem 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
}
main {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.btn {
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  font-weight: 500;
  transition: background 200ms ease, color 200ms ease, border 200ms ease;
}
.btn--primary {
  background: var(--accent);
  color: #03130e;
  border-color: transparent;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--fg);
}
.btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn--primary:hover {
  background: var(--accent-dark);
  color: var(--fg);
}

.panel {
  background: var(--panel);
  padding: 3rem;
  border-radius: 1.5rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.panel--dark {
  background: var(--panel-light);
}
.panel--glass {
  background: rgba(9, 15, 29, 0.8);
  border: 1px solid rgba(76, 245, 193, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.panel__heading h2 {
  margin-top: 0.5rem;
}
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.grid article {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.timeline {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.timeline article {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.timeline ul {
  padding-left: 1.25rem;
  color: var(--muted);
}
.stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stack article {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
}
.panel--cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(76, 245, 193, 0.2), rgba(3, 7, 18, 0.9));
}

.panel--impact {
  background: linear-gradient(160deg, rgba(7, 12, 24, 0.95), rgba(17, 32, 52, 0.85));
  border: 1px solid rgba(76, 245, 193, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.impact__header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
}
.impact__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.impact-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.impact-value {
  margin: 0;
  font-weight: 500;
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.impact__grid article {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.impact__grid ul {
  color: var(--muted);
  padding-left: 1.25rem;
}
.impact__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.panel--command {
  background: linear-gradient(145deg, rgba(76, 245, 193, 0.12), rgba(7, 14, 30, 0.95));
  border: 1px solid rgba(76, 245, 193, 0.15);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}
.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.command-grid article {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.command-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.command-list li {
  position: relative;
  padding-left: 1.25rem;
}
.command-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.panel--mobile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
  background: linear-gradient(165deg, rgba(4, 9, 20, 0.95), rgba(16, 31, 54, 0.85));
  border: 1px solid rgba(76, 245, 193, 0.12);
}
.mobile-preview {
  display: flex;
  justify-content: center;
}
.mobile-screen {
  width: 260px;
  border-radius: 2rem;
  background: radial-gradient(circle at top, rgba(76, 245, 193, 0.25), rgba(7, 12, 24, 0.9));
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-screen header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}
.mobile-screen small {
  color: var(--muted);
}
.mobile-signal {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-signal[data-state="alert"] {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}
.mobile-signal__label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.mobile-signal__value {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.mobile-copy ul {
  padding-left: 1.25rem;
  color: var(--muted);
  margin: 1rem 0;
}

footer {
  text-align: center;
  padding: 1rem 0 2rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.news-page {
  --news-bg: #eef1ff;
  --news-surface: #ffffff;
  --news-muted: #5c6686;
  --news-accent: #4b62ff;
  --news-accent-soft: #a2b3ff;
  --news-ink: #050b1f;
  background: radial-gradient(circle at top, rgba(79, 98, 255, 0.18), transparent 45%),
    radial-gradient(circle at 75% 20%, rgba(116, 252, 214, 0.25), transparent 40%),
    var(--news-bg);
  color: var(--news-ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body.news-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
body.news-page .site-header {
  background: rgba(255, 255, 255, 0.8);
  color: var(--news-ink);
  border-bottom: 1px solid rgba(16, 24, 61, 0.08);
  backdrop-filter: blur(18px);
}
body.news-page .site-header__logo small {
  color: var(--news-muted);
}
body.news-page .site-header__nav a {
  color: var(--news-muted);
}
body.news-page .site-header__nav a:hover,
body.news-page .site-header__nav a:focus-visible,
body.news-page .site-header__nav a[aria-current="page"] {
  color: var(--news-ink);
}
body.news-page .site-header__toggle {
  border-color: rgba(15, 23, 42, 0.25);
}
body.news-page .site-header__scrim {
  background: rgba(15, 23, 42, 0.45);
}
body.news-page .btn--ghost {
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--news-ink);
}

/* News page styles */
body.news-page .news-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.5rem, 4vw, 3.5rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.news-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.news-logo {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 1.35rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.news-logo strong {
  font-size: 1.5rem;
}
.news-topbar__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.news-pill {
  background: rgba(255, 255, 255, 0.65);
  color: var(--news-ink);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(7, 14, 44, 0.07);
  box-shadow: 0 8px 20px rgba(13, 18, 42, 0.08);
}
.news-hero {
  position: relative;
  background: linear-gradient(135deg, #0d1a3a, #1b2d66 50%, #283d88);
  color: white;
  border-radius: 1.75rem;
  padding: clamp(1.8rem, 3.6vw, 3rem);
  box-shadow: 0 30px 60px rgba(9, 14, 40, 0.45);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2.5rem;
  align-items: stretch;
  overflow: hidden;
}
.news-hero::after {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.hero-lead {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.hero-lead h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0;
}
.hero-summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
}
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}
.hero-meta__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34f5c6;
  box-shadow: 0 0 12px rgba(52, 245, 198, 0.7);
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-actions .btn--primary {
  background: #34f5c6;
  color: #05243c;
}
.hero-actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(16, 24, 61, 0.15));
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.06);
}
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.4rem;
}
.stat-value {
  margin: 0;
  font-size: 2.35rem;
  font-weight: 600;
  color: white;
}
.stat-sub {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.news-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.25rem 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(20, 27, 63, 0.08);
  box-shadow: 0 25px 40px rgba(11, 15, 38, 0.08);
}
.news-controls__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.view-toggle {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.2rem;
  gap: 0.3rem;
}
.view-toggle__btn {
  border: none;
  background: transparent;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.view-toggle__btn.is-active {
  background: linear-gradient(135deg, #4b63ff, #7e6bff);
  color: #fff;
  box-shadow: 0 12px 25px rgba(75, 99, 255, 0.35);
}
.news-search {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.news-search label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4c4f72;
}
.news-search__field {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(245, 247, 255, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(75, 99, 255, 0.25);
  padding: 0.15rem 1rem;
}
.news-search__field svg {
  width: 18px;
  height: 18px;
  fill: #475569;
}
.news-search__field input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.65rem;
  font-size: 1rem;
  color: #0f172a;
}
.news-search__field input::placeholder {
  color: rgba(71, 85, 105, 0.8);
}
.news-search__field input:focus {
  outline: none;
}
.news-search__clear {
  border: none;
  background: rgba(15, 23, 42, 0.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.15rem;
  color: #0f172a;
  cursor: pointer;
}
.news-search__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--news-muted);
}
.ticker__pause {
  border: none;
  background: rgba(21, 25, 63, 0.15);
  color: #0f172a;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.ticker__pause[aria-pressed="true"] {
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
}
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.25rem 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(20, 27, 63, 0.08);
  box-shadow: 0 25px 40px rgba(11, 15, 38, 0.08);
}
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.chip {
  border: 1px solid rgba(66, 87, 255, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-weight: 600;
  background: transparent;
  color: var(--news-ink);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.chip--active {
  background: linear-gradient(135deg, #4b63ff, #7e6bff);
  color: white;
  border-color: transparent;
  box-shadow: 0 12px 25px rgba(75, 99, 255, 0.35);
}
.chip:hover:not(.chip--active) {
  background: rgba(75, 98, 255, 0.08);
}
.ticker {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(75, 99, 255, 0.15), rgba(52, 245, 198, 0.18));
  padding: 0.85rem 1.25rem;
  overflow: hidden;
}
.ticker__label {
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #142356;
}
.ticker__items {
  flex: 1;
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: ticker-slide 32s linear infinite;
  color: #142356;
  font-weight: 500;
}
@keyframes ticker-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 1.75rem;
  align-items: start;
}
.news-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 7rem;
}
.news-sidebar__card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  box-shadow: 0 20px 35px rgba(7, 11, 33, 0.08);
  backdrop-filter: blur(12px);
}
.sidebar-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--news-muted);
  margin: 0 0 0.85rem;
}
.news-sidebar__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--news-muted);
}

.market-pulse-list,
.signal-tracker-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.market-pulse-list li,
.signal-tracker-list li {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 255, 0.9));
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.07);
}
.market-pulse-list li {
  flex-wrap: wrap;
}
.market-pulse-list .entry-meta {
  display: flex;
  flex-direction: column;
}
.market-pulse-list .ticker {
  font-size: 0.95rem;
  font-weight: 700;
  color: #172554;
}
.market-pulse-list .company-name {
  font-size: 0.85rem;
  color: #475569;
}
.market-pulse-list .pulse-quote {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.market-pulse-list .price {
  font-weight: 600;
  color: #0f172a;
}
.delta-positive {
  color: #0f9d68;
}
.delta-negative {
  color: #dc2626;
}
.signal-tracker-list li {
  flex-direction: column;
  align-items: flex-start;
}
.signal-tracker-list .tracker-title {
  font-weight: 600;
  color: #0f172a;
}
.signal-tracker-list .tracker-sub {
  color: var(--news-muted);
  font-size: 0.9rem;
}
.placeholder {
  font-style: italic;
  color: #94a3b8;
  border-style: dashed;
  justify-content: center;
}
.news-feed__empty {
  padding: 2.25rem;
  text-align: center;
  border-radius: 1.5rem;
  border: 1px dashed rgba(79, 98, 255, 0.35);
  color: var(--news-muted);
  background: rgba(255, 255, 255, 0.9);
}
.news-feed__empty.error {
  border-color: #f87171;
  color: #b91c1c;
}
.news-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(233, 238, 255, 0.96));
  border-radius: 1.6rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.6rem;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(9, 14, 40, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(75, 98, 255, 0.08), transparent 55%);
  pointer-events: none;
}
.news-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}
.news-card__source {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.source-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #0f172a;
  background: #e0e7ff;
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.04);
}
.source-name {
  margin: 0;
  font-weight: 600;
}
.source-time {
  margin: 0;
  color: var(--news-muted);
  font-size: 0.9rem;
}
.news-card__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.pill-btn {
  border: 1px solid rgba(71, 85, 255, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1.05rem;
  background: rgba(71, 85, 255, 0.12);
  color: #121a4b;
  font-weight: 600;
  cursor: pointer;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease;
}
.icon-btn:hover {
  transform: translateY(-2px);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #0f172a;
}
.news-card__copy {
  position: relative;
  z-index: 1;
}
.news-card__copy h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1.35rem;
  color: #0b1435;
}
.news-card__copy p {
  margin: 0;
  color: var(--news-muted);
}
.news-card__footer {
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}
.company-pill {
  display: inline-flex;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(75, 98, 255, 0.12);
  color: #1e1b4b;
  font-size: 0.85rem;
  font-weight: 600;
}
.news-card__media {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 110px;
  height: 110px;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(5, 11, 31, 0.55);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.8), rgba(181, 197, 255, 0.4));
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.45);
  z-index: 0;
}

.news-digest {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 2rem;
  box-shadow: 0 25px 45px rgba(9, 14, 40, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.news-digest__header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.news-digest__hint {
  margin: 0.35rem 0 0;
  color: var(--news-muted);
}
.digest-legend {
  display: inline-flex;
  gap: 1.25rem;
  align-items: center;
  color: #3b4160;
  font-weight: 600;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.3rem;
}
.dot--news {
  background: #4b63ff;
}
.dot--social {
  background: #34b3f5;
}
.dot--video {
  background: #f59e0b;
}
.news-digest__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.digest-card {
  background: linear-gradient(160deg, rgba(249, 250, 255, 0.95), rgba(226, 233, 255, 0.9));
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  padding: 1.5rem;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.digest-card.is-empty {
  text-align: center;
  font-style: italic;
  color: var(--news-muted);
}
.digest-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.digest-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  color: var(--news-muted);
  margin: 0;
}
.digest-card__header h3 {
  margin: 0.25rem 0 0;
}
.digest-price {
  text-align: right;
}
.digest-price .price {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: #050b1f;
}
.digest-price .delta-positive {
  color: #0f9d68;
}
.digest-price .delta-negative {
  color: #dc2626;
}
.digest-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
}
.digest-metrics dt {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--news-muted);
  letter-spacing: 0.18em;
}
.digest-metrics dd {
  margin: 0.15rem 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.digest-card__summary {
  margin: 0;
  color: #475569;
}
.digest-card__footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--news-muted);
}
.digest-link {
  text-decoration: none;
  font-weight: 600;
  color: #1d2d8f;
}


.news-topics {
  margin-top: 2rem;
  background: rgba(10, 14, 35, 0.96);
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  box-shadow: 0 30px 55px rgba(5, 6, 28, 0.25);
  color: #f8fafc;
}
.news-topics__header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.news-topics__hint {
  margin: 0.35rem 0 0;
  color: rgba(248, 250, 252, 0.75);
}
.news-topics__badge {
  border: 1px solid rgba(248, 250, 252, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.topic-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.topic-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.topic-card.is-empty {
  opacity: 0.8;
}
.topic-card__header h3 {
  margin: 0.2rem 0 0;
}
.topic-card__meta {
  margin: 0.2rem 0 0;
  color: rgba(248, 250, 252, 0.65);
  font-size: 0.9rem;
}
.topic-card__summary {
  margin: 0;
  color: rgba(248, 250, 252, 0.9);
}
.topic-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.topic-card__list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.topic-card__list a {
  color: #cdd7ff;
  font-weight: 600;
  text-decoration: none;
}
.topic-card__list a:hover {
  text-decoration: underline;
}
.topic-card__list span {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.6);
}
.topic-card__list .placeholder {
  color: rgba(248, 250, 252, 0.6);
  font-style: italic;
}
.topic-card__footer {
  display: flex;
  justify-content: flex-end;
}
.topic-card__focus {
  border: 1px solid rgba(248, 250, 252, 0.4);
  background: transparent;
  color: #f8fafc;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}
.topic-card__focus:hover {
  background: rgba(248, 250, 252, 0.12);
}
.chip--topic {
  border-color: rgba(24, 37, 88, 0.2);
  background: rgba(24, 37, 88, 0.08);
}
.chip--topic.chip--active {
  background: #121a44;
  color: #f8fafc;
}

.news-timeline {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 2rem;
  box-shadow: 0 35px 55px rgba(9, 14, 40, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.news-timeline[hidden] {
  display: none;
}
.news-timeline__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.timeline-feed {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.timeline-feed::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(75, 99, 255, 0.2), rgba(52, 245, 198, 0.3));
}
.timeline-entry {
  padding-left: 2.5rem;
  position: relative;
}
.timeline-entry a {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #1d2d8f;
  font-weight: 600;
  text-decoration: none;
}
.timeline-entry__link-disabled {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--news-muted);
}
.timeline-entry::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.75rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4b63ff;
  box-shadow: 0 0 12px rgba(75, 99, 255, 0.5);
}
.timeline-entry__time {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--news-muted);
}
.timeline-entry__title {
  margin: 0.35rem 0 0.2rem;
  font-size: 1.1rem;
  color: #050b1f;
}
.timeline-entry__meta {
  margin: 0;
  color: #475569;
}
.timeline-feed__empty {
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px dashed rgba(79, 98, 255, 0.35);
  text-align: center;
  color: var(--news-muted);
}

.news-extras {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.news-extras__card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  box-shadow: 0 25px 45px rgba(9, 14, 40, 0.09);
}
.news-extras__card header h3 {
  margin: 0.4rem 0 0;
}
.tweet-stream__list,
.video-desk__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tweet-card,
.video-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(248, 250, 255, 0.9);
}
.tweet-card strong {
  display: block;
  margin-bottom: 0.35rem;
}
.tweet-card time,
.video-card time {
  display: block;
  font-size: 0.8rem;
  color: var(--news-muted);
  margin-top: 0.4rem;
}
.tweet-card a,
.video-card a {
  text-decoration: none;
  color: #1d2d8f;
  font-weight: 600;
}
.video-card__source {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--news-muted);
}

@media (max-width: 1024px) {
  .news-hero {
    grid-template-columns: 1fr;
  }
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-sidebar {
    order: -1;
    position: static;
  }
}

@media (max-width: 768px) {
  .news-controls {
    padding: 1rem;
  }
  .chip-group {
    gap: 0.5rem;
  }
  .news-feed {
    grid-template-columns: 1fr;
  }
  .ticker__items {
    animation-duration: 20s;
  }
}

@media (max-width: 640px) {
  body.news-page .news-shell {
    padding: 1.5rem;
  }
  .news-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-hero {
    padding: 1.75rem;
  }
  .news-card {
    padding: 1.35rem;
  }
}

.panel--intel {
  background: linear-gradient(180deg, rgba(11, 20, 36, 0.95), rgba(5, 9, 20, 0.95));
  border: 1px solid rgba(76, 245, 193, 0.15);
}
.intel-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.intel-grid__empty {
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.08);
}
.intel-grid__empty.error {
  border-color: #f87171;
  color: #fca5a5;
}
.intel-card {
  background: rgba(7, 12, 24, 0.9);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.intel-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.intel-card__quote {
  text-align: right;
}
.intel-card__quote .price {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
}
.intel-card__quote .delta {
  font-size: 0.9rem;
  color: var(--muted);
}
.intel-card__quote.up .delta {
  color: #4cf5c1;
}
.intel-card__quote.down .delta {
  color: #f87171;
}
.intel-card__streams {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.intel-card__streams ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.intel-card__streams li + li {
  margin-top: 0.5rem;
}
.intel-card__streams a {
  text-decoration: none;
  color: var(--fg);
}
.intel-card__streams a:hover {
  color: var(--accent);
}
.stream-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.metrics__grid article {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(76, 245, 193, 0.15);
}
.metrics__grid h3 {
  font-size: 2rem;
  margin: 0.5rem 0;
}
.metrics__logos {
  margin-top: 2rem;
}
.logo-row {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  color: rgba(244, 246, 251, 0.7);
  font-size: 0.95rem;
}

.panel--spotlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  background: linear-gradient(135deg, rgba(76, 245, 193, 0.12), rgba(11, 17, 33, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.spotlight__quote blockquote {
  font-size: 1.5rem;
  margin: 1rem 0;
  line-height: 1.4;
}
.spotlight__quote .attribution {
  color: var(--muted);
}
.spotlight__details ul {
  padding-left: 1.25rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
  }
  .site-header__toggle {
    display: flex;
    margin-left: auto;
  }
  .site-header__nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: var(--page-pad);
    right: var(--page-pad);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: rgba(7, 12, 24, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
    display: none;
    z-index: 35;
  }
  .site-header__nav.is-open {
    display: flex;
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .site-header__nav a {
    width: 100%;
    padding: 0.5rem 0;
  }
  .site-header__cta {
    display: none;
  }
  .site-header__nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 0.5rem;
  }
  header.hero {
    grid-template-columns: 1fr;
  }
  .hero__viz {
    max-width: none;
    justify-self: stretch;
  }
  body.news-page .site-header__nav {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.25);
  }
  body.news-page .site-header__nav a {
    color: #0f172a;
  }
}

@media (max-width: 600px) {
  .panel {
    padding: 2rem;
  }
  header.hero {
    padding-top: 3rem;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn,
  .hero__steps div {
    width: 100%;
  }
  .impact__cta {
    flex-direction: column;
  }
  .impact__highlights {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Conferences page */
.panel--conferences {
  margin-top: 2rem;
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.filter-group label {
  font-size: 0.95rem;
  color: var(--muted);
}
.chip-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: inherit;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}
.chip[aria-pressed="true"] {
  background: rgba(76,245,193,0.12);
  border-color: var(--accent);
  color: var(--accent);
}
.conference-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}
.conference-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.conference-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.conference-card h3 {
  margin: 0.15rem 0;
}
.conference-card .muted {
  margin: 0;
}
.conference-card .why {
  margin: 0.35rem 0 0.15rem;
  color: #dfe4f5;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.badge--soft {
  background: rgba(76,245,193,0.08);
  border-color: rgba(76,245,193,0.25);
  color: var(--accent);
}

/* UX enhancements for conferences */
.filter-group--actions {
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
}
#filter-search {
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: inherit;
}
#filter-search::placeholder { color: var(--muted); }
.active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem 0;
  align-items: center;
}
.panel--conferences .btn.btn--ghost {
  border-color: rgba(255,255,255,0.2);
}
.conference-card {
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.conference-card:hover {
  transform: translateY(-2px);
  border-color: rgba(76,245,193,0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
