/*
 * Summit IA Store: "Comércio agêntico" CMS page (identifier comercio-agentico).
 * Plain CSS, loaded only by Magento_Cms/layout/cms_page_view_id_comercio-agentico.xml.
 * Everything is scoped under body.summit-agentic or .sxa-* so nothing leaks.
 *
 * Own tokens (--a-*) on purpose: summit-fx.css (:root) and summit-home.css (body.summit-home)
 * give --sx-deep / --sx-muted different values, so this file never reads those two.
 *
 * Contrast rules (see theme/tests/contrast.js): text on the dark surfaces is white, lime,
 * mist #D9D2EA or soft #BDB4D6; indigo/violet are used only for strokes, fills behind white
 * text (button/badge) and glows.
 *
 * Motion: transform/opacity/stroke-dashoffset only; everything static and fully visible with
 * prefers-reduced-motion. Content never depends on JS (js/summit-agentic.js only enhances).
 */

body.summit-agentic {
  --a-indigo: #6911DF;
  --a-violet: #8E3BFF;
  --a-lime: #BAEF26;
  --a-rock: #15032D;
  --a-deep: #0A011C;
  --a-panel: #1A0838;
  --a-mist: #D9D2EA;
  --a-soft: #BDB4D6;
  --a-amber: #FFC857;
  --a-line: rgba(255, 255, 255, .12);
  --a-glass: rgba(255, 255, 255, .05);
  --a-ease: cubic-bezier(.16, 1, .3, 1);
  --a-gutter: 16px;
  --a-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* ---------- Page chrome: dark, full bleed ---------- */

html body.summit-agentic .page-wrapper {
  background: var(--a-deep);
}

body.summit-agentic .page-main {
  max-width: none;
  padding: 0;
  margin: 0;
}

body.summit-agentic .page-main > .columns,
body.summit-agentic .columns .column.main {
  padding: 0;
  margin: 0;
  float: none;
  width: auto;
}

body.summit-agentic .page-title-wrapper,
body.summit-agentic .breadcrumbs {
  display: none;
}

.sxa {
  position: relative;
  overflow-x: clip;
  background: var(--a-deep);
  color: var(--a-mist);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.sxa *,
.sxa *::before,
.sxa *::after {
  box-sizing: border-box;
}

.sxa-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--a-gutter);
  padding-right: var(--a-gutter);
}

.sxa-mono {
  font-family: var(--a-mono);
  font-size: .92em;
  letter-spacing: 0;
}

.sxa abbr[title] {
  text-decoration: none;
  border-bottom: 1px dotted rgba(186, 239, 38, .6);
  cursor: help;
}

/* Links: explicit states so Luma's purple a:visited never lands on a dark surface */
.sxa a,
.sxa a:visited {
  color: var(--a-lime);
  text-decoration: underline;
  text-decoration-color: rgba(186, 239, 38, .45);
  text-underline-offset: 3px;
}

.sxa a:hover,
.sxa a:active {
  color: #FFFFFF;
  text-decoration-color: #FFFFFF;
}

.sxa a:focus-visible,
.sxa button:focus-visible,
.sxa [tabindex]:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
  border-radius: 6px;
}

.sxa h1,
.sxa h2,
.sxa h3 {
  font-family: inherit;
}

.sxa [id] {
  scroll-margin-top: 130px;
}

.sxa-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Hero ---------- */

.sxa-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 44px 0 36px;
  background: var(--a-rock);
}

.sxa-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.sxa-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
  animation: sxa-drift 18s ease-in-out infinite alternate;
}

.sxa-orb--a {
  width: 560px;
  height: 560px;
  right: -160px;
  top: -140px;
  background: radial-gradient(circle, rgba(105, 17, 223, .75), rgba(105, 17, 223, 0) 70%);
}

.sxa-orb--b {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(186, 239, 38, .28), rgba(186, 239, 38, 0) 70%);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

.sxa-orb--c {
  width: 340px;
  height: 340px;
  left: 40%;
  top: 30%;
  background: radial-gradient(circle, rgba(142, 59, 255, .45), rgba(142, 59, 255, 0) 70%);
  animation-duration: 30s;
}

.sxa-grid {
  position: absolute;
  inset: -56px 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 72%);
  animation: sxa-grid 14s linear infinite;
}

