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

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

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

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

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

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

/* Templates: the exact /template gallery grid (template-gallery.css). The cards sit in a div
   directly under <main>, so the 1280-1919px section zoom does not shrink them. */
.tf-page .tf-tpl-head{ padding-bottom:0 !important; }
.tf-page .tf-tpl-head > .ba-wrap{ --tf-gut:24px; max-width:calc((1240px + 2 * var(--tf-gut)) / var(--ag-z, 1)); padding-inline:calc(var(--tf-gut) / var(--ag-z, 1)); }
@media (max-width: 640px){ .tf-page .tf-tpl-head > .ba-wrap{ --tf-gut:16px; } }
.tf-tgal{ padding:28px var(--tp-gut) 72px; }
.tf-tgal .tp-gcard__title a{ min-height:40px; padding-block:8px; margin-block:-8px; box-sizing:border-box; }
.tf-tgal__more{ margin:28px 0 0; display:flex; justify-content:center; }
@media (max-width: 640px){ .tf-tgal{ padding-bottom:48px; } }

/* Phones: the H1 fits in 3 lines at 390px. */
@media (max-width: 480px){
  .tf-page .ag-hero__title{ font-size:clamp(26px, 8vw, 34px) !important; }
}

/* Phones: section titles stay at 3 lines or fewer at 390px. */
@media (max-width: 420px){ .tf-page .ba-page .ba-title{ font-size:32px; } }

/* Phones: show the whole filled-in form crop (Name, Team, Request type). The shared hero gives the
   window a fixed height and a 150px fade, which hid all but the form title. */
@media (max-width: 700px){
  .tf-page .ag-hero__product{ height:auto !important; -webkit-mask-image:linear-gradient(#000 calc(100% - 28px), transparent); mask-image:linear-gradient(#000 calc(100% - 28px), transparent); }
  .tf-page .ag-hero__product .ag-win, .tf-page .ag-hero__product .ag-win__screens{ height:auto !important; aspect-ratio:auto; }
  .tf-page .ag-hero__product .ag-win__screens picture, .tf-page .ag-hero__product .ag-win__screens img{ position:static !important; display:block; width:100%; height:auto; }
}

/* 1024-1279px: a thinner frame around the two captures so each capture renders 900px+ wide. */
@media (min-width: 1000px) and (max-width: 1279.98px){
  .tf-page .pf-ask .pic-frame, .tf-page .pf-land .pic-frame{ padding:12px !important; }
}

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