/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   SUB-PAGE PREMIUM LAYER (2026-10-17) — loaded on every marketing page after site.css.
   The homepage's `.fx-hero` look now leads every focused page (pricing, contact, partners, security,
   about, careers, legal, help, updates), so the glass/mesh layers scoped to `.fx-hero ~ .section`
   and the neural canvas apply site-wide. This file adds what those pages need on top: the centred
   "solo" hero, breadcrumbs, the document layout with a sticky contents rail, card grids, the help
   hero search, the updates empty state, the ⌘K site search palette, section links, a toast and
   print styles. Tokens only (no per-theme rules); text uses the text-safe tokens; motion is gated
   on prefers-reduced-motion: no-preference. Class prefixes: pg- (pages), sp- (search palette),
   sg- (smart helpers), nav-search.
   ═══════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── Brand: the RobotAiTechnology emblem + full logo (2026-10-17) ──
   Assets in /site/img/brand, cut from brand/robotai-logo-master.png. The header mark is an <img> inside
   .logo-mark (versioned by rewriteHtml, so it caches immutably); the old favicon tile styling — rounded
   square, box-shadow glow — is replaced by drop-shadows that follow the emblem's own outline. */
.logo-mark { width: 36px; height: 36px; border-radius: 0; background: none; box-shadow: none;
  filter: drop-shadow(0 3px 8px color-mix(in srgb, var(--brand) 40%, transparent)); }
.logo-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.logo-mark::after { border-radius: 0; -webkit-mask: url('/site/img/brand/brand-mark-160.webp') center / contain no-repeat;
  mask: url('/site/img/brand/brand-mark-160.webp') center / contain no-repeat; }
