/* Six real applications in a native, swipeable carousel. */
body[data-page="home"] .experience-field > .agent-showcase {
  --agent-card-width: min(600px, calc(100vw - 64px));
  --agent-gap: clamp(14px, 2vw, 26px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(92px, 9vw, 142px) clamp(68px, 7vw, 110px);
  color: #0d203d;
  background: linear-gradient(180deg, #f9fbfe 0%, #eaf2fc 48%, #f9fbfe 100%);
}
body[data-page="home"] .agent-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 420px at var(--agent-pointer-x, 72%) var(--agent-pointer-y, 30%), rgba(126, 173, 224, .17), transparent 76%),
    radial-gradient(ellipse 60% 34% at 4% 86%, rgba(214, 230, 249, .6), transparent 78%);
}
body[data-page="home"] .agent-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 42%;
  left: -12%;
  width: 124%;
  height: 1px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(62, 113, 180, .16), transparent);
  pointer-events: none;
}
body[data-page="home"] .agent-showcase-inner { position: relative; }
body[data-page="home"] .agent-intro { align-items: end; margin-bottom: clamp(38px, 5vw, 70px); }
body[data-page="home"] .agent-intro h2 { max-width: 900px; color: #0e2444; }
body[data-page="home"] .agent-intro h2 em { color: #315f99; }
body[data-page="home"] .agent-intro > p { max-width: 370px; color: #506780; font-size: clamp(.96rem, 1.1vw, 1.1rem); line-height: 1.68; }
body[data-page="home"] .agent-scroll-track { position: relative; }
body[data-page="home"] .agent-showcase.is-scroll-driven .agent-scroll-stage {
  position: sticky;
  z-index: 1;
  top: var(--agent-sticky-top, 96px);
}
body[data-page="home"] .experience-field .agent-showcase.is-scroll-driven .agent-grid {
  overflow-x: hidden;
  scroll-snap-type: none;
  touch-action: pan-y;
}

body[data-page="home"] .agent-nav {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-block: 0 17px;
  border-bottom: 1px solid #c9d8ea;
}
body[data-page="home"] .agent-nav p { display: grid; gap: 6px; margin: 0; }
body[data-page="home"] .agent-nav-kicker { color: #4974a9; font-size: .65rem; font-weight: 800; letter-spacing: .18em; }
body[data-page="home"] .agent-nav strong { color: #143454; font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 700; }
body[data-page="home"] .agent-nav-actions { display: flex; align-items: center; gap: 9px; flex: none; }
body[data-page="home"] .agent-counter { min-width: 75px; margin-right: 7px; color: #325f96; font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
body[data-page="home"] .agent-nav-actions button {
  width: 48px;
  height: 48px;
  border: 1px solid #a8c2e1;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: #183d68;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
body[data-page="home"] .agent-nav-actions button:hover:not(:disabled) { transform: translateY(-2px); background: #0d2748; color: #fff; }
body[data-page="home"] .agent-nav-actions button:disabled { opacity: .38; cursor: default; }
body[data-page="home"] .agent-nav-actions button:focus-visible,
body[data-page="home"] .agent-pagination button:focus-visible,
body[data-page="home"] .agent-grid:focus-visible { outline: 2px solid #315f99; outline-offset: 3px; }
body[data-page="home"] .agent-showcase:not(.is-enhanced) :is(.agent-nav-actions,.agent-pagination) { display: none; }

body[data-page="home"] .experience-field .agent-showcase .agent-grid {
  display: flex;
  gap: var(--agent-gap);
  align-items: stretch;
  width: calc(100% + (100vw - 100%) / 2);
  margin-left: calc((100% - 100vw) / 2);
  padding: clamp(30px, 3.3vw, 48px) 0 clamp(32px, 3.7vw, 50px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc((100% - var(--agent-card-width)) / 2);
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  border: 0;
  background: transparent;
}
body[data-page="home"] .agent-grid::-webkit-scrollbar { display: none; }
body[data-page="home"] .agent-grid::before,
body[data-page="home"] .agent-grid::after {
  content: "";
  flex: 0 0 max(0px, calc((100% - var(--agent-card-width)) / 2 - var(--agent-gap)));
  pointer-events: none;
}
body[data-page="home"] .experience-field .agent-showcase .agent-card {
  --agent-accent: #4779b4;
  position: relative;
  display: grid;
  flex: 0 0 var(--agent-card-width);
  grid-template-columns: minmax(0, 39%) minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 0 clamp(22px, 2.7vw, 38px);
  min-height: 460px;
  margin: 0;
  padding: clamp(24px, 2.8vw, 36px);
  scroll-snap-align: center;
  border: 1px solid #c5d8ed;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 21px 58px rgba(18, 57, 108, .09);
  color: #102541;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
body[data-page="home"] .experience-field .agent-showcase .agent-card:nth-child(2n) { --agent-accent: #315e99; }
body[data-page="home"] .experience-field .agent-showcase .agent-card:nth-child(3n) { --agent-accent: #5a88b9; }
body[data-page="home"] .experience-field .agent-showcase .agent-card:hover,
body[data-page="home"] .experience-field .agent-showcase .agent-card.is-active {
  border-color: #7ca7d8;
  box-shadow: 0 28px 72px rgba(18, 57, 108, .16);
}
body[data-page="home"] .agent-card::after { display: none; }
body[data-page="home"] .agent-card-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #e2ebf6; }
body[data-page="home"] .agent-card .agent-number { color: #426ca1; font-size: .68rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
body[data-page="home"] .agent-card-signal { display: flex; gap: 5px; }
body[data-page="home"] .agent-card-signal i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #9ab9dd; }
body[data-page="home"] .agent-card-signal i:nth-child(2) { background: #4c7eb9; }
body[data-page="home"] .agent-card-graphic {
  position: relative;
  grid-column: 1;
  grid-row: 2 / 6;
  align-self: stretch;
  min-height: 290px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #dbe7f5;
  border-radius: 3px;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #eaf2fc 58%, #dfeaf8 100%);
}
body[data-page="home"] .agent-orbit { position: absolute; inset: 17%; border: 1px solid rgba(71, 116, 176, .27); border-radius: 50%; }
body[data-page="home"] .agent-orbit-one { transform: rotate(30deg) scale(1.2, .62); }
body[data-page="home"] .agent-orbit-two { transform: rotate(-54deg) scale(1.2, .62); }
body[data-page="home"] .agent-main-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border: 1px solid #93b3d7;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #e6f0fb);
  box-shadow: 0 14px 38px rgba(50, 101, 164, .17), inset 0 0 0 8px rgba(255,255,255,.66);
  color: var(--agent-accent);
}
body[data-page="home"] .agent-main-icon svg { width: 49px; height: 49px; }
body[data-page="home"] .agent-node { position: absolute; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--agent-accent); box-shadow: 0 0 0 6px rgba(103, 150, 202, .16); }
body[data-page="home"] .agent-node-a { top: 23%; left: 18%; }
body[data-page="home"] .agent-node-b { top: 69%; right: 14%; }
body[data-page="home"] .agent-node-c { bottom: 13%; left: 36%; }
body[data-page="home"] .agent-card.is-active .agent-node-a { animation: agent-pulse 3.5s ease-in-out infinite; }
body[data-page="home"] .agent-card.is-active .agent-node-b { animation: agent-pulse 3.5s ease-in-out 1.1s infinite; }
body[data-page="home"] .agent-card.is-active .agent-node-c { animation: agent-pulse 3.5s ease-in-out 2.2s infinite; }
@keyframes agent-pulse { 50% { box-shadow: 0 0 0 12px rgba(103,150,202,.08); } }
body[data-page="home"] .agent-card h3 { grid-column: 2; grid-row: 2; align-self: end; margin: 22px 0 10px; font-size: clamp(2.2rem, 3vw, 3.45rem); line-height: 1; letter-spacing: -.055em; }
body[data-page="home"] .agent-card p { color: #53677e; }
body[data-page="home"] .agent-card > p[id$="-summary"] { grid-column: 2; grid-row: 3; margin: 0; font-size: .96rem; line-height: 1.55; }
body[data-page="home"] .agent-benefit { grid-column: 2; grid-row: 4; align-self: end; display: grid; gap: 5px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #dce7f3; }
body[data-page="home"] .agent-benefit small,
body[data-page="home"] .agent-integrations span { color: #4777ad; font-size: .61rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
body[data-page="home"] .agent-benefit strong { color: #17385d; font-size: .93rem; line-height: 1.35; }
body[data-page="home"] .agent-card .agent-integrations { grid-column: 2; grid-row: 5; display: grid; gap: 5px; margin: 14px 0 0; }
body[data-page="home"] .agent-integrations b { color: #526b87; font-size: .78rem; font-weight: 600; }
body[data-page="home"] .agent-card .card-discover { grid-column: 1 / -1; grid-row: 6; margin-top: 20px; padding-top: 15px; }
body[data-page="home"] .agent-card .card-discover span { color: #315f99; }

body[data-page="home"] .agent-pagination { display: flex; justify-content: center; gap: 9px; margin-top: 1px; }
body[data-page="home"] .agent-pagination button { width: 25px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: #b9cbe1; cursor: pointer; transition: width .25s, background-color .25s; }
body[data-page="home"] .agent-pagination button[aria-current="true"] { width: 54px; background: #315f99; }
body[data-page="home"] .agent-principle { display: flex; align-items: center; gap: 20px; margin-top: clamp(42px, 6vw, 82px); padding: 20px 0 0; border-top: 1px solid #c8d8ea; }
body[data-page="home"] .agent-principle-mark { color: #4778ad; font-size: 2.2rem; line-height: 1; }
body[data-page="home"] .agent-principle p { max-width: 690px; margin: 0; color: #5a708a; font-size: .88rem; line-height: 1.5; }
body[data-page="home"] .agent-principle p strong { color: #17375c; }
body[data-page="home"] .agent-principle a { margin-left: auto; flex: none; color: #244f82; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 5px; }


@media (max-height: 800px) and (min-width: 601px) {
  body[data-page="home"] .experience-field .agent-showcase .agent-grid { padding-block: 12px 18px; }
  body[data-page="home"] .experience-field .agent-showcase .agent-card { min-height: 430px; padding: 22px; gap: 0 22px; }
  body[data-page="home"] .agent-card-graphic { min-height: 230px; margin-top: 14px; }
  body[data-page="home"] .agent-card h3 { margin: 14px 0 6px; font-size: 2.6rem; }
  body[data-page="home"] .agent-card > p[id$="-summary"] { font-size: .88rem; line-height: 1.4; }
  body[data-page="home"] .agent-benefit { margin-top: 9px; padding-top: 9px; }
  body[data-page="home"] .agent-benefit strong { font-size: .86rem; }
  body[data-page="home"] .agent-card .agent-integrations { margin-top: 8px; }
  body[data-page="home"] .agent-card .card-discover { margin-top: 10px; padding-top: 9px; }
}

@media (max-width: 820px) {
  body[data-page="home"] .agent-intro { align-items: start; }
  body[data-page="home"] .agent-intro > p { max-width: 640px; }
  body[data-page="home"] .experience-field .agent-showcase .agent-grid { width: calc(100% + 42px); margin-left: -21px; }
  body[data-page="home"] .agent-principle { flex-wrap: wrap; }
  body[data-page="home"] .agent-principle a { margin-left: 0; }
}
@media (max-width: 600px) {
  body[data-page="home"] .experience-field > .agent-showcase { --agent-card-width: calc(100vw - 58px); --agent-gap: 12px; padding-block: 76px 70px; }
  body[data-page="home"] .agent-intro { margin-bottom: 30px; }
  body[data-page="home"] .agent-intro > p { font-size: .93rem; line-height: 1.55; }
  body[data-page="home"] .agent-nav { align-items: center; }
  body[data-page="home"] .agent-nav strong { max-width: 200px; font-size: .93rem; line-height: 1.25; }
  body[data-page="home"] .agent-counter { display: none; }
  body[data-page="home"] .agent-nav-actions button { width: 37px; height: 37px; }
  body[data-page="home"] .experience-field .agent-showcase .agent-grid { width: calc(100% + 36px); margin-left: -18px; padding-block: 22px 30px; }
  body[data-page="home"] .experience-field .agent-showcase .agent-card { display: flex; flex-direction: column; min-height: 0; padding: 21px; gap: 0; }
  body[data-page="home"] .agent-card-top { padding-bottom: 11px; }
  body[data-page="home"] .agent-card-graphic { width: 100%; height: 142px; min-height: 142px; margin-top: 15px; }
  body[data-page="home"] .agent-main-icon { width: 78px; height: 78px; }
  body[data-page="home"] .agent-main-icon svg { width: 36px; height: 36px; }
  body[data-page="home"] .agent-card h3 { margin: 16px 0 8px; font-size: 2.3rem; }
  body[data-page="home"] .agent-card > p[id$="-summary"] { font-size: .87rem; line-height: 1.43; }
  body[data-page="home"] .agent-benefit { margin-top: 13px; padding-top: 11px; }
  body[data-page="home"] .agent-benefit strong { font-size: .86rem; }
  body[data-page="home"] .agent-card .agent-integrations { margin-top: 11px; }
  body[data-page="home"] .agent-card .card-discover { margin-top: 18px; padding-top: 12px; }
  body[data-page="home"] .agent-principle { align-items: start; gap: 10px; margin-top: 45px; }
  body[data-page="home"] .agent-principle-mark { font-size: 1.6rem; }
  body[data-page="home"] .agent-principle p { flex: 1 1 calc(100% - 40px); }
  body[data-page="home"] .agent-principle a { padding-left: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .agent-card .agent-node { animation: none !important; }
  body[data-page="home"] .agent-nav-actions button,
  body[data-page="home"] .agent-pagination button,
  body[data-page="home"] .agent-card { transition: none !important; }
}