.sxa-noise {
  position: absolute;
  inset: 0;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sxa-hero__inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.sxa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--a-lime);
}

.sxa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a-lime);
  box-shadow: 0 0 12px var(--a-lime);
  animation: sxa-blink 2.4s ease-in-out infinite;
}

.sxa-hero__title {
  margin: 0;
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #FFFFFF;
}

.sxa-grad {
  display: block;
  color: #FFFFFF;
  background: linear-gradient(100deg, #FFFFFF 0%, #E6FF9E 35%, var(--a-lime) 55%, #D7B8FF 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sxa-sheen 9s ease-in-out infinite alternate;
}

.sxa-hero__sub {
  display: block;
  margin-top: 10px;
  font-size: .5em;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--a-mist);
}

.sxa-hero__lead {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--a-mist);
}

.sxa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.sxa-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--a-mist);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.sxa-chip .sxa-mono {
  color: #FFFFFF;
  font-weight: 600;
}

.sxa-chip__led {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a-lime);
}

.sxa-chip__led::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--a-lime);
  animation: sxa-ping 2.2s ease-out infinite;
}

.sxa-chip__led--violet {
  background: var(--a-violet);
}

.sxa-chip__led--violet::after {
  border-color: var(--a-violet);
}

.sxa-hero__cta,
.sxa-end {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sxa-stamp {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--a-soft);
}

/* Buttons */
.sxa a.sxa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .35s var(--a-ease), box-shadow .35s var(--a-ease), background-color .2s;
}

.sxa a.sxa-btn:hover {
  transform: translateY(-2px);
}

.sxa a.sxa-btn--lime,
.sxa a.sxa-btn--lime:visited,
.sxa a.sxa-btn--lime:hover {
  background: var(--a-lime);
  color: var(--a-rock);
  box-shadow: 0 0 0 1px rgba(186, 239, 38, .4), 0 10px 30px -10px rgba(186, 239, 38, .6);
}

.sxa a.sxa-btn--ghost,
.sxa a.sxa-btn--ghost:visited,
.sxa a.sxa-btn--ghost:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .3);
}

.sxa a.sxa-btn--ghost:hover {
  background: rgba(105, 17, 223, .4);
}

/* Protocol ring */
.sxa-ring {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.sxa-ring svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sxa-ring__halo {
  fill: none;
  stroke: rgba(255, 255, 255, .08);
  stroke-dasharray: 2 10;
}

.sxa-ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, .12);
  stroke-width: 1.5;
}

.sxa-ring__inner {
  fill: none;
  stroke: rgba(186, 239, 38, .25);
  stroke-dasharray: 4 8;
}

.sxa-ring__arc {
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 260 934;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(186, 239, 38, .6));
}

.sxa-ring__spin {
  transform-box: view-box;
  transform-origin: 260px 260px;
  animation: sxa-spin 48s linear infinite;
}

.sxa-ring__node {
  transform-box: fill-box;
  transform-origin: center;
  animation: sxa-spin 48s linear infinite reverse;
}

.sxa-ring__node circle {
  fill: #1D0A40;
  stroke: var(--a-lime);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(186, 239, 38, .45));
}

.sxa-ring__node--soft circle {
  stroke: var(--a-violet);
  filter: drop-shadow(0 0 10px rgba(142, 59, 255, .6));
}

.sxa-ring__node text {
  font-family: var(--a-mono);
  font-size: 21px;
  font-weight: 700;
  text-anchor: middle;
  fill: #FFFFFF;
}

.sxa-ring__core circle {
  fill: var(--a-indigo);
  stroke: rgba(255, 255, 255, .5);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 24px rgba(105, 17, 223, .9));
}

.sxa-ring__core-t {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .14em;
  text-anchor: middle;
  fill: #FFFFFF;
}

.sxa-ring__core-s {
  font-size: 19px;
  text-anchor: middle;
  fill: #FFFFFF;
}

/* Counters */
.sxa-counters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}

.sxa-counters > div {
  display: flex;
  flex-direction: column-reverse;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--a-glass);
  border: 1px solid var(--a-line);
}

.sxa-counters dt {
  font-size: 13px;
  line-height: 1.35;
  color: var(--a-soft);
}

