/* Site pages. Built on mobii.css and the shared components in case-study.css. */
:root { --app-moments: #F04444; --app-review: #06B6D4; }

/* header with navigation */
.site-header .wrap { grid-template-columns: 1fr auto 1fr; }
.wordmark { color: var(--fg); }
@media (max-width: 900px) {
  .site-header .wrap { grid-template-columns: 1fr auto auto; gap: 8px; }
  .header-cta { grid-column: 2; grid-row: 1; }
  .site-header .pill-nav { grid-column: 3; grid-row: 1; }
}

/* pill navigation, after React Bits PillNav, in the site's own colours; hover is a plain light fill */
.pill-nav {
  --pn-ring: var(--blue);
  --pn-h: 44px; --pn-pad: 4px; --pn-inner: 36px; --pn-x: 14px; --pn-font: 14px; --pn-gap: 8px;
  --pn-item-gap: 2px;
  --pn-radius: 12px; --pn-pill-radius: 8px;
  --pn-hover: rgba(255, 255, 255, 0.08);
  position: relative; display: inline-flex; align-items: center; gap: var(--pn-gap); justify-self: center;
  font-size: var(--pn-font); line-height: 1; -webkit-tap-highlight-color: transparent;
}
:root[data-theme="light"] .pill-nav { --pn-hover: rgba(20, 16, 48, 0.08); }
.pill-nav__surface { background: var(--bg-2); }
.pill-nav__rim { position: absolute; inset: 0; z-index: 4; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); pointer-events: none; }
.pill-nav__bar { position: relative; z-index: 1; display: flex; align-items: center; height: var(--pn-h); padding: var(--pn-pad); border-radius: var(--pn-radius); }
.pill-nav__track { position: relative; height: 100%; }
.pill-nav__list { display: flex; align-items: stretch; gap: var(--pn-item-gap); height: 100%; margin: 0; padding: 0; list-style: none; }
.pill-nav__slot { display: flex; }
.pill-nav__item { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 100%; padding: 0 var(--pn-x);
  border: 0; border-radius: var(--pn-pill-radius); background: none; color: var(--fg-2);
  font: inherit; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate; transition: color .25s ease, background-color .25s ease; }
.pill-nav__item[aria-current] { background: var(--pn-hover); color: var(--fg); }
.pill-nav__item:focus-visible { outline: 2px solid var(--pn-ring); outline-offset: -2px; border-radius: var(--pn-pill-radius); box-shadow: none; }
.pill-nav__face { display: inline-flex; align-items: center; justify-content: center; gap: .45em; }
.pill-nav__item:hover, .pill-nav[data-drop] #prodBtn { background: var(--pn-hover); color: var(--fg); }
.pill-nav__chev { width: 14px; height: 14px; transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1); }
.pill-nav[data-drop] .pill-nav__item .pill-nav__chev { transform: rotate(180deg); }
.pill-nav__app { display: block; flex: none; width: 18px; height: 18px; border-radius: 4px; }

/* folded menu for narrow screens */
.pill-nav__toggle { position: relative; z-index: 3; display: none; place-items: center; width: var(--pn-h); height: var(--pn-h); padding: 0; border: 0;
  border-radius: var(--pn-radius); color: var(--fg); cursor: pointer; }
.pill-nav__toggle:focus-visible { outline: 2px solid var(--pn-ring); outline-offset: 2px; border-radius: var(--pn-radius); }
.pill-nav__burger { position: relative; width: 16px; height: 10px; }
.pill-nav__line { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), top .45s cubic-bezier(0.22, 1, 0.36, 1); }
.pill-nav__line--top { top: 1.5px; }
.pill-nav__line--bottom { top: 7px; }
.pill-nav[data-open] .pill-nav__line--top { top: 4.25px; transform: rotate(45deg); }
.pill-nav[data-open] .pill-nav__line--bottom { top: 4.25px; transform: rotate(-45deg); }
.pill-nav__panel { position: absolute; top: 0; right: 0; z-index: 2; width: min(360px, calc(100vw - 32px)); padding: calc(var(--pn-h) + 10px) 6px 6px;
  border-radius: var(--pn-radius); background: var(--bg-2); box-shadow: var(--shadow);
  max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; }
.pill-nav__menu { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pill-nav__row { display: flex; align-items: center; gap: 8px; width: 100%; height: calc(var(--pn-h) + 2px); padding: 0 14px;
  border: 0; border-radius: var(--pn-pill-radius); background: none; color: var(--fg-2); font: inherit; font-size: calc(var(--pn-font) + 1px); font-weight: 500;
  text-align: left; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.pill-nav__row .pill-nav__chev { margin-left: auto; }
.pill-nav__row:hover { background: var(--pn-hover); color: var(--fg); }
.pill-nav__row:focus-visible { outline: 2px solid var(--pn-ring); outline-offset: -2px; border-radius: var(--pn-pill-radius); box-shadow: none; }
.pill-nav__row[aria-current] { background: var(--pn-hover); color: var(--fg); }
.pill-nav__row[aria-expanded="true"] .pill-nav__chev { transform: rotate(180deg); }
.pill-nav__sub { padding: 6px 0 4px; }
.pill-nav__sub .pn-cards { flex-direction: column; }
.pill-nav__sub .pn-card { flex: none; min-height: 0; gap: 10px; padding: 14px 14px 12px; }
@media (max-width: 900px) {
  .pill-nav__bar, .pn-drop { display: none !important; }
  .pill-nav__toggle { display: inline-grid; }
}

/* products dropdown: cards that rise into a panel under the bar, after React Bits CardNav */
.pn-drop { position: absolute; top: calc(100% + 12px); left: 50%; z-index: 5; width: min(980px, calc(100vw - 32px)); transform: translateX(-50%);
  height: 0; overflow: hidden; border-radius: 0; background: var(--bg); box-shadow: var(--shadow); line-height: 1.4; }
.pn-drop__rim { position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); pointer-events: none; }
.pn-drop__content { padding: 8px; perspective: 900px; }
.pn-cards { display: flex; gap: 8px; }
.pn-card { display: flex; flex: 1 1 0; flex-direction: column; gap: 14px; min-width: 0; padding: 16px 16px 10px;
  color: var(--fg); transform-origin: 50% 0; will-change: transform, opacity; }
.pn-card__head { display: flex; flex-direction: column; gap: 4px; }
.pn-card__label { color: var(--fg-3); font-size: 12px; font-weight: 500; }
.pn-card__desc { margin: 0; color: var(--fg-3); font-size: 13px; line-height: 1.45; }
.pn-links { display: flex; flex-direction: column; gap: 2px; margin: 0 -8px; padding: 0; list-style: none; }
/* menu rows as in the original mega menu: app icon, product name, one-line job */
.pn-link { display: grid; grid-template-columns: 24px 1fr; gap: 0 12px; align-items: start; padding: 8px; border-radius: var(--pn-pill-radius);
  color: var(--fg); font-size: 14px; line-height: 1.35; text-decoration: none; transition: background-color .15s ease; }
.pn-link:hover, .pn-link[aria-current] { background: var(--pn-hover); }
.pn-link:focus-visible { outline: 2px solid var(--pn-ring); outline-offset: -2px; border-radius: var(--pn-pill-radius); box-shadow: none; }
.pn-icon { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border-radius: 5px; }
.pn-icon img { display: block; width: 24px; height: 24px; border-radius: 5px; }
.pn-icon--tile { background: var(--card-2); color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pn-icon--tile .i { width: 14px; height: 14px; }
.pn-link b, .pn-case b { display: block; font-weight: 500; }
/* case studies: the wider third card, one row per case with the thumbnail on the left */
/* the two rows split the card's full height and the thumbnails grow to fill each row */
.pn-card--cases { flex: 1.4 1 0; }
.pn-cases { display: grid; flex: 1; grid-template-rows: 1fr 1fr; gap: 2px; margin: 0 -8px; padding: 0; list-style: none; contain: size; }
.pn-cases li { display: grid; min-height: 0; container-type: size; }
.pn-case { display: grid; grid-template-columns: calc((100cqh - 16px) * 16 / 9) 1fr; grid-template-rows: auto 1fr; gap: 2px 12px; padding: 8px; min-height: 0;
  border-radius: var(--pn-pill-radius); color: var(--fg); font-size: 14px; line-height: 1.35; text-decoration: none; transition: background-color .15s ease; }
.pn-case b { padding-top: 2px; }
a.pn-case:hover, .pn-case[aria-current] { background: var(--pn-hover); }
.pn-case:focus-visible { outline: 2px solid var(--pn-ring); outline-offset: -2px; border-radius: var(--pn-pill-radius); box-shadow: none; }
.pn-case__thumb { grid-row: 1 / 3; display: grid; place-items: center; height: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px;
  background: var(--art-ink); box-shadow: inset 0 0 0 1px var(--line); }
.pn-case__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pn-case small { display: block; color: var(--fg-3); font-size: 12px; }
.pn-case--ph .pn-case__thumb { background: none; border: 1px dashed var(--line-2); box-shadow: none; color: var(--fg-3); font-size: 11px; text-align: center; }
.pill-nav__sub .pn-cases { contain: none; grid-template-rows: none; }
.pill-nav__sub .pn-cases li { container-type: normal; }
.pill-nav__sub .pn-case { grid-template-columns: 96px 1fr; }
.pill-nav__sub .pn-case__thumb { height: auto; }
.pn-case--ph b { color: var(--fg-2); }
.pn-link small { display: block; margin-top: 2px; color: var(--fg-3); font-size: 12px; }
@media (prefers-reduced-motion: reduce) {
  .pill-nav__line, .pill-nav__item, .pill-nav__row, .pn-link { transition: none; }
}

/* review build ribbon */
.ribbon b { color: var(--warn); }

/* placeholders for content still to supply */
.ph { display: grid; place-items: center; text-align: center; min-height: 72px; padding: 16px 20px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--fg-3); font-size: 13px; }

/* page heroes */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.page-hero .lede { margin-top: 4px; }
.lockup-lg { height: 34px; width: auto; }
.hero-grid .art { min-height: 420px; }

/* boards used as product illustrations */
.board .ch .id { font-variant-numeric: tabular-nums; }
.board-cap { margin-top: 10px; color: var(--fg-3); font-size: var(--fs-sm); }

/* ecosystem diagram: four products on a shared base */
.eco { display: grid; gap: 0; }
.eco-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eco-app { padding: 26px 24px 28px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; text-decoration: none; transition: border-color .1s var(--ease); }
.eco-app::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--acc); }
.eco-app:hover { border-color: var(--line-2); }
.eco-app img { height: 28px; width: auto; max-width: 100%; }
.eco-app .line { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.eco-app p { color: var(--fg-2); font-size: 14px; }
.eco-app .more-link { color: var(--blue); font-size: 13px; font-weight: 500; margin-top: 4px; }
.eco-beam { position: relative; display: grid; place-items: center; height: 64px; }
.eco-beam::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--prism-beam); transform: translateY(-50%); }
.eco-beam span { position: relative; padding: 4px 14px; background: var(--bg); color: var(--fg-2); font-size: 13px; }
.eco-base { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eco-base a { display: grid; grid-template-columns: 1fr; gap: 10px; align-content: start; padding: 26px 28px; text-decoration: none; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; overflow: hidden; transition: border-color .1s var(--ease); }
.eco-base a::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--acc); }
.eco-base a:hover { border-color: var(--line-2); }
.eco-base img { height: 30px; width: auto; margin-bottom: 6px; }
.eco-base b { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.eco-base b { font-weight: 500; font-size: 16px; }
.eco-base span { color: var(--fg-2); font-size: 14px; }
@media (max-width: 1000px) { .eco-apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .eco-base { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .eco-apps { grid-template-columns: 1fr; } }

/* capability grid */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cap { padding: 28px 26px; display: grid; gap: 12px; align-content: start; }
.cap h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.015em; }
.cap p { color: var(--fg-2); font-size: 14px; }
.cap .by { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cap .by img { width: 22px; height: 22px; border-radius: 5px; }
.cap.link-cap { background: transparent; border-style: dashed; text-decoration: none; align-content: center; justify-items: start; }
.cap.link-cap:hover { border-color: var(--blue); }
@media (max-width: 960px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; } }

/* ways to work */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.way { padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; background: var(--card); border-right: 1px solid var(--line); }
.way:last-child { border-right: 0; }
.way .who-for { font-size: 13px; color: var(--brand-text); font-weight: 500; }
.way h3 { font-size: 24px; font-weight: 400; }
.way p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } .way { border-right: 0; border-bottom: 1px solid var(--line); } .way:last-child { border-bottom: 0; } }

