@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@800&display=swap');

.bot-design .product-copy .bot-summary {
  margin: 14px 0 8px;
  padding: 15px 17px 16px;
  background: #151517;
  border: 1px solid #353538;
  border-left: 3px solid #b1cf6c;
  border-radius: 9px;
  text-align: left;
}

.bot-design .product-copy .bot-summary h2 {
  margin: 0 0 7px;
  color: #f5f5f3;
  font-size: clamp(1.04rem, 1.55vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.bot-design .product-copy .bot-summary p {
  margin: 0;
  color: #d2d2d3;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.bot-design .product-copy .bot-summary .summary-onboarding {
  margin-top: 8px;
  color: #f4f4f1;
  font-weight: 800;
}

.bot-design .product-copy .bot-summary {
  position: relative;
  border-color: color-mix(in srgb, var(--bot-title-color, #b1cf6c) 68%, #353538);
}

@property --summary-glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.bot-design .product-copy .bot-summary::before,
.bot-design .product-copy .bot-summary::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
}

.bot-design .product-copy .bot-summary::after {
  box-shadow:
    0 0 11px color-mix(in srgb, var(--bot-title-color, #b1cf6c) 86%, transparent),
    0 0 30px color-mix(in srgb, var(--bot-title-color, #b1cf6c) 55%, transparent);
  opacity: .72;
  animation: bot-summary-radiate 1.45s ease-in-out infinite alternate;
}

.bot-design .product-copy .bot-summary::before {
  padding: 2px;
  background: conic-gradient(from var(--summary-glow-angle),
    transparent 10%, var(--bot-title-color, #b1cf6c) 25%, transparent 42%,
    transparent 60%, var(--bot-title-color, #b1cf6c) 75%, transparent 92%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: bot-summary-orbit 2.6s linear infinite;
}

@keyframes bot-summary-radiate {
  from { opacity: .42; }
  to { opacity: 1; }
}

@keyframes bot-summary-orbit {
  to { --summary-glow-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .bot-design .product-copy .bot-summary::before,
  .bot-design .product-copy .bot-summary::after {
    animation: none;
  }
}

.bot-design .product-copy .bot-summary h2 {
  color: var(--bot-title-color, #f5f5f3);
  text-shadow: 0 0 12px color-mix(in srgb, currentColor 65%, transparent);
}