.sxa-counters dd {
  margin: 0 0 4px;
  font-family: var(--a-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--a-lime);
  font-variant-numeric: tabular-nums;
}

/* ---------- Section nav ---------- */

.sxa-nav {
  position: relative; /* not sticky: the store header is already sticky and changes height */
  z-index: 1;
  background: rgba(10, 1, 28, .82);
  border-top: 1px solid var(--a-line);
  border-bottom: 1px solid var(--a-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.sxa-nav ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.sxa-nav li {
  flex: 0 0 auto;
  margin: 0;
}

.sxa .sxa-nav a,
.sxa .sxa-nav a:visited {
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--a-mist);
  text-decoration: none;
  border: 1px solid transparent;
}

.sxa .sxa-nav a:hover,
.sxa .sxa-nav a.is-current {
  color: #FFFFFF;
  border-color: rgba(186, 239, 38, .5);
  background: rgba(186, 239, 38, .08);
}

/* ---------- Sections ---------- */

.sxa-sec {
  position: relative;
  padding: 64px 0;
  background: var(--a-deep);
}

.sxa-sec--deep {
  background: linear-gradient(180deg, var(--a-rock), var(--a-deep));
}

.sxa-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105, 17, 223, .9) 25%, var(--a-lime) 50%, rgba(105, 17, 223, .9) 75%, transparent);
  opacity: .7;
}

.sxa-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.sxa-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--a-lime);
}

.sxa-kicker .sxa-mono {
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(186, 239, 38, .45);
  letter-spacing: .05em;
}

.sxa-h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.02em;
  color: #FFFFFF;
  text-wrap: balance;
}

.sxa-h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--a-lime);
}

.sxa-h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  color: #FFFFFF;
}

.sxa-intro {
  margin: 14px 0 0;
  font-size: 17px;
  color: var(--a-mist);
}

.sxa-note {
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--a-soft);
}

.sxa .sxa-ref,
.sxa .sxa-ref:visited {
  font-family: var(--a-mono);
  font-size: .8em;
  text-decoration: none;
  color: var(--a-lime);
  white-space: nowrap;
}

.sxa .sxa-ref:hover {
  color: #FFFFFF;
}

/* Glass cards with a gradient border */
.sxa-cards,
.sxa-radar {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sxa-card {
  position: relative;
  margin: 0;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(var(--a-panel), var(--a-panel)) padding-box,
    linear-gradient(140deg, rgba(186, 239, 38, .55), rgba(142, 59, 255, .35) 40%, rgba(255, 255, 255, .06) 70%) border-box;
  border: 1px solid transparent;
  transition: transform .4s var(--a-ease), box-shadow .4s var(--a-ease);
}

.sxa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(186, 239, 38, .25), 0 24px 60px -24px rgba(105, 17, 223, .9);
}

.sxa-card p {
  margin: 0 0 10px;
}

.sxa-proto {
  display: flex;
  flex-direction: column;
}

.sxa-proto__tag {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 14px !important;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--a-rock);
  background: var(--a-lime);
  box-shadow: 0 0 24px rgba(186, 239, 38, .35);
}

.sxa-proto__q {
  font-size: 15px;
  font-style: italic;
  color: var(--a-soft);
}

.sxa-facts {
  margin: 4px 0 16px;
  font-size: 15px;
}

.sxa-facts dt {
  margin-top: 10px;
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--a-soft);
}

.sxa-facts dd {
  margin: 2px 0 0;
  color: var(--a-mist);
}

.sxa-proto .sxa-badge {
  margin-top: auto;
}

/* Status badges */
.sxa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--a-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  width: fit-content;
}

.sxa-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.sxa-badge--on { color: var(--a-lime); background: rgba(186, 239, 38, .08); }
.sxa-badge--pilot { color: #7FE3FF; background: rgba(127, 227, 255, .08); }
.sxa-badge--ann { color: #D7B8FF; background: rgba(142, 59, 255, .14); }
.sxa-badge--out { color: var(--a-amber); background: rgba(255, 200, 87, .08); }
.sxa-badge--unk { color: var(--a-soft); background: rgba(255, 255, 255, .05); border-style: dashed; }
.sxa-badge--open { color: #FFFFFF; background: rgba(142, 59, 255, .3); }
.sxa-badge--wip { color: var(--a-amber); background: rgba(255, 200, 87, .1); border-style: dashed; }

.sxa-wip {
  display: inline-block;
  padding: 0 8px;
  border-radius: 999px;
  font-family: var(--a-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--a-amber);
  border: 1px dashed var(--a-amber);
  white-space: nowrap;
}

/* Radar */
.sxa-sec--radar {
  background:
    radial-gradient(circle at 50% 0%, rgba(105, 17, 223, .35), transparent 55%),
    repeating-radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .045) 0 1px, transparent 1px 90px),
    var(--a-deep);
}

.sxa-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--a-soft);
}

