/* Call to action band: heading left, small square Arial buttons right (white; dark grey), on pinstripes or white.
   Each button sits centred in its own cell, filled from the right: a quarter of the right half ("half"), half of it
   ("single"), or half of the right third ("wide"). Stacked below 1024 px with the buttons in halves. */
.ci-cta .ci-frame { padding: 52px 64px; background: repeating-linear-gradient(135deg, #fafafa, #fafafa 2px, #fff 2px, #fff 4px); }
.ci-cta[data-pattern="white"] .ci-frame { background: var(--ve-color-surface); }
.ci-cta__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: center; }
.ci-cta[data-layout="half"] .ci-cta__row { align-items: end; }
.ci-cta .ci-cta__title { grid-column: span 6; padding-right: 20%; font-size: 40px; line-height: 46px; }
.ci-cta[data-layout="wide"] .ci-cta__title { grid-column: span 8; }
.ci-cta__btns { --cell: 50%; grid-column: span 6; display: grid; grid-auto-flow: column; grid-auto-columns: var(--cell); justify-content: end; justify-items: center; align-items: end; }
.ci-cta[data-layout="half"] .ci-cta__btns { --cell: 25%; }
.ci-cta[data-layout="wide"] .ci-cta__btns { grid-column: span 4; }
.ci-cta__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 80px; padding: 10px 8px; border-radius: 4px; background: #fff; color: #000; font: 400 12px/15px var(--ci-font-ui); text-align: center; text-decoration: none;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%); transition: background .2s, color .2s, box-shadow .2s; }
/* The buttons are drawn 35 px tall, as on the site; the tap area reaches 45 px. */
.ci-cta__btn::after { content: ""; position: absolute; inset: -5px -2px; }
.ci-cta__btn:hover { background: #e6e6e6; color: var(--ve-color-text); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%); }
.ci-cta__btn--dark { padding-inline: 10px; background: #48494a; color: rgb(221 221 221 / 96%); }
.ci-cta__btn--dark:hover { background: #4c4c4c; color: #f5f5f5; }
@media (max-width: 1023px) {
  .ci-cta .ci-cta__title, .ci-cta[data-layout="wide"] .ci-cta__title { grid-column: 1 / -1; padding-right: 0; }
  .ci-cta__btns, .ci-cta[data-layout="wide"] .ci-cta__btns { grid-column: 1 / -1; grid-auto-columns: 1fr; justify-content: stretch; }
}
@media (max-width: 767px) {
  .ci-cta .ci-frame { padding-inline: 24px; }
  .ci-cta .ci-cta__title { font-size: 32px; line-height: 35.2px; }
}
/* Three points: three columns between fine vertical lines, each an 18 px heading and a paragraph. Stacked with lines
   between on phones. */
.ci-f3 .ci-frame { padding: 0; }
.ci-f3[data-frame-rule="true"] .ci-frame { border-top: 1px solid var(--ve-color-line); }
.ci-f3__grid { display: grid; grid-template-columns: 1fr; }
.ci-f3__item { min-width: 0; padding: 32px 24px; }
.ci-f3__item + .ci-f3__item { border-top: 1px solid var(--ve-color-line); }
.ci-f3__title { margin: 0 0 19px; font: 500 18px/21.6px var(--ve-font-display); color: var(--ci-ink); }
.ci-f3__body { font: 400 16px/23px var(--ve-font-body); color: #52525b; }
.ci-f3[data-ink="dark"] .ci-f3__body { color: var(--ve-color-text); }
@media (min-width: 768px) {
  .ci-f3__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ci-f3__item { padding: 64px 64px 80px; }
  .ci-f3__item + .ci-f3__item { border-top: 0; border-left: 1px solid var(--ve-color-line); }
}
@media (max-width: 576px) {
  .ci-f3__body { font-size: 14px; line-height: 22px; }
}
/* Text and picture. Looks:
   panel   — framed row: text left (small line, H2, paragraphs), the picture anchored to the bottom right corner of
             the other half (home "Our mission", SaaS "Our promise");
   product — full-width pinstripes, no frame sides, a line down the middle: icon, H3, paragraphs and "Try it now",
             the picture in a soft-shadowed square flush with the frame's right edge (products page);
   fill    — framed white row whose picture fills its half edge to edge (SaaS steps).
   side=left puts the picture first (on phones too, as on the site). */
.ci-mt .ci-frame { display: grid; grid-template-columns: 1fr; padding: 0; }
/* The fine line down the middle (desktop). */
.ci-mt .ci-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--ve-color-line); pointer-events: none; display: none; }
.ci-mt__text { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 28px 24px 36px; }
.ci-mt[data-side="left"] .ci-mt__media { order: -1; }
.ci-mt__icon { margin: 0 0 22px; }
.ci-mt__icon img, .ci-mt__icon > picture > img { width: 36px; height: 36px; object-fit: contain; filter: grayscale(1); }
.ci-mt__eyebrow { margin: 0 0 11px; font: 400 12px/23px var(--ve-font-body); color: #52525b; }
.ci-mt .ci-mt__title { font-size: 32px; line-height: 35.2px; }
.ci-mt .ci-mt__title.ci-mt__title--small { margin: 0 0 18px; font: 500 18px/21.6px var(--ve-font-display); color: var(--ci-ink); }
.ci-mt[data-gap="true"] .ci-mt__title { margin-bottom: 35px; }
.ci-mt__body { font: 400 14px/22px var(--ve-font-body); color: #52525b; }
.ci-mt__body p + p { margin-top: 16px; }
.ci-mt[data-ink="dark"] :is(.ci-mt__eyebrow, .ci-mt__body) { color: var(--ve-color-text); }
/* The link is a 44 px target; its margins keep the 16 px gap to the text. */
.ci-mt__more { margin: 6px 0 -10px; }
.ci-mt__more a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font: 400 16px/23px var(--ci-font-ui); color: var(--ve-color-text); text-decoration: none; }
.ci-mt__more svg { width: 15px; height: 15px; fill: currentColor; transition: transform .25s var(--ci-ease); }
.ci-mt__more a:hover svg, .ci-mt__more a:focus-visible svg { transform: translateX(3px); }
.ci-mt__media { min-width: 0; }
.ci-mt__media img, .ci-mt__media > picture > img { width: 100%; height: 100%; object-fit: cover; }

/* panel */
.ci-mt[data-look="panel"] .ci-mt__text { padding: 64px 24px 48px; }
.ci-mt[data-look="panel"] .ci-mt__media { display: flex; justify-content: flex-end; align-items: flex-end; }
.ci-mt[data-look="panel"] .ci-mt__media img, .ci-mt[data-look="panel"] .ci-mt__media > picture > img { width: min(100%, 549px); height: auto; aspect-ratio: 556 / 319; }

/* product */
.ci-mt[data-look="product"] { background: repeating-linear-gradient(135deg, #fafafa, #fafafa 2px, #fff 2px, #fff 4px); }
.ci-mt[data-look="product"] .ci-frame { border-inline: 0; background: transparent; }
.ci-mt[data-look="product"] .ci-mt__text { padding: 24px; }
.ci-mt[data-look="product"] .ci-mt__media { padding: 0 24px 24px; }
.ci-mt[data-look="product"] .ci-mt__media img, .ci-mt[data-look="product"] .ci-mt__media > picture > img { aspect-ratio: 1; box-shadow: 0 4px 8px rgb(0 0 0 / .2), 0 6px 20px rgb(0 0 0 / .19); }

/* fill */
.ci-mt[data-look="fill"] .ci-mt__media img, .ci-mt[data-look="fill"] .ci-mt__media > picture > img { aspect-ratio: 1; }

@media (min-width: 1024px) {
  .ci-mt .ci-frame { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ci-mt .ci-frame::after { display: block; }
  .ci-mt[data-side="left"] .ci-mt__media { order: 0; grid-column: 1; grid-row: 1; }
  .ci-mt[data-side="left"] .ci-mt__text { grid-column: 2; grid-row: 1; }
  .ci-mt__text { padding: 64px; }
  .ci-mt .ci-mt__title { font-size: 40px; line-height: 46px; }
  .ci-mt[data-gap="true"] .ci-mt__title { margin-bottom: 46px; }
  .ci-mt__body { font-size: 16px; line-height: 23px; }
  .ci-mt[data-look="panel"] .ci-mt__text { justify-content: flex-start; padding: 64px 64px 80px; }
  .ci-mt[data-look="panel"] .ci-mt__media { padding-left: 64px; }
  .ci-mt[data-look="product"] .ci-mt__text { padding: 64px; }
  .ci-mt[data-look="product"] .ci-mt__media { padding: 37px 0 36px 49px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ci-mt__text { padding: 48px 64px; }
  .ci-mt[data-look="product"] .ci-mt__text { padding: 48px 64px 32px; }
  .ci-mt[data-look="product"] .ci-mt__media { padding: 0 64px 48px; }
}
/* Numbered points: heading on the left (centred in the band), paragraph and lavender numbered points on the right. */
.ci-nl .ci-frame { display: grid; grid-template-columns: 1fr; gap: 16px 70px; padding: 64px 24px 48px; }
.ci-nl__eyebrow { margin: 0 0 16px; font: 500 14px/23px var(--ve-font-body); color: #52525b; }
.ci-nl .ci-nl__title { font-size: 32px; line-height: 35.2px; }
.ci-nl__intro { margin: 0 0 17px; font: 400 16px/23px var(--ve-font-body); color: #52525b; }
.ci-nl__list { margin: 0; padding: 0 40px; list-style: none; counter-reset: ci-nl; }
.ci-nl__item { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 400 16px/23px var(--ci-font-ui); color: #0f172a; counter-increment: ci-nl; }
.ci-nl__item::before { content: counter(ci-nl); display: flex; flex: 0 0 40px; align-items: center; justify-content: center; height: 40px; border-radius: 50%;
  background: #9f9bff; color: #fff; font: 600 16px/1 var(--ci-font-ui); }
@media (min-width: 1024px) {
  .ci-nl .ci-frame { align-items: center; padding: 64px 64px 0; }
  /* With a paragraph the heading column is narrower (488 px) and the band closes 52 px under the list, as on the site. */
  .ci-nl .ci-frame { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  .ci-nl .ci-frame:has(.ci-nl__intro) { grid-template-columns: minmax(0, 488fr) minmax(0, 542fr); column-gap: 70px; padding-bottom: 52px; }
  .ci-nl .ci-nl__title { font-size: 40px; line-height: 46px; }
}
@media (max-width: 576px) {
  .ci-nl__intro, .ci-nl__item { font-size: 14px; line-height: 22px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ci-nl .ci-frame { padding-inline: 64px; }
}
/* Page title: the top of an inner page. Small line, the H1 (the page's LCP: always visible at first paint, no
   reveal), a paragraph and an optional small dark button. Centred (products, SaaS) or on the left (services).
   As on the site, the words fade out while the band scrolls away (CSS scroll timeline, where supported); the fade
   starts only 100 px before the words reach the top, so nothing is faded at first paint (tablet and desktop). */
.ci-ph .ci-frame { padding: 160px 64px 88px; }
.ci-ph[data-align="left"] .ci-frame { padding: 64px; }
.ci-ph__eyebrow { margin: 0 0 26px; font: 400 16px/23px var(--ve-font-body); color: #52525b; }
.ci-ph__title { margin: 0 0 26px; font: 500 64px/1.1 var(--ve-font-display); color: var(--ci-ink); letter-spacing: normal; }
.ci-ph__lead { font: 400 16px/23px var(--ve-font-body); color: #52525b; }
.ci-ph[data-align="center"] .ci-frame { text-align: center; }
.ci-ph[data-align="center"] :is(.ci-ph__title, .ci-ph__lead) { max-width: 880px; margin-inline: auto; }
.ci-ph[data-align="left"] .ci-ph__eyebrow,
.ci-ph[data-align="left"] .ci-ph__title { margin-bottom: 22px; }
.ci-ph__cta { margin: 40px 0 8px; }
.ci-ph__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 35px; padding: 6px 12px; border-radius: 10px;
  background: #0f172a; color: #e5e7eb; font: 400 12px/23px var(--ci-font-ui); text-decoration: none; transition: background-color .2s; }
.ci-ph__btn:hover { background: #242424; }

@supports (animation-timeline: view()) {
  /* Not on phones, where the title starts close to the top and would load part-faded. */
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    :root.ci-js .ci-ph__fade { animation: ci-ph-out linear; animation-timeline: view(); animation-range: exit -100px exit 100%; }
  }
}
@keyframes ci-ph-out { to { opacity: 0; } }

@media (max-width: 1023px) {
  .ci-ph__title { font-size: 48px; line-height: 52.8px; }
}
@media (max-width: 767px) {
  .ci-ph .ci-frame { padding: 80px 24px 64px; }
  .ci-ph[data-align="left"] .ci-frame { padding: 32px 24px; }
  .ci-ph__eyebrow { font-size: 14px; line-height: 22px; }
  .ci-ph__lead { font-size: 14px; line-height: 22px; }
  /* The button is a 44 px target on phones. */
  .ci-ph__btn { min-height: 44px; padding-inline: 16px; }
}
/* Section heading: heading on the left (optionally a line or chip above it) and a short line on the right, bottom
   aligned; or the heading alone, on the left or centred. */
.ci-sh .ci-frame { padding: 52px 64px; }
.ci-sh[data-space="normal"] .ci-frame { padding-block: 64px; }
.ci-sh[data-space="open"] .ci-frame { padding-block: 64px 0; }
.ci-sh__grid { display: grid; gap: 0 24px; align-items: end; }
.ci-sh__eyebrow { margin: 0 0 16px; font: 400 14px/23px var(--ve-font-body); color: #52525b; }
.ci-sh[data-eyebrow="medium"] .ci-sh__eyebrow { font-weight: 500; }
.ci-sh[data-ink="dark"] :is(.ci-sh__eyebrow, .ci-sh__aside) { color: var(--ve-color-text); }
/* The grey chip sits in a 23 px line, as on the site (its padding spills over the line box). */
.ci-sh[data-eyebrow="chip"] .ci-sh__eyebrow { margin-bottom: 25px; font: 600 12px/23px var(--ve-font-body); color: var(--ve-color-text); }
.ci-sh[data-eyebrow="chip"] .ci-sh__chip { padding: 6px 12px; border-radius: 2px; background: var(--ci-chip); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ci-sh[data-eyebrow="chip"] .ci-sh__title { margin-bottom: 23px; }
.ci-sh .ci-sh__title { font-size: 40px; line-height: 46px; }
.ci-sh__aside { margin: 0 0 16px; font: 400 16px/23px var(--ve-font-body); color: #52525b; }
.ci-sh[data-layout="stack"] .ci-sh__title { max-width: 880px; }
.ci-sh[data-layout="center"] .ci-sh__grid { text-align: center; justify-items: center; }
.ci-sh[data-layout="center"] .ci-sh__title { max-width: 972px; }
@media (min-width: 1024px) {
  .ci-sh[data-layout="split"] .ci-sh__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ci-sh[data-layout="split"] .ci-sh__aside { padding-left: 20%; }
}
@media (max-width: 1023px) {
  .ci-sh .ci-sh__title { font-size: 32px; line-height: 35.2px; }
  .ci-sh__aside { margin: 4px 0 0; }
}
@media (max-width: 767px) {
  .ci-sh .ci-frame { padding: 52px 24px; }
  .ci-sh[data-space="normal"] .ci-frame { padding-block: 64px; }
  .ci-sh[data-space="open"] .ci-frame { padding-block: 64px 0; }
  .ci-sh[data-layout="center"] .ci-frame { padding-block: 32px; }
  .ci-sh__aside { font-size: 14px; line-height: 22px; }
}