@media (hover: hover) and (pointer: fine) {
  .logo:hover .logo-mark { box-shadow: none; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .55)) drop-shadow(0 0 16px rgba(124, 92, 255, .38)); }
}
.logo:focus-visible .logo-mark { box-shadow: none; filter: drop-shadow(0 0 2px var(--c3, #22d3ee)) drop-shadow(0 0 10px rgba(34, 211, 238, .6)); }
.logo:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 8px; }
.logo-mark.logo-landed { animation: logoLandBrand .9s var(--ease, ease); }
@keyframes logoLandBrand { 0% { filter: drop-shadow(0 0 0 rgba(34, 211, 238, 0)); } 35% { filter: drop-shadow(0 0 10px rgba(34, 211, 238, .8)) drop-shadow(0 0 22px rgba(124, 92, 255, .5)); }
  100% { filter: drop-shadow(0 3px 8px color-mix(in srgb, var(--brand) 40%, transparent)); } }
@media (max-width: 420px) { .logo-mark { width: 32px; height: 32px; } }

/* Header wordmark + tagline ("Smart IT. Smarter Business.", from the brand design). */
.logo-txt { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.logo-tag { margin-top: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; color: var(--muted); white-space: nowrap; }
@media (max-width: 360px) { .logo-tag { display: none; } }

/* Footer: brand block + five link groups (Company · Solutions · Support · Legal · Get started). */
.footer-inner.foot-grid { grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); gap: 26px 22px; }
@media (max-width: 1100px) and (min-width: 981px) { .footer-inner.foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 980px) { .footer-inner.foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-tag { margin: 12px 0 0; font-weight: 700; color: var(--brand-text); font-size: 13.5px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.foot-heart { color: #ef4444; }
.footer .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer: the full stacked logo, in the variant that reads on the current theme (the master's wordmark is
   navy, so the dark site uses a copy with the wordmark lifted to near-white; "Ai" keeps its blue). */
.foot-logo { display: inline-block; line-height: 0; }
.brand-full { display: block; width: 196px; height: auto; }
.brand-full-light { display: none; }
:root[data-theme="light"] .brand-full-dark { display: none; }
:root[data-theme="light"] .brand-full-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .brand-full-dark { display: none; }
  :root:not([data-theme="dark"]) .brand-full-light { display: block; }
}
.footer .foot-logo + p { margin-top: 14px; }

/* Intro: the reveal lands on the emblem itself (it used to show the old robot tile). The mark is masked to
   the emblem's outline, so the moving scanlines + light streak stay on the robot (masking those overlays
   directly would slide the silhouette with their transform); the glow sits on the flyer so the mask can't
   clip it. The old robot's outline trace is retired. */
/* The old square mark filled the glass tile; the round emblem needs a larger slot to fill it the same way. */

/* ── Logo intro hand-off ── The intro holds the hero's entrance until the logo flies to the nav. Its rule
   (site.css "Logo intro") still named the pre-2026-10-12 hero (.hero-copy / .hero-visual), so since the
   features-led redesign the entrance ran — and finished — behind the overlay. Same hold, current classes. */
html[data-intro="play"] .fx-hero-copy > *, html[data-intro="play"] .fx-hero-visual { animation-play-state: paused; }

/* ── Breadcrumbs ── */
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.pg-crumbs a { color: var(--muted); text-decoration: none; }
.pg-crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.pg-crumbs [aria-current] { color: var(--text); font-weight: 600; }
.pg-sep { opacity: .7; }

/* ── Hero ── */
.pg-hero { padding-bottom: 56px; }
@media (min-width: 981px) { .section.pg-hero { padding-bottom: 64px; } }
.pg-hero-solo { max-width: 860px; text-align: center; }
.pg-solo .pg-crumbs, .pg-solo .hero-cta, .pg-solo .pg-meta { justify-content: center; }
.pg-solo .fx-hero-copy .lede { margin-left: auto; margin-right: auto; max-width: 640px; }
.pg-solo .fx-hero-copy h1 { font-size: clamp(32px, 4.8vw, 54px); }
.pg-split .fx-hero-copy h1 { font-size: clamp(32px, 4.4vw, 50px); }
.pg-meta { margin-top: 20px; }
/* The neural canvas (site.js) was tuned for the homepage's split hero, where it sits beside the copy.
   On a centred hero it would run behind the text, so it is softened there and, on phones, kept below it.
   Plain opacity on the canvas layer is a compositor property, so it costs nothing per frame. */
.pg-solo .fx-neural { opacity: .7; }
@media (max-width: 760px) {
  .pg-hero .fx-neural { opacity: .45; }
  .pg-solo .fx-neural { inset: 58% 0 0 0; height: 42%; }
}

/* Glass panel beside a split hero (also the live commission tiers on /partners + /partners/apply) */
.pg-panel-t, .pa-panel-t { position: relative; margin: 0 0 14px; color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pg-panel-foot, .pa-panel-foot { position: relative; display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: #fff; font-size: 13.5px; font-weight: 600; }
.pg-panel-foot .i, .pa-panel-foot .i { width: 16px; height: 16px; flex: none; }
.pa-tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pa-tier-top em { font-style: normal; font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; }
.pa-tier small { display: block; margin-top: 6px; line-height: 1.4; }

/* ── Document layout: contents rail + article ── */
.section.pg-doc { padding-top: 8px; }
.pg-doc-grid { display: grid; grid-template-columns: 236px minmax(0, 780px); gap: 44px; justify-content: center; align-items: start; }
.pg-doc-grid.pg-no-toc { grid-template-columns: minmax(0, 780px); }
.pg-toc { position: sticky; top: 92px; min-width: 0; }
.pg-toc-d > summary { list-style: none; cursor: pointer; margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pg-toc-d > summary::-webkit-details-marker { display: none; }
.pg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--border); max-height: calc(100vh - 240px); overflow: auto; scrollbar-width: thin; }
.pg-toc li { margin: 0; }
.pg-toc a { display: block; margin-left: -2px; padding: 7px 12px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; color: var(--muted);
  font-size: 13.5px; line-height: 1.4; text-decoration: none; transition: color .16s ease, border-color .16s ease, background .16s ease; }
.pg-toc a:hover { color: var(--text); }
.pg-toc a.on { color: var(--text); font-weight: 600; border-left-color: var(--brand);
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 12%, transparent), transparent); }
.pg-toc a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sg-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sg-tool { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border); background: transparent;
  color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: color .16s ease, border-color .16s ease; }
.sg-tool:hover { color: var(--text); border-color: var(--ring, var(--brand)); }
.sg-tool:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sg-tool .i { width: 15px; height: 15px; }

.pg-article { min-width: 0; padding: 40px 48px; border-radius: var(--r-card, 22px);
  background: var(--g-fill, var(--surface)); border: 1px solid var(--g-line, var(--border)); box-shadow: var(--g-hi, none), var(--g-shadow, var(--shadow)); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pg-article { -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
}
.pg-article .article-body h2 { position: relative; scroll-margin-top: 96px; }
.pg-article .article-body h2:first-child { margin-top: 0; }
.pg-article .article-cta { margin-top: 40px; }
.sg-anchor { position: absolute; left: -30px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 24px; height: 24px;
  border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .16s ease, color .16s ease; }
.sg-anchor .i { width: 15px; height: 15px; }
.article-body h2:hover .sg-anchor, .sg-anchor:focus-visible { opacity: 1; }
.sg-anchor:hover { color: var(--brand-text); }
.sg-anchor:focus-visible { outline: 2px solid var(--brand); }
@media (hover: none) { .sg-anchor { display: none; } }

@media (max-width: 980px) {
  .pg-doc-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pg-toc { position: static; }
  .pg-toc-d { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--g-fill, var(--surface)); }
  .pg-toc-d > summary { display: flex; justify-content: space-between; align-items: center; margin: 0; color: var(--text); }
  .pg-toc-d > summary::after { content: '+'; font-size: 20px; font-weight: 500; line-height: 1; color: var(--brand-text); transition: transform .2s ease; }
  .pg-toc-d[open] > summary::after { transform: rotate(45deg); }
  .pg-toc-d[open] > summary { margin-bottom: 12px; }
  .pg-toc ol { max-height: none; }
  .pg-article { padding: 28px 24px; }
  .sg-anchor { display: none; }
}
@media (max-width: 560px) { .pg-article { padding: 22px 18px; } }

/* ── Card grids (legal hub, security controls, updates links) ── */
.pg-intro { max-width: 760px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 16.5px; }
.pg-intro a { color: var(--brand-text); }
.pg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 30px; }
.pg-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-ctls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .pg-cards-3, .pg-ctls { grid-template-columns: minmax(0, 1fr); } }
.pg-card, .pg-ctl { display: flex; flex-direction: column; padding: 24px; color: inherit; text-decoration: none; }
.pg-card h3, .pg-ctl h3 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -.01em; color: var(--text); }
.pg-card p, .pg-ctl p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.pg-ctl p { margin-bottom: 0; }
.pg-card .fx-more { margin-top: auto; }
.pg-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.pg-ctl { scroll-margin-top: 96px; }
.pg-more { margin: 26px 0 0; text-align: center; }
.pg-cta { margin-top: 44px; }

