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

/* Hero: free / paid line under the buttons, and a 12px floor for the small hero text. */
.jf-page .jf-hero__fine{ margin:18px 0 0; font-size:max(13px, calc(16 * var(--u))); line-height:1.5; color:rgba(255,255,255,.72); }
.jf-page .ag-hero__bar{ font-size:max(12px, calc(14 * var(--u))); }
.jf-page .ah-hero__eyebrow{ font-size:max(12px, calc(14 * var(--u))); }
.jf-page .ag-win__url{ font-size:max(12px, calc(10.69 * var(--u))); }

/* Hero bar link: invisible 40px hit area at every width (looks unchanged). */
.jf-page .ag-hero__bar-link{ position:relative; }
.jf-page .ag-hero__bar-link::after{ content:""; position:absolute; top:-14px; bottom:-14px; left:-4px; right:-4px; }

/* Product captures inside <picture> (phone focus crop + desktop full window). */
.jf-page .jf-pic{ display:block; }
.jf-page .jf-pic picture{ display:block; width:100%; }
.jf-page .jf-pic picture > img{ display:block; width:100%; height:auto; margin:0; border:0; box-shadow:none; background:none; }

/* Full-window captures stay readable: stack each row so the capture runs the full content width. */
.jf-page .ba-prompt__grid.jf-stack{ grid-template-columns:minmax(0, 1fr) !important; gap:40px; }
.jf-page .ba-prompt__grid.jf-stack .ba-prompt__run{ max-width:760px; width:100%; justify-self:center; }
.jf-page .ba-prompt__grid.jf-stack > .pf-panel-shot{ max-width:1400px !important; width:100% !important; justify-self:center !important; }
.jf-page .ba-split.jf-split{ grid-template-columns:minmax(0, 1fr) !important; row-gap:48px; }
.jf-page .ba-split.jf-split .ba-split__copy{ max-width:880px; }
.jf-page .ba-split.jf-split .ba-points{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:24px 40px; }
.jf-page .ba-split.jf-split > .pf-shot{ max-width:1400px; width:100%; justify-self:center; }

/* Agents row: full-size tap targets. */
.jf-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; }

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

/* Plans: 40px billing toggle and a 12px floor for the small labels. */
.jf-page .plan-cards .toggle button{ min-height:40px; }
.jf-page .plan-cards .toggle .save,
.jf-page .plan-cards .gtag,
.jf-page .plan-cards .pill,
.jf-page .plan-cards .inc,
.jf-page .plan-cards .mbg,
.jf-page .plan-cards .ribbon{ font-size:12px; }

@media (max-width:900px){
  .jf-page .ba-split.jf-split .ba-points{ grid-template-columns:minmax(0, 1fr); }
}
@media (max-width:700px){
  .jf-page .ba-prompt__grid.jf-stack{ gap:28px; }
  .jf-page .ba-split.jf-split{ row-gap:32px; }
  /* focus crops: a slimmer grey frame so the crop itself gets the width */
  .jf-page .pic-frame.jf-pic{ padding:8px !important; }
}

/* Compare: the source note reads as a footnote, with room above it. */
.jf-page .ag-compare__note{ margin-top:20px; font-size:13px; line-height:1.5; color:#55555f; }

/* Hero window: at least about 920px wide from 1280px up (the hero scales down there), like the other wave pages. */
@media (min-width:1280px){ .jf-page .ag-hero__product{ width:min(max(calc(1140 * var(--u)), 920px), 100% - 32px); } }

/* Phones: one step smaller H1 so the keyword headline sits in 3 lines and the CTA stays near the fold. */
@media (max-width:480px){ .jf-page .ag-hero__title{ font-size:32px; line-height:1.12; } }

/* 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. */
.jf-page .jf-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){ .jf-page .jf-tpl{ --tp-gut:16px; padding-bottom:64px; } }
.jf-page .jf-tpl__wrap{ width:min(1240px, 100%); margin:0 auto; }
.jf-page .jf-tpl a{ text-decoration:none; }
.jf-page .jf-tpl .tp-gcard__title a{ display:inline-flex; align-items:center; min-height:40px; padding-block:8px; margin-block:-8px; box-sizing:border-box; }
.jf-page .jf-tpl__more{ margin:28px 0 0; text-align:center; font-size:16px; }
.jf-page .jf-tpl__more a{ display:inline-flex; align-items:center; min-height:40px; color:var(--tp-brand); font-weight:600; }
.jf-page .jf-tpl__more a:hover{ color:var(--tp-brand-dk); }
/* the heading section above the grid: no bottom padding, so the grid follows the intro. */
.jf-page .jf-tpl-head{ padding-bottom:40px !important; }
.jf-page .ba-intro a{ color:#4F46E5; text-decoration:underline; text-underline-offset:2px; }
/* type pill, as in template-pages.css (that sheet is not loaded here) */
.jf-page .jf-tpl .tp-pill{ display:inline-block; font-size:12px; font-weight:600; line-height:1.4; padding:4px 10px; border-radius:7px; }
.jf-page .jf-tpl :focus-visible{ outline:2px solid var(--tp-brand); outline-offset:2px; }
@media (max-width:360px){ .jf-page .ag-hero__title{ font-size:28px; } }

/* Closing banner: the shared title is nowrap; let it wrap (balanced) so it never runs past the banner. */
.jf-page .ag-services__title{ white-space:normal; text-wrap:balance; }

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