.sxa-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.sxa-legend .sxa-badge {
  margin: 0;
}

.sxa-radar__item p {
  font-size: 15px;
}

.sxa-radar__item p.sxa-badge {
  font-size: 12px;
}

.sxa-radar__item .sxa-src {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--a-line);
  font-family: var(--a-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--a-soft);
}

/* ---------- Tabs (JS) and table (no JS) ---------- */

.sxa-tabs[hidden],
.sxa-panel[hidden],
.sxa-table-wrap[hidden] {
  display: none;
}

.sxa-tabs__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--a-glass);
  border: 1px solid var(--a-line);
}

.sxa .sxa-tabs__list button {
  appearance: none;
  margin: 0;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--a-mist);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}

.sxa .sxa-tabs__list button:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .08);
}

.sxa .sxa-tabs__list button[aria-selected="true"] {
  color: var(--a-rock);
  background: var(--a-lime);
  box-shadow: 0 0 24px rgba(186, 239, 38, .35);
}

.sxa-panel {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: sxa-fade .45s var(--a-ease);
}

.sxa-panel__grid {
  display: grid;
  gap: 18px;
  margin: 0;
}

.sxa-panel__grid dt {
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--a-lime);
}

.sxa-panel__grid dd {
  margin: 4px 0 0;
  font-size: 16px;
  color: #FFFFFF;
}

.sxa-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--a-line);
}

.sxa-mini span {
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--a-mono);
  font-size: 13px;
  color: #FFFFFF;
  background: rgba(105, 17, 223, .35);
  border: 1px solid rgba(142, 59, 255, .6);
}

.sxa-mini span:last-child {
  color: var(--a-rock);
  background: var(--a-lime);
  border-color: var(--a-lime);
}

.sxa-mini i {
  position: relative;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--a-violet), var(--a-lime));
  overflow: hidden;
}

.sxa-mini i::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: sxa-run 1.6s linear infinite;
}

.sxa-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--a-line);
}

.sxa .sxa-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  background: var(--a-panel);
  color: var(--a-mist);
  font-size: 15px;
}

.sxa .sxa-table caption {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--a-soft);
  caption-side: top;
}

.sxa .sxa-table th,
.sxa .sxa-table td {
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid var(--a-line);
  text-align: left;
  vertical-align: top;
  background: transparent;
  color: var(--a-mist);
}

.sxa .sxa-table thead th {
  font-family: var(--a-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--a-lime);
}

.sxa .sxa-table tbody th {
  color: #FFFFFF;
  font-weight: 600;
}

/* ---------- SVG diagrams ---------- */

.sxa-diagram {
  margin: 0;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(105, 17, 223, .25), transparent 70%),
    rgba(255, 255, 255, .03);
  border: 1px solid var(--a-line);
}

.sxa-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: inherit;
}

.sxa-svg--wide {
  display: none;
}

.sxa-svg--tall {
  max-width: 420px;
  margin: 0 auto;
}

.sxa-svg text {
  font-size: 16px;
  text-anchor: middle;
  fill: var(--a-mist);
}

.sxa-svg .sxa-svg__h {
  font-size: 19px;
  font-weight: 700;
  fill: #FFFFFF;
}

.sxa-svg .sxa-svg__small {
  font-size: 14px;
  fill: var(--a-soft);
}