/* /pricing comparison: "—" means "not included", so it must stay readable (it was muted at 55%,
   ~1.2–2.5:1 measured). The full muted token is AA on every surface. */
.compare td.no { color: var(--muted); }

/* /pricing plan cards: each feature with its one-line benefit; 3 up front, up to 10 behind "Show more".
   The box takes the card's free height (as the plain list did), so seats + buttons stay aligned at the
   bottom of every card. The extra points open with a grid-rows height animation (no JS measuring). */
@media (prefers-reduced-motion: no-preference) {
  @keyframes prIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* ── Help Center hero search ── */
.pg-kbd, .nav-search-k, .sp-foot kbd, .sp-esc { display: inline-grid; place-items: center; min-width: 24px; padding: 3px 7px; border-radius: 7px;
  border: 1px solid var(--border); border-bottom-width: 2px; background: var(--surface-2); color: var(--muted); font: 700 11.5px/1.2 var(--sans, system-ui); }

/* ── Updates empty state ── */
.pg-empty { max-width: 1000px; margin: 0 auto; padding: 44px 32px; text-align: center; }
.pg-empty > .feat-ico { margin: 0 auto 14px; }
.pg-empty h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); }
.pg-empty > p { max-width: 560px; margin: 0 auto; }
.pg-empty .pg-cards { text-align: left; }
.section.pg-blog, .section.pg-legal, .section.pg-trust { padding-top: 16px; }
@media (max-width: 560px) { .pg-empty { padding: 30px 18px; } }

/* ── Nav: site search button + current-route highlight ── */
.nav-search { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 12px; border-radius: 11px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer;
  transition: color .16s ease, border-color .16s ease; }
.nav-search[hidden] { display: none; }
/* Wide screens show the links in the bar: hold the button's space until site-smart.js reveals it, so the nav doesn't
   nudge sideways on every page load (layout shift). It stays invisible and unfocusable until then. !important only
   because site.css hides every [hidden] with !important. */
