/* /work-request-form only: page-level overrides on top of the shared artifact-page styles. */

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

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

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

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

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


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

/* Phones: one step smaller H1 so the keyword headline sits in 3 lines and the CTA stays near the fold. */
@media (max-width:480px){ .wr-page .ag-hero__title{ font-size:32px; line-height:1.12; } }
@media (max-width:360px){ .wr-page .ag-hero__title{ font-size:28px; } }
.wr-page .wr-hero__fine{ text-wrap:balance; }
.wr-page .ah-services .ag-services__title{ white-space:normal; text-wrap:balance; }

/* Phone hero: the short focus crop shows in full (no 1140:513 clip) and only its last 32px fade out. */
@media (max-width:700px){
  .wr-page .ag-win__screens{ aspect-ratio:auto; }
  .wr-page .ag-win__screens picture{ display:block; }
  .wr-page .ag-win__screens img.is-on{ position:relative; inset:auto; width:100%; height:auto; }
  .wr-page .ag-hero__product{ -webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 32px), rgba(0,0,0,.25) 100%); mask-image:linear-gradient(180deg, #000 calc(100% - 32px), rgba(0,0,0,.25) 100%); margin-bottom:24px; }
}

/* Results figure under the share/export section. */
.wr-page .wr-results{ width:100%; max-width:max(1080px, calc(1040px / var(--ag-z, 1))); margin:56px auto 0; }
.wr-page .wr-results figcaption{ margin-top:12px; font-size:14px; line-height:1.5; color:#55555f; text-align:center; }

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

/* FAQ +/- icon: same place (centred on the right), centred with top:0 / bottom:0 / margin:auto instead of a top offset,
   so the summary keeps its own 44px+ tap box. */
.wr-page .ba-page details > summary::after, .wr-page .ba-page details > summary::before{ 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. */
.wr-page .ag-trust__glow{ display:none; }
.wr-page .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; }

/* Template cards: the gallery's "crop top" zoom done with object-view-box where supported,
   so the same crop shows without the image overhanging its frame. The thumbs are 16:10, like the frame. */
@supports (object-view-box: inset(0)){
  .wr-page .wr-tpl .tp-gcard--croptop .tp-gcard__img img{ transform:none; object-view-box:inset(4.306% 2.153% 0 2.153%); }
}
