:root {
  --bg: #070719;
  --panel: #10102d;
  --panel-2: #15153a;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.10);
  --line: rgba(255, 255, 255, 0.14);
  --card: #ffffff;
  --card-ink: #10102d;
  --card-muted: rgba(16, 16, 45, 0.68);
  --blue: #3792e8;
  --blue-2: #5aa7f0;
  --magenta: #b3338b;
  --orange: #ffa912;
  --green: #11a37f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --widget-grad: linear-gradient(90deg, #c084ff 0%, #ff5fc7 50%, #ff7a3d 100%);
}

@property --angle {
  syntax: '<angle>';
  initial-value: 220deg;
  inherits: false;
}

@keyframes spin-border {
  to {
    --angle: 580deg;
  }
}

@keyframes glow-shadow {
  0%,
  100% {
    box-shadow:
      0 24px 70px -30px rgba(80, 60, 200, 0.38),
      0 8px 32px -20px rgba(255, 120, 80, 0.26),
      inset 0 0 24px rgba(255, 95, 199, 0.34),
      inset 0 0 80px rgba(140, 100, 255, 0.22);
  }

  50% {
    box-shadow:
      0 32px 90px -30px rgba(120, 80, 240, 0.52),
      0 12px 48px -20px rgba(255, 140, 90, 0.42),
      inset 0 0 38px rgba(91, 231, 255, 0.36),
      inset 0 0 110px rgba(120, 80, 240, 0.28);
  }
}