/* sports strip */
.sports { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 26px; border-block: 1px solid var(--line); color: var(--fg-2); font-size: 15px; }
.sports b { color: var(--fg); font-weight: 400; }
.sports ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.sports li { color: var(--fg); }

/* featured case study */
.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); align-items: center; }
.case > * { min-width: 0; }
.case h3 { font-size: clamp(28px, 3vw, 38px); }
.case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.case-stats div { border-left: 1px solid var(--line-2); padding-left: 14px; display: grid; gap: 4px; }
.case-stats b { font-weight: 300; font-size: 32px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.case-stats span { color: var(--fg-3); font-size: 12px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .case-stats { grid-template-columns: 1fr 1fr; gap: 16px 12px; } }

/* feature list with icons, used on product pages */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.feat { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line-2); }
.feat h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.feat p { color: var(--fg-2); font-size: 14px; }
.feat .i { color: var(--acc, var(--brand-text)); width: 22px; height: 22px; margin-bottom: 4px; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* how it connects: product flow */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.flow > div { padding: 24px; display: grid; gap: 12px; align-content: start; background: var(--card); border-right: 1px solid var(--line); position: relative; }
.flow > div:last-child { border-right: 0; }
.flow > div.here { background: var(--card-2); }
.flow > div.here::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--acc); }
.flow img { height: 24px; width: auto; }
.flow b { font-weight: 400; font-size: 13px; color: var(--fg-3); }
.flow p { font-size: 15px; color: var(--fg); }
@media (max-width: 760px) { .flow { grid-auto-flow: row; } .flow > div { border-right: 0; border-bottom: 1px solid var(--line); } .flow > div:last-child { border-bottom: 0; } }

/* deployment and proof */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two > div { padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.two h3 { font-size: 24px; font-weight: 400; }
.two p { color: var(--fg-2); }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }

/* solutions */
.roles img { height: 20px; }
.roles > div { grid-template-columns: 160px 1fr; }

/* company */
.values.four { grid-template-columns: 1fr 1fr; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts > div { padding: 26px; display: grid; gap: 10px; align-content: start; }
.facts h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.facts p, .facts li { color: var(--fg-2); font-size: 14px; }
.facts ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } .values.four { grid-template-columns: 1fr; } }

/* contact form note */
.form-note { color: var(--fg-3); font-size: 12px; }

/* footer */
.foot-grid .blurb { color: var(--fg-2); font-size: 14px; max-width: 40ch; margin-top: 16px; }
.foot-grid .logo-svg { height: 26px; width: auto; display: block; color: var(--fg); }
.seg label { position: relative; }

/* ===== review build 2 ===== */
/* product pages: section labels and accents in the product colour */
body.prod .eyebrow { background: var(--acc); color: var(--acc-ink); }
body.prod .eyebrow .dot { background: var(--acc-ink); }
body.prod .cta .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
/* case study labels and cards: neutral, with the Prism beam */
.eyebrow.case { background: var(--fg); color: var(--bg); }
.case { position: relative; overflow: hidden; }
.case::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--prism-beam); }
/* the case study label shares the .case class with its card: keep it a label */
.eyebrow.case { display: inline-flex; padding: 5px 12px; overflow: visible; }
.eyebrow.case::before { content: none; }
.post.case-post { position: relative; overflow: hidden; }
.post.case-post::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--prism-beam); z-index: 1; }

/* client logos */
.clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding-block: 28px; border-block: 1px solid var(--line); }
.clients .lg { width: 200px; height: 96px; display: grid; place-items: center; padding: 16px 24px; border-radius: var(--r); background: var(--art-ink); border: 1px solid var(--line); }
.clients .lg img { max-width: 100%; max-height: 64px; width: auto; height: auto; }
.clients .ph { width: 200px; height: 96px; min-height: 0; }

