.hub-cta {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  background-image: linear-gradient(135deg, #f8fafc 0%, #dbeafe 40%, #c7d2fe 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
  font-size: 1rem;
  line-height: 1.4;
}
.hub-cta::before,
.hub-cta::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.35;
  pointer-events: none;
  transition: all 0.2s ease;
  display: none;
}
@media (min-width: 640px) {
  .hub-cta::before,
  .hub-cta::after {
    display: block;
  }
}
.hub-cta::before {
  width: 70px;
  height: 70px;
  background: rgba(96, 165, 250, 0.55);
  top: 20%;
  left: 10%;
  transform: translate(-50%, -50%) rotate(12deg);
}
.hub-cta::after {
  width: 120px;
  height: 120px;
  background: rgba(129, 140, 248, 0.55);
  top: 45%;
  right: 8%;
  transform: translate(50%, -50%) rotate(-5deg);
}
.hub-cta__inner {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 0.85rem;
}
.hub-cta__inner > * {
  margin: 0;
}
.hub-cta__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  margin: 0 auto 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.35);
  color: #1d4ed8;
}
.hub-cta__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2563eb;
  font-weight: 600;
}
.hub-cta__title {
  color: #0f172a;
  font-weight: 700;
  margin: 0;
  font-size: 1em;
}
.hub-cta__title--md { font-size: 1.5rem; line-height: 1.2; }
.hub-cta__title--lg { font-size: 1.85rem; line-height: 1.2; }
.hub-cta__title--xl { font-size: 2.25rem; line-height: 1.2; }
.hub-cta__description {
  font-size: 1.05rem;
  color: #1f2937;
}
.hub-cta__note {
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.75);
}
.prose-lg .hub-cta :where(p):not(:where(.not-prose, .not-prose *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.hub-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
}
.hub-cta__btn {
  border-radius: 0.75rem;
  padding: 0.78rem 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}
.hub-cta__btn--primary {
  background-image: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}
.hub-cta__btn--primary:hover {
  box-shadow: 0 18px 36px rgba(67, 56, 202, 0.35);
  transform: translateY(-2px);
}
.hub-cta__btn--secondary {
  background-color: rgba(248, 250, 252, 0.75);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: none;
}
.hub-cta__btn--secondary:hover {
  border-color: rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
}
.hub-cta--compact .hub-cta__btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
}
.hub-cta--hero .hub-cta__btn {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}
.hub-cta--compact {
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.hub-cta--compact::before {
  width: 56px;
  height: 56px;
  top: 16%;
  left: 12%;
}
.hub-cta--compact::after {
  width: 108px;
  height: 108px;
  top: 50%;
  right: 8%;
}
.hub-cta--compact .hub-cta__inner {
  max-width: 48rem;
  gap: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hub-cta--compact .hub-cta__title {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.hub-cta--compact .hub-cta__description {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}
.hub-cta--compact .hub-cta__buttons {
  justify-content: center;
  gap: 0.75rem;
}
.hub-cta--compact .hub-cta__btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
  box-shadow: 0 11px 20px rgba(37, 99, 235, 0.18);
  gap: 0.35rem;
}
.hub-cta--compact .hub-cta__btn--secondary {
  background-color: rgba(248, 250, 252, 0.95);
  border-color: rgba(148, 163, 184, 0.45);
}
.hub-cta--hero {
  padding: 4rem 2.5rem;
  margin: 3rem 0;
}
.hub-cta--hero::before {
  width: 130px;
  height: 130px;
  top: 18%;
  left: 15%;
}
.hub-cta--hero::after {
  width: 220px;
  height: 220px;
  top: 45%;
  right: 12%;
}
.hub-cta--hero .hub-cta__inner {
  max-width: 860px;
}
.hub-cta--hero .hub-cta__title--lg { font-size: 2.4rem; }
.hub-cta--hero .hub-cta__title--xl { font-size: 3rem; }
.hub-cta--hero .hub-cta__description {
  font-size: 1.05rem;
}
.hub-cta--hero .hub-cta__note {
  font-size: 0.95rem;
}
.hub-cta--hero .hub-cta__buttons {
  gap: 0.75rem;
}
.hub-cta--hero .hub-cta__btn {
  padding: 0.85rem 1.9rem;
  font-size: 0.95rem;
}
.hub-cta--hero .hub-cta__icon {
  width: 4rem;
  height: 4rem;
}
.dark .hub-cta {
  background-image: linear-gradient(135deg, #0f172a, #1e1b4b, #312e81);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.6);
}
.dark .hub-cta::before {
  background: rgba(59, 130, 246, 0.6);
}
.dark .hub-cta::after {
  background: rgba(99, 102, 241, 0.6);
}
.dark .hub-cta__title,
.dark .hub-cta__description,
.dark .hub-cta__note {
  color: #f1f5f9;
}
.dark .hub-cta__btn--secondary {
  background-color: rgba(15, 23, 42, 0.65);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.25);
}
.hub-cta--compact .hub-cta__btn--primary {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
  padding: 0.62rem 1.35rem;
  font-size: 0.85rem;
  gap: 0.3rem;
}
