/*
 * ag-buyer-pages.css — the buyer-intent pages (AI tool pages, "X alternative" / "X vs Y" pages,
 * buyer blog posts) in the AI agents design: dark .ag-hero, ag-nav header, light body. 2026-12-02.
 *
 * Load order: main.css, media.css, nav-dropdown.css, nav-mobile.css, ai-agents.css, ag-mobile.css,
 * THIS FILE, then the page's own <style> / assets/<slug>-page.css.
 * Page shell: <main class="ag-page bp-page <slug>-page">. Every selector here starts with
 * .ag-page.bp-page (or .bp-page inside it), so nothing leaks to other pages.
 * Only generic pieces live here. Never edit ai-agents.css, ag-mobile.css, main.css, media.css or
 * pricing-page.css for these pages: put shared fixes here and page fixes in the page.
 *
 * Pieces (class → what it is)
 *   .bp-hero            dark hero variant: .bp-crumbs, .bp-hero__chip, .ag-hero__title (accent <span>),
 *                       .ag-hero__lead, .ag-hero__ctas, .bp-hero__fine, .ag-hero__product > .ag-win
 *   .bp-sec / --tint    a light section;  .bp-wrap the centred column;  .bp-head (eyebrow, h2, sub)
 *   .bp-split           text + screenshot row (.bp-split--rev flips it);  .bp-shot the screenshot frame
 *                       (figure > img | picture, optional figcaption: styled here, pages need no caption CSS)
 *   .bp-cards / .bp-card  feature cards;  .bp-steps  numbered steps;  .bp-chips  prompt / tag pills
 *   .bp-team            the team / paid hook (dark panel: heading + lead, screenshot across the panel,
 *                       ticks in columns, price line + CTA pair). Markup below.
 *   .bp-table           comparison table that stacks into cards under 700px (cells carry data-label)
 *   .bp-tpls / .bp-tpl  static template cards (old, plain);  .bp-links  pill links to sibling pages
 *   .tp-ggrid / .tp-gcard  template cards in the template gallery's own card style. Markup below.
 *   .bp-prose           long-form copy kept from the old page
 *   .bp-faq             FAQ (details / summary, data-faq-q / data-faq-a)
 *   .bp-cta             closing CTA band
 *   .bp-btn             buttons outside the hero (--dark, --brand, --ghost, --light, --ghost-dark)
 *
 * READABILITY RULE for product screenshots (owner, 2026-12-02)
 *   A capture of a whole app window (1440 CSS px source) is never shown under about 900px wide on desktop.
 *   The stylesheet enforces it from the <img width="..."> attribute, so always write the real 1x CSS width there:
 *   - .bp-split whose image has width >= 1000  -> the row STACKS from 901px up: copy on top (max 820px),
 *     image below at the content width (max 1080px). Nothing to add to the markup.
 *   - .bp-split whose image has width < 1000 (a focus crop) -> stays side by side, as before.
 *   - .bp-split--focus  forces side by side whatever the width (only for a focus crop that stays legible
 *     at about 640px); .bp-split--stack forces the stacked form.
 *   - On phones give the image a tighter crop: <picture><source media="(max-width: 700px)" srcset sizes="100vw"
 *     width height><img ...></picture>. Never a sideways scroller.
 *   - sizes: stacked row "(max-width: 1160px) calc(100vw - 32px), 1080px"; team "(max-width: 1160px) calc(100vw - 72px), 1060px"
 *     (team focus crop: "(max-width: 920px) calc(100vw - 72px), 840px"). A sizes value smaller than the slot blurs the image.
 *
 * TEAM PANEL markup (one form on every page; the copy wrapper is display: contents, the order is set here):
 *   <section class="bp-sec bp-team"><div class="bp-wrap"><div class="bp-team__panel">
 *     <div class="bp-team__copy">
 *       <p class="bp-eyebrow bp-mono">..</p> <h2 class="bp-title">.. <span>..</span></h2> <p class="bp-team__lead">..</p>
 *       <ul class="bp-ticks"> 3-6 <li> </ul>
 *       <p class="bp-team__price">.. <b data-plan="pro.price.yearly">$19</b> ..</p>
 *       <div class="bp-team__actions"> .bp-btn--light + .bp-btn--ghost-dark </div>
 *     </div>
 *     <figure class="bp-shot"> img | picture, figcaption </figure>
 *   </div></div></section>
 *   Shown as: eyebrow, heading, lead (centred) / screenshot across the panel (max 1080px; an image with
 *   width < 1200 is a focus crop and is capped at 840px) / ticks in 2-3 columns / price line left, CTAs right.
 *
 * TEMPLATE CARDS in the gallery style: the page also loads /assets/template-gallery.css?v=<the stamp
 *   template.html uses> BEFORE this file and uses the gallery's own markup (assets/js/template-gallery.js cardHtml):
 *   <ul class="tp-ggrid [bp-ggrid--4]"><li><article class="tp-gcard">
 *     <div class="tp-gcard__img"><img src=".../thumbs/<id>-<stamp>.webp" alt width="720" height="450" loading="lazy" decoding="async">
 *       <div class="tp-gcard__actions"><a class="tp-gcard__btn" href="/template/<slug>" tabindex="-1" aria-hidden="true">Preview</a>
 *         <a class="tp-gcard__btn tp-gcard__btn--brand" href="https://cloudairy.com/app/templates?template_id=<id>" rel="nofollow" aria-label="Use the <name> template">Use template</a></div></div>
 *     <div class="tp-gcard__body"><div class="tp-gcard__meta"><span class="tp-pill" style="background:#EEF2FF;color:#4338CA">Type</span></div>
 *       <h3 class="tp-gcard__title"><a href="/template/<slug>">Name</a></h3><p class="tp-gcard__desc">One or two lines.</p></div>
 *   </article></li></ul>
 *   This file supplies what the gallery sheet scopes to .tp-page (the --tp-* variables, the pill, title and buttons).
 */