/* video players with a poster that loads the player on click */
.vid-play { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.vid-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-play:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vid-btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: rgba(13,12,19,.62); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .1s var(--ease); }
.vid-btn svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.vid-play:hover .vid-btn { background: var(--acc, var(--brand)); }
.vid-blank { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--art-fg); font-size: clamp(18px, 2vw, 24px); font-weight: 300; letter-spacing: -0.01em;
  background: radial-gradient(90% 90% at 85% 0%, color-mix(in srgb, var(--acc, #4096FF) 55%, transparent), transparent 60%), linear-gradient(160deg, #1F1D2E, var(--art-ink)); }
.vid-blank span { max-width: 22ch; transform: translateY(54px); }
.vid-blank.sm { position: relative; aspect-ratio: 16 / 9; font-size: 13px; padding: 10px; }
.vid-blank.sm span { transform: none; }
.thumb .vid-blank.sm { opacity: .8; }
.vidfig { margin: 0; display: grid; gap: 12px; align-content: start; }
.vidfig figcaption { color: var(--fg-2); font-size: 14px; max-width: 70ch; }
.vidfig figcaption b { color: var(--fg); font-weight: 500; }
.vid-ph { display: grid; place-items: center; border: 1px dashed var(--line-2); }
.vid-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.vid-soon { position: relative; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(13,12,19,.7); color: #fff; font-size: 13px; }
.vids2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .vids2 { grid-template-columns: 1fr; } }
.vstage .thumbs { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.sol .vidfig { margin-top: 6px; }

/* company office */
.office { padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; max-width: 520px; }
.office address { font-style: normal; color: var(--fg-2); line-height: 1.7; }
.office h3 { font-size: 20px; font-weight: 500; }
.vstage .thumbs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.vstage .thumb .tl span, .vid-blank.sm span { display: none; }

/* blur text (js/blur-text.js): words or letters that blur in one by one */
.js [data-blur-text]:not(.bt-ready) { visibility: hidden; }
/* section entrances (js/rise.js): hidden until the script picks them up, so nothing shows before it moves */
.js [data-rise]:not(.rise-ready) { opacity: 0; }
.bt-wrap, .bt-piece { display: inline-block; }
.bt-wrap { white-space: nowrap; }
.bt-piece { white-space: pre; will-change: transform, filter, opacity; }
.bt-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* theatre view (js/theatre.js): the clip large over a dimmed page, with a control bar beneath */
/* the motion (clip growing out of its card, text rising out of masks) is in theatre.js */
/* its colours follow the theme: a dark bar over a dark page, a white bar over a light one. The card's play bar
   (home.css .cf-play) grows into the control bar, so it takes the same colours. */
.theatre, .cf-play {
  --th-dim: rgba(6, 6, 9, .9); --th-fg: #fff; --th-fg-2: rgba(255,255,255,.66);
  --th-bar: #1c1c1f; --th-bar-edge: rgba(255,255,255,.08); --th-ink: #fff; --th-ink-2: rgba(255,255,255,.56);
  --th-key: rgba(255,255,255,.08); --th-key-hover: rgba(255,255,255,.14);
  --th-track: rgba(255,255,255,.08); --th-fill: rgba(255,255,255,.24); --th-rest: rgba(16,16,18,.6);
  --th-close: #fff; --th-close-hover: #e9e9ec; --th-close-ink: #000;
  --th-info: rgba(28,28,31,.94); --th-info-2: rgba(255,255,255,.7);
  --th-logo: none;
}
:root[data-theme="light"] .theatre, :root[data-theme="light"] .cf-play {
  --th-dim: rgba(248, 251, 254, .92); --th-fg: #17151F; --th-fg-2: rgba(23,21,31,.66);
  --th-bar: #fff; --th-bar-edge: rgba(20,16,48,.08); --th-ink: #111; --th-ink-2: #6b6b73;
  --th-key: #f1f1f2; --th-key-hover: #e2e2e5;
  --th-track: #e7e7ea; --th-fill: #cfcfd4; --th-rest: rgba(255,255,255,.55);
  --th-close: #17151F; --th-close-hover: #2c2a36; --th-close-ink: #fff;
  --th-info: rgba(255,255,255,.94); --th-info-2: #444;
  --th-logo: invert(1);
}
.theatre { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto 1fr auto; padding: 16px 16px 24px; color: var(--th-fg); }
.theatre[hidden] { display: none; }
.th-dim { position: absolute; inset: 0; background: var(--th-dim); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.th-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.th-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.th-logo { height: 22px; width: auto; max-width: 120px; object-fit: contain; filter: var(--th-logo); }
.th-logo-mask[hidden] { display: none; }
.th-mask { display: block; overflow: hidden; }
.th-line { display: block; }
.th-title { font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--th-fg); margin: 0; }
.th-heading { display: grid; gap: 4px; min-width: 0; }
.th-sub { margin: 0; font-size: 13px; line-height: 1.4; color: var(--th-fg-2); max-width: 60ch; }
.th-mask[hidden] { display: none; }
/* Close matches the hero's primary button: white with black text on dark, the reverse on light */
.th-close { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 8px; background: var(--th-close); color: var(--th-close-ink); font-size: 14px; font-weight: 500; transition: background-color .15s var(--ease); }
.th-close:hover { background: var(--th-close-hover); }
.th-stage { position: relative; display: grid; place-items: center; min-height: 0; margin: 20px 0; pointer-events: none; container-type: size; }
/* the whole frame always fits the stage, as wide or as tall as it allows, never cropped */
.th-video { position: relative; pointer-events: auto; width: min(100cqw, 100cqh * 16 / 9); aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 4px; will-change: transform; }
.th-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease); }
.theatre.has-started .th-poster { opacity: 0; }
.th-poster:not([src]) { display: none; }
.th-player { position: absolute; inset: 0; cursor: pointer; }
.th-player mobii-player { display: block; width: 100%; height: 100%; }
/* the Mobii player's own controls stay in the page (theatre.js presses them) but out of sight */
.th-player .play-overlay, .th-player .player-controls-container, .th-player .touchable-overlay-blocker { display: none !important; }
.th-player .main-container, .th-player .player-container, .th-player .play-video-container { width: 100%; height: 100%; }
.th-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.th-info { position: absolute; left: 16px; bottom: 16px; max-width: min(420px, calc(100% - 32px)); padding: 16px 18px; border-radius: 10px; background: var(--th-info); color: var(--th-ink); display: grid; gap: 6px; }
.th-info[hidden] { display: none; }
.th-info h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.th-info p { font-size: 14px; line-height: 1.45; color: var(--th-info-2); }

.th-bar { position: relative; display: flex; align-items: center; gap: 18px; padding: 12px 16px; border-radius: 6px; background: var(--th-bar); color: var(--th-ink); box-shadow: inset 0 0 0 1px var(--th-bar-edge); }
.th-btn { all: unset; flex: none; cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--th-key); color: var(--th-ink); transition: background-color .15s var(--ease); }
.th-btn:hover, .th-btn[aria-pressed="true"] { background: var(--th-key-hover); }
.th-btn:focus-visible, .th-strip:focus-visible, .th-close:focus-visible { outline: 2px solid var(--blue, #4096FF); outline-offset: 2px; }
.th-btn svg { width: 15px; height: 15px; fill: currentColor; }
.th-btn svg .ln { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.th-time { flex: none; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--th-ink); min-width: 56px; text-align: center; }
.th-strip { position: relative; flex: 1; height: 48px; border-radius: 4px; overflow: visible; background: var(--th-track); cursor: pointer; touch-action: none; }
.th-tiles { position: absolute; inset: 0; display: flex; overflow: hidden; border-radius: 4px; }
.th-tiles span { flex: 1; background-size: 2000% 100%; background-repeat: no-repeat; }
.th-rest { position: absolute; top: 0; bottom: 0; right: 0; left: 0; background: var(--th-rest); border-radius: 0 4px 4px 0; pointer-events: none; }
.th-plain .th-strip { background: linear-gradient(var(--th-fill), var(--th-fill)) left / 100% 100% no-repeat, var(--th-track); }
.th-head { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; margin-left: -1px; background: var(--th-ink); border-radius: 1px; pointer-events: none; }
.th-tip { position: absolute; bottom: calc(100% + 8px); left: 0; transform: translateX(-50%); padding: 3px 7px; border-radius: 4px; background: var(--th-ink); color: var(--th-bar); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s var(--ease); }
.th-tipping .th-tip { opacity: 1; }
@media (hover: none) { .th-tip { display: none; } }
@media (max-width: 700px) {
  .theatre { padding: 12px 12px 16px; }
  .th-bar { gap: 10px; padding: 10px; }
  .th-dur, .th-info-btn { display: none; }
  .th-strip { height: 40px; }
  .th-time { min-width: 0; }
}

/* ===== editions and commercial model (copy update from the V2 product documents) ===== */
.ed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ed-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; position: relative; padding: 0; }
.ed-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--acc, var(--brand)); opacity: var(--ed-o, 1); }
.ed-card:nth-child(1) { --ed-o: .45; } .ed-card:nth-child(2) { --ed-o: .7; }
.ed-top { display: grid; gap: 8px; padding: 26px 24px 22px; border-bottom: 1px solid var(--line); }
.ed-top h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.ed-top p { font-size: 14px; color: var(--fg-2); }
.ed-body { display: flex; flex-direction: column; gap: 18px; flex: 1; padding: 22px 24px 28px; }
.ed-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); }
.ed-body ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.ed-body ul li { padding-left: 16px; position: relative; }
.ed-body ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc, var(--brand)); }
.ed-body ul li.ed-plus { padding-left: 0; color: var(--fg); font-weight: 500; }
.ed-body ul li.ed-plus::before { display: none; }
.ed-meta { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--fg-2); }
.ed-meta b { display: block; font-weight: 500; color: var(--fg); font-size: 13px; }
.ed-note { margin-top: 18px; color: var(--fg-2); font-size: 14px; max-width: 80ch; }
.ed-note a { color: var(--blue); }
@media (max-width: 960px) { .ed-grid { grid-template-columns: 1fr; } }

/* commitment levels and deployment table on the ecosystem page */
.cl-wrap { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; background: var(--card); }
.cl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.cl th, .cl td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cl thead th { font-weight: 500; font-size: 16px; background: var(--bg-2); }
.cl tbody th { font-weight: 400; color: var(--fg-3); white-space: nowrap; }
.cl td { color: var(--fg-2); }
.cl tr:last-child > * { border-bottom: 0; }
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ladder > div { padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.ladder h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.ladder p { color: var(--fg-2); font-size: 14px; }
@media (max-width: 900px) { .ladder { grid-template-columns: 1fr; } }
.two.dep > div ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--fg-2); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ed-top { min-height: 116px; align-content: start; } @media (max-width: 960px) { .ed-top { min-height: 0; } }

/* case study links on product pages, after the home page banner: the picture runs to the card's edges under a shade,
   with the clients, the headline, the figures and a link at the foot. One wide card, then two side by side */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cases .cb { grid-column: span 2; position: relative; display: grid; aspect-ratio: 5 / 2; overflow: hidden; isolation: isolate;
  border-radius: 16px; background: #0e0e10; color: #fff; text-decoration: none; }
.cases .cb--half { grid-column: span 1; aspect-ratio: 4 / 3; }
.cases .cb:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.cases .cb-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s var(--ease); }
.cases .cb:hover .cb-media { transform: scale(1.03); }
.cases .cb-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,14,16,.94), rgba(14,14,16,.6) 45%, rgba(14,14,16,0) 75%); }
.cases .cb--half .cb-shade { background: linear-gradient(0deg, rgba(14,14,16,.96) 0%, rgba(14,14,16,.7) 40%, rgba(14,14,16,0) 75%); }
.cases .cb-body { align-self: end; box-sizing: border-box; padding: clamp(20px, 3vw, 36px); max-width: 500px; display: grid; gap: 10px; }
.cases .cb-logos { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; min-height: 30px; }
.cases .cb-logos img { display: block; width: auto; height: 24px; }
.cases .cb-logos .cb-sep { width: 1px; height: 22px; background: rgba(255,255,255,.3); }
.cases .cb-logos .cb-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.cases .cb h3 { font-size: clamp(21px, 2.2vw, 28px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; color: #fff; }
.cases .cb-sub { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.8); }
.cases .cb-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cases .cb-stats span { padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; color: rgba(255,255,255,.8); }
.cases .cb-stats b { font-weight: 500; color: #fff; }
.cases .cb-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 14px; font-weight: 500; transition: gap .2s var(--ease); }
.cases .cb:hover .cb-cta { gap: 8px; }
.cases .cb-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 800px) { .cases .cb, .cases .cb--half { grid-column: span 2; aspect-ratio: 4 / 5; } .cases .cb .cb-shade { background: linear-gradient(0deg, rgba(14,14,16,.96) 0%, rgba(14,14,16,.7) 45%, rgba(14,14,16,0) 80%); } }

/* a set of screenshots with short captions under a feature */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shots figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.shots img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); }
.shots figcaption { color: var(--fg-3); font-size: var(--fs-sm); }
.shots figcaption b { color: var(--fg); font-weight: 500; display: block; }
.wide-shot { margin: 0; display: grid; gap: 10px; }
.wide-shot img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); }
.wide-shot figcaption { color: var(--fg-3); font-size: var(--fs-sm); }
@media (max-width: 800px) { .shots { grid-template-columns: 1fr; } }