.sxa-svg .sxa-svg__lane {
  font-family: var(--a-mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: var(--a-lime);
}

.sxa-svg .sxa-svg__edge {
  font-family: var(--a-mono);
  font-size: 14px;
  fill: #FFFFFF;
  paint-order: stroke;
  stroke: var(--a-deep);
  stroke-width: 6px;
  stroke-linejoin: round;
}

.sxa-svg .sxa-svg__edge--lime {
  fill: var(--a-lime);
}

.sxa-node rect {
  fill: #1D0A40;
  stroke: rgba(255, 255, 255, .22);
  stroke-width: 1.5;
}

.sxa-node--key rect {
  fill: #22094D;
  stroke: var(--a-violet);
  stroke-width: 2;
  filter: drop-shadow(0 0 14px rgba(142, 59, 255, .55));
  animation: sxa-glow 3.2s ease-in-out infinite;
}

.sxa-node--human rect {
  stroke: var(--a-lime);
  stroke-dasharray: 6 5;
}

.sxa-node--ok rect {
  fill: rgba(186, 239, 38, .12);
  stroke: var(--a-lime);
}

.sxa-node--off rect {
  fill: transparent;
  stroke: rgba(255, 255, 255, .3);
  stroke-dasharray: 4 4;
}

.sxa-node--off text {
  fill: var(--a-soft);
  text-decoration: line-through;
}

.sxa-wire {
  fill: none;
  stroke: rgba(142, 59, 255, .75);
  stroke-width: 2;
}

.sxa-wire--flow {
  stroke: rgba(255, 255, 255, .5);
  stroke-dasharray: 6 8;
  animation: sxa-dash 1.4s linear infinite;
}

.sxa-wire--back {
  animation-direction: reverse;
}

.sxa-wire--lime {
  stroke: var(--a-lime);
}

.sxa-wire--cut {
  stroke: rgba(255, 200, 87, .8);
  stroke-dasharray: 3 5;
}

.sxa-packet {
  fill: #FFFFFF;
  filter: drop-shadow(0 0 6px #FFFFFF);
}

.sxa-packet--lime {
  fill: var(--a-lime);
  filter: drop-shadow(0 0 8px var(--a-lime));
}

.sxa-packet--violet {
  fill: #D7B8FF;
}

.sxa-alt {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--a-line);
  font-size: 15px;
}

.sxa-alt__t {
  margin: 0 0 8px;
  font-family: var(--a-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--a-lime);
}

.sxa-alt ol {
  margin: 0;
  padding-left: 20px;
}

.sxa-alt li {
  margin: 0 0 6px;
}

.sxa-alt strong {
  color: #FFFFFF;
}

/* ---------- Purchase sequence (scroll story) ---------- */

.sxa-story {
  display: grid;
  gap: 24px;
}

.sxa-story__fig {
  display: none;
  margin: 0;
}

.sxa-seq__heads text {
  font-family: var(--a-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  fill: var(--a-lime);
}

.sxa-seq__life {
  fill: none;
  stroke: rgba(255, 255, 255, .16);
  stroke-dasharray: 3 6;
}

.sxa-seq__msg path {
  fill: none;
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 2;
  transition: stroke .3s, opacity .3s;
}

.sxa-seq__msg circle {
  fill: var(--a-rock);
  stroke: rgba(255, 255, 255, .45);
  transition: fill .3s, stroke .3s;
}

.sxa-seq__msg text {
  font-family: var(--a-mono);
  font-size: 13px;
  fill: var(--a-mist);
  transition: fill .3s;
}

/* lift the labels off the arrows and the step dots */
.sxa-seq__msg text:not(.sxa-seq__n) {
  transform: translateY(-5px);
}

.sxa-seq__msg .sxa-seq__n {
  font-size: 12px;
  font-weight: 700;
  fill: #FFFFFF;
}

/* JS marks one step active; the others dim. Without JS every message stays at full strength. */
.sxa-seq.is-live .sxa-seq__msg {
  opacity: .42;
  transition: opacity .35s;
}

.sxa-seq.is-live .sxa-seq__msg.is-active {
  opacity: 1;
}

.sxa-seq__msg.is-active path {
  stroke: var(--a-lime);
  stroke-width: 3;
  filter: drop-shadow(0 0 6px rgba(186, 239, 38, .8));
}

.sxa-seq__msg.is-active circle {
  fill: var(--a-lime);
  stroke: var(--a-lime);
}

.sxa-seq__msg.is-active .sxa-seq__n {
  fill: var(--a-rock);
}

.sxa-seq__msg.is-active text {
  fill: #FFFFFF;
}

.sxa-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.sxa-step {
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 22px;
  border-radius: 20px;
  background: var(--a-glass);
  border: 1px solid var(--a-line);
  transition: border-color .35s, background-color .35s, box-shadow .35s;
}

.sxa-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--a-violet), var(--a-lime));
  opacity: .5;
}