@media (min-width: 1025px) { .nav-search[hidden] { display: inline-flex !important; visibility: hidden; } }
.nav-search:hover { color: var(--text); border-color: var(--ring, var(--brand)); }
.nav-search:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.nav-search .i { width: 17px; height: 17px; }
@media (max-width: 1280px) and (min-width: 1025px) {
  .nav-search { width: 40px; padding: 0; justify-content: center; }
  .nav-search-t, .nav-search-k { display: none; }
}
@media (max-width: 1024px) {
  .nav.open .nav-cta .nav-search { width: 100%; justify-content: flex-start; min-height: 48px; padding: 0 14px; font-size: 15px; }
  .nav.open .nav-cta .nav-search .nav-search-k { margin-left: auto; }
}
@media (hover: none) { .nav-search-k { display: none; } }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ── ⌘K site search palette ── */
.sp-back { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px;
  background: color-mix(in srgb, #050814 58%, transparent); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .sp-back { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } }
.sp { display: flex; flex-direction: column; width: min(660px, 100%); max-height: min(72vh, 660px); overflow: hidden; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .7), 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent), 0 0 60px -20px var(--glow, transparent); }
.sp-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.sp-head > .i { flex: none; width: 21px; height: 21px; color: var(--brand-text); }
.sp-q { flex: 1; min-width: 0; padding: 4px 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--text); }
.sp-q::placeholder { color: var(--muted); }
.sp-q::-webkit-search-cancel-button { display: none; }
.sp-esc { cursor: pointer; }
.sp-list { flex: 1; overflow: auto; padding: 8px; overscroll-behavior: contain; scrollbar-width: thin; }
.sp-group { padding: 12px 10px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sp-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); text-decoration: none; cursor: pointer; }
.sp-item[aria-selected="true"] { background: color-mix(in srgb, var(--brand) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent); }
.sp-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); color: var(--brand-text); }
.sp-item[aria-selected="true"] .sp-ic { background: var(--tri); color: #fff; }
.sp-ic .i { width: 18px; height: 18px; }
.sp-t { flex: 1; min-width: 0; }
.sp-t b { display: block; overflow: hidden; font-size: 14.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.sp-t small { display: block; overflow: hidden; font-size: 12.5px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.sp-t mark { padding: 0 1px; border-radius: 3px; color: inherit; background: color-mix(in srgb, var(--brand) 26%, transparent); }
.sp-go { flex: none; font-size: 12px; color: var(--muted); opacity: 0; }
.sp-item[aria-selected="true"] .sp-go { opacity: 1; }
.sp-empty { padding: 30px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.sp-empty a { color: var(--brand-text); }
.sp-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.sp-foot span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 560px) { .sp-back { padding: 8px; } .sp { max-height: calc(100vh - 16px); border-radius: 16px; } .sp-foot { display: none; } }
@media (hover: none) { .sp-foot { display: none; } }

/* ── Toast ── */
.sg-toast { position: fixed; bottom: 28px; left: 50%; z-index: 95; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-size: 13.5px; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); pointer-events: none; }

/* ── Motion (only when allowed) ── */
@media (prefers-reduced-motion: no-preference) {
  .sp-back { animation: spFade .16s ease both; }
  .sp { animation: spIn .22s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes spFade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes spIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
  .sg-toast { animation: sgToast .24s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes sgToast { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
  .pg-toc a.on { animation: pgTocOn .3s ease; }
  @keyframes pgTocOn { from { background-position: -40px 0; } to { background-position: 0 0; } }
}

/* ── Print: just the document ── */
@media print {
  .nav, .footer, .ask, .to-top, .scroll-progress, .read-bar, .pg-toc, .fx-neural, .fx-ribbon, .cta-band, .pg-cta, .article-cta, #cta-dock,
  .sp-back, .sg-toast, .hero-cta, .fx-hero-visual, .fx-float, .sg-anchor, .skip, .pg-kb-search { display: none !important; }
  html, body { background: #fff !important; }
  *, *::before, *::after { color: #000 !important; -webkit-text-fill-color: #000 !important; background: transparent !important; box-shadow: none !important;
    text-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; animation: none !important; }
  .section { padding: 12px 0 !important; }
  .pg-doc-grid { display: block; }
  .pg-article { padding: 0; border: 0; }
  .article-body a::after { content: ' (' attr(href) ')'; font-size: 11px; }
}

/* Touch: the breadcrumb trail and the "On this page" contents were 19–30px tall on phones (UI governance
   agent). Thumb-sized at 44px; the look on desktop is unchanged. */
@media (pointer: coarse), (max-width: 860px) {
  /* min-width too: a short crumb ("Home", "Help") was 44px tall but ~35px wide. */
  .pg-crumbs a, .pa-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .pg-toc a { display: flex; align-items: center; min-height: 44px; }
  .pg-toc-d > summary { min-height: 44px; }
  .sg-tool { min-height: 44px; }
}

/* ── Website proof + industry pages (W2, ADR-026). prf- = proof (the homepage plan finder owns .pf-*). Every proof
   section is server-rendered only from published, consented items; logo boxes are fixed-size so nothing shifts. ── */
.prf-quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }
.prf-quote { margin: 0; padding: 20px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.prf-quote blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.prf-quote figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; font-size: 13.5px; color: var(--muted); }
.prf-q-logo { width: 96px; height: 32px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px 6px; box-sizing: border-box; }
.prf-q-who { display: flex; flex-direction: column; min-width: 0; }
.prf-q-who b { color: var(--text); font-weight: 700; }
.prf-badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.prf-disc { margin: 0; font-size: 12px; color: var(--muted); }
.prf-logos { padding: 26px 0 8px; }
.prf-logos-h { margin: 0 0 12px; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prf-logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
.prf-logo-row li { width: 152px; height: 60px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.prf-logo-row img { width: 140px; height: 48px; object-fit: contain; }
.prf-numbers { padding: 28px 0; }
.prf-numbers .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prf-num-row { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; max-width: 980px; }
.prf-num-row li { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 150px; }
.prf-num-row b { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; color: var(--brand-text, var(--text)); font-variant-numeric: tabular-nums; }
.prf-num-row span { font-size: 13.5px; color: var(--muted); }
.prf-num-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.prf-case { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.prf-case-ind { font-size: 12px; font-weight: 700; color: var(--brand-text, var(--muted)); letter-spacing: .02em; }
.prf-case h3 { margin: 0; }
.prf-case-metric { margin: 0; font-size: 14px; color: var(--muted); }
.prf-case-metric b { font-size: 22px; color: var(--text); margin-right: 4px; }
.prf-case-co { margin: 0; font-size: 13px; color: var(--muted); }
.prf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
.prf-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: 14px; background: var(--surface); }
.prf-chips a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.prf-chips a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.prf-cs-wrap { max-width: 860px; }
.prf-metrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.prf-metrics li { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.prf-metrics b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.prf-metrics span { font-size: 13.5px; color: var(--muted); }
.prf-metrics-note { margin: 8px 0 24px; font-size: 12.5px; color: var(--muted); }
.prf-cs-sec { margin: 0 0 26px; }
.prf-cs-sec h2 { font-size: 22px; margin: 0 0 8px; }
.prf-cs-feats { margin: 8px 0 26px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.prf-cs-feats h2 { font-size: 16px; margin: 0 0 8px; }
.prf-cs-feats ul { margin: 0; padding-left: 18px; columns: 2; }
.prf-sol-cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.prf-more { margin: 18px 0 0; font-size: 14px; }
.prf-more.center, .prf-sol-link { text-align: center; }
.prf-step-row { list-style: none; margin: 24px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.prf-step-row li { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.prf-step-n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; }
.prf-step-row b { font-size: 15.5px; }
.prf-step-row span:last-child { font-size: 13.5px; color: var(--muted); }
.prf-faq .faq { max-width: 860px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .prf-step-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .prf-cs-feats ul { columns: 1; } .prf-badge { margin-left: 0; } .prf-logo-row li { width: 132px; } .prf-logo-row img { width: 120px; } }
.prf-cs-feats a, .prf-more a { color: var(--brand-text, var(--brand)); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prf-more a .i { width: 15px; height: 15px; vertical-align: -2px; }
.prf-quotes .prf-more { text-align: center; }
/* Few certificates or case studies: centre them instead of leaving a lopsided 3-column row. */
.pg-certs .pg-cards, .prf-cases .pg-cards { display: flex; flex-wrap: wrap; justify-content: center; }
.pg-certs .prf-cert { flex: 0 1 360px; }
.prf-cases .prf-case { flex: 0 1 340px; }

/* ═══ W3 — engagement & support (ADR-028): Help launcher tabs + live chat, lite videos, /demo, /tour, demo-time pickers ═══ */
/* Launcher (public/site/engage.js extends site.js's #ask panel; tabs appear only for channels the operator switched on) */
.ask-fab { position: relative; }
.eg-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff;
  font-size: 11.5px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.eg-tabs { flex: none; display: flex; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.eg-tabs::-webkit-scrollbar { display: none; }
.eg-tab { flex: none; font: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 10px 8px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0; background: transparent; color: var(--muted); cursor: pointer; }
.eg-tab:hover { color: var(--text); background: var(--surface-2); }
.eg-tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--brand); }
.eg-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.eg-unread { display: inline-block; min-width: 16px; margin-left: 5px; padding: 0 4px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 10.5px; line-height: 16px; text-align: center; }
.eg-unread[hidden] { display: none; }
.eg-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; }
.eg-pane[hidden] { display: none; }
.eg-pane-ask { overflow: hidden; }
.eg-handoff { flex: none; padding: 0 14px 10px; font-size: 12.5px; }
.eg-link { font: inherit; padding: 0; border: 0; background: none; color: var(--brand-2); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.eg-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.eg-lede { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; }
.eg-wa, .eg-vendor, .eg-book { padding: 14px; }
.eg-form label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 650; }
.eg-form label .muted { font-weight: 400; }
.eg-form input, .eg-form select, .eg-form textarea { display: block; width: 100%; min-width: 0; margin-top: 4px; padding: 9px 11px; border-radius: 10px; font: inherit; font-size: 14px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.eg-form textarea { resize: vertical; min-height: 44px; }
.eg-form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.eg-form [aria-invalid="true"] { border-color: var(--bad); }
.eg-form input:focus, .eg-form select:focus, .eg-form textarea:focus, .eg-compose textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.eg-tz { margin: -2px 0 8px; }
.eg-done { padding: 18px 4px; text-align: center; font-size: 13.5px; line-height: 1.55; }
.eg-done .tick { font-size: 30px; color: var(--ok); }
.eg-done p { margin: 6px 0 0; color: var(--muted); }
/* Built-in chat */
.eg-chat { overflow: hidden; }
.eg-status { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--border); }
.eg-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.eg-chat.is-online .eg-dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.eg-log { min-height: 80px; }
.eg-log[hidden] { display: none; }
.eg-msg { white-space: pre-wrap; }
.eg-msg.sys { align-self: center; max-width: 92%; padding: 2px 6px; border: 0; background: none; color: var(--muted); font-size: 12px; text-align: center; }
.eg-who { display: block; margin-bottom: 2px; font-size: 11px; color: var(--muted); }
.eg-start { flex: none; padding: 12px 14px; }
.eg-start .row { margin-bottom: 8px; }
.eg-start input, .eg-start textarea { margin-top: 0; }
.eg-start textarea { margin-bottom: 8px; }
.eg-greet { margin: 0 0 10px; font-size: 13px; line-height: 1.5; }
.eg-offer-cb { margin: 8px 0 0; font-size: 12.5px; }
.eg-compose { flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--border); }
.eg-compose textarea { flex: 1; min-width: 0; max-height: 120px; resize: none; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 14px; line-height: 1.4;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.eg-chat-foot { flex: none; padding: 0 14px 8px; font-size: 12px; color: var(--muted); }
.eg-chat .eg-note { flex: none; margin: 0 0 8px; padding: 0 14px; }
.eg-note:empty { display: none; }
@media (max-width: 860px) {
  .eg-form input, .eg-form select, .eg-form textarea, .eg-compose textarea { font-size: 16px; }
  .ask.eg-raise { transform: translateY(-64px); } /* /tour: clear of the stepper bar (engage.js) */
}
@media (prefers-reduced-motion: no-preference) { .ask { transition: transform .2s ease; } }

/* Lite videos: our poster as a button; the player is created on press (engage.js) */
.vid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; gap: 22px; margin-top: 26px; } /* one or two videos sit centred */
.vid { margin: 0; min-width: 0; }
.vid-big { max-width: 980px; margin: 0 auto; }
.vid-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  cursor: pointer; background: var(--surface-2); }
.vid-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-ph { position: absolute; inset: 0; background: radial-gradient(circle at 28% 22%, color-mix(in srgb, var(--brand) 32%, transparent), transparent 62%), linear-gradient(135deg, var(--surface-2), var(--surface)); }
.vid-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 0, 0, .58); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: transform .15s ease, background-color .15s ease; }
.vid-btn .i { width: 26px; height: 26px; margin-left: 3px; }
.vid-big .vid-btn { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.vid-big .vid-btn .i { width: 34px; height: 34px; margin-left: 4px; }
@media (max-width: 600px) { .vid-big .vid-btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .vid-big .vid-btn .i { width: 26px; height: 26px; } }
.vid-play:hover .vid-btn, .vid-play:focus-visible .vid-btn { transform: scale(1.06); background: var(--brand); }
.vid-play:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.vid-dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .74); color: #fff; font-size: 12px; font-weight: 700; }
.vid-frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.vid figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; font-size: 13.5px; }
.vid figcaption b { font-size: 15.5px; }
.vid figcaption span, .vid figcaption small { color: var(--muted); }
.vid figcaption small { font-size: 12px; }
.vid figcaption small a { color: var(--brand-text, var(--brand)); }
.vids-featured { padding-top: 0; }

/* /demo: the tour card */
.ptr-card-sec .wrap { max-width: 1060px; }
.ptr-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: center; padding: 18px; color: inherit; text-decoration: none; }
.ptr-card img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; }
.ptr-card-t { display: flex; flex-direction: column; gap: 8px; }
.ptr-card-t h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
@media (max-width: 760px) { .ptr-card { grid-template-columns: minmax(0, 1fr); } }

/* Demo-time pickers (homepage, /contact, /demo forms) — server-rendered only while booking is on */
/* /contact: what the message is about. Real radios, shown as a row of chips. */
.lead-topic { min-width: 0; margin: 0 0 10px; padding: 0; border: 0; }
.lead-topic legend { margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 650; }
.lead-form .lead-topic label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 8px 8px 0; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 14px; cursor: pointer; }
.lead-form .lead-topic input { width: auto; margin: 0; padding: 0; accent-color: var(--brand); }
.lead-form .lead-topic label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface-2)); }
.lead-form .lead-topic label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.lead-topic-note { margin: 0 0 14px; text-align: left; }
.lead-when { min-width: 0; margin: 0 0 4px; padding: 0; border: 0; }
.lead-when legend { margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 650; }
.lead-when legend .muted { font-weight: 400; }