/* a past project: a quiet label beside the eyebrow, and on case study cards */
.past-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-2); background: color-mix(in srgb, var(--fg) 4%, transparent); }
.past-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); }
.cases .past-tag { color: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.cases .past-tag::before { background: rgba(255,255,255,.6); }
.eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* the Studio MCP: a short exchange with an assistant, and the change it makes to the show */
.mcp-chat { display: grid; gap: 12px; padding: 22px; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); background: var(--bg-2); font-size: 14px; align-content: start; }
.mcp-chat .who { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.mcp-chat .msg { padding: 12px 14px; border-radius: 10px; line-height: 1.5; }
.mcp-chat .msg.you { background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--fg); justify-self: end; max-width: 88%; }
.mcp-chat .msg.ai { background: color-mix(in srgb, var(--fg) 5%, transparent); color: var(--fg-2); max-width: 92%; }
.mcp-chat code { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 6px; background: rgba(0,0,0,.35); font: 12px/1.6 var(--font-mono); color: var(--fg); white-space: pre-wrap; }
.mcp-chat .ok { display: inline-flex; gap: 6px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--ok, #22C55E); }

/* "Where it runs" on the product pages, after the home page's "Runs where you need it" card (css/home.css): the Zenith
   encoder drawing (js/hairline/zenith.js) on its isometric grid on the left, the paragraph on the right */
.hz-sec { --cap-fill: rgba(255, 255, 255, 0.04); }
:root[data-theme="light"] .hz-sec { --cap-fill: var(--card); }
.hz-sec .hz-head { margin-bottom: 40px; }
.hz-sec .hz-head h2 { font-size: var(--fs-h2); max-width: 16ch; }
.hz-sec .hz-card { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0; align-items: stretch; padding: 0; overflow: hidden;
  background: var(--cap-fill); border: 1px solid var(--line); border-radius: var(--r-lg); }
.hz-sec .cap-fig { position: relative; overflow: hidden; }
.hz-sec .cap-fig [data-hairline] { position: absolute; top: 50%; width: calc(var(--fig-zoom) * 100%); left: calc((1 - var(--fig-zoom)) * 50%); translate: 0 var(--fig-y);
  --hairline-plate: color-mix(in srgb, #ffffff 4%, var(--bg)); --hl-hi: var(--brand); }
:root[data-theme="light"] .hz-sec .cap-fig [data-hairline] { --hairline-plate: var(--card); }
.hz-sec .fig-tag { position: absolute; z-index: 1; transform: translate(-50%, calc(-100% - 8px)); padding: 4px 6px; border-radius: 4px;
  background: var(--fg); color: var(--bg); font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; white-space: nowrap; opacity: 0; }
.hz-sec .hz-fig { --fig-zoom: 1.45; --fig-y: -50%; aspect-ratio: 16 / 10; margin: 0; --hz-panel: #0c0c0e; background: var(--hz-panel); }
:root[data-theme="light"] .hz-sec .hz-fig { --hz-panel: #F1F3F6; }
.hz-sec .hz-fig .fig-grid { stroke: var(--line); }
.hz-sec .hz-fig .cable-pulse { stroke: var(--brand); stroke-width: 2.5px; stroke-dasharray: 0.14 1.2; stroke-dashoffset: 0.14; opacity: 0; }
.hz-sec .hz-copy { display: grid; gap: 28px; justify-items: start; align-content: center; padding: clamp(28px, 4vw, 56px); }
.hz-sec .hz-card p.big-line { font-size: clamp(19px, 1.9vw, 23px); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; max-width: 34ch; color: var(--fg); }
@media (max-width: 900px) { .hz-sec .hz-card { grid-template-columns: 1fr; } .hz-sec .hz-fig { --fig-zoom: 1.55; } .hz-sec .hz-copy { padding: 28px 24px; } }

/* four points in a row (the Code page's problem); two then one on smaller screens */
.flex3.flex4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .flex3.flex4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .flex3.flex4 { grid-template-columns: 1fr; } }

/* a row of photographs of different shapes, cropped to one shape so the row lines up */
.shots--even img { aspect-ratio: 4 / 3; object-fit: cover; }

/* data widgets cut from the product, set on the product's own dark ground, in a three column grid */
.widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.widgets .span2 { grid-column: span 2; }
.widgets .span3 { grid-column: 1 / -1; }
.widget { margin: 0; display: grid; gap: 10px; }
.widget-frame { background: #0e0e10; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); overflow: hidden; }
.widget-frame img { display: block; width: 100%; height: auto; }
.widget figcaption { color: var(--fg-3); font-size: var(--fs-sm); }
.widget figcaption b { color: var(--fg); font-weight: 500; display: block; }
@media (max-width: 800px) { .widgets { grid-template-columns: 1fr; } .widgets .span2, .widgets .span3 { grid-column: auto; } }

/* solutions page, after the designer's layout: no card, words and products beside the videos, sides alternating */
.phero__quiet { color: var(--fg-3); }
.sols { --sol-gap: clamp(88px, 11vw, 168px); padding-block: clamp(24px, 3vw, 48px) var(--sol-gap); }
.sol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5.5vw, 80px); align-items: start; }
.sol__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 0;
  background: var(--card); border: 1px solid var(--line-2); color: var(--fg);
  font-family: "Material Symbols Outlined"; font-size: 24px; font-weight: normal; font-style: normal; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; overflow: hidden;
  font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; }
.sol + .sol { margin-top: var(--sol-gap); }
.sol:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.sol:nth-child(even) .sol__text { order: 2; }
.sol__text { display: grid; align-content: start; }
.sol h2 { font-size: clamp(28px, 3vw, 38px); }
.sol .big-line { max-width: none; margin-top: 10px; color: var(--fg-3); }
.sol__body { color: var(--fg-2); margin-top: clamp(18px, 2vw, 24px); max-width: 60ch; }
.sol__media { display: grid; gap: 16px; align-content: start; min-width: 0; }
.sol .vidfig { margin-top: 0; }
.vslider__slides { display: grid; gap: 24px; }
.sol__roles { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; }
.sol__roles li { padding: 12px 0; color: var(--fg-2); line-height: 1.5; }
.sol__roles li + li { border-top: 1px solid var(--line-2); }
.sol__roles img { height: 0.9em; width: auto; vertical-align: -0.1em; }
.vslider__bar { display: none; }
.vslider.is-ready .vslider__slides { gap: 0; }
.vslider.is-ready .vidfig { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateX(calc(var(--dir, 1) * 24px));
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; }
.vslider.is-ready .vidfig.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.vslider.is-ready .vslider__bar { display: flex; align-items: stretch; gap: 12px; margin-top: 4px; border-top: 1px solid var(--line-2); }
.vslider__tabs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.vslider__tab { all: unset; box-sizing: border-box; position: relative; display: grid; gap: 2px; align-content: start; padding: 12px 12px 4px 0; cursor: pointer;
  color: var(--fg-3); font-size: 13px; line-height: 1.3; transition: color .2s var(--ease); }
.vslider__tab::before { content: ""; position: absolute; left: 0; right: 12px; top: -1px; height: 2px; background: var(--fg);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.vslider__tab[aria-pressed="true"] { color: var(--fg); }
.vslider__tab[aria-pressed="true"]::before { transform: scaleX(1); }
.vslider__tab:hover { color: var(--fg-2); }
.vslider__tab[aria-pressed="true"]:hover { color: var(--fg); }
.vslider__tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vslider__num { font-family: var(--font-body); font-size: 11px; letter-spacing: 0; }
.vslider__arrows { display: flex; align-items: center; gap: 8px; padding-top: 10px; }
.vslider__arrow { all: unset; box-sizing: border-box; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r); cursor: pointer;
  border: 1px solid var(--line-2); color: var(--fg-2); transition: border-color .2s var(--ease), color .2s var(--ease); }
.vslider__arrow:hover { border-color: var(--fg-3); color: var(--fg); }
.vslider__arrow:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vslider__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .vslider.is-ready .vidfig, .vslider.is-ready .vidfig.is-on { transform: none; transition: none; } }
@media (max-width: 900px) {
  .sol, .sol:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sol:nth-child(even) .sol__text { order: 0; }
}
@media (max-width: 560px) { .vslider__tab { font-size: 12px; } }

/* solutions: imagery that points to the product behind each part of the solution */
.solcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.solcard { display: grid; gap: 12px; align-content: start; color: var(--fg); text-decoration: none; }
.solcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--art-ink); box-shadow: 0 0 0 1px var(--line-2); }
.solcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.solcard--contain .solcard__img img { object-fit: contain; padding: 8%; }
.solcard:hover .solcard__img img { transform: scale(1.03); }
.solcard--contain:hover .solcard__img img { transform: none; }
.solcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.solcard__logo img { height: 18px; width: auto; }
.solcard--lead .solcard__logo img { height: 22px; }
.solcard__go { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-3); font-size: 13px; transition: color .2s var(--ease); white-space: nowrap; }
.solcard__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.solcard:hover .solcard__go { color: var(--fg); }
.solcard:hover .solcard__go svg { transform: translateX(3px); }
.solcard:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: var(--r); }
@media (max-width: 560px) { .solcards { gap: 12px; } .solcard__go { font-size: 12px; } .solcard__logo img { height: 15px; } }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .sol__roles .on-light { display: inline; } }
:root[data-theme="light"] .sol__roles .on-light { display: inline; }
.solcard, .solcards > * { min-width: 0; } .sol__media { grid-template-columns: minmax(0, 1fr); }
.solcard__foot { flex-wrap: wrap; row-gap: 4px; } .solcards .solcard__logo img { height: 16px; }
@media (max-width: 560px) { .solcards .solcard__foot { flex-direction: column; align-items: flex-start; } }

