/*
 * ag-compare-pages.css — the "best X alternatives" comparison pages and the /compare hub in the AI agents
 * design: dark .ag-hero, ag-nav header, light body. 2026-12-02. Self-contained (does not need
 * ag-buyer-pages.css; its generic pieces are copied here under the cp- prefix).
 *
 * Load order: main.css, media.css, nav-dropdown.css, nav-mobile.css, ai-agents.css, ag-mobile.css,
 * THIS FILE (?v=20261202b), then the page's own small <style> (page-only rules, scoped to .<slug>-page).
 * Page shell: <main class="ag-page cp-page <slug>-page">. Every selector starts with .ag-page.cp-page or
 * .cp-page, so nothing leaks to other pages. Never edit ai-agents.css / ag-mobile.css / main.css for these.
 *
 * Pieces (class -> what it is)
 *   .cp-hero            dark hero variant: .cp-crumbs, .cp-hero__chip, .ag-hero__title (accent <span>),
 *                       .ag-hero__lead, .ag-hero__ctas, .cp-hero__fine, .ag-hero__product > .ag-win
 *                       (.cp-hero--short: no product window, e.g. the /compare hub)
 *   .cp-sec / --tint    a light section;  .cp-wrap the centred column;  .cp-head (eyebrow, h2 .cp-title, .cp-sub)
 *   .cp-asof            the small "Prices as of December 2026" note;  .cp-verdict  the boxed short answer
 *   .cp-jump            pill links that jump to each tool section (also .cp-links: pills to sibling pages)
 *   .cp-table           a table from 700px, one labelled card per row below (cells carry data-label);
 *                       .cp-table--glance  the at-a-glance table (5 columns, tool name column wider)
 *   .cp-tool            one section per tool:  .cp-tool__head (.cp-tool__rank, h3.cp-tool__name, .cp-tool__tag,
 *                       .cp-tool__price), .cp-tool__lead, .cp-tool__cols (.cp-tool__col good / --short),
 *                       .cp-tool__pick (who should pick it), .cp-tool__src (price source line).
 *                       .cp-tool.is-us = the Cloudairy entry (tinted, may hold .cp-shot figures)
 *   .cp-split           text + screenshot row (stacks on desktop when the img width >= 1000);  .cp-shot frame
 *   .cp-cards / .cp-card  cards (also the hub's page cards: .cp-card--link with .cp-card__kind);  .cp-steps
 *   .cp-chips           tag pills;  .cp-team  the dark paid-hook panel;  .cp-prose  long copy
 *   .cp-faq             FAQ (details / summary h3[data-faq-q] / p[data-faq-a]);  .cp-cta  closing CTA band
 *   .cp-btn             buttons outside the hero (--dark, --brand, --ghost, --light, --ghost-dark)
 *   .cp-group           a hub group (h2 + .cp-cards)
 *
 * READABILITY RULE: a whole-window capture (1440 CSS px) is never under about 900px wide on desktop. A .cp-split
 * whose <img width> is 1000-1999 stacks from 901px (copy on top, image up to 1080px); .cp-shot--wide = one
 * centred image (max 1080px); inside .cp-tool a .cp-shot spans the tool card (about 1030px at 1440).
 * On phones the capture spans the column. Never a sideways scroller. Always write the real 1x width/height.
 * Full recipe: scratchpad/rollout/COMPARE-RECIPE.md.
 */

