.site-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 15%, rgba(239, 75, 47, .25), transparent 28%),
    radial-gradient(circle at 12% 110%, rgba(50, 93, 255, .18), transparent 34%),
    #101828;
  color: #fff;
}

.site-header::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  pointer-events: none;
}

.header-inner,
.page-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  position: relative;
  z-index: 1;
  padding: 14px 0;
}

.header-bar,
.header-utility,
.header-actions,
.data-meta,
.section-heading,
.source-heading,
.library-heading {
  display: flex;
  align-items: center;
}

.header-bar,
.section-heading,
.source-heading,
.library-heading {
  justify-content: space-between;
}

.header-bar {
  min-height: 38px;
  gap: 20px;
}

.header-utility {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-actions {
  gap: 10px;
}

.hero {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
  min-height: 0;
  padding: 17px 0 11px;
}

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

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.hero-copy > p:last-child {
  max-width: 760px;
  margin: 7px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.45;
}

.hero-mark {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 36px rgba(0, 0, 0, .16);
}

.hero-mark svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: rgba(255, 255, 255, .38);
  stroke-width: 1.35;
}

.hero-mark .radar-sweep {
  stroke: #ff8b73;
  stroke-width: 2;
}

.hero-mark .radar-signal {
  fill: var(--accent);
  stroke: #ffb4a4;
  stroke-width: 2;
}

.hero-mark .radar-core {
  fill: #fff;
  stroke: none;
}

.data-meta {
  width: fit-content;
  min-height: 34px;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #d0d5dd;
  font-size: 13px;
  line-height: 1.35;
}

.page-shell {
  padding: 18px 0 68px;
}

.overview-section {
  margin-bottom: 20px;
}

.section-heading {
  gap: 18px;
  margin-bottom: 10px;
}

.section-heading h2,
.source-heading h2,
.library-heading h2 {
  margin: 2px 0 0;
  color: var(--ink-strong);
  font-size: 24px;
  line-height: 1.2;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.heading-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.heading-icon .ui-icon {
  width: 17px;
  height: 17px;
}

.section-kicker,
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.eyebrow {
  margin-bottom: 3px;
  color: #ff9d89;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feed-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 20px;
}

.feed-main,
.source-panel {
  min-width: 0;
}

.source-panel {
  position: sticky;
  top: 18px;
}

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

.topic-feed {
  display: grid;
  gap: 13px;
}

.dialog-shell {
  position: relative;
}
