.hero-campaign-line {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .28em;
  margin: 0 0 1rem;
  color: #cbd5e1;
  font-size: clamp(.72rem, 1.4vw, .95rem);
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero-campaign-line span {
  position: relative;
  color: #67e8f9;
  text-shadow: 0 0 22px rgba(34, 211, 238, .18);
}
.hero-campaign-line span::after {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  bottom: -.18em;
  height: 1px;
  background: linear-gradient(90deg, transparent, #67e8f9, transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: heroCampaignScan 1.1s cubic-bezier(.23, 1, .32, 1) .35s 1 forwards;
}
.analysis-brand-hero { display: none; }
/* The public share page reuses the exact workspace hero visual language (border,
   glow, radius, palette, proportions) via its own body scope — server-rendered,
   still script-free. */
body.authenticated-workspace .analysis-brand-hero,
body.share-page .analysis-brand-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 44rem);
  min-height: clamp(10.5rem, 22vw, 13.75rem);
  margin: 0 auto 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, .2);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 50% -20%, rgba(34, 211, 238, .2), transparent 58%),
    linear-gradient(145deg, rgba(15, 23, 42, .78), rgba(8, 47, 73, .38));
  box-shadow: 0 22px 70px rgba(2, 8, 23, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
}
body.authenticated-workspace .analysis-brand-hero::before,
body.share-page .analysis-brand-hero::before {
  position: absolute;
  z-index: -1;
  content: '';
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(14, 165, 233, .12);
  filter: blur(54px);
  pointer-events: none;
}
.analysis-brand-hero-logo {
  width: clamp(9.5rem, 22vw, 13.5rem);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(8, 145, 178, .16));
}
body.authenticated-workspace .analysis-brand-hero .hero-campaign-line,
body.share-page .analysis-brand-hero .hero-campaign-line {
  margin: .35rem 0 0;
  direction: ltr;
  unicode-bidi: isolate;
}
@keyframes heroCampaignScan {
  to { transform: scaleX(1); }
}
@media (max-width: 640px) {
  .hero-campaign-line { max-width: 18rem; margin-inline: auto; letter-spacing: .11em; }
  body.authenticated-workspace .analysis-brand-hero,
  body.share-page .analysis-brand-hero {
    min-height: 10rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 1.15rem;
    backdrop-filter: blur(10px);
  }
  .analysis-brand-hero-logo { width: 9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-campaign-line span::after { animation: none; transform: scaleX(1); }
}