/* /tour: every step server-rendered; engage.js turns the list into a stepper (the bar's space is reserved — no shift) */
.ptr .wrap { max-width: 1180px; }
.ptr-bar { position: sticky; top: 78px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 520px; margin: 0 auto 22px; padding: 7px;
  border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ptr-bar[data-pre] { visibility: hidden; }
.ptr-count { font-size: 13.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.ptr-steps { display: flex; flex-direction: column; gap: 64px; margin: 0; padding: 0; list-style: none; }
.ptr-step[hidden] { display: none; }
.ptr-h { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.ptr-h:focus { outline: none; }
.ptr-n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 15px; font-weight: 800; }
.ptr-text { max-width: 780px; margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.ptr-shot { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); box-shadow: 0 34px 80px -44px rgba(0, 0, 0, .65); }
.ptr-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ptr-label { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(15, 23, 42, .8); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.ptr-hot { position: absolute; z-index: 3; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--brand); color: #fff;
  font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); transition: transform .15s ease, background-color .15s ease; }
.ptr-hot:hover, .ptr-hot.on { transform: scale(1.14); background: var(--brand-2); }
.ptr-hot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .ptr-hot { animation: ptrPulse 2.4s ease-out 3; }
  @keyframes ptrPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent), 0 6px 16px -6px rgba(0, 0, 0, .6); } 75%, 100% { box-shadow: 0 0 0 14px transparent, 0 6px 16px -6px rgba(0, 0, 0, .6); } }
}
.ptr-hots { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: ptrhot; }
.ptr-hots li { position: relative; padding: 10px 12px 10px 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 14px; line-height: 1.5;
  counter-increment: ptrhot; transition: border-color .15s ease, background-color .15s ease; }