/* local video clips (Prism and Fusion pages) */
.frame video, .wide-shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); background: #000; }
/* numbered steps in a flow row */
.flow.steps b { font-variant-numeric: tabular-nums; color: var(--fg-3); }
.flow.steps h4 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.flow.steps p { font-size: 14px; color: var(--fg-2); }
/* a short worked example under a section */
.example { margin-top: 20px; padding: 20px 24px; border-left: 2px solid var(--fg-3); background: var(--card); border-radius: 0 var(--r) var(--r) 0; color: var(--fg-2); }
.example b { color: var(--fg); font-weight: 500; }
/* three column comparison table */
.compare.three th, .compare.three td { width: auto; }
/* questions */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.faq div { padding-top: 16px; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
.faq h4 { font-size: 16px; font-weight: 500; }
.faq p { color: var(--fg-2); font-size: 14px; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* synchronization figure (Prism) */
.syncfig { display: block; width: 100%; height: auto; color: var(--fg); font-family: var(--font-body); }
.syncfig .sf-k { font-size: 10.5px; letter-spacing: .12em; fill: var(--fg-3); font-weight: 600; }
.syncfig .sf-l { font-size: 13px; fill: var(--fg-2); }
.syncfig .sf-tc { font-size: 13px; fill: var(--fg); font-variant-numeric: tabular-nums; }
.syncfig .sf-cap { font-size: 12.5px; fill: var(--fg-2); }
.syncfig .sf-note { font-size: 10px; fill: #06B6D4; letter-spacing: .04em; }
.syncfig .sf-tick, .syncfig .sf-rule { stroke: var(--line-2); stroke-width: 1; }
.syncfig .sf-run { fill: currentColor; animation: sfrun 4.2s linear infinite; }
.syncfig .sf-v { fill: color-mix(in srgb, var(--fg) 52%, transparent); }
.syncfig .sf-d, .syncfig .sf-t { fill: color-mix(in srgb, #3B82F6 75%, var(--fg)); }
.syncfig .sf-e .sf-hollow { fill: none; stroke: #7C5CFF; stroke-width: 1.4; }
.syncfig .sf-m { fill: color-mix(in srgb, #06B6D4 60%, transparent); }
.syncfig .sf-hit { fill: var(--bg); stroke: var(--fg); stroke-width: 1.6; }
@keyframes sfrun { to { transform: translateX(-112px); } }
@media (prefers-reduced-motion: reduce) { .syncfig .sf-run { animation: none; } }
.sync-card { padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.sync-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sync-points { display: grid; gap: 0; }
.sync-points div { padding: 18px 0; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
.sync-points div:first-child { border-top: 0; padding-top: 0; }
.sync-points h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.sync-points p { color: var(--fg-2); font-size: 14px; }
.sync-points b.n { font-size: 11px; color: var(--fg-3); font-weight: 500; letter-spacing: .08em; }
@media (max-width: 900px) { .sync-grid { grid-template-columns: minmax(0, 1fr); } }

/* Fusion figures */
.ffig { display: block; width: 100%; height: auto; font-family: var(--font-body); color: var(--fg); }
.ffig .ff-card { fill: color-mix(in srgb, var(--fg) 3%, transparent); stroke: var(--line-2); }
.ffig .ff-core { fill: color-mix(in srgb, var(--fg) 5%, transparent); stroke: color-mix(in srgb, #F97316 55%, var(--line-2)); }
.ffig .ff-k { font-size: 10.5px; letter-spacing: .12em; font-weight: 600; fill: var(--fg-3); }
.ffig .ff-s { font-size: 11.5px; fill: var(--fg-3); }
.ffig .ff-eng { font-size: 15px; font-weight: 500; fill: var(--fg); }
.ffig .ff-live { fill: #22C55E; }
.ffig .ff-stage rect { fill: color-mix(in srgb, var(--fg) 6%, transparent); stroke: var(--line-2); }
.ffig .ff-stage text { font-size: 12px; fill: var(--fg-2); }
.ffig .ff-stage { animation: ffstage 2.8s ease-in-out infinite; }
@keyframes ffstage { 0%, 70%, 100% { opacity: .55; } 20% { opacity: 1; } }
.ffig .ff-stage rect { transition: none; }
.ffig .ff-link { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 4; }
.ffig .ff-clock { fill: var(--bg); stroke: color-mix(in srgb, #F97316 50%, var(--line-2)); }
.ffig .ff-ct { font-size: 12.5px; fill: var(--fg); }
.ffig .ff-pulse { fill: #F97316; animation: ffpulse 1.4s linear infinite; opacity: 0; }
@keyframes ffpulse { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(36px); opacity: 0; } }
.ffig .ff-chip { fill: color-mix(in srgb, var(--fg) 4%, transparent); stroke: var(--line-2); }
.ffig .ff-chipt { font-size: 12px; fill: var(--fg-2); }
.ffig .ff-flow { fill: none; stroke: color-mix(in srgb, #F97316 60%, transparent); stroke-width: 1.4; stroke-dasharray: 4 6; animation: ffflow 1.6s linear infinite; }
@keyframes ffflow { to { stroke-dashoffset: -20; } }
.ffig .ff-ring { fill: none; stroke: var(--line-2); stroke-width: 8; }
.ffig .ff-ring-run { fill: none; stroke: #F97316; stroke-width: 8; stroke-dasharray: 30 221.3; transform-box: fill-box; transform-origin: center; animation: ffring 3s linear infinite; }
@keyframes ffring { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ffig .ff-stage, .ffig .ff-pulse, .ffig .ff-flow, .ffig .ff-ring-run { animation: none; } .ffig .ff-stage { opacity: 1; } }
.fig-card { padding: clamp(16px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.foot-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.foot-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); display: grid; gap: 10px; align-content: start; }
.foot-card .k { font-size: 11px; letter-spacing: .12em; font-weight: 600; color: var(--fg-3); }
.foot-card h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.foot-card p { color: var(--fg-2); font-size: 14px; }
.foot-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.foot-card li { font-size: 13px; color: var(--fg-2); padding-left: 14px; position: relative; }
.foot-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 1px; background: var(--fg-3); }
@media (max-width: 1000px) { .foot-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-grid4 { grid-template-columns: 1fr; } }
.sfix .sf-lbl { font-size: 12.5px; fill: var(--fg-2); }
.sfix .sx-v { fill: color-mix(in srgb, var(--fg) 40%, transparent); }
.sfix .sx-d { fill: color-mix(in srgb, #3B82F6 80%, var(--fg)); }
.sfix .sx-a { fill: color-mix(in srgb, #7C5CFF 70%, var(--fg)); }
.sfix .sx-ev { fill: #F97316; }
.sfix .sx-arrow { stroke: #F97316; stroke-width: 1.5; fill: none; stroke-dasharray: 3 3; }
.sfix .sx-off { font-size: 11px; fill: #F97316; }
.sfix .sx-ref { stroke: var(--fg-3); stroke-width: 1; stroke-dasharray: 2 4; }
.sfix .sx-line { stroke: #F97316; stroke-width: 2; }
/* products instruct Fusion */
.cmd { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.cmd-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 56px minmax(0, 1.15fr); gap: 16px; align-items: center; padding: 22px 24px; border-top: 1px solid var(--line); }
.cmd-row:first-child { border-top: 0; }
.cmd-head { padding-block: 14px; background: color-mix(in srgb, var(--fg) 3%, transparent); font-size: 11px; letter-spacing: .12em; font-weight: 600; color: var(--fg-3); }
.cmd-who { display: grid; gap: 6px; }
.cmd-who img { height: 22px; width: auto; }
.cmd-who span { font-size: 13px; color: var(--fg-3); }
.cmd-say { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--fg); padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg); }
.cmd-arrow { height: 2px; position: relative; background: repeating-linear-gradient(90deg, #F97316 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: cmdflow 1s linear infinite; }
.cmd-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid #F97316; border-right: 0; }
@keyframes cmdflow { to { background-position: 22px 0; } }
.cmd-do { display: grid; gap: 4px; }
.cmd-do b { font-weight: 500; color: var(--fg); font-size: 15px; }
.cmd-do span { color: var(--fg-2); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .cmd-arrow { animation: none; } }
@media (max-width: 900px) { .cmd-row { grid-template-columns: 1fr; gap: 10px; } .cmd-head { display: none; } .cmd-arrow { width: 40px; transform: rotate(90deg); margin: 6px 0 6px 8px; } }

/* ecosystem page: one moment through every product */
.moment { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.moment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--fg) 3%, transparent); }
.moment-head .tc { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--fg); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); }
.moment-head b { font-weight: 500; font-size: 16px; }
.moment-head span.s { color: var(--fg-3); font-size: 13px; margin-left: auto; }
.moment-rows { position: relative; }
.moment-rows::before { content: ""; position: absolute; top: 0; bottom: 0; left: 241px; width: 2px; background: linear-gradient(#7C5CFF, #3B82F6, #06B6D4); opacity: .8; }
.moment-row { display: grid; grid-template-columns: 212px 48px minmax(0, 1fr); align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); }
.moment-row:first-child { border-top: 0; }
.moment-row img { height: 22px; width: auto; }
.moment-row .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fg); justify-self: start; margin-left: 0; position: relative; left: 0; }
.moment-row p { color: var(--fg-2); font-size: 15px; }
.moment-row p b { color: var(--fg); font-weight: 500; }
.moment-foot { padding: 14px 24px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 13px; }
@media (max-width: 760px) { .moment-rows::before { display: none; } .moment-row { grid-template-columns: 1fr; gap: 8px; } .moment-row .dot { display: none; } .moment-head span.s { margin-left: 0; } }

/* growth: the foundation stays, products stack on top (designer's layout, Mobii violet for what each step adds) */
.grow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.grow-col { display: grid; gap: 10px; }
.grow-stack { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 330px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.grow-blk { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card-2); font-size: 13px; color: var(--fg-2); }
.grow-blk small { color: var(--fg-3); font-size: 12px; }
.grow-blk.new { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); color: var(--fg); }
.grow-blk.new small { color: var(--brand-text); }
.grow-logo { display: flex; align-items: center; min-height: 18px; }
.grow-logo img { height: 18px; width: auto; }
.grow-base-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 8px; }
.grow-base { padding: 12px; border-radius: var(--r); background: var(--bg); border: 1px dashed var(--line-2); font-size: 12px; color: var(--fg-2); text-align: center; line-height: 1.4; }
.grow-base b { display: block; color: var(--fg); font-weight: 500; font-size: 13px; }
.grow-col .k { font-size: 13px; font-weight: 500; color: var(--brand-text); margin-top: 6px; }
.grow-col h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.grow-col p { color: var(--fg-2); font-size: 14px; }
@media (max-width: 960px) { .grow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grow { grid-template-columns: 1fr; } .grow-stack { height: auto; } }

/* already in place */
.inplace { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.inplace div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.inplace div:nth-child(3n) { border-right: 0; }
.inplace div:nth-last-child(-n+3) { border-bottom: 0; }
.inplace h4 { font-size: 16px; font-weight: 500; }
.inplace p { color: var(--fg-2); font-size: 14px; }
@media (max-width: 900px) { .inplace { grid-template-columns: 1fr; } .inplace div { border-right: 0; border-bottom: 1px solid var(--line) !important; } .inplace div:last-child { border-bottom: 0 !important; } }

/* journeys */
.journeys { display: grid; gap: 12px; }
.journey { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.journey h4 { font-size: 17px; font-weight: 500; }
.journey .jwho p { color: var(--fg-3); font-size: 13px; margin-top: 4px; }
.jsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.jstep { position: relative; padding: 0 28px 0 0; display: grid; gap: 6px; align-content: start; }
.jstep img { height: 20px; width: auto; }
.jstep p { color: var(--fg-2); font-size: 13.5px; }
.jstep .when { font-size: 11px; letter-spacing: .1em; font-weight: 600; color: var(--fg-3); }
.jstep:not(:last-child)::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-top: 1.5px solid var(--fg-3); border-right: 1.5px solid var(--fg-3); transform: rotate(45deg); }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .jsteps { grid-template-columns: 1fr; gap: 16px; } .jstep::after { display: none; } }

/* solutions: the main product behind each solution, with a link to it */
.sol__lead { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 10px 16px; align-items: center; margin-top: clamp(28px, 3vw, 40px); padding: 18px 20px;
  border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); color: var(--fg); text-decoration: none; transition: border-color .2s var(--ease); }
.sol__lead:hover { border-color: var(--fg-3); }
.sol__lead:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sol__lead-k { grid-column: 1 / -1; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.sol__lead-logo img { height: 26px; width: auto; }
.sol__lead-go { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fg-2); transition: color .2s var(--ease); }
.sol__lead-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.sol__lead:hover .sol__lead-go { color: var(--fg); }
.sol__lead:hover .sol__lead-go svg { transform: translateX(3px); }

/* case study accordion (src/components/CaseAccordion.astro, js/case-accordion.js): one panel open at a time. The open
   one widens and shows its picture in colour with the words; the others narrow, tilt away and turn grey with only the
   client's logos. Same dark picture treatment and stat chips as the old banner, in both themes. Stacks on phones */
.cacc { --cacc-media: 640px; display: flex; gap: 12px; height: clamp(480px, 42vw, 580px); perspective: 1400px; }
.cacc-panel { --grow: 1; --tilt: 0deg; --drift: 0; position: relative; flex: var(--grow) 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: #0e0e10; color: #fff; text-decoration: none; transform: rotateY(var(--tilt));
  transition: flex-grow .6s var(--ease), transform .6s var(--ease); }
.cacc-panel:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.cacc-frame { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cacc-media { position: absolute; top: 0; left: 50%; width: var(--cacc-media); height: 100%; filter: grayscale(1);
  transform: translateX(calc(-50% + var(--drift) * 18px)); transition: transform .6s var(--ease), filter .6s var(--ease); }
.cacc-media img, .cacc-media video { width: 100%; height: 100%; display: block; object-fit: cover; }
.cacc-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 14, 16, .96) 0%, rgba(14, 14, 16, .7) 40%, rgba(14, 14, 16, .15) 75%),
  rgba(14, 14, 16, .35); transition: background-color .6s var(--ease); }
.cacc-panel.is-active .cacc-media { filter: none; transform: translateX(-50%); }
.cacc-panel.is-active .cacc-shade { background-color: rgba(14, 14, 16, 0); }
.cacc-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 14px; padding: clamp(20px, 2.6vw, 32px); }
.cacc-logos { display: flex; align-items: center; gap: 14px; min-height: 30px; white-space: nowrap; }
.cacc-logos img { display: block; width: auto; flex: none; }
.cacc-sep { width: 1px; height: 22px; flex: none; background: rgba(255, 255, 255, .3); }
.cacc-name { font-size: 18px; font-weight: 500; }
/* a closed panel shows one logo: the one marked main; the rest of the row appears when the panel opens */
.cacc-panel:not(.is-active) .cacc-logos > :not(.is-main) { display: none; }
.cacc-tag { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .85); }
/* the words keep a fixed width so they never rewrap while the panel grows; they fade in once it is open */
.cacc-copy { display: grid; gap: 10px; width: min(440px, calc(var(--cacc-media) / 1.22 - 64px)); opacity: 0; transform: translateX(-14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.cacc-panel.is-active .cacc-copy { opacity: 1; transform: none; transition-delay: .2s; transition-duration: .6s; }
.cacc h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; color: #fff; }
.cacc-sub { font-size: 15px; line-height: 1.45; text-wrap: pretty; color: rgba(255, 255, 255, .8); }
.cacc-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cacc-stats > span { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; color: rgba(255, 255, 255, .8); }
.cacc-stats b { font-weight: 500; font-variant-numeric: tabular-nums; color: #fff; }
.cacc-stats > .cacc-emmy { display: inline-flex; align-items: center; gap: 7px; padding-left: 5px; }
.cacc-trophy { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: rgba(239, 191, 4, .18); color: #EFBF04; }
.cacc-trophy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cacc-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 14px; font-weight: 500; transition: gap .2s var(--ease); }
.cacc-panel.is-active:hover .cacc-cta { gap: 7px; }
.cacc-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cacc:not(.cacc-ready) .cacc-panel { transition: none; }
@media (max-width: 720px) {
  .cacc { flex-direction: column; height: auto; perspective: none; }
  .cacc-panel { flex: none; min-height: 460px; transform: none; }
  .cacc-media, .cacc-panel.is-active .cacc-media { width: 100%; filter: none; transform: none; left: 0; }
  .cacc-shade { background-color: transparent; }
  .cacc-copy { width: auto; opacity: 1; transform: none; }
  .cacc-panel:not(.is-active) .cacc-logos > :not(.is-main) { display: revert; }
  .cacc-panel:not(.is-active) .cacc-logos > .cacc-sep { display: block; }
}
@media (prefers-reduced-motion: reduce) { .cacc-panel, .cacc-media, .cacc-copy { transition: none; } }

/* Prism's app icon is black and white: inverted on the dark theme (a white square with a black mark), as in the designer's build */
:root:not([data-theme="light"]) img[src$="app-icons/prism.svg"] { filter: invert(1); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) img[src$="app-icons/prism.svg"] { filter: none; } }

/* solutions: the Prism edge globe in place of a photo */
.solcard__fig .hz-fig { --fig-zoom: 1; --fig-y: -50%; display: block; width: 100%; aspect-ratio: auto; height: 100%; }

/* FAQ on the product pages: our violet for the open question */
.faq details[open] summary .i { color: var(--brand-text); }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.faq-more { color: var(--fg-2); }
.faq-more a { color: var(--brand-text); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-grid .faq { grid-template-columns: 1fr; gap: 10px; }
.faq-grid h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
.faq-grid .faq details p { font-size: 15px; }

/* Moments, every format: a sketch of one edit reframed into each aspect ratio (after the Skydance layouts) */
.fmt-sketch { display: grid; gap: 14px; justify-items: center; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.fmt-src { display: grid; gap: 8px; justify-items: center; width: min(46%, 220px); }
.fmt-src span { color: var(--fg-3); font-size: 12px; }
.fmt-arrow svg { width: 20px; height: 20px; stroke: var(--brand-text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fmts { display: grid; grid-template-columns: 1.5fr 1fr .9fr .8fr; gap: 14px; align-items: end; width: 100%; }
.fmt { display: grid; gap: 2px; min-width: 0; }
.fmt b { font-weight: 500; font-size: 13px; margin-top: 8px; }
.fmt span { color: var(--fg-3); font-size: 11px; line-height: 1.35; }
.fmt-screen { position: relative; width: 100%; box-sizing: border-box; overflow: hidden; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2);
  background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 33.33%; }
.fmt-screen .fmt-act { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; max-height: 56%; translate: -50% -50%; border-radius: 50%;
  border: 1.5px dashed var(--brand-text); background: var(--brand-soft); }
.fmt-src .fmt-screen .fmt-act { width: 18%; }
.fmt:nth-child(1) .fmt-act { width: 17%; } .fmt:nth-child(2) .fmt-act { width: 30%; } .fmt:nth-child(3) .fmt-act { width: 38%; } .fmt:nth-child(4) .fmt-act { width: 52%; }
.fmt-note { color: var(--fg-3); font-size: 12px; text-align: center; margin: 4px 0 0; }
@media (max-width: 560px) { .fmts { gap: 8px; } .fmt b { font-size: 12px; } .fmt span:last-child { display: none; } }

/* a two logo card (NASCAR and HBO Max): while the panel is closed the logos stack, so both fit the narrow panel */
@media (min-width: 721px) {
  .cacc-panel:not(.is-active) .cacc-logos--pair { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cacc-panel:not(.is-active) .cacc-logos--pair > .cacc-sep { width: 22px; height: 1px; }
}

/* Code: report viewer, a list of reports beside one frame */
.rep { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; padding: clamp(18px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rep-side { display: grid; gap: 14px; align-content: start; }
.rep-k { font-size: 18px; font-weight: 500; }
.rep-lede { color: var(--fg-2); font-size: 14px; margin: 0; }
.rep-tabs { display: grid; gap: 8px; margin-top: 6px; }
.rep-tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card-2); transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.rep-tab b { font-weight: 500; font-size: 15px; color: var(--fg); }
.rep-tab span { color: var(--fg-3); font-size: 13px; line-height: 1.45; }
.rep-tab:hover { border-color: var(--line-2); }
.rep-tab[aria-selected="true"] { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.rep-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.rep-view { display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: clamp(300px, 34vw, 460px); padding: 16px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-2); overflow: hidden; }
.rep-view img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
@media (max-width: 900px) { .rep { grid-template-columns: 1fr; } .rep-view { height: 380px; } }

/* Moments: crop box keyframes under the every format sketch */
.fmt-kf { width: 100%; display: grid; gap: 8px; margin-top: 6px; }
.fmt-kf-k { color: var(--fg-3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.fmt-kf-track { position: relative; height: 18px; border-radius: 4px; background: var(--bg-2); border: 1px solid var(--line-2); }
.fmt-kf-track::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: var(--line-2); }
.fmt-kf-track i, .fmt-kf-legend i { position: absolute; top: 50%; width: 8px; height: 8px; rotate: 45deg; translate: -50% -50%; background: var(--brand-text); }
.fmt-kf-track i.man, .fmt-kf-legend i.man { background: transparent; border: 1.5px solid var(--fg); }
.fmt-kf-legend { display: flex; gap: 16px; flex-wrap: wrap; color: var(--fg-3); font-size: 11px; }
.fmt-kf-legend span { position: relative; padding-left: 14px; }
.fmt-kf-legend i { left: 4px; }

/* Moments: every camera sketch */
.cam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.cam-grid i, .cam-v i { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line-2); }
.cam-grid i b, .cam-v i b { position: absolute; left: 6px; bottom: 4px; font-size: 10px; font-weight: 500; color: var(--fg-3); }
.cam-grid i.pgm { border-style: dashed; }
.cam-grid i.use, .cam-v i { border-color: var(--brand-text); background: var(--brand-soft); }
.cam-grid i.use b, .cam-v i b { color: var(--brand-text); }
.cam-k { color: var(--fg-3); font-size: 12px; text-align: center; }
.cam-out { display: flex; gap: 14px; align-items: center; }
.cam-v { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; width: 86px; aspect-ratio: 9 / 16; padding: 3px; box-sizing: border-box; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); }
.cam-v i { aspect-ratio: auto; border-radius: 4px; }
.cam-out > span { display: grid; gap: 2px; color: var(--fg-3); font-size: 12px; max-width: 22ch; }
.cam-out > span b { color: var(--fg); font-weight: 500; font-size: 13px; }

/* Moments: data bound graphics sketch, destinations, four sources and on its own or with Code */
.gb-sketch { justify-items: stretch; }
.gb-tracks { display: flex; justify-content: space-between; color: var(--fg-3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.gb-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; align-items: stretch; }
.gb-clip { display: grid; grid-template-rows: 1fr auto; gap: 4px; min-width: 0; }
.gb-g { display: grid; gap: 2px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--brand-text); background: var(--brand-soft); font-size: 11px; color: var(--fg-2); line-height: 1.35; }
.gb-g b { color: var(--fg); font-weight: 500; font-size: 12px; }
.gb-v { display: block; padding: 18px 10px 8px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--fg-3); font-size: 11px; }
.gb-tracks { display: none; }
.mo-dest { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mo-dest span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 14px; color: var(--fg-2); }
.flex3.flex4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .flex3.flex4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flex3.flex4 { grid-template-columns: 1fr; } }
.mo-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mo-duo > div { padding: 24px; display: grid; gap: 10px; align-content: start; }
.mo-duo h4 { margin: 0; font-size: 19px; font-weight: 500; }
.mo-duo-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.mo-duo-plus { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent); background: var(--brand-soft); border-radius: var(--r-lg); }
.mo-duo-plus .mo-duo-k { color: var(--brand-text); }
@media (max-width: 760px) { .mo-duo { grid-template-columns: 1fr; } }

/* Moments: diagrams in the style of the Moments feature walkthrough deck.
   Red is the product colour (--acc), violet the brand (--brand); dark cards, filled blocks, uppercase labels. */
.dk { display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.dk-k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.dk-k.r { color: var(--acc); } .dk-k.v { color: var(--brand-text); }
.dk-edge { position: relative; padding: 16px 18px; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line); }
.dk-edge::before, .dk-edge::after { content: ""; position: absolute; width: 7px; height: 7px; border: 1px solid var(--fg-3); }
.dk-edge::before { left: 6px; top: 6px; border-right: 0; border-bottom: 0; }
.dk-edge::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }
.dk-edge b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; }
.dk-edge p { margin: 0; color: var(--fg); font-size: 14px; line-height: 1.5; }
.dk-legend { display: flex; flex-wrap: wrap; gap: 18px; color: var(--fg-2); font-size: 12px; }
.dk-legend span { display: inline-flex; align-items: center; gap: 8px; }
/* formats */
.dk-fmts { display: grid; grid-template-columns: 1.6fr .62fr 1fr .85fr; gap: 14px; align-items: end; }
.dk-fmt-i { display: grid; gap: 8px; min-width: 0; }
.dk-scr { display: grid; place-items: center; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line-2); }
.dk-scr span { font-size: clamp(14px, 1.5vw, 20px); color: var(--fg); }
.dk-fmt-i.on .dk-scr { border-color: var(--acc); } .dk-fmt-i.on .dk-scr span { color: var(--acc); }
.dk-fmt-i p { margin: 0; color: var(--fg-3); font-size: 11px; line-height: 1.35; }
.dk-kf { position: relative; height: 22px; border-radius: 4px; background: var(--card-2); border: 1px solid var(--line); }
.dk-kf::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: var(--line-2); }
.dk-kf i, .dk-legend i { width: 9px; height: 9px; rotate: 45deg; background: var(--acc); flex: none; }
.dk-kf i { position: absolute; top: 50%; translate: -50% -50%; }
.dk-kf i.man, .dk-legend i.man { background: var(--brand); }
/* cameras and canvas layouts */
.dk-cams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.dk-cams i { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; background: var(--card-2); border: 1px solid var(--line); }
.dk-cams i b { position: absolute; left: 6px; bottom: 3px; font-size: 10px; font-weight: 500; color: var(--fg-3); }
.dk-cams i.pgm { border-style: dashed; border-color: var(--line-2); background: transparent; }
.dk-cams i.r { background: var(--acc); border-color: var(--acc); } .dk-cams i.v { background: var(--brand); border-color: var(--brand); }
.dk-cams i.r b, .dk-cams i.v b { color: #fff; }
.dk-lays { display: grid; grid-template-columns: 1.6fr 1.6fr .62fr .62fr; gap: 14px; align-items: end; }
.dk-lay { display: grid; gap: 8px; min-width: 0; }
.dk-lay p { margin: 0; font-size: 12px; color: var(--fg-2); }
.dk-l { position: relative; display: grid; gap: 3px; padding: 3px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line-2); }
.dk-l i { display: block; border-radius: 3px; background: var(--line-2); }
.dk-l i.r { background: var(--acc); } .dk-l i.v { background: var(--brand); } .dk-l i.x { background: var(--line); }
.dk-l-pip { aspect-ratio: 16 / 9; } .dk-l-pip i.x { position: absolute; inset: 3px; } .dk-l-pip i.r { position: absolute; right: 9%; bottom: 12%; width: 34%; height: 30%; }
.dk-l-mv { aspect-ratio: 16 / 9; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.dk-l-st { aspect-ratio: 9 / 16; grid-template-rows: 1fr 1fr; }
.dk-l-cu { aspect-ratio: 9 / 16; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; } .dk-l-cu i.x { grid-column: 1 / -1; }
/* graphics and video tracks */
.dk-gt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--acc); background: var(--card-2); font-size: 12px; color: var(--fg); }
.dk-gt span { display: grid; gap: 2px; } .dk-gt b { color: var(--acc); font-weight: 500; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.dk-vt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dk-vc { display: grid; gap: 6px; min-width: 0; }
.dk-play { display: grid; place-items: center; aspect-ratio: 16 / 7; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line); }
.dk-play svg { width: 18px; height: 18px; fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linejoin: round; }
.dk-vc p { margin: 0; text-align: center; font-size: 10px; color: var(--fg-3); }
/* rule set table and highlight bars */
.dk-tbl { display: grid; font-size: 12px; }
.dk-tr { display: grid; grid-template-columns: .7fr 1fr 1.3fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--fg); }
.dk-th { color: var(--acc); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.dk-tr .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.sw.r { background: var(--acc); } .sw.v { background: var(--brand); } .sw.x { background: var(--line-2); }
.dk-hl { display: grid; gap: 8px; padding: 14px; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line); }
.dk-hl p { margin: 0; font-size: 12px; color: var(--fg-2); }
.dk-bar { display: flex; gap: 4px; height: 26px; }
.dk-bar i { display: block; border-radius: 2px; background: var(--line); }
.dk-bar i.r { background: var(--acc); } .dk-bar i.v { background: var(--brand); }
/* cards with icons, and the four sources flowing into Code and Moments */
.dk-run { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.dk-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.dk-card h4 { margin: 0; font-size: 18px; font-weight: 400; }
.dk-card p { margin: 0; color: var(--fg-2); font-size: 14px; }
.dk-run .dk-card + .dk-card::before { content: ""; position: absolute; left: -26px; top: 50%; width: 24px; border-top: 1px dotted var(--fg-3); }
.dk-ic { display: inline-grid; place-items: center; justify-self: start; color: var(--acc); } .dk-ic svg.i { width: 26px; height: 26px; }
.dk-ic.g { color: var(--app-code); }
.dk-flow { display: grid; grid-template-columns: minmax(0, 1.25fr) 28px minmax(0, .85fr) 28px minmax(0, .85fr); align-items: stretch; }
.dk-srcs { display: grid; gap: 10px; }
.dk-src { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.dk-src b { font-weight: 500; font-size: 15px; } .dk-src p { margin: 2px 0 0; color: var(--fg-3); font-size: 12px; line-height: 1.45; }
.dk-src .dk-ic svg.i { width: 22px; height: 22px; }
.dk-arrow { position: relative; } .dk-arrow::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 1px dotted var(--app-code); }
.dk-arrow::after { content: ""; position: absolute; right: 3px; top: calc(50% - 3px); border: 3.5px solid transparent; border-left-color: var(--app-code); border-right: 0; }
.dk-code, .dk-mo { align-content: center; gap: 12px; }
.dk-code p b { color: var(--fg); font-weight: 500; }
.dk-lock { display: block; } .dk-lock img { height: 30px; width: auto; }
.dk-code { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app-code) 35%, transparent); }
@media (max-width: 900px) {
  .dk-flow { grid-template-columns: 1fr; gap: 0; } .dk-arrow { height: 28px; } .dk-arrow::before { left: 50%; right: auto; top: 4px; bottom: 4px; border-top: 0; border-left: 1px dotted var(--app-code); }
  .dk-arrow::after { left: calc(50% - 3px); right: auto; top: auto; bottom: 3px; border: 3.5px solid transparent; border-top-color: var(--app-code); border-bottom: 0; }
  .dk-run { grid-template-columns: 1fr; gap: 16px; } .dk-run .dk-card + .dk-card::before { display: none; }
}
@media (max-width: 560px) { .dk-fmt-i p { display: none; } .dk-gt { grid-template-columns: 1fr; gap: 6px; } .dk-vc p { display: none; } .dk-lays { gap: 8px; } .dk-lay p { font-size: 11px; } .dk-tr { grid-template-columns: .6fr 1fr 1.2fr; } }

/* numbered steps on product pages: the number in the product colour, as in the walkthrough deck */
body.prod .flow.steps > div > b { color: var(--acc); }

/* "At a glance" product pages: a short overview, then "Show me more" (or scrolling on) opens the full detail (js/glance.js) */
.page-hero--glance { padding-block: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 36px); }
.page-hero--glance h1 { font-size: clamp(38px, 4.4vw, 60px); }
.page-hero--glance .hero-grid { align-items: center; }
.glance { padding-top: clamp(24px, 3.5vw, 48px); padding-bottom: clamp(32px, 4vw, 56px); }
.gl-head { margin-bottom: 18px; }
.gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gl-tile { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.gl-tile h3 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.gl-tile p { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.45; }
.gl-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); }
.gl-ic svg.i { width: 19px; height: 19px; }
.gl-more { display: flex; justify-content: center; margin-top: clamp(24px, 2.6vw, 32px); transition: opacity .4s var(--ease), max-height .5s var(--ease), margin .5s var(--ease); max-height: 160px; }
.gl-more.is-done { opacity: 0; max-height: 0; margin-top: 0; overflow: hidden; pointer-events: none; }
.gl-btn { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 12px; color: var(--fg); font-size: 15px; font-weight: 500; }
.gl-circle { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--acc); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--acc) 70%, transparent); transition: transform .2s var(--ease); }
.gl-circle::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--acc) 50%, transparent); animation: gl-ring 2.4s var(--ease) infinite; }
.gl-circle svg { width: 26px; height: 26px; fill: none; stroke: var(--acc-ink, #fff); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: gl-bob 1.6s ease-in-out infinite; }
.gl-btn:hover .gl-circle { transform: scale(1.06); }
.gl-btn:focus-visible .gl-circle { outline: 2px solid var(--fg); outline-offset: 4px; }
@keyframes gl-bob { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 4px; } }
@keyframes gl-ring { 0% { opacity: .8; scale: 1; } 100% { opacity: 0; scale: 1.35; } }
@media (prefers-reduced-motion: reduce) { .gl-circle svg, .gl-circle::before { animation: none; } }
.detail[hidden] { display: none; }
@media (max-width: 900px) { .gl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gl-grid { grid-template-columns: 1fr; } .gl-tile { padding: 14px 16px; } }

/* Studio hero: an overview diagram. The event flows into Studio, where people set the rules and the AI runs the
   production, and out to every output. Deck style: dark cards, uppercase labels, the product colour for what is live. */
.hero-grid .art.sh-art { padding: 0; background: none; min-height: 0; align-items: center; overflow: visible; }
.sh-art::before, .sh-art::after { display: none; }
.sh { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1.25fr) 20px minmax(0, .8fr); align-items: center; gap: 0; padding: clamp(16px, 2vw, 24px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.sh-k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.sh-col { display: grid; gap: 8px; align-content: center; min-width: 0; }
.sh-col .sh-k { margin-bottom: 2px; }
.sh-in { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 9px 10px; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line); min-width: 0; }
.sh-in > span:last-child { min-width: 0; }
.sh-in b { display: block; font-size: 13px; font-weight: 500; }
.sh-in small { display: block; font-size: 11px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); }
.sh-ic svg.i { width: 16px; height: 16px; }
.sh-link { position: relative; align-self: stretch; }
.sh-link::before { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; translate: 0 -50%;
  background: repeating-linear-gradient(90deg, var(--acc) 0 4px, transparent 4px 8px); background-size: 8px 2px; animation: sh-flow .6s linear infinite; opacity: .8; }
@keyframes sh-flow { to { background-position: 8px 0; } }
.sh-core { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); background: color-mix(in srgb, var(--acc) 6%, var(--card-2)); min-width: 0; }
.sh-core .sh-k { color: var(--acc); margin-bottom: 0; }
.sh-box { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.sh-t { font-size: 12px; font-weight: 500; color: var(--fg); }
.sh-box code { font: 11px/1.45 var(--font-mono, ui-monospace, monospace); color: var(--fg-2); }
.sh-dec { position: relative; height: 18px; overflow: hidden; }
.sh-dec span { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fg-2); opacity: 0; animation: sh-dec 8s infinite; animation-delay: calc(var(--i) * 2s); white-space: nowrap; }
.sh-dec span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); flex: none; }
@keyframes sh-dec { 0% { opacity: 0; translate: 0 8px; } 4%, 22% { opacity: 1; translate: 0 0; } 26%, 100% { opacity: 0; translate: 0 -8px; } }
.sh-ctl { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-2); padding: 2px 2px 0; }
.sh-sw { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); }
.sh-sw b { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; color: var(--fg-3); }
.sh-sw b:first-child { background: var(--acc); color: var(--acc-ink, #000); }
.sh-outs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; align-items: end; }
.sh-out { display: grid; gap: 4px; justify-items: center; min-width: 0; }
.sh-out small { font-size: 10px; color: var(--fg-3); text-align: center; }
.sh-scr { position: relative; display: block; width: 100%; border-radius: 4px; background: var(--card-2); border: 1px solid var(--line-2); overflow: hidden; }
.sh-v { width: 46%; }
.sh-scr i { position: absolute; left: 8%; bottom: 10%; width: 46%; height: 16%; border-radius: 2px; background: var(--acc); }
.sh-v i { width: 70%; left: 15%; height: 8%; }
.sh-mv i { inset: 6%; width: auto; height: auto; background: none; border-radius: 0;
  background-image: linear-gradient(var(--line-2), var(--line-2)), linear-gradient(var(--line-2), var(--line-2)); background-size: 1px 100%, 100% 1px; background-position: center, center; background-repeat: no-repeat; }
.sh-l i::after { content: "ES"; position: absolute; right: -60%; top: -10%; font-size: 8px; color: var(--fg-2); }
.sh-out .sh-scr::after { content: ""; position: absolute; right: 5px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #ef4444; }
@media (prefers-reduced-motion: reduce) { .sh-link::before, .sh-dec span { animation: none; } .sh-dec span:first-child { opacity: 1; } }
@media (max-width: 640px) {
  .sh { grid-template-columns: 1fr; gap: 0; }
  .sh-link { height: 22px; } .sh-link::before { left: 50%; right: auto; top: 3px; bottom: 3px; width: 2px; height: auto; translate: -50% 0;
    background: repeating-linear-gradient(180deg, var(--acc) 0 4px, transparent 4px 8px); background-size: 2px 8px; animation-name: sh-flow-v; }
  .sh-col:first-child { grid-template-columns: 1fr 1fr; } .sh-col:first-child .sh-k { grid-column: 1 / -1; }
  .sh-outs { grid-template-columns: repeat(4, 1fr); }
}
@keyframes sh-flow-v { to { background-position: 0 8px; } }
.sh-box { min-width: 0; } .sh-box code { white-space: normal; overflow-wrap: anywhere; }
.sh-ctl { flex-wrap: wrap; }
@media (min-width: 961px) and (max-width: 1240px) {
  .sh { padding: 14px; } .sh-in { padding: 7px 8px; gap: 8px; } .sh-in small { display: none; } .sh-ic { width: 24px; height: 24px; }
  .sh-core { padding: 10px; } .sh-box { padding: 8px 10px; } .sh-ctl > span:first-child { display: none; } .sh-ctl { justify-content: center; }
}

/* the same overview diagram on Code, Review and Moments: product icons, an angle grid and a square output */
.sh-ic.sh-app { background: var(--card); } .sh-ic.sh-app img { width: 16px; height: 16px; display: block; }
:root:not([data-theme="light"]) .sh-ic.sh-app img[src$="prism.svg"] { filter: invert(1); }
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.sh-grid i { aspect-ratio: 16 / 9; border-radius: 2px; background: var(--card-2); border: 1px solid var(--line-2); }
.sh-grid i.on { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 25%, transparent); }
.sh-q { width: 62%; } .sh-w i { width: 30%; height: 30%; left: auto; right: 8%; bottom: auto; top: 18%; border-radius: 50%; background: none; border: 1.5px solid var(--acc); }
.sh-w i::before { content: ""; position: absolute; left: 38%; top: 28%; border: 4px solid transparent; border-left: 6px solid var(--acc); border-right: 0; }

@media (min-width: 641px) { .sh.sh--list { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1.15fr) 20px minmax(0, .95fr); } }
@media (max-width: 640px) { .sh--list .sh-col:last-child { grid-template-columns: 1fr 1fr; } .sh--list .sh-col:last-child .sh-k { grid-column: 1 / -1; } }
.sh--list .sh-col:last-child .sh-in small { display: none; }
.sh--list .sh-col:last-child .sh-in { padding-block: 10px; }

