/* /wix-alternative only: page-level overrides on top of the shared artifact-page styles. */

/* Hero: the plan line under the buttons. */
.wx-page .wx-hero__fine{ margin:16px 0 0; font-size:14px; line-height:1.5; color:#aeb7d3; }
.wx-page .wx-hero__fine span{ color:#fff; }

/* Hero window: the demo stays readable (at least about 920px wide) where the hero scales down. */
@media (min-width: 1280px){ .wx-page .ag-hero__product{ width:min(max(calc(1140 * var(--u)), 920px), 100% - 32px); } }

/* Pictures fill their frame and keep their own shape (no 4:3 cover crop). */
.wx-page .pic-frame picture{ display:block; width:100%; flex:1 1 auto; }
.wx-page .pic-frame img.sw-pic{ display:block; width:100%; height:auto; max-height:none; aspect-ratio:auto; object-fit:fill; }

/* Readability: the full-window chat capture sits on its own row, wide, under the run card. */
.wx-page .ba-prompt .ba-prompt__grid{ grid-template-columns:minmax(0, 1fr); gap:40px; }
.wx-page .ba-prompt .ba-prompt__run{ width:100%; max-width:760px; justify-self:center; }
.wx-page .ba-prompt .sw-askshot{ width:100% !important; max-width:max(1080px, calc(1040px / var(--ag-z, 1))) !important; justify-self:center !important; }

/* Feature captures: one per row, wide enough to read, with a short caption. */
.wx-page .wx-shots{ grid-template-columns:minmax(0, 1fr); gap:48px; max-width:max(1000px, calc(960px / var(--ag-z, 1))); margin-left:auto; margin-right:auto; }
.wx-page .wx-shots figcaption{ font-size:15px; text-align:center; }

/* Publish dialog: shown near its natural size beside the copy. */
@media (min-width: 1100px){
  .wx-page .sw-publish .ba-split{ grid-template-columns:minmax(0, 1fr) minmax(0, calc(600px / var(--ag-z, 1))) !important; }
  .wx-page .sw-publish .sw-askshot--side{ max-width:calc(600px / var(--ag-z, 1)); }
}

/* 12px text floor for the hero bar, eyebrow and window address (the hero is scaled down between 1280 and 1919px). */
@media (min-width: 1280px) and (max-width: 1919.98px){
  .wx-page .ag-hero__bar-text, .wx-page .ag-hero__bar-link, .wx-page .ah-hero__eyebrow{ font-size:12px; }
}
.wx-page .ag-win__url, .wx-page .ag-win__tabs [role="tab"]{ font-size:12px; }

/* Full-size tap targets that look unchanged. */
.wx-page .ag-hero__bar-link{ position:relative; }
.wx-page .ag-hero__bar-link::after{ content:""; position:absolute; top:-14px; bottom:-14px; left:-4px; right:-4px; }
.wx-page .ag-win__tabs [role="tab"]{ position:relative; }
.wx-page .ag-win__tabs [role="tab"]::after{ content:""; position:absolute; top:-12px; bottom:-12px; left:0; right:0; }
.wx-page .ba-agent__go{ display:inline-flex; align-items:center; justify-content:center; min-width:calc(40px / var(--ag-z, 1)); min-height:calc(40px / var(--ag-z, 1)); margin:-8px -10px 0 0; }
.wx-page .plan-cards .toggle button{ min-height:40px; }

/* Plan cards: 12px floor on the small labels. */
.wx-page .plan-cards .gtag, .wx-page .plan-cards .pill, .wx-page .plan-cards .inc,
.wx-page .plan-cards .mbg, .wx-page .plan-cards .ribbon, .wx-page .plan-cards .toggle .save{ font-size:12px; }

/* FAQ rows: at least 40px tall to tap. */
.wx-page .sw-faq summary{ min-height:44px; }

/* Compare: longer answers wrap inside the cell instead of pushing it wider than a phone. */
.wx-page .ag-compare__cell dd{ flex:0 1 auto; min-width:0; }
@media (max-width:900px){ .wx-page .ag-compare__cell dd{ text-align:right; justify-content:flex-end; } }

/* Phone focus crops: a slimmer frame so the crop gets the width. */
@media (max-width:700px){ .wx-page .pic-frame{ padding:8px !important; } }

/* Compare: room between the last card and the source note. */
.wx-page .ag-compare__note{ margin-top:24px; }

/* Templates: the exact /template gallery card grid (template-gallery.css), outside the 1280-1919 section zoom.
   Box min(1240px, 100vw - 2 x gutter), gutter 24px (16px at 640px and below). Tokens copied from template-pages.css. */
.wx-page .wx-tpl{ --tp-ink:#0F0F14; --tp-ink-2:#4B5060; --tp-ink-3:#5B5F6B; --tp-line:#E4E5EA; --tp-line-2:#D5D7DE; --tp-frame:#F1F2F5; --tp-brand:#4F46E5; --tp-brand-dk:#3730A3; --tp-gut:24px;
  background:#fff; color:var(--tp-ink); padding:0 var(--tp-gut) 96px; }
@media (max-width:640px){ .wx-page .wx-tpl{ --tp-gut:16px; padding-bottom:64px; } }
.wx-page .wx-tpl__wrap{ width:min(1240px, 100%); margin:0 auto; }
.wx-page .wx-tpl a{ text-decoration:none; }
.wx-page .wx-tpl .tp-gcard__title a{ display:inline-flex; align-items:center; min-height:40px; padding-block:8px; margin-block:-8px; box-sizing:border-box; }
.wx-page .wx-tpl__more{ margin:28px 0 0; text-align:center; font-size:16px; }
.wx-page .wx-tpl__more a{ display:inline-flex; align-items:center; min-height:40px; color:var(--tp-brand); font-weight:600; }
.wx-page .wx-tpl__more a:hover{ color:var(--tp-brand-dk); }
.wx-page .wx-tpl-head{ padding-bottom:40px !important; }
.wx-page .wx-tpl-head .ba-intro a{ color:#4F46E5; text-decoration:underline; text-underline-offset:2px; }
.wx-page .wx-tpl .tp-pill{ display:inline-block; font-size:12px; font-weight:600; line-height:1.4; padding:4px 10px; border-radius:7px; }
.wx-page .wx-tpl :focus-visible{ outline:2px solid var(--tp-brand); outline-offset:2px; }
/* FAQ +/- icon: centre with top:0/bottom:0/margin:auto instead of top:50%, same look; the centred top:50%
   made the shared render check misread the 44px+ summary rows as 1px tap targets. */
.wx-page .ba-page details > summary::after, .wx-page .ba-page details > summary::before{ top:0; bottom:0; margin:auto 0; }

/* Trust card: the two glows are painted as backgrounds (same place and size), so nothing hangs past the card. */
.ag-trust__glow{ display: none; }
.ag-trust__card{
  background-color: #110f1f;
  background-image: url(/assets/image/ai-agents/16-trust/glow-top-left.svg), url(/assets/image/ai-agents/16-trust/glow-bottom-right.svg);
  background-repeat: no-repeat; background-size: 1160px 1160px, 1000px 1000px;
  background-position: left -401px top -481px, right -517px top 159px; }
