/* ============================================================
   Connect — Hero
   Vertical color-code: violet-700. Orbs are STATIC (inner page —
   heavy ambient animation is reserved for the home hero).
============================================================ */

.connect-hero {
  position: relative;
  min-height: 90dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--grad-aurora);
  color: var(--paper);
  padding-top: calc(var(--space-20) + var(--space-8));
}

.connect-hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.connect-hero-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
  opacity: 0.5;
}

.connect-hero-orb-1 {
  top: 18%;
  left: 12%;
  width: 480px;
  height: 480px;
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.55), transparent 70%);
}

.connect-hero-orb-2 {
  bottom: 12%;
  right: 8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(91, 33, 182, 0.5), transparent 70%);
}

/* Prescriber hero — same shell, orbs mirrored so switching flows reads as
   moving to a different place rather than a content swap. */
.connect-hero-pro .connect-hero-orb-1 {
  top: auto;
  bottom: 14%;
  left: auto;
  right: 14%;
}

.connect-hero-pro .connect-hero-orb-2 {
  bottom: auto;
  top: 8%;
  right: auto;
  left: 6%;
}

.connect-hero-content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-16);
  text-align: left;
  max-width: 960px;
}

.connect-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: 400;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: var(--space-6);
}

.connect-hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--violet-400);
  box-shadow: 0 0 12px var(--violet-400);
}

.connect-hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-display-xl);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  font-weight: 700;
  margin-bottom: var(--space-6);
  max-width: 22ch;
  text-wrap: balance;
}

.connect-hero-highlight {
  font-style: normal;
  font-weight: inherit;
  color: var(--violet-300);
}

.connect-hero-sub {
  font-size: var(--fs-body-lg);
  color: var(--ink-200);
  max-width: 640px;
  margin-bottom: var(--space-8);
  line-height: var(--lh-relaxed);
}

/* Patient hero: three claims replacing the prose subhead. */
.connect-hero-points {
  list-style: none;
  margin: 0 0 var(--space-8);
  padding: 0;
  display: grid;
  gap: var(--space-3);
  max-width: 560px;
}

.connect-hero-points li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-normal);
  color: var(--ink-200);
}

.connect-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--violet-400);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.7);
}

.connect-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.connect-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--ink-300);
  letter-spacing: 0.02em;
}

.connect-hero-meta span[aria-hidden] {
  color: var(--violet-400);
  opacity: 0.6;
}

/* ---------- light theme ---------- */

.theme-light .connect-hero {
  background: var(--grad-aurora-light);
  color: var(--ink-900);
}

.theme-light .connect-hero-orb-1 {
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.55), transparent 70%);
  opacity: 0.6;
}

.theme-light .connect-hero-orb-2 {
  background: radial-gradient(closest-side, rgba(196, 181, 253, 0.5), transparent 70%);
  opacity: 0.6;
}

.theme-light .connect-hero-eyebrow {
  color: var(--violet-700);
}

.theme-light .connect-hero-eyebrow-dot {
  background: var(--violet-600);
  box-shadow: 0 0 10px var(--violet-500);
}

.theme-light .connect-hero-title {
  color: var(--ink-950);
}

.theme-light .connect-hero-highlight {
  color: var(--violet-700);
}

.theme-light .connect-hero-sub,
.theme-light .connect-hero-points li {
  color: var(--ink-600);
}

.theme-light .connect-hero-points li::before {
  background: var(--violet-600);
  box-shadow: 0 0 8px rgba(109, 40, 217, 0.4);
}

.theme-light .connect-hero-meta {
  color: var(--ink-600);
  border-top-color: var(--color-border);
}

.theme-light .connect-hero-meta span[aria-hidden] {
  color: var(--violet-700);
}
