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

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

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

/* Pictures fill their frame and keep their own shape (no 4:3 cover crop). */
.fa-page .pic-frame picture{ display:block; width:100%; flex:1 1 auto; }
.fa-page .pic-frame img.sw-pic{ display:block; width:100%; height:auto; max-height:none; aspect-ratio:auto; object-fit:fill; }

/* Readability: the full-window chat capture sits on its own row, wide, under the run card. */
.fa-page .ba-prompt .ba-prompt__grid{ grid-template-columns:minmax(0, 1fr); gap:40px; }
.fa-page .ba-prompt .ba-prompt__run{ width:100%; max-width:760px; justify-self:center; }
.fa-page .ba-prompt .sw-askshot{ width:100% !important; max-width:max(1080px, calc(1040px / var(--ag-z, 1))) !important; justify-self:center !important; }

/* Feature captures: one per row, wide enough to read, with a short caption. */
.fa-page .fa-shots{ grid-template-columns:minmax(0, 1fr); gap:48px; max-width:max(1000px, calc(960px / var(--ag-z, 1))); margin-left:auto; margin-right:auto; }
.fa-page .fa-shots figcaption{ font-size:15px; text-align:center; }

/* Publish dialog: shown near its natural size beside the copy. */
@media (min-width: 1100px){
  .fa-page .sw-publish .ba-split{ grid-template-columns:minmax(0, 1fr) minmax(0, calc(600px / var(--ag-z, 1))) !important; }
  .fa-page .sw-publish .sw-askshot--side{ max-width:calc(600px / var(--ag-z, 1)); }
}

/* 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){
  .fa-page .ag-hero__bar-text, .fa-page .ag-hero__bar-link, .fa-page .ah-hero__eyebrow{ font-size:12px; }
}
.fa-page .ag-win__url, .fa-page .ag-win__tabs [role="tab"]{ font-size:12px; }

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

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

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

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

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

/* Compare: room between the last card and the source note. */
.fa-page .ag-compare__note{ margin-top:24px; }