.sxa-step.is-active {
  border-color: rgba(186, 239, 38, .6);
  background: rgba(186, 239, 38, .06);
  box-shadow: 0 0 40px -16px rgba(186, 239, 38, .6);
}

.sxa-step.is-active::before {
  opacity: 1;
}

.sxa-step p {
  margin: 0 0 8px;
  font-size: 15px;
}

.sxa-step p:last-child {
  margin-bottom: 0;
}

.sxa-step__n {
  font-size: 13px !important;
  font-weight: 700;
  color: var(--a-lime);
}

.sxa-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--a-mono);
  font-size: 13px !important;
  color: var(--a-soft);
}

.sxa-route span {
  padding: 2px 8px;
  border-radius: 8px;
  color: #FFFFFF;
  background: rgba(105, 17, 223, .4);
}

/* ---------- Acts ---------- */

.sxa-acts {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sxa-act {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 26px 22px 22px;
  border-radius: 24px;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(105, 17, 223, .45), transparent 70%),
    linear-gradient(160deg, #1D0A40, var(--a-deep));
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .4s var(--a-ease), border-color .4s;
}

.sxa-act:hover {
  transform: translateY(-4px);
  border-color: rgba(186, 239, 38, .5);
}

.sxa-act::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--a-lime), transparent);
  opacity: .6;
}

.sxa-act p.sxa-act__n {
  margin: 0 0 6px;
  font-family: var(--a-mono);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--a-lime);
  opacity: .9;
}

.sxa-act p {
  margin: 0 0 12px;
  font-size: 15px;
}

.sxa-actflow {
  max-width: 380px;
  margin: 8px 0 14px;
}

.sxa-actflow text {
  font-family: var(--a-mono);
  font-size: 13px;
  fill: #FFFFFF;
}

.sxa-act__see {
  padding-top: 12px;
  border-top: 1px solid var(--a-line);
  color: var(--a-mist);
}

.sxa-act__see span {
  display: block;
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--a-lime);
}

/* ---------- Timeline ---------- */

.sxa-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
}

.sxa-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--a-lime), var(--a-violet) 60%, rgba(255, 200, 87, .7));
  box-shadow: 0 0 12px rgba(186, 239, 38, .5);
}

.sxa-tl {
  position: relative;
  margin: 0 0 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--a-glass);
  border: 1px solid var(--a-line);
  transition: opacity .6s var(--a-ease), transform .6s var(--a-ease), border-color .6s;
}

.sxa-tl::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--a-deep);
  border: 2px solid var(--a-lime);
  box-shadow: 0 0 0 4px rgba(186, 239, 38, .12), 0 0 16px var(--a-lime);
}

.sxa-tl p {
  margin: 0;
  font-size: 15px;
}

.sxa-tl p.sxa-badge {
  font-size: 12px;
}

.sxa-tl .sxa-badge {
  margin-bottom: 8px;
}

/* JS dims milestones until they scroll in, then lights them up */
.sxa-js .sxa-tl {
  opacity: .35;
  transform: translateX(12px);
}

.sxa-js .sxa-tl::before {
  box-shadow: none;
  border-color: rgba(255, 255, 255, .3);
}

.sxa-js .sxa-tl.is-lit {
  opacity: 1;
  transform: none;
  border-color: rgba(186, 239, 38, .3);
}

.sxa-js .sxa-tl.is-lit::before {
  border-color: var(--a-lime);
  box-shadow: 0 0 0 4px rgba(186, 239, 38, .12), 0 0 16px var(--a-lime);
}

/* ---------- Sources ---------- */

.sxa-sources {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 30px;
  font-size: 14px;
  color: var(--a-mist);
}

.sxa-sources li {
  margin: 0;
  padding: 6px 8px;
  border-radius: 8px;
}

.sxa-sources li::marker {
  font-family: var(--a-mono);
  color: var(--a-lime);
}

.sxa-sources li:target {
  background: rgba(186, 239, 38, .1);
  outline: 1px solid rgba(186, 239, 38, .5);
}

