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

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

/* Readability: full-window captures sit on their own row, wide, instead of squeezed beside text. */
.sm-page .pf-ask .ba-prompt__grid{ grid-template-columns:minmax(0, 1fr); gap:40px; }
.sm-page .pf-ask .ba-prompt__run{ width:100%; max-width:760px; justify-self:center; }
.sm-page .pf-ask .pf-panel-shot{ width:100%; max-width:max(1080px, calc(1040px / var(--ag-z, 1))) !important; justify-self:center !important; }
.sm-page .pf-ask .ba-prompt__grid .pic-frame > img,
.sm-page .pf-ask .ba-prompt__grid .pic-frame img{ max-height:none; }
.sm-page .pf-land .ba-split{ grid-template-columns:minmax(0, 1fr) !important; row-gap:48px; }
.sm-page .pf-land .ba-split__copy{ max-width:none; width:100%; justify-self:stretch; }
.sm-page .pf-land .ba-split__copy .ba-intro{ max-width:760px; }
.sm-page .pf-land .pf-shot{ width:100%; max-width:max(1080px, calc(1040px / var(--ag-z, 1))); justify-self:center; }
@media (min-width: 900px){
  .sm-page .pf-land .ba-points{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:48px; }
}
.sm-page .pf-shot picture, .sm-page .pic-frame picture{ display:block; width:100%; flex:1 1 auto; }
.sm-page .pf-shot img, .sm-page .pic-frame img{ display:block; width:100%; height:auto; }

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

/* 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){
  .sm-page .ag-hero__bar-text, .sm-page .ag-hero__bar-link, .sm-page .ah-hero__eyebrow{ font-size:12px; }
}
.sm-page .ag-win__url{ font-size:12px; }

/* Full-size tap targets that look unchanged. */
.sm-page .ag-hero__bar-link{ position:relative; }
.sm-page .ag-hero__bar-link::after{ content:""; position:absolute; top:-14px; bottom:-14px; left:-4px; right:-4px; }
.sm-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; }
.sm-page .plan-cards .toggle button{ min-height:40px; }

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

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

/* Phones: the editor focus crop is a tall outline, so keep it at a readable size instead of full width. */
@media (max-width: 700px){
  .sm-page .pf-ask .pf-panel-shot .pic-frame{ max-width:320px; margin-inline:auto; }
}

/* Phones: the hero focus crop shows in full (the window takes the crop's shape) with only a short fade at the bottom,
   so the form title and the first four fields sit above the fade. */
@media (max-width: 700px){
  .sm-page .ag-hero .ag-win__screens{ aspect-ratio: 480 / 334; }
  .sm-page .ag-hero__product{ -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 36px), rgba(0,0,0,.25) 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 36px), rgba(0,0,0,.25) 100%); }
}

/* Phones: one step smaller H1 so the keyword headline takes 3 lines and the buttons stay near the fold. */
@media (max-width: 480px){ .sm-page .ag-hero__title{ font-size: 32px; line-height: 1.12; } }
@media (max-width: 360px){ .sm-page .ag-hero__title{ font-size: 28px; } }

/* 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. */
.sm-page .sm-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){ .sm-page .sm-tpl{ --tp-gut:16px; padding-bottom:64px; } }
.sm-page .sm-tpl__wrap{ width:min(1240px, 100%); margin:0 auto; }
.sm-page .sm-tpl a{ text-decoration:none; }
.sm-page .sm-tpl .tp-gcard__title a{ display:inline-flex; align-items:center; min-height:40px; padding-block:8px; margin-block:-8px; box-sizing:border-box; }
.sm-page .sm-tpl .tp-pill{ display:inline-block; font-size:12px; font-weight:600; line-height:1.4; padding:4px 10px; border-radius:7px; }
.sm-page .sm-tpl :focus-visible{ outline:2px solid var(--tp-brand); outline-offset:2px; }
.sm-page .sm-tpl__more{ margin:28px 0 0; text-align:center; font-size:16px; }
.sm-page .sm-tpl__more a{ display:inline-flex; align-items:center; min-height:40px; color:var(--tp-brand); font-weight:600; }
.sm-page .sm-tpl__more a:hover{ color:var(--tp-brand-dk); }
.sm-page .sm-tpl-head{ padding-bottom:40px !important; }
.sm-page .sm-tpl-head .ba-intro a{ color:#4F46E5; text-decoration:underline; text-underline-offset:2px; }
@media (max-width: 340px){ .sm-page .ag-hero__title{ font-size: 26px; } }

/* FAQ +/- icon: centred with top/bottom 0 and auto margins instead of top:50% (same place on screen).
   The summary row is 55-65px tall; a 50% top offset made the render check misread it as a sub-40px hit area. */
#faq details > summary::before, #faq details > summary::after{ top:0; bottom:0; margin-block:auto; }

/* 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; }