/* ---------- neutralise the old tool-page styles inside the new shell ---------- */
/* ai-agents.css zooms every section under .ag-page to a 1920 Figma frame between 1280 and 1919px.
   These sections are written in real pixels, so they opt out. */
.ag-page.bp-page > section:not(.ag-hero):not(.ag-logos):not(.real-sec) { zoom: 1; }
.ag-page.bp-page { background: #fff; color: #0e0e10; }
.ag-page.bp-page section { margin: 0; }
.ag-page.bp-page .bp-sec *,
.ag-page.bp-page .bp-sec *::before,
.ag-page.bp-page .bp-sec *::after { box-sizing: border-box; }
/* Inter ships in 300-700 here: the old pages' 800 / 900 headings would all round up to 700 */
/* :where() keeps these resets weak, so any component or page rule wins */
.bp-page .bp-sec :where(h2, h3, h4) { font-weight: 600; color: #0e0e10; }
.bp-page .bp-sec :where(b, strong) { font-weight: 600; }
.bp-page .bp-sec :where(img) { max-width: 100%; height: auto; }
.bp-page .bp-sec :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.ag-page.bp-page .bp-mono,
.ag-page.bp-page .bp-mono * { font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace !important; }

/* ---------- hero ---------- */
/* The menus open below the header and must paint above the first light section. */
.ag-page.bp-page .bp-hero { position: relative; z-index: 20; margin-top: 0; }
@supports (overflow-x: clip) {
  .ag-page.bp-page .bp-hero { overflow-x: clip; overflow-y: visible; }
}
.bp-page .bp-hero .ag-hero__copy { gap: 18px; margin-top: 36px; width: min(1040px, 100% - 32px); }
.bp-page .bp-hero .bp-crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.2; color: #aab2cc; }
.bp-page .bp-hero .bp-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.bp-page .bp-hero .bp-crumbs li + li::before { content: "/"; color: #6b7391; }
.bp-page .bp-hero .bp-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; color: #c9cfe6; text-decoration: none; }
.bp-page .bp-hero .bp-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bp-page .bp-hero .bp-crumbs [aria-current] { color: #fff; }
.bp-page .bp-hero__chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .20); font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #E4E2F5; }
.bp-page .bp-hero .ag-hero__title { font-size: clamp(38px, 4.3vw, 72px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.bp-page .bp-hero .ag-hero__title span { display: block; color: #c4b5fd; }
.bp-page .bp-hero .ag-hero__lead { max-width: 720px; font-size: clamp(16px, 1.25vw, 19px); }
.bp-page .bp-hero__fine { margin: 0; font-size: 13px; line-height: 1.5; color: #aab2cc; }
.bp-page .bp-hero__fine a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
/* the product window: the screenshot shows whole (never cropped), at the width of the window */
.bp-page .bp-hero .ag-hero__product { width: min(1140px, 100% - 32px); margin-top: 44px; }
.bp-page .bp-hero .ag-win__screens { aspect-ratio: auto; }
.bp-page .bp-hero .ag-win__screens picture { display: block; }
.bp-page .bp-hero .ag-win__screens img.is-on { position: relative; inset: auto; display: block; width: 100%; height: auto; }
/* no bottom fade on the window: ai-agents.css masks the last 150 units, which washed the demo out on phones
   and faded its step caption at 1440. Show the window whole, close it with a rounded edge and space below. */
.ag-page.bp-page .bp-hero .ag-hero__product { -webkit-mask-image: none; mask-image: none; padding-bottom: clamp(24px, 4vw, 56px); }
.ag-page.bp-page .bp-hero .ag-win { border-radius: clamp(10px, 1vw, 14px); border-bottom: 1px solid rgba(255, 255, 255, .18); }
/* phones (<=700px): the <picture> swaps the loop for a readable still crop; the frame takes that still's own
   aspect (the screens box is aspect-ratio:auto and the image is width:100%, height:auto), so nothing is cropped */
/* a hero with no product window: close it with space instead */
.bp-page .bp-hero--short .ag-hero__stage { padding-bottom: 56px; }
/* the bar and the window's address scale with the 1920 frame and fall to 9-10px at 1280-1440: keep them readable,
   and give the bar link a 40px+ tap height without making the bar taller */
.bp-page .bp-hero .ag-hero__bar { font-size: max(12.5px, calc(14 * var(--u))); }
.bp-page .bp-hero .ag-hero__bar-link { padding: 14px 0; margin: -14px 0; }
.bp-page .bp-hero .ag-win__url { font-size: max(12px, calc(10.69 * var(--u))); }
/* top bar: the longer half of the trial line is dropped on phones */
@media (max-width: 600px) { .bp-page .bp-hero .bp-bar-long { display: none; } }

/* ---------- sections ---------- */
.bp-page .bp-sec { padding-block: clamp(56px, 6vw, 96px); background: #fff; }
.bp-page .bp-sec--tint { background: #f7f7fb; }
.bp-page .bp-sec--tight { padding-top: 0; }
.bp-page .bp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.bp-page .bp-wrap--narrow { max-width: 900px; }
.bp-page .bp-head { max-width: 820px; margin: 0 auto clamp(28px, 3.2vw, 48px); text-align: center; }
.bp-page .bp-head--left { margin-inline: 0; text-align: left; }
.bp-page .bp-eyebrow { margin: 0 0 12px; font-size: 13px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: #6762fe; }
/* section headings in the home page's style: bold, tight, near-black */
.bp-page .bp-title { margin: 0; font-size: clamp(28px, 2.9vw, 44px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; color: #0e0e10; text-wrap: balance; }
.bp-page .bp-title span { color: #6d7988; }
.bp-page .bp-sub { margin: 14px auto 0; max-width: 720px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: #55555f; }
.bp-page .bp-head--left .bp-sub { margin-inline: 0; }
.bp-page .bp-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }

/* buttons outside the hero */
.bp-page .bp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .2s, transform .2s, box-shadow .2s; }
.bp-page .bp-btn--dark { background: #0e0e14; color: #fff; }
.bp-page .bp-btn--dark:hover { background: #2a2a33; color: #fff; }
.bp-page .bp-btn--brand { background: #6762fe; color: #fff; }
.bp-page .bp-btn--brand:hover { background: #524de8; color: #fff; }
.bp-page .bp-btn--ghost { background: #fff; border-color: #c9d0d9; color: #0e0e10; }
.bp-page .bp-btn--ghost:hover { background: #f3f4f6; color: #0e0e10; }
.bp-page .bp-btn--light { background: #fff; color: #0b1530; }
.bp-page .bp-btn--light:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(143, 180, 255, .35); color: #0b1530; }
.bp-page .bp-btn--ghost-dark { border-color: rgba(255, 255, 255, .4); color: #fff; }
.bp-page .bp-btn--ghost-dark:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.bp-page .bp-btn:focus-visible,
.bp-page .bp-faq summary:focus-visible,
.bp-page .bp-tpl:focus-visible,
.bp-page .bp-links a:focus-visible { outline: 2px solid #6762fe; outline-offset: 3px; }
.bp-page .bp-textlink { display: inline-flex; align-items: center; min-height: 40px; font-size: 16px; font-weight: 600; color: #6762fe; text-decoration: none; }
.bp-page .bp-textlink:hover { text-decoration: underline; text-underline-offset: 3px; color: #524de8; }

/* ---------- screenshot frame + text / screenshot row ---------- */
.bp-page .bp-shot { display: block; margin: 0; border: 1px solid #e3e5ee; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(17, 17, 37, .10); }
.bp-page .bp-shot img { display: block; width: 100%; height: auto; }
.bp-page .bp-shot picture { display: block; }
/* one caption style for every screenshot */
.bp-page .bp-shot figcaption { padding: 12px 16px; border-top: 1px solid #e3e5ee; background: #fafafc; font-size: 14px; line-height: 1.5; color: #55555f; text-align: left; }
.bp-page .bp-shot--wide figcaption,
.bp-page .bp-team .bp-shot figcaption { text-align: center; }
.bp-page .bp-shot--wide { max-width: 1080px; margin-inline: auto; }
.bp-page .bp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.bp-page .bp-split--rev > :first-child { order: 2; }
.bp-page .bp-split__copy > * + * { margin-top: 16px; }
/* READABILITY RULE: a row whose image is a whole-window capture (img width attribute 1000-1999) stacks on
   desktop, so the capture gets the content width instead of a 510-640px column. A focus crop (width < 1000,
   or the row marked .bp-split--focus) stays side by side. */
@media (min-width: 900.02px) {
  .bp-page .bp-split:is(.bp-split--stack, :has(.bp-shot img:is([width^="10"], [width^="11"], [width^="12"], [width^="13"], [width^="14"], [width^="15"], [width^="16"], [width^="17"], [width^="18"], [width^="19"]))):not(.bp-split--focus) { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); width: 100%; max-width: 1080px; margin-inline: auto; }
  .bp-page .bp-split:is(.bp-split--stack, :has(.bp-shot img:is([width^="10"], [width^="11"], [width^="12"], [width^="13"], [width^="14"], [width^="15"], [width^="16"], [width^="17"], [width^="18"], [width^="19"]))):not(.bp-split--focus) > :first-child { order: 0; }
  .bp-page .bp-split:is(.bp-split--stack, :has(.bp-shot img:is([width^="10"], [width^="11"], [width^="12"], [width^="13"], [width^="14"], [width^="15"], [width^="16"], [width^="17"], [width^="18"], [width^="19"]))):not(.bp-split--focus) > .bp-split__copy { max-width: 820px; }
}
.bp-page .bp-split__copy p { font-size: 17px; line-height: 1.65; color: #33333b; }
.bp-page .bp-ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: #33333b; }
.bp-page .bp-ticks li + li { margin-top: 10px; }
.bp-page .bp-ticks li::before { content: ""; position: absolute; left: 4px; top: .42em; width: 12px; height: 7px; border-left: 2px solid #6762fe; border-bottom: 2px solid #6762fe; transform: rotate(-45deg); }

/* ---------- feature cards, steps, pills ---------- */
.bp-page .bp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bp-page .bp-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bp-page .bp-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; }
.bp-page .bp-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #f0efff; }
.bp-page .bp-card__icon img { width: 24px; height: 24px; }
.bp-page .bp-card h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.bp-page .bp-card p { margin: 0; font-size: 16px; line-height: 1.6; color: #55555f; }
.bp-page .bp-card a:not(.bp-btn) { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.bp-page .bp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: bp-step; }
.bp-page .bp-steps > li { counter-increment: bp-step; padding: 24px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; }
.bp-page .bp-steps > li::before { content: counter(bp-step, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: "Roboto Mono", ui-monospace, monospace !important; font-size: 14px; letter-spacing: .08em; color: #6762fe; }
.bp-page .bp-steps h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.bp-page .bp-steps p { margin: 0; font-size: 16px; line-height: 1.6; color: #55555f; }
.bp-page .bp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.bp-page .bp-chips li { padding: 9px 16px; border: 1px solid #dfe1ec; border-radius: 999px; background: #fff; font-size: 14px; line-height: 1.45; color: #33333b; }

/* ---------- the team / paid hook ---------- */
/* One column: heading + lead, the screenshot across the panel, ticks in columns, price line + CTAs.
   .bp-team__copy is display: contents so its children and the figure are items of the same grid;
   `order` puts the figure between the lead and the ticks (the figure holds nothing focusable). */
.bp-page .bp-team__panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: clamp(28px, 3.6vw, 56px) clamp(20px, 2.4vw, 40px) clamp(24px, 2.8vw, 40px); border-radius: 28px; background: #111125; color: #fff; }
.bp-page .bp-team__copy { display: contents; }
.bp-page .bp-team__copy > *,
.bp-page .bp-team__panel > .bp-shot { grid-column: 1 / -1; min-width: 0; }
.bp-page .bp-team .bp-eyebrow { order: 1; color: #b9aeff; text-align: center; }
/* same scale as every other section heading (.bp-title), never larger */
.bp-page .bp-team .bp-title { order: 1; justify-self: center; max-width: 920px; color: #fff; text-align: center; }
.bp-page .bp-team .bp-title span { color: #c4b5fd; }
.bp-page .bp-team__lead { order: 1; justify-self: center; max-width: 760px; margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: #d5dcf0; text-align: center; }
.bp-page .bp-team .bp-shot { order: 2; justify-self: center; width: 100%; max-width: 1080px; margin-top: clamp(24px, 3vw, 40px); border-color: rgba(255, 255, 255, .18); box-shadow: 0 24px 60px rgba(5, 10, 38, .6); }
/* a focus crop (img width under 1200: a dialog or a pane) is not blown up to the panel width */
.bp-page .bp-team__panel:not(:has(.bp-shot img:is([width^="12"], [width^="13"], [width^="14"], [width^="15"], [width^="16"], [width^="17"], [width^="18"], [width^="19"]))) .bp-shot { max-width: 840px; }
/* balanced text columns (no lonely last row): 3 across on desktop, 2 on tablets, 1 on phones */
.bp-page .bp-team .bp-ticks { order: 3; columns: 3 260px; column-gap: 32px; margin-top: clamp(24px, 3vw, 40px); margin-bottom: -14px; }
.bp-page .bp-team .bp-ticks li { break-inside: avoid; margin: 0 0 14px; color: #e7e9f5; }
.bp-page .bp-team .bp-ticks li + li { margin-top: 0; }
.bp-page .bp-team .bp-ticks li::before { border-color: #86EFC5; }
.bp-page .bp-team .bp-ticks a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.bp-page .bp-team__price,
.bp-page .bp-team__actions { order: 4; align-self: stretch; margin-top: clamp(24px, 2.6vw, 32px); padding-top: clamp(20px, 2.2vw, 28px); border-top: 1px solid rgba(255, 255, 255, .14); }
.bp-page .bp-team__copy > .bp-team__price { grid-column: 1; margin-bottom: 0; font-size: 15px; line-height: 1.55; color: #c9cfe6; }
.bp-page .bp-team__price b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.bp-page .bp-team__copy > .bp-team__actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; max-width: 520px; padding-left: 32px; }
@media (max-width: 900px) {
  .bp-page .bp-team__panel { grid-template-columns: minmax(0, 1fr); }
  .bp-page .bp-team__copy > .bp-team__price,
  .bp-page .bp-team__copy > .bp-team__actions { grid-column: 1 / -1; }
  .bp-page .bp-team__copy > .bp-team__actions { justify-content: flex-start; max-width: none; margin-top: 20px; padding: 0; border-top: 0; }
}
@media (max-width: 600px) {
  .bp-page .bp-team .bp-eyebrow,
  .bp-page .bp-team .bp-title,
  .bp-page .bp-team__lead { justify-self: start; text-align: left; }
  .bp-page .bp-team .bp-shot figcaption { text-align: left; }
}

/* ---------- comparison table: a table from 700px, one card per row below ---------- */
.bp-page .bp-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e3e5ee; border-radius: 16px; overflow: hidden; background: #fff; font-size: 16px; line-height: 1.5; color: #33333b; table-layout: fixed; }
.bp-page .bp-table caption { caption-side: bottom; padding-top: 12px; font-size: 13px; line-height: 1.5; color: #71717A; text-align: left; }
.bp-page .bp-table :is(th, td) { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3e5ee; overflow-wrap: anywhere; }
.bp-page .bp-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.bp-page .bp-table thead th { background: #f7f7fb; font-size: 14px; font-weight: 600; color: #0e0e10; }
.bp-page .bp-table tbody th { font-weight: 600; color: #0e0e10; }
.bp-page .bp-table .is-us { background: #f6f5ff; }
.bp-page .bp-table thead .is-us { background: #eceaff; color: #3b36c9; }
.bp-page .bp-table td b { color: #0e0e10; }
.bp-page .bp-table a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.bp-page .bp-table__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #71717A; }
@media (max-width: 699.98px) {
  .bp-page .bp-table,
  .bp-page .bp-table tbody,
  .bp-page .bp-table tr,
  .bp-page .bp-table :is(th, td),
  .bp-page .bp-table caption { display: block; width: 100%; }
  .bp-page .bp-table { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  /* the column names move into each cell (data-label); keep the header row for screen readers */
  .bp-page .bp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bp-page .bp-table tbody tr { margin-bottom: 14px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; overflow: hidden; }
  .bp-page .bp-table tbody tr:last-child { margin-bottom: 0; }
  .bp-page .bp-table tbody th { padding: 14px 16px; background: #f7f7fb; font-size: 17px; border-bottom: 1px solid #e3e5ee; }
  .bp-page .bp-table tbody td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 12px 16px; font-size: 15px; border-bottom: 1px solid #eef0f5; }
  .bp-page .bp-table tbody tr td:last-child { border-bottom: 0; }
  .bp-page .bp-table tbody tr:last-child :is(th) { border-bottom: 1px solid #e3e5ee; }
  .bp-page .bp-table tbody td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: #71717A; }
  .bp-page .bp-table tbody td:not([data-label])::before { content: none; }
  .bp-page .bp-table tbody td:not([data-label]) { display: block; }
}

/* ---------- template cards + sibling links ---------- */
.bp-page .bp-tpls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bp-page .bp-tpls--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-page .bp-tpl { display: flex; flex-direction: column; border: 1px solid #e3e5ee; border-radius: 16px; overflow: hidden; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.bp-page .bp-tpl:hover { border-color: #6762fe; box-shadow: 0 12px 32px rgba(103, 98, 254, .14); transform: translateY(-2px); }
.bp-page .bp-tpl__img { display: block; background: #f7f7fb; border-bottom: 1px solid #e3e5ee; }
.bp-page .bp-tpl__img img { display: block; width: 100%; height: auto; }
.bp-page .bp-tpl__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.bp-page .bp-tpl__kind { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6762fe; }
.bp-page .bp-tpl b { font-size: 17px; font-weight: 600; line-height: 1.3; color: #0e0e10; }
.bp-page .bp-tpl__body > span:last-child { font-size: 15px; line-height: 1.5; color: #55555f; }
.bp-page .bp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(24px, 3vw, 36px); }
.bp-page .bp-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #dfe1ec; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; color: #0e0e10; text-decoration: none; transition: border-color .2s, color .2s; }
.bp-page .bp-links a:hover { border-color: #6762fe; color: #6762fe; }
.bp-page .bp-links__label { width: 100%; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #55555f; text-align: center; }

/* ---------- template cards in the template gallery's style ---------- */
/* The cards themselves are styled by /assets/template-gallery.css (.tp-ggrid, .tp-gcard ...), loaded by the
   page before this file. That sheet takes its colours and a few rules from .tp-page (template-pages.css),
   which these pages do not have, so the same values are given here. Keep in step with template-pages.css. */
.ag-page.bp-page { --tp-ink: #0F0F14; --tp-ink-2: #4B5060; --tp-ink-3: #5B5F6B; --tp-line: #E4E5EA; --tp-line-2: #D5D7DE; --tp-soft: #F7F7F9; --tp-frame: #F1F2F5; --tp-brand: #4F46E5; --tp-brand-dk: #3730A3; }
.bp-page .tp-ggrid > li { display: flex; }
.bp-page .tp-ggrid > li > .tp-gcard { width: 100%; }
.bp-page .tp-pill { display: inline-block; padding: 4px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.bp-page .tp-gcard__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.bp-page .tp-gcard__title a { display: inline-flex; align-items: center; min-height: 24px; color: var(--tp-ink); text-decoration: none; }
.bp-page .tp-gcard__title a:hover { color: var(--tp-brand); }
.bp-page .tp-gcard__title a:focus-visible { outline: 2px solid #6762fe; outline-offset: 2px; }
.bp-page .tp-gcard__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 11px 16px; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; color: var(--tp-ink); text-decoration: none; box-sizing: border-box; }
.bp-page .tp-gcard__btn:hover { background: #ECEAFF; color: var(--tp-ink); }
.bp-page .tp-gcard__btn--brand { background: var(--tp-brand); color: #fff; }
.bp-page .tp-gcard__btn--brand:hover { background: var(--tp-brand-dk); color: #fff; }
/* The /template gallery's own grid box, so every card is the gallery card's exact width and height at every screen
   width: min(1240px, viewport - 2 x gutter) wide (24px gutter, 16px up to 640px), breaking out of the narrower
   content column, with auto-fill 280px+ columns and 24px gaps: 4 across at 1440, 3 at 1024, 2 at 768, 1 on phones.
   No per-page card grid rules; every buyer page uses this one. */
.ag-page.bp-page .tp-ggrid { --bp-ggut: 24px; width: min(1240px, calc(100vw - 2 * var(--bp-ggut))); max-width: none; margin-inline: calc(50% - min(620px, 50vw - var(--bp-ggut))); grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; }
@media (max-width: 640px) { .ag-page.bp-page .tp-ggrid { --bp-ggut: 16px; } }
/* card title link: a 40px tap height (8px above and below) that takes no layout space, so the card keeps the gallery height */
.ag-page.bp-page .tp-gcard__title a { box-sizing: border-box; min-height: 40px; padding-block: 8px; margin-block: -8px; }

/* ---------- long-form copy kept from the old page ---------- */
.bp-page .bp-prose { max-width: 820px; margin: 0 auto; }
.bp-page .bp-prose > * + * { margin-top: 16px; }
.bp-page .bp-prose h2 { margin-top: 44px; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
.bp-page .bp-prose h2:first-child { margin-top: 0; }
.bp-page .bp-prose h3 { margin-top: 28px; font-size: 20px; line-height: 1.3; }
.bp-page .bp-prose p,
.bp-page .bp-prose li { font-size: 17px; line-height: 1.7; color: #33333b; }
.bp-page .bp-prose ul { list-style: disc; padding-left: 22px; }
.bp-page .bp-prose ol { list-style: decimal; padding-left: 24px; }
.bp-page .bp-prose li + li { margin-top: 8px; }
.bp-page .bp-prose li > p { margin-top: 4px; }
.bp-page .bp-prose a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.bp-page .bp-prose a:hover { color: #524de8; }

/* ---------- FAQ ---------- */
.bp-page .bp-faq__list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; border-top: 1px solid #c9d0d9; }
.bp-page .bp-faq details { border-bottom: 1px solid #c9d0d9; }
.bp-page .bp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 500; line-height: 1.4; color: #0e0e14; }
.bp-page .bp-faq summary::-webkit-details-marker { display: none; }
.bp-page .bp-faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: #6762fe; transition: transform .2s; }
.bp-page .bp-faq details[open] summary::after { transform: rotate(45deg); }
.bp-page .bp-faq summary h3 { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
.bp-page .bp-faq details p { max-width: 820px; margin: 0; padding: 0 40px 24px 0; font-size: 16px; line-height: 1.65; color: #55555f; }
.bp-page .bp-faq details p a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- closing CTA band ---------- */
.bp-page .bp-cta { padding-block: 24px clamp(64px, 7vw, 112px); }
.bp-page .bp-cta__banner { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); border-radius: 28px; background: #eef0ff; text-align: center; }
.bp-page .bp-cta .bp-eyebrow { margin: 0; }
.bp-page .bp-cta__title { margin: 0; max-width: 900px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; color: #0e0e10; text-wrap: balance; }
.bp-page .bp-cta__lead { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.55; color: #33333b; }
.bp-page .bp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }
.bp-page .bp-cta__fine { margin: 0; font-size: 14px; line-height: 1.5; color: #55555f; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .bp-page .bp-tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bp-page .bp-split { grid-template-columns: minmax(0, 1fr); }
  .bp-page .bp-split--rev > :first-child { order: 0; }
  .bp-page .bp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-page .bp-tpls--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .bp-page .bp-hero .ag-hero__copy { margin-top: 20px; gap: 16px; }
  .bp-page .bp-hero .ag-hero__title { font-size: clamp(32px, 9.4vw, 46px); }
  .bp-page .bp-hero .ag-hero__product { margin-top: 32px; }
  .bp-page .bp-hero--short .ag-hero__stage { padding-bottom: 40px; }
}
@media (max-width: 600px) {
  .bp-page .bp-cards,
  .bp-page .bp-cards--2,
  .bp-page .bp-tpls,
  .bp-page .bp-tpls--3 { grid-template-columns: minmax(0, 1fr); }
  .bp-page .bp-chips { justify-content: flex-start; }
  .bp-page .bp-team__panel { border-radius: 20px; }
  .bp-page .bp-team__actions .bp-btn,
  .bp-page .bp-cta__actions .bp-btn,
  .bp-page .bp-center .bp-btn { width: 100%; }
  .bp-page .bp-cta__actions { width: 100%; }
  .bp-page .bp-cta__banner { border-radius: 20px; }
  .bp-page .bp-faq summary { font-size: 16px; padding: 18px 0; }
  .bp-page .bp-faq details p { padding-right: 0; font-size: 15px; }
  .bp-page .bp-prose p,
  .bp-page .bp-prose li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-page .bp-btn, .bp-page .bp-tpl, .bp-page .bp-faq summary::after { transition: none; }
}
