/* /private-ai-for-business — page-only fixes on top of ai-agents.css + artifact-types (linked last in <head>). */

/* Captions: readable size (projects-forms.css sets 11px) */
.pa-sec .pa-cap{ margin-top:14px; font-size:13px; line-height:1.5; letter-spacing:0; color:#5f6672; text-align:center; }

/* Full-window captures render wide (>= ~900px at >= 1024) */
.pa-sec .pa-shot{ width:100%; max-width:1140px; margin-left:auto; margin-right:auto; }
.pa-sec .pa-shot img{ display:block; width:100%; height:auto; }
.pa-sec .pa-shot picture{ display:block; }

/* Three short points under the agents shot */
.pa-sec .pa-feats{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
.pa-sec .pa-feats li{ min-height:0; }
@media (max-width: 900px){ .pa-sec .pa-feats{ grid-template-columns:minmax(0, 1fr); gap:16px; margin-top:32px; } }

/* Inline links inside section intros */
.pa-sec .ba-intro a{ color:#5a55f0; text-decoration:underline; text-underline-offset:2px; }

/* Runtime section: first section after the hero */
.pa-runtime{ scroll-margin-top:80px; }

/* Wide captures: the <picture> fills the frame (cloudairy-tokens.css sizes only a bare img) */
.pa-sec .pic-frame > picture{ display:block; width:100%; }
.pa-sec .pic-frame > picture > img{ display:block; width:100% !important; height:auto !important; max-width:100% !important; }
.pa-sec .pic-frame--bd{ background:#fff !important; }
@media (max-width: 700px){
  /* phone focus crops are portrait / near-square: keep them a sensible size */
  .pa-sec #agents-shot-wrap, .pa-sec .pa-shot .pic-frame > picture{ max-width:460px; margin-inline:auto; }
}

/* ----- hero: small labels never under 12px (the hero scales with --u); 40px hit areas ----- */
.ag-hero__bar-text, .ag-hero__bar-link{ font-size: max(12px, calc(14 * var(--u))); }
.ah-hero__eyebrow{ font-size: max(12px, calc(14 * var(--u))); }
.ag-win__url{ font-size: max(12px, calc(10.69 * var(--u))); }
.ag-hero .ag-win__tabs button{ font-size: max(12px, calc(10.18 * var(--u))); min-width: 40px; }
.ag-hero__bar-link, .ag-hero .ag-win__tabs button{ position: relative; }
.ag-hero__bar-link::after, .ag-hero .ag-win__tabs button::after{ content: ""; position: absolute; left: 0; right: 0; top: -14px; bottom: -14px; }
/* product window at least 900px wide from 1280px up, so the app screen stays readable */
@media (min-width: 1280px){ .ag-hero__product{ width: min(max(920px, calc(1140 * var(--u))), 100% - 32px); } }
/* phones: the window shows a 4:3 focus crop of the same Ask AI screen */
@media (max-width: 700px){ .ag-win__screens{ aspect-ratio: 4 / 3; } }

/* ----- pricing (plan-cards.css): labels at 12px, toggle buttons 40px tall ----- */
.ag-pricing .gtag, .ag-pricing .save, .ag-pricing .pill, .ag-pricing .inc, .ag-pricing .ribbon, .ag-pricing .mbg{ font-size: 12px; }
.ag-pricing .gtag span, .ag-pricing .pill span, .ag-pricing .inc span{ font-size: inherit; }
.ag-pricing .toggle button .save{ font-size: 12px; }
.ag-pricing button[data-b]{ min-height: 40px; }

/* Access section: the share crop fills its frame so the dialog text stays readable */
.pa-shot--share .pic-frame > img{ width:100% !important; }
.pa-shot--share .pic-frame > picture{ display:block; width:100%; }
.pa-shot--share .pic-frame > picture > img{ display:block; width:100% !important; height:auto !important; }

/* ----- phones: H1 in 3 lines and section H2s in 3 lines or fewer at 390 ----- */
@media (max-width: 480px){
  section.ag-hero .ag-hero__title{ font-size: clamp(28px, 8.2vw, 34px); line-height: 1.08; }
  .pa-sec .ba-title, .pa-runtime .ag-runtime__title, #faq .ba-title, #trust .ag-trust__title, #start .ag-services__title{ font-size: clamp(26px, 7.4vw, 30px); line-height: 1.2; }
}

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