.ptr-hots li::before { content: counter(ptrhot); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; }
.ptr-hots li b { color: var(--text); }
.ptr-hots li.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
@media (max-width: 860px) {
  .ptr-bar { top: 66px; }
  .ptr-hot { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11.5px; border-width: 1.5px; }
  .ptr-steps { gap: 44px; }
}

/* ═══ W4 — SEO, speed & mobile (ADR-029) ═══ */
/* Breadcrumbs above a centred hero (/pricing, /contact) */
.pg-crumbs-c { justify-content: center; }
/* The 404 page: popular pages under the hero */
.nf-ways .pg-cards { margin-top: 18px; }
/* Phones: comfortable targets (tests/t-ui-site-mobile.js — controls ≥ 44 px, links outside running text ≥ 24 px) */
@media (max-width: 860px) {
  .fx-pg { width: 44px; height: 44px; }
  .fx-more { min-height: 26px; }
  .prf-sol-link a { display: inline-flex; align-items: center; min-height: 26px; }
  .pg-toc a { padding-top: 9px; padding-bottom: 9px; }
  .pg-more-docs a { display: inline-flex; align-items: center; min-height: 26px; } /* legal pages: "Other policies" */
}
/* Feature pages (/features, /features/<slug>): the real console screen in the hero, capability cards, live plans */
.ft-shot { display: block; width: 100%; color: inherit; text-decoration: none; }
.pg-visual .ft-shot { max-width: 620px; margin: 0 auto; }
.ft-shot:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.ft-cap .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ft-cap { display: flex; flex-direction: column; }
.ft-cap .fx-more { margin-top: auto; padding-top: 4px; }
.ft-plans { list-style: none; max-width: 760px; margin: 26px auto 0; padding: 6px 22px; }
.ft-plans li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 0; border-top: 1px solid var(--border); }
.ft-plans li:first-child { border-top: 0; }
.ft-plans b { font-size: 15px; }
.ft-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-chips span { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 600; }
.ft-chips .none { color: var(--muted); font-weight: 500; }
.ft-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ft-card { padding: 0 0 22px; overflow: hidden; }
.ft-card h3 { margin: 18px 22px 6px; }
.ft-card p { margin: 0 22px 14px; }
.ft-card .fx-more { margin: auto 22px 0; }
.ft-card-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.ft-card-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ft-others-h { margin: 34px 0 12px; font-size: 16px; text-align: center; }
/* Every .prf-more link stands alone ("More answers in the Help Center", "Read customer stories" …): a 24 px+ target. */
.prf-more a { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; }
@media (max-width: 860px) {
  .ft-cards { grid-template-columns: minmax(0, 1fr); }
  .ft-plans { padding: 4px 16px; }
}