.sxa-end {
  margin-top: 36px;
}

/* ---------- Thesis: MCP is a bridge ---------- */

.sxa-hero__thesis {
  margin: 18px 0 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
  color: #FFFFFF;
}

.sxa-hero__thesis em {
  font-style: normal;
  color: var(--a-lime);
}

.sxa-bridge {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sxa-bridge__row {
  margin: 0;
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--a-glass);
  border: 1px solid var(--a-line);
}

.sxa-bridge__row + .sxa-bridge__row {
  border-color: rgba(186, 239, 38, .45);
  box-shadow: 0 0 50px -20px rgba(186, 239, 38, .6);
}

.sxa-bridge__when {
  margin: 0;
}

.sxa-bridge .sxa-mini {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.sxa-mini span.sxa-mini__mcp {
  color: var(--a-rock);
  background: var(--a-amber);
  border: 1px dashed var(--a-rock);
}

.sxa-mini span.sxa-mini__off {
  color: var(--a-amber);
  background: transparent;
  border: 1px dashed var(--a-amber);
}

.sxa-mini i.sxa-mini__long {
  width: 72px;
  background: linear-gradient(90deg, var(--a-lime), var(--a-lime));
  box-shadow: 0 0 10px rgba(186, 239, 38, .7);
}

/* ---------- Live UCP inspector (terminal look) ---------- */

.sxa-term {
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(#0D0322, #0D0322) padding-box,
    linear-gradient(140deg, rgba(186, 239, 38, .6), rgba(142, 59, 255, .4) 45%, rgba(255, 255, 255, .08)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(105, 17, 223, .9);
}

.sxa-term__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid var(--a-line);
}

.sxa-term__dots {
  display: inline-flex;
  gap: 6px;
}

.sxa-term__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.sxa-term__dots i:first-child {
  background: var(--a-lime);
}

.sxa-term__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--a-soft);
}

.sxa .sxa-term__run {
  appearance: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid rgba(186, 239, 38, .7);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--a-lime);
  background: rgba(186, 239, 38, .08);
  box-shadow: none;
  cursor: pointer;
}

.sxa .sxa-term__run:hover {
  color: var(--a-rock);
  background: var(--a-lime);
}

.sxa .sxa-term__run[disabled] {
  opacity: .5;
  cursor: progress;
}

.sxa-term__run[hidden] {
  display: none;
}

.sxa-term__status {
  margin: 0;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--a-soft);
  border-bottom: 1px solid var(--a-line);
}

.sxa-term__status.is-live {
  color: var(--a-lime);
}

.sxa-term__status.is-error {
  color: var(--a-amber);
}

.sxa-term__grid {
  display: grid;
}

.sxa-term__pane {
  min-width: 0;
  padding: 18px 16px;
}

.sxa-term__pane + .sxa-term__pane {
  border-top: 1px solid var(--a-line);
}

.sxa-term__cmd {
  margin: 0 0 12px;
  font-size: 14px;
  color: #FFFFFF;
}

.sxa-term__cmd span {
  color: var(--a-lime);
}

.sxa-term__kv {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  margin: 0 0 14px;
  font-size: 14px;
}

.sxa-term__kv dt {
  color: var(--a-soft);
}

.sxa-term__kv dd {
  margin: 0;
  color: #FFFFFF;
  overflow-wrap: anywhere;
}

.sxa-term__h {
  margin: 14px 0 6px;
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--a-lime);
}

.sxa-term__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.sxa-term__list li {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 18px;
  color: #FFFFFF;
  overflow-wrap: anywhere;
  animation: sxa-line .5s var(--a-ease) both;
}

.sxa-term__list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--a-lime);
}

.sxa-term__list small {
  margin-left: 6px;
  font-size: 12px;
  color: var(--a-soft);
}

.sxa-term__list b {
  margin-left: 6px;
  color: var(--a-lime);
  font-weight: 600;
  white-space: nowrap;
}

.sxa-term__list--prod li {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--a-line);
}

.sxa .sxa-term__req {
  margin: 0 0 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--a-line);
  background: rgba(255, 255, 255, .04);
  font-family: var(--a-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--a-mist);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sxa-term__foot {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--a-soft);
}