/* edition comparison grid (product pages) */
.cx-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.cx { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.cx th, .cx td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cx th[scope="row"] { text-align: left; font-weight: 400; color: var(--fg); width: 40%; }
.cx thead th { border-top: 0; vertical-align: bottom; padding: 22px 16px 18px; text-align: left; width: 20%; }
.cx thead th.cx-lab { width: 40%; }
.cx thead th b { display: block; font-size: 18px; font-weight: 500; color: var(--fg); }
.cx thead th span { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--fg-2); }
.cx thead th small { display: block; margin-top: 10px; font-size: 12px; color: var(--fg-3); }
.cx thead th { border-top: 2px solid transparent; }
.cx thead th.cx-pop { border-top-color: var(--acc); background: color-mix(in srgb, var(--acc) 6%, transparent); }
.cx tbody td:nth-child(3) { background: color-mix(in srgb, var(--acc) 4%, transparent); }
.cx .cx-k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.cx .cx-note { margin-top: 6px; }
.cx-sec th { text-align: left; background: var(--card-2); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); padding-block: 10px; }
.cx td span { font-size: 13px; color: var(--fg); }
.cx svg { display: inline-block; vertical-align: middle; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cx-y { width: 18px; height: 18px; stroke: var(--acc); stroke-width: 1.8; }
.cx-n { width: 14px; height: 14px; stroke: var(--fg-3); stroke-width: 1.5; opacity: .6; }
.cx-foot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 32px; }
.cx-foot h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.cx-add { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.cx-add div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.cx-add b { font-weight: 500; font-size: 14px; } .cx-add span { color: var(--fg-2); font-size: 14px; }
.cx-foot p { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 14px; }
.cx-foot a { color: var(--fg); }
@media (max-width: 760px) {
  .cx th[scope="row"], .cx thead th.cx-lab { position: sticky; left: 0; background: var(--card); z-index: 1; }
  .cx-sec th { position: static; }
  .cx-foot, .cx-add { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cx { min-width: 0; table-layout: fixed; font-size: 12px; }
  .cx th, .cx td { padding: 10px 6px; }
  .cx th[scope="row"], .cx thead th.cx-lab { width: 40%; position: static; }
  .cx thead th { width: 20%; padding: 14px 6px; }
  .cx thead th b { font-size: 13px; } .cx thead th span, .cx .cx-note { display: none; }
  .cx thead th small { font-size: 10px; } .cx td span { font-size: 11px; }
}

/* ecosystem page: product tabs over the edition grids */
.edt-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.edt-head h3 { margin: 0; font-size: 20px; font-weight: 500; }
.edt-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.edt-tab { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg-2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.edt-tab img { width: 18px; height: 18px; display: block; }
.edt-tab:hover { color: var(--fg); }
.edt-tab[aria-selected="true"] { color: var(--fg); background: color-mix(in srgb, var(--acc) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 55%, transparent); }
.edt-tab:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.edt-panel[hidden] { display: none; }
.edt-panel { animation: edt-in .3s var(--ease); }
@keyframes edt-in { from { opacity: 0; translate: 0 6px; } }
.edt-more { margin: 14px 0 0; font-size: 14px; } .edt-more a { color: var(--fg); }
@media (max-width: 560px) { .edt-tabs { width: 100%; justify-content: space-between; } .edt-tab { padding: 8px 10px; font-size: 13px; gap: 6px; } }
@media (max-width: 560px) { .edt-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 14px; } .edt-tab { justify-content: center; flex-direction: column; gap: 4px; padding: 8px 4px; font-size: 12px; border-radius: 10px; } }

/* legal pages */
.lg-upd { color: var(--fg-3); font-size: 14px; margin: 0; }
.lg { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.lg-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.lg-nav a { padding: 8px 12px; border-radius: var(--r); color: var(--fg-2); text-decoration: none; font-size: 15px; }
.lg-nav a:hover { color: var(--fg); background: var(--card); }
.lg-nav a[aria-current="page"] { color: var(--fg); background: var(--card); box-shadow: inset 2px 0 0 var(--brand); }
.lg-body { max-width: 760px; font-size: 16px; }
.lg-body h2 { font-size: 22px; margin-top: 22px; }
.lg-body a { color: var(--fg); }
.lg-body b { color: var(--fg); font-weight: 500; }
.lg-tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.lg-tbl th, .lg-tbl td { text-align: left; vertical-align: top; padding: 12px 10px; border-top: 1px solid var(--line); }
.lg-tbl thead th { color: var(--fg); font-weight: 500; border-top: 0; }
.lg-tbl th[scope="row"] { color: var(--fg); font-weight: 500; width: 28%; }
.foot-legal a, footer a[href$="privacy.html"], footer a[href$="cookies.html"], footer a[href$="terms.html"] { color: inherit; text-decoration: none; }
footer a[href$="privacy.html"]:hover, footer a[href$="cookies.html"]:hover, footer a[href$="terms.html"]:hover { color: var(--fg); }
@media (max-width: 760px) { .lg { grid-template-columns: 1fr; } .lg-nav { position: static; display: flex; gap: 4px; } }
