/* DI agents spotlight on the homepage (every language build): a section right
   under the "Most teams are bleeding time" card that points to the demo and the AI assistant. It is built
   like the homepage's own sections (Why us, Process...): the same eyebrow
   badge with its side lines, a centred heading with one marked word, and
   cards in the site's card style. The data-swiftrix-name attributes hook it
   into js/deck-motion.js, so the badge, heading and cards get the same
   reveal and hover motion as the rest of the page. Fonts (Clash Grotesk,
   Instrument Sans, Roboto) are already loaded by the homepage. */

.swx-spot {
  --swx-accent: #b0e562;
  --swx-hl-ink: #0a0a0c;
  width: min(996px, 100%); box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 0 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

/* eyebrow badge: same pill + side-line art as the site's "Section Badge" */
.swx-tag-wrap { width: 100%; display: flex; justify-content: center; overflow: hidden; padding: 14px 0; }
.swx-tag {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; box-sizing: border-box; padding: 8px 14px 8px 8px; border-radius: 100px;
  background: #0a0a0c; border: 1px solid #0b0d10; box-shadow: rgba(73, 73, 73, .2) 0 2px 3px 0;
}
.swx-tag__line { position: absolute; top: calc(50% - 27px); width: 251px; height: 54px; pointer-events: none; }
.swx-tag__line--l { left: -189px; }
.swx-tag__line--r { right: -189px; }
.swx-tag__ico { width: 24px; height: 24px; display: grid; place-items: center; color: var(--swx-accent); }
.swx-tag__ico svg { width: 18px; height: 18px; }
.swx-tag__txt {
  font: italic 500 13px/1.5 ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  text-transform: uppercase; letter-spacing: .14em; color: #b2b2b2; white-space: nowrap;
}

.swx-spot h2 {
  font-family: "Clash Grotesk", "Instrument Sans", sans-serif; font-weight: 500;
  font-size: 48px; line-height: 1.2; color: #f4f2ef; margin: 2px 0 16px;
}
/* one marked word, swept in like the hero's (see .deck-hl in deck-theme.css) */
.swx-hl {
  padding: 0 .12em; margin: 0 -.04em; border-radius: .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: linear-gradient(0deg, var(--swx-accent), var(--swx-accent));
  background-repeat: no-repeat; background-size: 100% 100%; color: var(--swx-hl-ink);
}
.deck-reveal:not(.deck-in) .swx-hl { background-size: 0 100%; color: inherit; }
.deck-in .swx-hl { animation: swxHlSweep .9s cubic-bezier(.22, .61, .36, 1) .35s both; }
@keyframes swxHlSweep {
  0% { background-size: 0 100%; color: inherit; }
  45% { color: inherit; }
  65% { color: var(--swx-hl-ink); }
  100% { background-size: 100% 100%; color: var(--swx-hl-ink); }
}

.swx-spot__lead { max-width: 620px; margin: 0 0 30px; color: #b2b2b2; font-size: 17px; font-weight: 500; line-height: 1.5; }

.swx-spot__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.swx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: 100px; box-sizing: border-box;
  font: 600 16px/24px "Instrument Sans", system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .2s ease;
}
/* same fill and inset shadow as the hero's "Claim Your Automation Audit" */
.swx-btn--primary {
  background: linear-gradient(135deg, #c5f07a 0%, #a0d64a 100%); color: #0a0a0c;
  box-shadow: rgba(77, 77, 77, .28) 4px 4px 18px 0 inset;
}
.swx-btn--primary:hover {
  transform: translateY(-2px); filter: brightness(1.04) saturate(1.05);
  box-shadow: rgba(77, 77, 77, .28) 4px 4px 18px 0 inset, 0 16px 34px -10px rgba(160, 214, 74, .75);
}
/* secondary: the site's dark pill (as the eyebrow badges) */
.swx-btn--ghost {
  background: #0a0a0c; color: #f4f2ef; font-weight: 500;
  border: 1px solid #181c25; box-shadow: rgba(73, 73, 73, .2) 0 2px 3px 0;
}
.swx-btn--ghost:hover { transform: translateY(-2px); border-color: rgba(176, 229, 98, .55); }

/* cards: same surface as the "Why us" cards; hover lift + lime ring come
   from deck-theme.css via data-swiftrix-name="Card" */
.swx-spot__grid {
  width: 100%; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: left;
}
.swx-spot__grid li {
  padding: 24px; border-radius: 20px; box-sizing: border-box;
  background: #0b0d10; border: 1px solid #13161e;
}
.swx-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.swx-ico {
  flex: 0 0 auto; width: 37px; height: 37px; border-radius: 50%;
  display: grid; place-items: center; background: var(--swx-accent); color: #0a0a0c;
}
.swx-ico svg { width: 18px; height: 18px; }
.swx-spot__grid b {
  font-family: "Clash Grotesk", "Instrument Sans", sans-serif; font-weight: 500;
  font-size: 18px; line-height: 1.25; color: #f4f2ef;
}
.swx-spot__grid small {
  display: block; font-family: Roboto, "Instrument Sans", sans-serif; font-weight: 500;
  font-size: 15px; line-height: 1.4; color: #999;
}

@media (max-width: 960px) {
  .swx-spot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 809px) {
  /* the page puts a 100px gap between sections; with this section's own top
     padding and the badge's padding it read as a ~140px hole under the card */
  .swx-spot:not(:first-child) { padding-top: 0; margin-top: -44px; }
  .swx-spot h2 { font-size: 34px; }
  .swx-spot__lead { font-size: 16px; }
  .swx-spot__actions { margin-bottom: 36px; }
}
@media (max-width: 560px) {
  .swx-spot__grid { gap: 10px; }
  .swx-spot__grid li { padding: 16px; border-radius: 18px; }
  .swx-card__head { gap: 10px; margin-bottom: 6px; }
  .swx-ico { width: 32px; height: 32px; }
  .swx-ico svg { width: 16px; height: 16px; }
  .swx-spot__grid b { font-size: 16px; }
  .swx-spot__grid small { font-size: 13px; }
  .swx-spot__actions { width: 100%; }
  .swx-btn { flex: 1 1 100%; }
}
