/* Agentic Ecommerce uses the existing Plugix palette, pills, sheets and Manrope. */
.crm-ae { --acc: #4b58c9; }
.ae-hero .wrap { max-width: 1512px; }
.ae-hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.4fr); gap: clamp(28px, 3.2vw, 52px); align-items: start; }
.ae-hero .ch-text { padding-top: clamp(0px, 2vw, 32px); }
.ae-product-name { margin: 0 0 18px; color: var(--on-dark-2); font-size: 15px; letter-spacing: -.015em; }
.ae-hero h1 { font-size: clamp(38px, 4.1vw, 65px); max-width: 10.5em; }
.ae-hero .lead { max-width: 32em; }
.ae-hero .ch-cta { gap: 10px; flex-wrap: wrap; }
.ae-pilot-note { max-width: 31em; margin: 22px 0 0; color: var(--on-dark-2); font-size: 14px; line-height: 1.55; }
.ae-demo-area { min-width: 0; scroll-margin-top: 100px; }
.ae-demo-disclosure { margin: 0 0 14px; max-width: 56em; color: var(--on-dark-2); font-size: 12px; line-height: 1.5; }
.ae-demo-content { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: start; gap: 0; }
.ae-agent { position: relative; margin-top: 14px; padding: 20px 30px 24px 20px; min-width: 0; border: 1px solid rgba(214, 220, 255, .19); border-radius: 20px 0 0 20px; background: rgba(12, 17, 36, .74); color: #eef0fb; box-shadow: 0 18px 42px rgba(0, 0, 0, .13); }
.ae-agent-title { display: flex; gap: 10px; align-items: center; margin: 0 0 23px; font-size: 14px; font-weight: 600; }
.ae-agent-title .pm { width: 28px; height: 28px; color: #c3c9ff; }
.ae-agent-title small { display: block; margin-top: 2px; color: #a6adc6; font-size: 11px; font-weight: 400; }
.ae-bubble { margin: 0 0 12px; padding: 13px 14px; background: rgba(211, 219, 255, .09); border-radius: 15px 15px 15px 4px; font-size: 13px; line-height: 1.55; }
.ae-buyer { margin-left: 12px; background: rgba(77, 88, 190, .34); border-radius: 15px 15px 4px 15px; }
.ae-agent-path { display: grid; list-style: none; padding: 9px 0 0; margin: 14px 0 0; }
.ae-agent-path li { padding: 10px 0; border-top: 1px solid rgba(214, 220, 255, .12); font-size: 12px; line-height: 1.4; color: #9ca5c1; }
.ae-agent-path li.is-current { color: #eef0fb; }
.ae-agent-boundary { margin: 21px 0 0; font-size: 11px; line-height: 1.5; color: #a6adc6; }
.ae-checkout { position: relative; min-width: 0; margin-left: -12px; padding: 22px; border-radius: 24px; color: #10172d; background: #fff; box-shadow: 0 20px 62px rgba(0, 0, 0, .2); }
.ae-demo-label { margin: 0 0 7px; color: #5e6580; font-size: 11px; font-weight: 600; }
.ae-checkout h3 { margin: 0 0 17px; font-size: clamp(20px, 1.85vw, 27px); line-height: 1.15; letter-spacing: -.035em; color: #10172d; }
.ae-checkout h3:focus { outline: none; }
.ae-filter { margin: 0 0 14px; }
.ae-filter label { display: block; margin-bottom: 6px; color: #5e6580; font-size: 11px; }
.ae-filter > div { display: flex; gap: 6px; }
.ae-filter input { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #dfe2ed; border-radius: 10px; background: #fafbfe; color: #10172d; font: inherit; font-size: 12px; }
.ae-filter button { flex-shrink: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #dfe2ed; border-radius: 10px; background: #f1f3fa; color: #10172d; font: inherit; font-size: 12px; cursor: pointer; }
.ae-products, .ae-basket-lines { list-style: none; display: grid; margin: 0; padding: 0; }
.ae-products > li, .ae-basket-lines > li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #e9ebf2; }
.ae-product-detail, .ae-product-action, .ae-basket-lines > li > div { display: grid; align-content: start; min-width: 0; gap: 4px; }
.ae-products b, .ae-basket-lines b { font-size: 12px; font-weight: 600; line-height: 1.4; }
.ae-product-detail span, .ae-basket-lines span { color: #626a83; font-size: 11px; line-height: 1.4; }
.ae-products small, .ae-basket-lines small { color: #626a83; font-size: 10px; line-height: 1.4; }
.ae-product-action { justify-items: end; text-align: right; }
.ae-product-action > button { max-width: 122px; min-height: 32px; padding: 6px 10px; border: 1px solid #dfe2ed; border-radius: 999px; background: #fff; color: #303c98; font: inherit; font-size: 11px; cursor: pointer; }
.ae-checkout button:disabled { opacity: .45; cursor: default; }
.ae-checkout button:not(:disabled):hover { filter: brightness(.95); }
.ae-checkout :is(button, input):focus-visible { outline: 2px solid #4b58c9; outline-offset: 3px; }
.ae-cart { margin-top: 17px; padding-top: 15px; border-top: 1px solid #dfe2ed; }
.ae-cart h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.ae-demo-note { margin: 9px 0 14px; color: #626a83; font-size: 11px; line-height: 1.5; }
.ae-total { margin: 14px 0; padding-top: 13px; border-top: 1px solid #dfe2ed; }
.ae-total > div { display: flex; justify-content: space-between; gap: 12px; }
.ae-total dt { font-size: 13px; }
.ae-total dd { margin: 0; font-size: 17px; font-weight: 600; white-space: nowrap; letter-spacing: -.025em; }
.ae-checkout .ae-primary { justify-content: center; width: 100%; min-height: 42px; border: 0; padding: 10px 12px; background: #4b58c9; color: #fff; font-size: 12px; line-height: 1.4; text-align: center; white-space: normal; }
.ae-text-button { border: 0; padding: 0; background: transparent; color: #536099; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 11px; cursor: pointer; }
.ae-reset, .ae-back { display: block; margin: 14px auto 0; }
.ae-line-end { justify-items: end; text-align: right; }
.ae-quantity { display: flex; align-items: center; gap: 8px; }
.ae-quantity button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid #dfe2ed; border-radius: 8px; background: #fff; color: #10172d; font: inherit; cursor: pointer; }
.ae-quantity span { min-width: 1em; text-align: center; }
.ae-review-boundary { padding: 12px; margin: 13px 0; border-radius: 12px; background: #f1f3fa; color: #434d70; font-size: 11px; line-height: 1.5; }
.ae-demo-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff3f0; color: #8c3825; font-size: 12px; line-height: 1.45; }
.ae-receipt-reference { display: grid; gap: 4px; margin: 0 0 19px; }
.ae-receipt-reference span { color: #626a83; font-size: 11px; }
.ae-receipt-reference b { color: #303c98; font-size: 24px; letter-spacing: -.025em; }
.ae-path { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 48px); margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; }
.ae-path > li { position: relative; padding: 18px 20px 0 0; border-top: 1px solid rgba(214, 220, 255, .24); }
.ae-path > li:not(:last-child)::after { content: '→'; position: absolute; right: -9px; top: 17px; color: #a6adc6; }
.ae-path h2 { margin: 0 0 8px; color: #eef0fb; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.ae-path p { max-width: 25em; margin: 0; color: #a6adc6; font-size: 13px; line-height: 1.5; }
.ae-editorial { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); margin: 30px 0 0; padding: 0; }
.ae-editorial > li { padding-top: 20px; border-top: 1px solid var(--hair); }
.ae-editorial h3 { margin: 0 0 12px; color: var(--ink); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.025em; }
.ae-editorial p, .ae-prose p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.ae-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 100px); }
.ae-prose .pill, .ae-inline-link { margin-top: 24px; }
.ae-inline-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: #b1b7d6; text-underline-offset: 4px; }
.ae-inline-link svg { width: 18px; height: 18px; }
.ae-developers { background: #0b1027; }
.ae-developers .sec-head h2, .ae-start h2 { color: #eef0fb; }
.ae-developers .sec-lead, .ae-start .sec-lead { color: #a6adc6; }
.ae-endpoints { display: grid; margin: 32px 0; }
.ae-endpoints > div { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; padding: 21px 0; border-top: 1px solid rgba(214, 220, 255, .18); }
.ae-endpoints dt { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.ae-endpoints dt > span { min-width: 4em; color: #c3c9ff; font-size: 12px; font-weight: 600; }
.ae-endpoints code, .ae-dev-notes code { color: #eef0fb; font-size: 13px; overflow-wrap: anywhere; }
.ae-endpoints dd { margin: 0; color: #a6adc6; font-size: 15px; line-height: 1.6; }
.ae-dev-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
.ae-dev-notes p { margin: 0; color: #a6adc6; font-size: 14px; line-height: 1.65; }
.ae-dev-notes h3 { margin: 0 0 10px; color: #eef0fb; font-size: 18px; letter-spacing: -.02em; }
.ae-dev-notes code + p { margin-top: 12px; }
.ae-start .wrap > h2 { max-width: 16em; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.ae-start .sec-lead { max-width: 40em; }
.ae-no-js { color: #eef0fb; font-size: 14px; line-height: 1.5; }
.ae-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The bounded homepage entry. It does not alter other existing sections. */
.ae-home { padding: clamp(48px, 7vw, 96px) 0; border-radius: 24px; background: #0b1027; color: #eef0fb; }
.ae-home > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.ae-home .sec-head h2 { color: #eef0fb; }
.ae-home .sec-head p { color: #a6adc6; }
.ae-home .sec-head > p + p { margin-top: 12px; font-size: 14px; }
.ae-home .sec-head > .pill { margin-top: 22px; background: #fff; color: #10172d; box-shadow: none; }
.ae-home-path { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ae-home-path > * { display: block; padding: 17px 0; border-top: 1px solid rgba(214, 220, 255, .18); color: #eef0fb; }
.ae-home-path > :first-child { border-top: 0; }
.ae-home-path small, .ae-home-path p { display: block; margin-top: 6px; color: #a6adc6; }
.ae-home a:not(.pill) { color: inherit; }

@media (max-width: 1200px) {
  .ae-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ae-hero .ch-text { max-width: 730px; padding-top: 0; }
  .ae-hero h1 { max-width: 13em; font-size: clamp(40px, 6vw, 64px); }
  .ae-demo-area { width: 100%; max-width: 780px; }
  .ae-demo-content { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .ae-checkout { padding: 26px; }
}
@media (max-width: 760px) {
  .ae-hero h1 { font-size: clamp(36px, 8vw, 52px); }
  .ae-hero .ch-cta { align-items: stretch; }
  .ae-demo-content { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ae-agent { margin-top: 0; padding: 18px; border-radius: 20px 20px 0 0; }
  .ae-agent-title { margin-bottom: 14px; }
  .ae-agent-path { display: none; }
  .ae-agent-boundary { margin-top: 13px; }
  .ae-bubble { max-width: 34em; }
  .ae-buyer { margin-left: auto; max-width: 28em; }
  .ae-checkout { margin: 0; padding: 22px; }
  .ae-checkout h3 { font-size: 25px; }
  .ae-products b, .ae-basket-lines b { font-size: 14px; }
  .ae-product-detail span, .ae-basket-lines span { font-size: 12px; }
  .ae-products small, .ae-basket-lines small, .ae-demo-note, .ae-review-boundary, .ae-text-button { font-size: 12px; }
  .ae-filter input, .ae-filter button, .ae-product-action > button, .ae-checkout .ae-primary { font-size: 13px; }
  .ae-product-action > button, .ae-quantity button { min-height: 40px; }
  .ae-quantity button { min-width: 40px; }
  .ae-checkout .ae-primary { min-height: 46px; }
  .ae-path, .ae-editorial, .ae-split, .ae-dev-notes, .ae-home > .wrap { grid-template-columns: minmax(0, 1fr); }
  .ae-path { gap: 20px; margin-top: 34px; }
  .ae-path > li { padding-right: 0; }
  .ae-path > li:not(:last-child)::after { display: none; }
  .ae-path p { max-width: none; }
  .ae-editorial { gap: 26px; }
  .ae-endpoints > div { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .ae-endpoints dt { gap: 10px; }
  .ae-endpoints code, .ae-dev-notes code { font-size: 12px; }
  .ae-home > .wrap { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .crm-ae *, .ae-home * { scroll-behavior: auto; animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
}