@keyframes sxa-line {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Diagram node variants ---------- */

.sxa-node--soft rect {
  stroke-dasharray: 5 5;
}

.sxa-node--future rect {
  fill: rgba(186, 239, 38, .08);
  stroke: var(--a-lime);
  stroke-width: 2;
  stroke-dasharray: 8 6;
}

.sxa-wire--dim {
  stroke-dasharray: 5 6;
  opacity: .7;
}

.sxa-wire--direct {
  stroke-width: 3;
  stroke-dasharray: 10 8;
  animation: sxa-dash 1.4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(186, 239, 38, .6));
}

.sxa-svg .sxa-svg__edge--soft {
  fill: var(--a-amber);
}

/* ---------- Keyframes ---------- */

@keyframes sxa-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-50px, 40px, 0) scale(1.15); }
}

@keyframes sxa-grid {
  to { transform: translateY(56px); }
}

@keyframes sxa-spin {
  to { transform: rotate(360deg); }
}

@keyframes sxa-sheen {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes sxa-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@keyframes sxa-ping {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes sxa-dash {
  to { stroke-dashoffset: -28; }
}

@keyframes sxa-glow {
  0%, 100% { stroke-opacity: 1; }
  50% { stroke-opacity: .45; }
}

@keyframes sxa-run {
  to { transform: translateX(40px); }
}

@keyframes sxa-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  .sxa-counters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sxa-cards--4,
  .sxa-radar,
  .sxa-acts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sxa-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sxa-hero__title {
    font-size: 60px;
  }
}

@media (min-width: 900px) {
  body.summit-agentic {
    --a-gutter: 40px;
  }

  .sxa-hero {
    padding: 80px 0 56px;
  }

  .sxa-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
  }

  .sxa-ring {
    max-width: 480px;
  }

  .sxa-hero__title {
    font-size: 76px;
  }

  .sxa-hero__lead {
    font-size: 18px;
  }

  .sxa-hero__thesis {
    font-size: 28px;
  }

  .sxa-sec {
    padding: 104px 0;
  }

  .sxa-h2 {
    font-size: 46px;
  }

  .sxa-radar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sxa-svg--wide {
    display: block;
  }

  .sxa-term__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .sxa-term__pane {
    padding: 22px 24px;
  }

  .sxa-term__pane + .sxa-term__pane {
    border-top: 0;
    border-left: 1px solid var(--a-line);
  }

  .sxa-bridge__row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }

  .sxa-bridge .sxa-mini {
    margin-top: 0;
  }

  .sxa-svg--tall {
    display: none;
  }

  /* Sticky sequence diagram next to the steps */
  .sxa-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 48px;
    align-items: start;
  }

  .sxa-story__fig {
    display: block;
    position: sticky;
    top: 140px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--a-line);
  }

  .sxa-steps {
    gap: 28px;
    padding-bottom: 20vh;
  }

  .sxa-step {
    min-height: 42vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .sxa-timeline {
    max-width: 860px;
  }
}

@media (min-width: 1200px) {
  .sxa-cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sxa-hero__title {
    font-size: 88px;
  }
}

/* ---------- Reduced motion: static and fully readable ---------- */

@media (prefers-reduced-motion: reduce) {
  .sxa *,
  .sxa *::before,
  .sxa *::after {
    animation: none !important;
    transition: none !important;
  }

  .sxa-packet,
  .sxa-mini i::after {
    display: none;
  }

  .sxa-card:hover,
  .sxa-act:hover,
  .sxa a.sxa-btn:hover {
    transform: none;
  }

  .sxa-js .sxa-tl {
    opacity: 1;
    transform: none;
  }
}

/* Mobile overflow guard (found on the live Magento page, 2026-11-26): Magento's .column.main is a
   flex item (min-width: auto), so any unbreakable inspector value or fixed-size SVG widened the
   whole page to ~870 px on a 390 px phone. */
body.summit-agentic .columns .column.main {
  min-width: 0;
  max-width: 100%;
}

.sxa-term__kv {
  grid-template-columns: auto minmax(0, 1fr) !important;
}

.sxa-term__kv dd,
.sxa-term__kv dt,
.sxa-term pre,
.sxa-term code {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sxa svg {
  max-width: 100%;
  height: auto;
}

.sxa-counters {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
}