/* 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. */
.fa-page .fa-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){ .fa-page .fa-tpl{ --tp-gut:16px; padding-bottom:64px; } }
.fa-page .fa-tpl__wrap{ width:min(1240px, 100%); margin:0 auto; }
.fa-page .fa-tpl a{ text-decoration:none; }
.fa-page .fa-tpl .tp-gcard__title a{ display:inline-flex; align-items:center; min-height:40px; padding-block:8px; margin-block:-8px; box-sizing:border-box; }
.fa-page .fa-tpl__more{ margin:28px 0 0; text-align:center; font-size:16px; }
.fa-page .fa-tpl__more a{ display:inline-flex; align-items:center; min-height:40px; color:var(--tp-brand); font-weight:600; }
.fa-page .fa-tpl__more a:hover{ color:var(--tp-brand-dk); }
.fa-page .fa-tpl-head{ padding-bottom:40px !important; }
.fa-page .fa-tpl-head .ba-intro a{ color:#4F46E5; text-decoration:underline; text-underline-offset:2px; }
.fa-page .fa-tpl .tp-pill{ display:inline-block; font-size:12px; font-weight:600; line-height:1.4; padding:4px 10px; border-radius:7px; }
.fa-page .fa-tpl :focus-visible{ outline:2px solid var(--tp-brand); outline-offset:2px; }
/* FAQ +/- icon: centre with top:0/bottom:0/margin:auto instead of top:50%, same look; the centred top:50%
   made the shared render check misread the 44px+ summary rows as 1px tap targets. */
.fa-page .ba-page details > summary::after, .fa-page .ba-page details > summary::before{ top:0; bottom:0; margin:auto 0; }

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

/* ---- /figma-alternative: glance table, tool cards, link pills ---- */
.fa-page .fa-verdict{ max-width:900px; margin:0 0 28px; font-size:17px; line-height:1.65; color:#33333d; }
.fa-page .fa-verdict a, .fa-page .fa-tool a:not(.ba-btn), .fa-page .fa-asof a, .fa-page .ba-intro a{ color:#4F46E5; text-decoration:underline; text-underline-offset:2px; }
.fa-page .fa-tablewrap{ border:1px solid #e3e3ea; border-radius:14px; background:#fff; overflow:hidden; }
.fa-page .fa-table{ width:100%; border-collapse:collapse; font-size:15px; line-height:1.5; color:#33333d; table-layout:fixed; }
.fa-page .fa-table th, .fa-page .fa-table td{ padding:14px 18px; text-align:left; vertical-align:top; border-top:1px solid #ececf1; }
.fa-page .fa-table thead th{ border-top:0; background:#f6f6f9; font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:#55555f; }
.fa-page .fa-table thead th:first-child{ width:16%; } .fa-page .fa-table thead th:nth-child(2){ width:38%; }
.fa-page .fa-table tbody th{ font-weight:600; }
.fa-page .fa-table tbody th a{ display:inline-flex; align-items:center; min-height:40px; margin:-10px 0; color:#0e0e14; text-decoration:none; }
.fa-page .fa-table tbody th a:hover{ color:#4F46E5; }
.fa-page .fa-table tr.is-us{ background:#f3f2ff; }
.fa-page .fa-table small{ color:#6b6b76; font-size:13px; }
.fa-page .fa-asof{ margin:16px 0 0; font-size:14px; color:#5b5f6b; }
@media (max-width:760px){
  .fa-page .fa-tablewrap{ border:0; background:none; }
  .fa-page .fa-table, .fa-page .fa-table tbody, .fa-page .fa-table tr, .fa-page .fa-table th, .fa-page .fa-table td{ display:block; width:auto; }
  .fa-page .fa-table thead{ display:none; }
  .fa-page .fa-table tr{ margin:0 0 12px; border:1px solid #e3e3ea; border-radius:12px; background:#fff; padding:6px 0; }
  .fa-page .fa-table th, .fa-page .fa-table td{ border:0; padding:6px 16px; }
  .fa-page .fa-table td::before{ content:attr(data-label); display:block; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:#6b6b76; }
  .fa-page .fa-table tbody th a{ margin:0; }
}
.fa-page .fa-tools{ display:flex; flex-direction:column; gap:24px; }
.fa-page .fa-tool{ background:#fff; border:1px solid #e3e3ea; border-radius:16px; padding:28px 32px; scroll-margin-top:90px; }
.fa-page .fa-tool.is-us{ border-color:#a5a0f5; box-shadow:0 0 0 3px #eeedff; }
.fa-page .fa-tool.is-ref{ background:#fafafc; }
.fa-page .fa-tool__head{ display:flex; flex-wrap:wrap; align-items:flex-start; gap:12px 16px; }
.fa-page .fa-tool__head > div{ flex:1 1 260px; min-width:0; }
.fa-page .fa-tool__rank{ flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:10px; background:#eeedff; color:#4F46E5; font-weight:600; font-size:16px; }
.fa-page .fa-tool__name{ font-size:22px; font-weight:600; line-height:1.3; color:#0e0e14; }
.fa-page .fa-tool__name small{ font-size:13px; font-weight:500; color:#6b6b76; margin-left:6px; }
.fa-page .fa-tool__tag{ margin-top:4px; font-size:15px; color:#55555f; }
.fa-page .fa-tool__price{ flex:0 1 auto; font-size:14px; color:#55555f; text-align:right; }
.fa-page .fa-tool__price b{ display:block; font-size:16px; color:#0e0e14; }
.fa-page .fa-tool__lead{ margin-top:16px; font-size:16px; line-height:1.65; color:#33333d; }
.fa-page .fa-tool__cols{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin-top:18px; }
.fa-page .fa-tool__col{ border-radius:12px; background:#f2fbf6; padding:16px 18px; }
.fa-page .fa-tool__col--short{ background:#fdf4f2; }
.fa-page .fa-tool__col h4{ font-size:14px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:#1f6f46; }
.fa-page .fa-tool__col--short h4{ color:#a1402a; }
.fa-page .fa-tool__col ul{ margin:8px 0 0; padding-left:18px; list-style:disc; }
.fa-page .fa-tool__col li{ font-size:15px; line-height:1.55; color:#33333d; margin-top:4px; }
.fa-page .fa-tool__pick{ margin-top:16px; font-size:15px; line-height:1.6; color:#33333d; }
.fa-page .fa-tool__src{ margin-top:12px; font-size:13px; line-height:1.55; color:#5b5f6b; }
.fa-page .fa-tool__actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
@media (max-width:760px){
  .fa-page .fa-tool{ padding:20px 18px; }
  .fa-page .fa-tool__cols{ grid-template-columns:minmax(0, 1fr); }
  .fa-page .fa-tool__price{ text-align:left; flex-basis:100%; }
}
.fa-page .fa-how .ba-steps{ margin-bottom:48px; }
.fa-page .fa-beyond .sw-family{ margin-top:40px; }
.fa-page .fa-links__label{ margin:24px 0 10px; font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:#6b6b76; }
.fa-page .fa-links__row{ display:flex; flex-wrap:wrap; gap:10px; }
.fa-page .fa-links__row a{ display:inline-flex; align-items:center; min-height:40px; padding:0 16px; border:1px solid #dcdce4; border-radius:999px; background:#fff; color:#0e0e14; font-size:15px; text-decoration:none; }
.fa-page .fa-links__row a:hover{ border-color:#4F46E5; color:#4F46E5; }
.fa-page .fa-stay .ba-points{ margin-top:0; }
/* 40px tap floor inside the 1280-1919 zoomed sections. */
.fa-page .fa-table tbody th a{ min-height:calc(40px / var(--ag-z, 1)); min-width:calc(40px / var(--ag-z, 1)); }
.fa-page .fa-links__row a{ min-height:calc(40px / var(--ag-z, 1)); }

.fa-page .fa-tool a.ba-btn{ text-decoration:none; }
.fa-page .fa-tool a.ba-btn--primary{ color:#fff; }
.fa-page .fa-tool a.ba-btn--light{ color:#0B0B12; }
