:root {
  --bg: #06111c;
  --bg-2: #091929;
  --panel: rgba(10, 19, 33, 0.75);
  --panel-strong: rgba(15, 25, 43, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #a7b4cb;
  --green: #34d399;
  --lime: #bef264;
  --coral: #fb7185;
  --violet: #8b5cf6;
  --blue: #38bdf8;
  --gold: #fbbf24;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.17), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(139, 92, 246, 0.17), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.mesh {
  position: fixed;
  inset: auto;
  filter: blur(120px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.mesh-a {
  width: 38rem;
  height: 38rem;
  left: -8rem;
  top: -6rem;
  background: var(--blue);
}

.mesh-b {
  width: 34rem;
  height: 34rem;
  right: -6rem;
  top: 12rem;
  background: var(--violet);
}

.mesh-c {
  width: 30rem;
  height: 30rem;
  left: 35%;
  bottom: -8rem;
  background: var(--coral);
}

.site-header,
.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-lockup h1,
.hero-copy h2,
.section-heading h3 {
  font-family: "Sora", sans-serif;
}

.brand-kicker,
.eyebrow {
  display: inline-block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
}

.site-header h1 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.page-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.5rem;
}

.hero-panel,
.section,
.stat-card,
.pulse-card,
.next-card,
.brand-card,
.feed-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.5rem;
  border-radius: 32px;
  padding: 2rem;
  margin-top: 1.25rem;
}

.hero-copy h2 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.hero-text {
  max-width: 52rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.button {
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}

.button-primary {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #04101b;
  border: 0;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-stat-stack {
  display: grid;
  gap: 1rem;
}

.stat-card {
  border-radius: 24px;
  padding: 1.3rem;
  background: var(--panel-strong);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 2.4rem;
  margin: 0.4rem 0;
}

.stat-sub {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  margin-top: 1.6rem;
  padding: 1.5rem;
  border-radius: 28px;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-heading-split {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section-heading h3 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-copy {
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.55;
}

.brand-grid,
.pulse-grid,
.next-grid,
.feed-grid,
.topic-grid {
  display: grid;
  gap: 1rem;
}

.brand-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pulse-grid,
.next-grid,
.topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.brand-card,
.pulse-card,
.next-card,
.feed-card,
.topic-card {
  border-radius: 24px;
  padding: 1.2rem;
}

.brand-card h4,
.pulse-card h4,
.next-card h4,
.feed-card h4,
.topic-card h4 {
  margin: 0.6rem 0;
  font-family: "Sora", sans-serif;
}

.brand-meta,
.feed-meta,
.pulse-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.brand-pill-row,
.feed-pill-row,
.pulse-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0;
  list-style: none;
}

.pill {
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.77rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #dce5f3;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.filter-grow {
  grid-column: span 1;
}

.filter-bar label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-bar select,
.filter-bar input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.85rem 0.9rem;
  font: inherit;
}

.feed-toolbar {
  margin: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.feed-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feed-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feed-card a,
.brand-card a {
  color: inherit;
  text-decoration: none;
}

.feed-card p,
.brand-card p,
.pulse-card p,
.next-card p {
  color: var(--muted);
  line-height: 1.55;
}

.feed-card .feed-link {
  margin-top: auto;
  color: var(--lime);
  font-weight: 700;
}

.feed-meta-bar {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.topic-card {
  background: linear-gradient(180deg, rgba(16, 25, 43, 0.9), rgba(9, 18, 30, 0.88));
}

.topic-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.topic-kicker,
.topic-count {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.topic-links {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.topic-links a {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.topic-links a span {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .hero-panel,
  .section-heading-split,
  .filter-bar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-panel {
    padding: 1.4rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .site-header {
    padding: 1rem;
  }

  .section,
  .hero-panel {
    border-radius: 22px;
  }

  .hero-copy h2 {
    font-size: 2.3rem;
  }
}