/* ---------- 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.cp-page > section:not(.ag-hero):not(.ag-logos):not(.real-sec) { zoom: 1; }
.ag-page.cp-page { background: #fff; color: #0e0e10; }
.ag-page.cp-page section { margin: 0; }
.ag-page.cp-page .cp-sec *,
.ag-page.cp-page .cp-sec *::before,
.ag-page.cp-page .cp-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 */
.cp-page .cp-sec :where(h2, h3, h4) { font-weight: 600; color: #0e0e10; }
.cp-page .cp-sec :where(b, strong) { font-weight: 600; }
.cp-page .cp-sec :where(img) { max-width: 100%; height: auto; }
.cp-page .cp-sec :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.ag-page.cp-page .cp-mono,
.ag-page.cp-page .cp-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.cp-page .cp-hero { position: relative; z-index: 20; margin-top: 0; }
@supports (overflow-x: clip) {
  .ag-page.cp-page .cp-hero { overflow-x: clip; overflow-y: visible; }
}
.cp-page .cp-hero .ag-hero__copy { gap: 18px; margin-top: 36px; width: min(1040px, 100% - 32px); }
.cp-page .cp-hero .cp-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; }
.cp-page .cp-hero .cp-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.cp-page .cp-hero .cp-crumbs li + li::before { content: "/"; color: #6b7391; }
.cp-page .cp-hero .cp-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; color: #c9cfe6; text-decoration: none; }
.cp-page .cp-hero .cp-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-hero .cp-crumbs [aria-current] { color: #fff; }
.cp-page .cp-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; }
.cp-page .cp-hero .ag-hero__title { font-size: clamp(38px, 4.3vw, 72px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.cp-page .cp-hero .ag-hero__title span { display: block; color: #c4b5fd; }
.cp-page .cp-hero .ag-hero__lead { max-width: 720px; font-size: clamp(16px, 1.25vw, 19px); }
.cp-page .cp-hero__fine { margin: 0; font-size: 13px; line-height: 1.5; color: #aab2cc; }
.cp-page .cp-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 */
.cp-page .cp-hero .ag-hero__product { width: min(1140px, 100% - 32px); margin-top: 44px; }
.cp-page .cp-hero .ag-win__screens { aspect-ratio: auto; }
.cp-page .cp-hero .ag-win__screens picture { display: block; }
.cp-page .cp-hero .ag-win__screens img.is-on { position: relative; inset: auto; display: block; width: 100%; height: auto; }
/* a hero with no product window: close it with space instead */
.cp-page .cp-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 */
.cp-page .cp-hero .ag-hero__bar { font-size: max(12.5px, calc(14 * var(--u))); }
.cp-page .cp-hero .ag-hero__bar-link { padding: 14px 0; margin: -14px 0; }
.cp-page .cp-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) { .cp-page .cp-hero .cp-bar-long { display: none; } }

/* ---------- sections ---------- */
.cp-page .cp-sec { padding-block: clamp(56px, 6vw, 96px); background: #fff; }
.cp-page .cp-sec--tint { background: #f7f7fb; }
.cp-page .cp-sec--tight { padding-top: 0; }
.cp-page .cp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.cp-page .cp-wrap--narrow { max-width: 900px; }
.cp-page .cp-head { max-width: 820px; margin: 0 auto clamp(28px, 3.2vw, 48px); text-align: center; }
.cp-page .cp-head--left { margin-inline: 0; text-align: left; }
.cp-page .cp-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 */
.cp-page .cp-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; }
.cp-page .cp-title span { color: #6d7988; }
.cp-page .cp-sub { margin: 14px auto 0; max-width: 720px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: #55555f; }
.cp-page .cp-head--left .cp-sub { margin-inline: 0; }
.cp-page .cp-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }

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

/* ---------- screenshot frame + text / screenshot row ---------- */
.cp-page .cp-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); }
.cp-page .cp-shot img { display: block; width: 100%; height: auto; }
.cp-page .cp-shot picture { display: block; }
/* one caption style for every screenshot */
.cp-page .cp-shot figcaption { padding: 12px 16px; border-top: 1px solid #e3e5ee; background: #fafafc; font-size: 14px; line-height: 1.5; color: #55555f; text-align: left; }
.cp-page .cp-shot--wide figcaption,
.cp-page .cp-team .cp-shot figcaption { text-align: center; }
.cp-page .cp-shot--wide { max-width: 1080px; margin-inline: auto; }
.cp-page .cp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cp-page .cp-split--rev > :first-child { order: 2; }
.cp-page .cp-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 .cp-split--focus) stays side by side. */
@media (min-width: 900.02px) {
  .cp-page .cp-split:is(.cp-split--stack, :has(.cp-shot img:is([width^="10"], [width^="11"], [width^="12"], [width^="13"], [width^="14"], [width^="15"], [width^="16"], [width^="17"], [width^="18"], [width^="19"]))):not(.cp-split--focus) { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); width: 100%; max-width: 1080px; margin-inline: auto; }
  .cp-page .cp-split:is(.cp-split--stack, :has(.cp-shot img:is([width^="10"], [width^="11"], [width^="12"], [width^="13"], [width^="14"], [width^="15"], [width^="16"], [width^="17"], [width^="18"], [width^="19"]))):not(.cp-split--focus) > :first-child { order: 0; }
  .cp-page .cp-split:is(.cp-split--stack, :has(.cp-shot img:is([width^="10"], [width^="11"], [width^="12"], [width^="13"], [width^="14"], [width^="15"], [width^="16"], [width^="17"], [width^="18"], [width^="19"]))):not(.cp-split--focus) > .cp-split__copy { max-width: 820px; }
}
.cp-page .cp-split__copy p { font-size: 17px; line-height: 1.65; color: #33333b; }
.cp-page .cp-ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: #33333b; }
.cp-page .cp-ticks li + li { margin-top: 10px; }
.cp-page .cp-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 ---------- */
.cp-page .cp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cp-page .cp-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-page .cp-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; }
.cp-page .cp-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #f0efff; }
.cp-page .cp-card__icon img { width: 24px; height: 24px; }
.cp-page .cp-card h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.cp-page .cp-card p { margin: 0; font-size: 16px; line-height: 1.6; color: #55555f; }
.cp-page .cp-card a:not(.cp-btn) { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: cp-step; }
.cp-page .cp-steps > li { counter-increment: cp-step; padding: 24px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; }
.cp-page .cp-steps > li::before { content: counter(cp-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; }
.cp-page .cp-steps h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.cp-page .cp-steps p { margin: 0; font-size: 16px; line-height: 1.6; color: #55555f; }
.cp-page .cp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cp-page .cp-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.
   .cp-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). */
.cp-page .cp-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; }
.cp-page .cp-team__copy { display: contents; }
.cp-page .cp-team__copy > *,
.cp-page .cp-team__panel > .cp-shot { grid-column: 1 / -1; min-width: 0; }
.cp-page .cp-team .cp-eyebrow { order: 1; color: #b9aeff; text-align: center; }
/* same scale as every other section heading (.cp-title), never larger */
.cp-page .cp-team .cp-title { order: 1; justify-self: center; max-width: 920px; color: #fff; text-align: center; }
.cp-page .cp-team .cp-title span { color: #c4b5fd; }
.cp-page .cp-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; }
.cp-page .cp-team .cp-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 */
.cp-page .cp-team__panel:not(:has(.cp-shot img:is([width^="12"], [width^="13"], [width^="14"], [width^="15"], [width^="16"], [width^="17"], [width^="18"], [width^="19"]))) .cp-shot { max-width: 840px; }
/* balanced text columns (no lonely last row): 3 across on desktop, 2 on tablets, 1 on phones */
.cp-page .cp-team .cp-ticks { order: 3; columns: 3 260px; column-gap: 32px; margin-top: clamp(24px, 3vw, 40px); margin-bottom: -14px; }
.cp-page .cp-team .cp-ticks li { break-inside: avoid; margin: 0 0 14px; color: #e7e9f5; }
.cp-page .cp-team .cp-ticks li + li { margin-top: 0; }
.cp-page .cp-team .cp-ticks li::before { border-color: #86EFC5; }
.cp-page .cp-team .cp-ticks a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-team__price,
.cp-page .cp-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); }
.cp-page .cp-team__copy > .cp-team__price { grid-column: 1; margin-bottom: 0; font-size: 15px; line-height: 1.55; color: #c9cfe6; }
.cp-page .cp-team__price b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.cp-page .cp-team__copy > .cp-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) {
  .cp-page .cp-team__panel { grid-template-columns: minmax(0, 1fr); }
  .cp-page .cp-team__copy > .cp-team__price,
  .cp-page .cp-team__copy > .cp-team__actions { grid-column: 1 / -1; }
  .cp-page .cp-team__copy > .cp-team__actions { justify-content: flex-start; max-width: none; margin-top: 20px; padding: 0; border-top: 0; }
}
@media (max-width: 600px) {
  .cp-page .cp-team .cp-eyebrow,
  .cp-page .cp-team .cp-title,
  .cp-page .cp-team__lead { justify-self: start; text-align: left; }
  .cp-page .cp-team .cp-shot figcaption { text-align: left; }
}

/* ---------- comparison table: a table from 700px, one card per row below ---------- */
.cp-page .cp-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; }
.cp-page .cp-table caption { caption-side: bottom; padding-top: 12px; font-size: 13px; line-height: 1.5; color: #71717A; text-align: left; }
.cp-page .cp-table :is(th, td) { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3e5ee; overflow-wrap: anywhere; }
.cp-page .cp-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.cp-page .cp-table thead th { background: #f7f7fb; font-size: 14px; font-weight: 600; color: #0e0e10; }
.cp-page .cp-table tbody th { font-weight: 600; color: #0e0e10; }
.cp-page .cp-table .is-us { background: #f6f5ff; }
.cp-page .cp-table thead .is-us { background: #eceaff; color: #3b36c9; }
.cp-page .cp-table td b { color: #0e0e10; }
.cp-page .cp-table a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-table__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #71717A; }
@media (max-width: 699.98px) {
  .cp-page .cp-table,
  .cp-page .cp-table tbody,
  .cp-page .cp-table tr,
  .cp-page .cp-table :is(th, td),
  .cp-page .cp-table caption { display: block; width: 100%; }
  .cp-page .cp-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 */
  .cp-page .cp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cp-page .cp-table tbody tr { margin-bottom: 14px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; overflow: hidden; }
  .cp-page .cp-table tbody tr:last-child { margin-bottom: 0; }
  .cp-page .cp-table tbody th { padding: 14px 16px; background: #f7f7fb; font-size: 17px; border-bottom: 1px solid #e3e5ee; }
  .cp-page .cp-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; }
  .cp-page .cp-table tbody tr td:last-child { border-bottom: 0; }
  .cp-page .cp-table tbody tr:last-child :is(th) { border-bottom: 1px solid #e3e5ee; }
  .cp-page .cp-table tbody td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: #71717A; }
  .cp-page .cp-table tbody td:not([data-label])::before { content: none; }
  .cp-page .cp-table tbody td:not([data-label]) { display: block; }
}

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

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

/* ---------- FAQ ---------- */
.cp-page .cp-faq__list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; border-top: 1px solid #c9d0d9; }
.cp-page .cp-faq details { border-bottom: 1px solid #c9d0d9; }
.cp-page .cp-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; }
.cp-page .cp-faq summary::-webkit-details-marker { display: none; }
.cp-page .cp-faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: #6762fe; transition: transform .2s; }
.cp-page .cp-faq details[open] summary::after { transform: rotate(45deg); }
.cp-page .cp-faq summary h3 { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
.cp-page .cp-faq details p { max-width: 820px; margin: 0; padding: 0 40px 24px 0; font-size: 16px; line-height: 1.65; color: #55555f; }
.cp-page .cp-faq details p a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- closing CTA band ---------- */
.cp-page .cp-cta { padding-block: 24px clamp(64px, 7vw, 112px); }
.cp-page .cp-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; }
.cp-page .cp-cta .cp-eyebrow { margin: 0; }
.cp-page .cp-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; }
.cp-page .cp-cta__lead { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.55; color: #33333b; }
.cp-page .cp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }
.cp-page .cp-cta__fine { margin: 0; font-size: 14px; line-height: 1.5; color: #55555f; }

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

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

/* =====================================================================
   Compare-page pieces (not in ag-buyer-pages.css)
   ===================================================================== */

/* as-of note under a heading / table, and the boxed short answer */
.cp-page .cp-asof { margin: 14px auto 0; max-width: 760px; font-size: 14px; line-height: 1.5; color: #5f5f6b; text-align: center; }
.cp-page .cp-asof a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-verdict { max-width: 820px; margin: 0 auto clamp(28px, 3.2vw, 44px); padding: 20px 24px; border: 1px solid #dcd9ff; border-radius: 16px; background: #f6f5ff; font-size: 17px; line-height: 1.65; color: #33333b; }
.cp-page .cp-verdict b { color: #0e0e10; }
.cp-page .cp-verdict a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }

/* jump links to each tool */
.cp-page .cp-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 auto clamp(24px, 3vw, 36px); max-width: 980px; }
.cp-page .cp-jump 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; }
.cp-page .cp-jump a:hover { border-color: #6762fe; color: #6762fe; }
.cp-page .cp-jump a.is-us { border-color: #b9b5ff; background: #f6f5ff; color: #3b36c9; }
.cp-page .cp-jump a:focus-visible { outline: 2px solid #6762fe; outline-offset: 3px; }

/* at-a-glance table: tool column wider; the tool name links to its section */
.cp-page .cp-table--glance col.cp-col-tool { width: 17%; }
.cp-page .cp-table--glance col.cp-col-best { width: 25%; }
.cp-page .cp-table--glance col.cp-col-free { width: 16%; }
.cp-page .cp-table--glance col.cp-col-price { width: 18%; }
.cp-page .cp-table--glance tbody th a { display: inline-flex; align-items: center; min-height: 40px; min-width: 40px; margin: -10px 0; color: #0e0e10; text-decoration: none; }
.cp-page .cp-table--glance tbody th a:hover { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-table--glance tbody th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: #6762fe; }
.cp-page .cp-table--glance td b { font-weight: 600; }
@media (max-width: 699.98px) {
  .cp-page .cp-table--glance tbody th small { display: inline; margin: 0 0 0 8px; }
}

/* one section per tool */
.cp-page .cp-tools { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 28px); }
.cp-page .cp-tool { padding: clamp(20px, 2.6vw, 36px); border: 1px solid #e3e5ee; border-radius: 20px; background: #fff; scroll-margin-top: 24px; }
.cp-page .cp-tool.is-us { border-color: #b9b5ff; background: #f8f7ff; }
.cp-page .cp-tool__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; }
.cp-page .cp-tool__rank { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #f0efff; font-size: 16px; font-weight: 600; color: #6762fe; }
.cp-page .cp-tool.is-us .cp-tool__rank { background: #6762fe; color: #fff; }
.cp-page .cp-tool__name { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: #0e0e10; }
.cp-page .cp-tool__tag { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: 0; color: #55555f; }
.cp-page .cp-tool__price { margin: 0; padding: 8px 14px; border-radius: 10px; background: #f7f7fb; font-size: 14px; line-height: 1.4; color: #33333b; text-align: right; }
.cp-page .cp-tool.is-us .cp-tool__price { background: #eceaff; }
.cp-page .cp-tool__price b { display: block; font-size: 18px; font-weight: 600; color: #0e0e10; }
.cp-page .cp-tool__lead { margin: 18px 0 0; max-width: 860px; font-size: 17px; line-height: 1.65; color: #33333b; }
.cp-page .cp-tool__lead a, .cp-page .cp-tool__pick a, .cp-page .cp-tool__col a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-tool__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.cp-page .cp-tool__col { padding: 18px 20px; border-radius: 14px; background: #f3fbf7; }
.cp-page .cp-tool__col--short { background: #fdf5f2; }
.cp-page .cp-tool__col h4 { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #166534; }
.cp-page .cp-tool__col--short h4 { color: #b4441b; }
.cp-page .cp-tool__col li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: #33333b; }
.cp-page .cp-tool__col li + li { margin-top: 8px; }
.cp-page .cp-tool__col li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid #16a34a; border-bottom: 2px solid #16a34a; transform: rotate(-45deg); }
.cp-page .cp-tool__col--short li::before { top: .7em; width: 10px; height: 0; border-left: 0; border-bottom: 2px solid #d9572b; transform: none; }
.cp-page .cp-tool__pick { margin: 18px 0 0; font-size: 16px; line-height: 1.6; color: #33333b; }
.cp-page .cp-tool__pick b { color: #0e0e10; }
.cp-page .cp-tool__src { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #5f5f6b; }
.cp-page .cp-tool__src a { color: #4b48c9; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cp-page .cp-tool .cp-shot { margin-top: 24px; }
.cp-page .cp-tool .cp-shot + .cp-shot { margin-top: 20px; }
.cp-page .cp-tool__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 760px) {
  .cp-page .cp-tool__head { grid-template-columns: auto minmax(0, 1fr); }
  .cp-page .cp-tool__price { grid-column: 1 / -1; text-align: left; }
  .cp-page .cp-tool__price b { display: inline; margin-right: 6px; }
  .cp-page .cp-tool__cols { grid-template-columns: minmax(0, 1fr); }
  .cp-page .cp-tool__lead { font-size: 16px; }
}
@media (max-width: 600px) {
  .cp-page .cp-tool { border-radius: 16px; }
  .cp-page .cp-tool__actions .cp-btn { width: 100%; }
}

/* hub: groups of page cards */
.cp-page .cp-group + .cp-group { margin-top: clamp(40px, 4.4vw, 64px); }
.cp-page .cp-group__title { margin: 0 0 18px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: #0e0e10; }
.cp-page .cp-group__sub { margin: -8px 0 20px; font-size: 16px; line-height: 1.6; color: #55555f; }
.cp-page .cp-card--link { position: relative; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cp-page .cp-card--link:hover { border-color: #6762fe; box-shadow: 0 12px 32px rgba(103, 98, 254, .14); transform: translateY(-2px); }
.cp-page .cp-card__kind { margin: 0; font-size: 12px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: #6762fe; }
.cp-page a.cp-card--link { color: inherit; text-decoration: none; }
.cp-page a.cp-card--link:focus-visible { outline: 2px solid #6762fe; outline-offset: 3px; }
.cp-page .cp-card--link .cp-card__go { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 600; color: #6762fe; }
.cp-page .cp-card .cp-textlink { margin-top: auto; }
@media (prefers-reduced-motion: reduce) {
  .cp-page .cp-card--link, .cp-page .cp-jump a { transition: none; }
}

/* small spacing helpers (instead of inline styles) */
.cp-page .cp-verdict--after { margin: 28px auto 0; }
.cp-page .cp-note { margin: clamp(24px, 3vw, 36px) auto 0; max-width: 760px; font-size: 17px; line-height: 1.6; color: #33333b; text-align: center; }
.cp-page .cp-note a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-chips--after { margin-top: 24px; }
.cp-page .cp-center > .cp-asof { width: 100%; max-width: none; margin: 0; }
.cp-page .cp-sub a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
/* a tick list in two balanced columns (one on phones) */
.cp-page .cp-ticks--cols { max-width: 1000px; margin: 20px auto 0; columns: 2 340px; column-gap: 40px; }
.cp-page .cp-ticks--cols li { break-inside: avoid; margin: 0 0 12px; }
.cp-page .cp-ticks--cols li + li { margin-top: 0; }
.cp-page .cp-note-title { margin: clamp(32px, 4vw, 48px) 0 0; text-align: center; }
/* text + screenshot rows: the eyebrow and links keep their own style inside the copy column */
.cp-page .cp-split__copy p.cp-eyebrow { font-size: 13px; line-height: 1.3; color: #6762fe; }
.cp-page .cp-split__copy a:not(.cp-btn) { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.cp-page .cp-split__copy p b { color: #0e0e10; }
.cp-page .cp-card p.cp-card__kind { font-size: 12px; line-height: 1.3; color: #6762fe; }
@media (max-width: 600px) { .cp-page .cp-card--link { padding: 18px 20px; gap: 6px; } }

/* ---------- template cards: the exact /template gallery card (2026-12-01) ----------
   Markup: assets/js/template-gallery.js cardHtml (li > article.tp-gcard). The page also loads
   /assets/template-gallery.css?v=20261201l, which draws the card; that file scopes its tokens, the type pill,
   the title and the hover buttons to .tp-page, so they are restated here for .ag-page.cp-page.
   Grid = the gallery's: a min(1240px, 100vw - 2*gutter) box centred on the viewport (it breaks out of the
   1200px .cp-wrap column), repeat(auto-fill, minmax(min(280px, 100%), 1fr)), 24px gap, gutter 24px / 16px <=640px.
   Card size then equals /template: 292x341 at 1440, 309x352 at 1024, 348x356 at 768, 358x362 at 390.
   Show 8 (4 x 2 at 1440). */
.ag-page.cp-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; --cp-tp-gut: 24px; }
@media (max-width: 640px) { .ag-page.cp-page { --cp-tp-gut: 16px; } }
.ag-page.cp-page .tp-ggrid {
  --cp-tp-box: min(1240px, calc(100vw - 2 * var(--cp-tp-gut)));
  list-style: none; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px;
  width: var(--cp-tp-box); max-width: none;
  margin: 0 calc((100% - var(--cp-tp-box)) / 2);
}
.ag-page.cp-page .tp-ggrid > li { min-width: 0; margin: 0; }
.ag-page.cp-page .tp-pill { display: inline-block; padding: 4px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.ag-page.cp-page .tp-gcard__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; color: var(--tp-ink); }
/* 40px tap target; the -8px margins keep the card exactly as tall as the gallery's (24px row) */
.ag-page.cp-page .tp-gcard__title a { display: inline-flex; align-items: center; min-height: 40px; padding-block: 8px; margin-block: -8px; box-sizing: border-box; color: var(--tp-ink); text-decoration: none; }
.ag-page.cp-page .tp-gcard__title a:hover { color: var(--tp-brand); }
.ag-page.cp-page .tp-gcard__title a:focus-visible { outline: 2px solid var(--tp-brand); outline-offset: 2px; }
.ag-page.cp-page .tp-gcard__desc { margin: 0; }
.ag-page.cp-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; }
.ag-page.cp-page .tp-gcard__btn:hover { background: #ECEAFF; color: var(--tp-ink); }
.ag-page.cp-page .tp-gcard__btn--brand { background: var(--tp-brand); color: #fff; }
.ag-page.cp-page .tp-gcard__btn--brand:hover { background: var(--tp-brand-dk); color: #fff; }
.ag-page.cp-page .tp-gcard__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cp-page .cp-shot--after { margin-top: clamp(28px, 3vw, 44px); }