@keyframes halo-breathe {
  0%,
  100% {
    filter: blur(22px);
    opacity: 0.28;
  }

  50% {
    filter: blur(30px);
    opacity: 0.46;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 400px) 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(7, 7, 25, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.pulse-mark {
  width: min(400px, 60vw);
  max-height: 96px;
  object-fit: contain;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav::-webkit-scrollbar {
  display: none;
}

.topnav a,
.btn,
.data-link,
.tab,
.control-btn,
.speed-btn,
.load-more {
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.topnav a {
  padding: 14px 22px;
  font-size: 18px;
  color: var(--muted);
}

.topnav a:hover,
.topnav a.on {
  color: #fff;
  background: var(--soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
}

.sign-out-form {
  margin: 0;
  display: inline-flex;
}

.sign-out-form .btn {
  border: 1px solid var(--line);
  font: inherit;
  cursor: pointer;
}

.btn.light {
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.pulse-app {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.hero-band {
  position: relative;
  padding: 38px 0 30px;
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: -80px -18px auto auto;
  width: min(420px, 72vw);
  height: 280px;
  background: radial-gradient(circle, rgba(55, 146, 232, 0.30), transparent 66%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.compact {
  margin-bottom: 8px;
  font-size: 11px;
}

.hero-band h1 {
  width: min(900px, 100%);
  margin: 0;
  font-family: "Plus Jakarta Sans", Manrope, sans-serif;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.96;
}

.deck {
  width: min(720px, 100%);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.native-panel {
  position: relative;
  border: 2px solid transparent;
  border-radius: 28px;
  background:
    radial-gradient(80% 60% at 30% 0%, rgba(95, 60, 255, 0.18), transparent 60%) padding-box,
    radial-gradient(60% 50% at 90% 100%, rgba(255, 100, 60, 0.14), transparent 60%) padding-box,
    linear-gradient(180deg, #0d0c24, #07061a) padding-box,
    conic-gradient(from var(--angle, 220deg),
      #ff3d4d 0%,
      #ff7a3d 14%,
      #ffc23d 26%,
      #5be7ff 42%,
      #4d8eff 55%,
      #c084ff 70%,
      #ff5fc7 85%,
      #ff3d4d 100%) border-box;
  animation: spin-border 9s linear infinite, glow-shadow 5s ease-in-out infinite;
  overflow: visible;
}

.native-panel::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 36px;
  background: conic-gradient(from var(--angle, 220deg),
    #ff3d4d 0%,
    #ff7a3d 14%,
    #ffc23d 26%,
    #5be7ff 42%,
    #4d8eff 55%,
    #c084ff 70%,
    #ff5fc7 85%,
    #ff3d4d 100%);
  animation: halo-breathe 5s ease-in-out infinite;
  pointer-events: none;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Manrope, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  background: var(--widget-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stamp {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.data-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(77, 142, 255, 0.30);
  color: #8ec5ff;
  background: rgba(77, 142, 255, 0.15);
  font-size: 13px;
}

.podcast-player {
  margin: 0 clamp(16px, 4vw, 34px) 22px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background:
    radial-gradient(70% 80% at 90% 0%, rgba(255, 95, 199, 0.12), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(91, 231, 255, 0.10), transparent 58%),
    rgba(255, 255, 255, 0.06);
}

.podcast-player h3 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.18;
}

.podcast-player p {
  max-width: 900px;
}

#podcast-summary {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.podcast-meta {
  margin: 10px 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

audio {
  width: 100%;
  max-width: 100%;
}

.player-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.speed-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.control-btn,
.speed-btn,
.tab,
.load-more {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.control-btn,
.speed-btn {
  min-height: 36px;
  padding: 0 13px;
}

.speed-btn.active {
  color: var(--blue-2);
  border-color: rgba(77, 142, 255, 0.30);
  background: rgba(77, 142, 255, 0.15);
}

.podcast-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
}

.podcast-links a {
  color: #d7ebff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 235, 255, 0.36);
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 clamp(16px, 4vw, 34px) 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab {
  min-height: 38px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.76);
  border-color: transparent;
  background: transparent;
}

.tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.tab.active {
  color: var(--blue-2);
  border-color: rgba(77, 142, 255, 0.30);
  background: rgba(77, 142, 255, 0.15);
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(16px, 4vw, 34px) clamp(24px, 4vw, 36px);
}

.article-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  color: #14131f;
  background: #fafbff;
  text-decoration: none;
  box-shadow: none;
}

.article-card:hover h3 {
  color: #245fc7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.category-name {
  color: #4d8eff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-line {
  max-width: 46%;
  color: rgba(16, 16, 45, 0.52);
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.article-card h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  color: #14131f;
  overflow-wrap: anywhere;
}

.article-card p {
  margin: 0;
  color: #4a4d5e;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.empty-state,
.load-more-wrap {
  grid-column: 1 / -1;
}

.empty-state {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.load-more {
  min-height: 42px;
  padding: 0 18px;
}

.site-foot {
  padding: 28px 18px 42px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  border-top: 1px solid var(--line);
}

.career-page {
  --blue: #4d8eff;
  --orange: #ff7a3d;
}

.panel-head h2 .tm {
  font-size: 0.42em;
  vertical-align: super;
  font-weight: 700;
  margin-left: 0.08em;
  line-height: 0;
}

.career-subhead {
  font-family: "Plus Jakarta Sans", Manrope, sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: #fff;
  margin: 6px 0 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.career-features {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(77, 142, 255, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.career-features h2 {
  font-family: "Plus Jakarta Sans", Manrope, sans-serif;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: #fff;
}

.career-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.career-features li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.career-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(77, 142, 255, 0.18);
  border: 1px solid rgba(77, 142, 255, 0.4);
}

.career-features li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 7px;
  color: #5aa7f0;
  font-weight: 800;
  font-size: 12px;
}

.career-features li strong {
  color: #fff;
  font-weight: 700;
}

.career-coming-soon {
  margin-top: 24px;
  padding: clamp(28px, 4vw, 40px);
  background:
    radial-gradient(70% 80% at 90% 0%, rgba(255, 95, 199, 0.10), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(91, 231, 255, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
}

.career-coming-soon .eyebrow {
  margin: 0 0 8px;
}

.career-coming-soon h2 {
  font-family: "Plus Jakarta Sans", Manrope, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: #fff;
}

.career-coming-soon .status {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .career-features ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

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

@media (max-width: 680px) {
  .topbar {
    gap: 14px;
    padding: 14px 16px;
  }

  .pulse-mark {
    width: min(270px, 70vw);
  }

  .btn.light {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .pulse-app {
    width: 100%;
    padding: 20px 0 48px;
  }

  .hero-band {
    padding: 28px 18px 24px;
  }

  .native-panel {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .panel-head {
    display: grid;
  }

  .podcast-player {
    margin-left: 14px;
    margin-right: 14px;
    padding: 16px;
  }

  .player-tools {
    justify-content: flex-start;
  }

  .feed-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 0;
  }
}