/* ── /integrations (backend/services/siteIntegrations.js, ADR-034/037): verified integrations; a logo only as the
   company's official file uploaded with its permission (white tile), otherwise our own neutral icon; the "Works with"
   row; no partner claims ── */

/* Tiles: an official logo always sits on white, in both themes (the background its guidelines show); without one,
   our own line icon on the category tint — never the brand's initials. */
.ig-t-logo { background: #fff; border-color: var(--border); padding: 9px; }
.ig-t-logo svg, .ig-t-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* 40 px with 7 px padding leaves a 24 px logo box: the smallest size brands such as Firebase allow. */
.ig-c-phone { background: color-mix(in srgb, var(--brand-2) 16%, var(--surface)); }

/* "Works with": a row of chips, each a link to its card. Static (scrollable) until integrations.js decides it may move:
   only with the operator's switch, never under prefers-reduced-motion, always with a Pause button (WCAG 2.2.2). */
/* Two copies of the chips + a trailing gap: -50% is exactly one copy, so the loop has no jump. */
@keyframes ig-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* The icon keeps its square on narrow screens (a flex item would otherwise shrink into a tall pill). */

/* Cards: a gentle lift on hover; the card a "Works with" chip (or a #i-<id> link) points at is outlined. */

/* How connections are protected */


/* ── Testimonials (ADR-052, prf-*: not pf-, that is the plan finder). Boxes are reserved (fixed sizes / aspect ratios)
   so photos, videos and the carousel never shift the page (CLS < 0.05). ── */
.prf-stars { color: #d99a06; letter-spacing: 2px; font-size: 15px; line-height: 1; }
.prf-stars-off { color: color-mix(in srgb, var(--muted) 35%, transparent); }
.prf-hl { margin: 0; font-weight: 700; font-size: 16.5px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.prf-av { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; }
.prf-av-i { display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); color: var(--text); font-weight: 700; font-size: 14px; }
.prf-proj { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 14px; }
.prf-proj-name { margin: 0; color: var(--text); }
.prf-proj-name span { display: inline-block; margin-right: 6px; color: var(--muted); font-size: 12.5px; }
.prf-outs { margin: 0; padding-left: 18px; color: var(--text); }
.prf-outs li { margin: 2px 0; }
.prf-ba { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.prf-ba th, .prf-ba td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.prf-ba thead th { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.prf-ba td:last-child { font-weight: 700; color: var(--ok); }
.prf-vidbox .vid-play, .prf-vid-sample { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.prf-vid-sample { border: 1px dashed var(--border); }
.prf-vid-note { position: absolute; left: 10px; bottom: 8px; font-size: 12px; color: var(--muted); }
.prf-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.prf-sample { border-style: dashed; }
.prf-badge-sample { color: var(--muted); border-color: var(--border); background: transparent; }
/* The carousel: a scroll-snap track (works without JS; engage.js only advances it). */
.prf-car { position: relative; margin-top: 24px; }
.prf-car-ctl { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.prf-car-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; font: inherit; font-size: 14px; }
.prf-car-btn .i { width: 16px; height: 16px; }
.prf-car-btn[data-car-prev] .i { transform: rotate(180deg); }
.prf-car-btn:focus-visible, .prf-car-track:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.prf-car-pause[aria-pressed="true"] .prf-car-p, .prf-car-pause[aria-pressed="false"] .prf-car-r { display: none; }
.prf-car-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 36px) / 3)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 10px; overscroll-behavior-x: contain; }
.prf-car-slide { scroll-snap-align: start; min-width: 0; display: flex; }
.prf-car-slide .prf-quote { width: 100%; min-height: 300px; }
/* Rating summary, video gallery, preview bar, case-study extras. */
.prf-sum { padding: 6px 0 18px; }
.prf-sum-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; }
.prf-sum-avg { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.prf-sum-avg b { font-size: 34px; line-height: 1; color: var(--text); }
.prf-sum-txt { margin: 0; color: var(--muted); font-size: 14.5px; }
.prf-vgal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.prf-vcard { margin: 0; display: grid; gap: 8px; min-width: 0; }
.prf-vcard figcaption { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 13.5px; color: var(--muted); }
.prf-vcard figcaption b { color: var(--text); }
.prf-preview-bar { position: sticky; top: 0; z-index: 50; padding: 10px 16px; text-align: center; font-size: 14px; background: #fff4d6; color: #5a4300; border-bottom: 1px solid #e9c46a; }
.prf-cs-rating { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.prf-tl-sec h2 { font-size: 20px; margin: 22px 0 10px; }
.prf-tl { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--border); display: grid; gap: 12px; }
.prf-tl li { display: grid; gap: 2px; }
.prf-tl time { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.prf-cs-video { margin: 18px 0; max-width: 760px; }
.prf-cs-pdf { margin: 22px 0 0; }
@media (max-width: 900px) { .prf-car-track { grid-auto-columns: minmax(260px, calc((100% - 18px) / 2)); } }
@media (max-width: 600px) { .prf-car-track { grid-auto-columns: 86%; } .prf-car-slide .prf-quote { min-height: 280px; } .prf-sum-avg b { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .prf-car-track { scroll-behavior: auto; } }
.prf-chips-l { display: inline-flex; align-items: center; min-height: 44px; margin-right: 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.prf-hl::first-letter { text-transform: uppercase; } /* an excerpt may start mid-sentence; the words stay theirs */
