/* Reference layout for inner pages: the measured product-page template (12 columns, 1440 max, 30px gutters, weight 400,
   one ink rule per chapter, 100px rhythm). Every corner is square.
   Two skins share this file: the document skin (default) and the film skin (body.rp-film-skin, css/ref-vision-ai.css).
   Page layers load after it: ref-company.css, ref-vision-ai.css and reference-docs.css. Shared components therefore stay
   low in specificity; only type, the bar and the three product pages (main.product-page) use the #main selectors. */
:root{--rp-radius:0;--rp-radius-s:0;--rp-ease:cubic-bezier(.25,.1,.25,1);--rp-out:cubic-bezier(.25,.46,.45,.94);
  --rp-bar-top:70px;--rp-bar-h:48px;--rp-gutter:30px;--rp-pin:129px;
  --rp-edge:max(var(--rp-gutter),calc((100% - 1440px) / 2 + var(--rp-gutter)));
  /* S-01 type roles: size / line height, weight 400 everywhere. */
  --rp-t-display:clamp(2.125rem,6.94vw,6.25rem);--rp-l-display:1.15;
  --rp-t-head:clamp(2.125rem,3.47vw,3.125rem);--rp-l-head:1;
  --rp-t-sub:clamp(1.25rem,2.36vw,2.125rem);--rp-l-sub:1.18;
  --rp-t-desc:clamp(1.125rem,1.39vw,1.25rem);--rp-l-desc:1.3;
  --rp-t-link:1.125rem;--rp-l-link:25px;
  --rp-t-body:1rem;--rp-l-body:1.4286;
  --rp-t-label:12px;--rp-l-label:16px;
  /* Film-skin roles (V pages). */
  --rp-f-statement:clamp(2.5rem,6.67vw,6rem);--rp-f-feature:clamp(2.4rem,5vw,4.5rem);--rp-f-list:clamp(1.5rem,3.33vw,3rem);
  --rp-f-title:2.5rem;--rp-f-subtitle:1.75rem;--rp-f-desc:1.5rem;--rp-f-detail:1.25rem;
  --brand-line-strong:#454256}
/* Dark is the default, also without script; the light ink only applies once appearance.js chooses light. */
:root[data-theme="light"]{--brand-line-strong:#1e2124}
@media (max-width:880px){:root{--rp-gutter:20px;--rp-pin:118px;
  --rp-t-display:2.125rem;--rp-l-display:1.1765;--rp-t-head:2.125rem;--rp-t-sub:1.25rem;--rp-l-sub:1.3;--rp-t-desc:1.125rem}}

/* Container: same box as the homepage and the footer. */
/* Document pages without a bar (body[data-section]) keep the same document skin as pages with one. */
:is(main:has(> .ref-localnav),body[data-section] > main) .wrap{max-width:1440px!important;padding-inline:var(--rp-gutter)!important}
html:has(main > .ref-localnav){scroll-padding-top:calc(var(--rp-pin) + 20px)!important;scroll-behavior:smooth}
main:has(> .ref-localnav) [id]{scroll-margin-top:0!important}

/* Document skin: page-coloured ground, ink hairlines (light lines stay in tables and the footer), weight 400. */
body:not(.rp-film-skin):is(:has(> main > .ref-localnav),[data-section]){background:var(--ref-page)}
body:not(.rp-film-skin) :is(main:has(> .ref-localnav),body[data-section] > main){--brand-page:var(--ref-page);--brand-ink:var(--ref-text);--brand-line:var(--ref-text)}
body:not(.rp-film-skin) :is(main:has(> .ref-localnav),body[data-section] > main) table{--brand-line:var(--ref-line)}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(h1,h2,h3,h4,summary,.row-name,.hm-row-title,.hm-eyebrow,.hm-num,.hm-status,.reader-value,.reader-label){font-weight:400}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) .hm-head > h2{max-width:none;font-size:var(--rp-t-head);line-height:var(--rp-l-head);letter-spacing:-.02em}
html[dir=rtl] body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(h1,h2,h3,h4){letter-spacing:0}
html:is(:lang(de),:lang(fr)) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(h1,h2,h3,.row-name){-webkit-hyphens:auto;hyphens:auto;overflow-wrap:normal}

/* 1 · Local bar. Desktop: one flush band in the page colour under the header, pinned at 129px, plain links with a short
   line over the current one (C-02). Phone: the title and a square plus (section 7). */
.ref-localnav{position:sticky;z-index:500}
.ref-localnav-title{flex:0 0 auto;color:var(--ref-text);letter-spacing:-.01em;text-decoration:none;white-space:nowrap}
:is(#main,#main-content) .ref-localnav .platform-contents{display:flex;align-items:center;flex-wrap:nowrap;min-width:0;padding:0;border:0;overflow-x:auto;scrollbar-width:none}
:is(#main,#main-content) .ref-localnav .platform-contents::-webkit-scrollbar{display:none}
:is(#main,#main-content) .ref-localnav .platform-contents a{flex:0 0 auto;white-space:nowrap;text-decoration:none;transition:color .25s ease-in-out}
:is(#main,#main-content) .ref-localnav .platform-contents a:is(:hover,[aria-current]){color:var(--ref-text);text-decoration:none}
.ref-localnav :focus-visible{outline:2px solid var(--ref-text);outline-offset:2px}
.ref-crumb{display:none}
@media (min-width:881px){
  main:has(> .ref-localnav){padding-top:0!important}
  .ref-localnav{top:-30px;height:auto;margin:0;padding:96px 30px 30px;background:var(--ref-page)}
  .ref-localnav::after{content:"";position:absolute;inset-inline:30px;bottom:0;height:1px;background:var(--ref-text)}
  .ref-localnav-inner{display:flex;align-items:flex-start;gap:20px;min-width:0}
  .ref-localnav-title{padding-top:10px;font-size:16px;line-height:22.86px}
  html.rp-crumb .ref-localnav-title{display:none}
  :is(#main,#main-content) .ref-localnav .platform-contents{gap:20px;max-width:calc(100% - 340px)}
  :is(#main,#main-content) .ref-localnav .platform-contents a{position:relative;padding:10px 0 0;color:var(--ref-muted-nav,var(--ref-muted));font-size:16px;line-height:22.86px}
  :is(#main,#main-content) .ref-localnav .platform-contents a:is(:hover,[aria-current]){color:var(--ref-text)}
  :is(#main,#main-content) .ref-localnav .platform-contents a:is(:hover,[aria-current])::before{content:"";position:absolute;top:0;inset-inline-start:0;width:50px;max-width:100%;height:1px;background:currentColor}
  :is(#main,#main-content) .ref-localnav .platform-contents a:focus-visible{outline-offset:-2px}
  /* No header plate over the band; the 70px header row must not catch clicks meant for the pinned links under it. */
  body:has(main > .ref-localnav) .site-header>.wrap::before{display:none}
  body:has(main > .ref-localnav) .site-header>.wrap,body:has(main > .ref-localnav) .site-header .nav{pointer-events:none}
  body:has(main > .ref-localnav) .site-header .nav>*{pointer-events:auto}
  /* Header breadcrumb, added by js/reference-pages.js. */
  .site-header .nav .logo-nav:has(+ .ref-crumb){margin-inline-end:0!important}
  .site-header .ref-crumb{display:inline-block;margin-inline:10px auto;color:var(--ref-muted-nav,var(--ref-muted));font-size:18px;line-height:25px;letter-spacing:0;white-space:nowrap;text-decoration:none;transition:color .25s ease-in-out}
  .site-header .ref-crumb::before{content:"/";margin-inline-end:8px}
  .site-header .ref-crumb:hover{color:var(--ref-text)}
  .site-header:has(.site-directory[open]) .ref-crumb{color:#fff}
}
/* Document platforms let the section bar leave with the opening. Other page families, and the ontology page (.onto-body), keep their sticky row; :where() leaves the weight of these rules as it was. */
@media (min-width:881px){
  html:has(body:is(.bsys-page:not(:where(.onto-body)),.fd-page,.hm-ops)){scroll-padding-top:106px!important}
  :is(.bsys-page,.fd-page,.hm-ops) main > section:not(#ontology):not(:has(#ontology)){
    --rp-t-display:clamp(2.125rem,6.9445vw,6.25rem);
    --rp-t-head:clamp(2.125rem,3.4723vw,3.125rem);
    --rp-t-sub:clamp(1.25rem,2.3612vw,2.125rem)
  }
  :is(.bsys-page:not(:where(.onto-body)),.fd-page,.hm-ops) .ref-localnav{position:relative;top:auto;min-height:156px;padding:72px var(--rp-gutter) 0}
  :is(.bsys-page:not(:where(.onto-body)),.fd-page,.hm-ops) .ref-localnav::after{content:none}
  :is(.bsys-page:not(:where(.onto-body)),.fd-page,.hm-ops) .ref-localnav-inner{gap:18px}
  :is(.bsys-page:not(:where(.onto-body)),.fd-page,.hm-ops) .ref-localnav-title,
  :is(.bsys-page:not(:where(.onto-body)),.fd-page,.hm-ops) :is(#main,#main-content) .ref-localnav .platform-contents a{
    position:relative;padding-block:9px;padding-inline:0 9px;font-size:18px;line-height:25px
  }
  :is(.bsys-page:not(:where(.onto-body)),.fd-page,.hm-ops) .ref-localnav:not(:has(.platform-contents [aria-current])) .ref-localnav-title::before{
    content:"";position:absolute;inset-block-start:0;inset-inline-start:0;width:50px;height:1px;background:currentColor
  }
  :is(.bsys-page:not(:where(.onto-body)),.fd-page,.hm-ops) :is(#main,#main-content) .ref-localnav .platform-contents{gap:18px;max-width:none}
}
/* Mask the space occupied by the header controls as the local links leave the viewport. */
html:not(.rp-local-ready) body:not(.rp-film-skin):has(main > .ref-localnav) .site-header::before,
body.rp-local-exiting .site-header::before{
  content:"";position:absolute;inset-inline:0;inset-block-start:0;height:var(--rp-bar-top);
  background:var(--ref-page);pointer-events:none;z-index:-1
}
html[dir=rtl] :is(#main,#main-content) .ref-localnav :is(.ref-localnav-title,.platform-contents a){letter-spacing:0}
@media (max-width:880px){
  main:has(> .ref-localnav){padding-top:var(--rp-bar-top)!important}
  .ref-localnav{top:var(--rp-bar-top);height:var(--rp-bar-h);margin:0 8px}
  .ref-localnav-inner{display:flex;align-items:center;gap:16px;height:100%;padding-inline:14px 6px;border:1px solid var(--ref-line);background:color-mix(in srgb,var(--ref-page) 80%,transparent);-webkit-backdrop-filter:saturate(1.8) blur(20px);backdrop-filter:saturate(1.8) blur(20px)}
  .ref-localnav-title{display:inline-block;padding-block:12px;font-size:17px;line-height:20px}
  :is(#main,#main-content) .ref-localnav .platform-contents{gap:16px;margin-inline-start:auto}
  :is(#main,#main-content) .ref-localnav .platform-contents a{padding:6px 0;color:var(--ref-muted);font-size:13px;line-height:1.2}
  :is(#main,#main-content) .ref-localnav .platform-contents a:not(:last-child){display:inline-flex;align-items:center;min-height:44px}
  /* Without script the row of links scrolls and fades out before the sticky contact link (mirrored on RTL). */
  :is(#main,#main-content) .ref-localnav .platform-contents a:last-child{position:sticky;inset-inline-end:0;padding:8px 16px;background:var(--ref-text);color:var(--ref-page)}
  :is(#main,#main-content) .ref-localnav .platform-contents a:last-child::before{content:"";position:absolute;inset-block:-10px;inset-inline-end:100%;width:36px;background:linear-gradient(to right,transparent,color-mix(in srgb,var(--ref-page) 94%,transparent) 70%);pointer-events:none}
  html[dir=rtl] :is(#main,#main-content) .ref-localnav .platform-contents a:last-child::before{background:linear-gradient(to left,transparent,color-mix(in srgb,var(--ref-page) 94%,transparent) 70%)}
  /* One solid band in the page colour behind the header plate and the bar, so scrolling content never shows between them. */
  main:has(> .ref-localnav)::before{content:"";position:fixed;inset-inline:0;top:0;z-index:499;height:calc(var(--rp-bar-top) + var(--rp-bar-h) + 8px);background:var(--ref-page);pointer-events:none}
}

/* 2 · Hero: name in columns 1 to 7, one line in columns 9 to 12, then the film in a square frame. Nothing here moves. */
:is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro){padding-top:0!important;background:var(--ref-page)}
:is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-intro-copy{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px 30px;padding-block:100px 80px;align-items:start}
:is(.bsys-page,.fd-page) :is(#main,#main-content).product-page > .ref-localnav + .platform-intro .platform-intro-copy h1{grid-column:1 / span 7}
:is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-intro-copy h1{grid-column:1 / span 8;font-size:var(--rp-t-display);line-height:var(--rp-l-display);letter-spacing:-.02em}
:is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-intro-copy > :not(h1){grid-column:9 / span 4}
:is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-intro-copy p{max-width:none;font-size:var(--rp-t-sub);line-height:var(--rp-l-sub);letter-spacing:0;color:var(--ref-text)}
:is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-intro-copy .platform-demo-link{display:none}
:is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-opening-film{width:auto;max-width:1380px;height:auto;aspect-ratio:16 / 9;margin:0 max(var(--rp-gutter),calc((100% - 1380px) / 2));isolation:isolate}
body:not(.rp-film-skin) :is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):has(> .platform-opening-film){padding-bottom:100px}
:is(.bsys-page,.fd-page,.hm-ops,.rp-film-skin) :is(#main,#main-content) .platform-opening-film{background-color:#0d0e10}
/* P-01: the three product pages use the drawing ratio. */
:is(#main,#main-content).product-page > .ref-localnav + .platform-intro .platform-opening-film{aspect-ratio:1600 / 1071}
@media (max-width:880px){
  :is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-intro-copy{grid-template-columns:1fr;gap:20px;padding-block:80px 60px}
  :is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-intro-copy > *{grid-column:1!important}
  :is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-intro-copy > :not(h1){margin-inline-start:60px}
  :is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):where(:not(.rp-film-hero)) .platform-opening-film,
  :is(#main,#main-content).product-page > .ref-localnav + .platform-intro .platform-opening-film{aspect-ratio:16 / 9}
  body:not(.rp-film-skin) :is(#main,#main-content) > :is(.ref-localnav + .platform-intro,body[data-section] > main > .platform-intro):has(> .platform-opening-film){padding-bottom:60px}
}

/* 3 · Chapters of the product pages: one ink rule, heading 60px under it, body 130px under the heading. */
:is(#main,#main-content).product-page{font-size:var(--rp-t-body);line-height:var(--rp-l-body)}
:is(#main,#main-content).product-page > .product-chapter{position:relative;padding:0 0 100px;border:0;background:transparent;color:var(--ref-text)}
:is(#main,#main-content).product-page > .product-chapter::before{content:"";position:absolute;top:0;inset-inline:var(--rp-edge);height:1px;background:var(--ref-text);pointer-events:none}
:is(#main,#main-content).product-page > .product-chapter > .wrap:first-of-type{padding-top:60px}
:is(#main,#main-content).product-page .product-heading{max-width:1263px;margin:0;font-size:var(--rp-t-display);line-height:var(--rp-l-display);letter-spacing:-.02em}
:is(#main,#main-content).product-page .product-split .product-heading{font-size:var(--rp-t-head);line-height:var(--rp-l-head)}
:is(#main,#main-content).product-page :is(.product-count,.product-note){max-width:34ch;font-size:var(--rp-t-desc);line-height:var(--rp-l-desc);color:var(--ref-muted)}
:is(#main,#main-content).product-page .product-outcome{max-width:none;margin:0 0 25px;font-size:var(--rp-t-sub);line-height:var(--rp-l-sub)}
:is(#main,#main-content).product-page :is(.mv-trace-lede,.og-lede){max-width:56ch;margin:0 0 25px;font-size:var(--rp-t-body);line-height:var(--rp-l-body);color:var(--ref-text)}
:is(#main,#main-content).product-page .row-body h2{max-width:22ch;font-size:var(--rp-t-head);line-height:1.05;letter-spacing:-.02em}
html[dir=rtl] :is(#main,#main-content).product-page :is(.product-heading,.row-body h2,.platform-intro-copy h1){letter-spacing:0}
:is(#main,#main-content).product-page .product-split{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:30px}
/* Core-concept pair (S-03): heading over the full width, then the figure in columns 1 to 6 and the text in 7 to 12. */
:is(#main,#main-content).product-page .product-feature{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(4,auto) 1fr;gap:0 30px;align-items:start}
:is(#main,#main-content).product-page .product-feature > div:not(.rp-figure){display:contents}
:is(#main,#main-content).product-page .product-feature .product-heading{grid-area:1 / 1 / 2 / span 11;margin-bottom:130px}
:is(#main,#main-content).product-page .product-feature > .rp-figure{grid-area:2 / 1 / -1 / span 6}
:is(#main,#main-content).product-page .product-feature :is(.product-note,.product-outcome,.mv-trace-lede,.platform-demo-link){grid-column:7 / span 6}
:is(#main,#main-content).product-page .product-feature .product-note{max-width:none;margin:0 0 20px}
/* Figures that hold one of our illustrations: pale ground, no frame line, as the reference drawings. */
main .rp-figure{position:relative;width:100%;max-width:none;margin:0;overflow:visible}
main :is(.ref-illus.rp-figure,.rp-figure > .ref-illus,.ref-illus.module-illus,.ref-illus.example-illus){background:var(--ref-card)}
:is(#main,#main-content).product-page #film-example.rp-figure{aspect-ratio:auto}
:is(#main,#main-content).product-page .row-body > .rp-figure{margin:30px 0}
@media (max-width:880px){
  :is(#main,#main-content).product-page > .product-chapter{padding-bottom:60px}
  :is(#main,#main-content).product-page > .product-chapter > .wrap:first-of-type{padding-top:40px}
  :is(#main,#main-content).product-page .product-split{grid-template-columns:1fr;gap:40px}
  :is(#main,#main-content).product-page .product-count{margin-inline-start:60px}
  :is(#main,#main-content).product-page .product-feature{grid-template-rows:none;gap:0 10px}
  :is(#main,#main-content).product-page .product-feature .product-heading{grid-area:1 / 1 / 2 / -1;margin-bottom:80px}
  :is(#main,#main-content).product-page .product-feature > .rp-figure{grid-area:auto / 1 / auto / -1;margin-bottom:30px}
  :is(#main,#main-content).product-page .product-feature :is(.product-note,.product-outcome,.mv-trace-lede,.platform-demo-link){grid-column:3 / -1}
}

/* Two-part blocks on the company and report pages (S-03). Page layers may place their own children. */
body.hm-page:where(:not(.rp-film-skin)) .hm-head:where(:not(.hm-head--questions,.hm-head--stack)){grid-template-columns:repeat(12,minmax(0,1fr));gap:20px 30px;align-items:start}
body.hm-page:where(:not(.rp-film-skin)) .hm-head:where(:not(.hm-head--questions,.hm-head--stack)) > h2{grid-column:1 / span 7;margin:0}
body.hm-page:where(:not(.rp-film-skin)) .hm-head:where(:not(.hm-head--questions,.hm-head--stack)) > :not(h2){grid-column:9 / span 4;padding:0}
/* A heading wrapped with its eyebrow (<div><p class="hm-eyebrow">…</p><h2>…</h2></div>) takes the heading's columns, not the copy's. */
body.hm-page:where(:not(.rp-film-skin)) .hm-head:where(:not(.hm-head--questions,.hm-head--stack)) > div:has(> h2){grid-column:1 / span 7}
body.hm-page:where(:not(.rp-film-skin)) .hm-row:where(:not(.hm-row--lead,.hm-principle-body *)){grid-template-columns:repeat(12,minmax(0,1fr));gap:20px 30px;padding:60px 0 100px}
body.hm-page:where(:not(.rp-film-skin)) .hm-row:where(:not(.hm-row--lead,.hm-principle-body *)) > .hm-row-head{grid-column:1 / span 4}
body.hm-page:where(:not(.rp-film-skin)) .hm-row:where(:not(.hm-row--lead,.hm-principle-body *)) > .hm-row-body{grid-column:7 / span 6}
body.hm-page:where(:not(.rp-film-skin)) .hm-row-head > .hm-row-title{font-size:var(--rp-t-sub);line-height:var(--rp-l-sub);letter-spacing:0}
@media (max-width:880px){
  body.hm-page:where(:not(.rp-film-skin)) :is(.hm-head,.hm-row):where(:not(.hm-head--questions,.hm-head--stack,.hm-row--lead,.hm-principle-body *)){gap:20px 10px}
  body.hm-page:where(:not(.rp-film-skin)) .hm-head:where(:not(.hm-head--questions,.hm-head--stack)) > h2,
  body.hm-page:where(:not(.rp-film-skin)) .hm-row:where(:not(.hm-row--lead,.hm-principle-body *)) > .hm-row-head{grid-column:1 / -1}
  body.hm-page:where(:not(.rp-film-skin)) .hm-head:where(:not(.hm-head--questions,.hm-head--stack)) > :not(h2),
  body.hm-page:where(:not(.rp-film-skin)) .hm-row:where(:not(.hm-row--lead,.hm-principle-body *)) > .hm-row-body{grid-column:3 / -1}
  body.hm-page:where(:not(.rp-film-skin)) .hm-row:where(:not(.hm-row--lead,.hm-principle-body *)){padding:40px 0 60px}
  body.hm-page:where(:not(.rp-film-skin)) .hm-head:where(:not(.hm-head--questions,.hm-head--stack)) > div:has(> h2){grid-column:1 / -1}
}

/* Arrow link (S-04): label and arrow over a line that opens from the middle on hover. Inline links in a sentence are left alone. */
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *){position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;width:fit-content;min-width:min(100%,205px);max-width:min(100%,440px);min-height:41px;padding:0 0 16px!important;border:0;background:none;color:var(--ref-text)!important;font-size:var(--rp-t-link);line-height:var(--rp-l-link);font-weight:400;letter-spacing:0;text-decoration:none;transition:color .25s ease-in-out}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *)::before,
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *)::after{content:"";position:absolute;top:auto;bottom:0;width:calc(50% + .5px);height:1px;background:currentColor;transition:transform .25s ease-in-out}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *)::before{inset-inline-start:0;inset-inline-end:auto;transform-origin:left center}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *)::after{inset-inline-start:auto;inset-inline-end:0;transform-origin:right center}
html[dir=rtl] body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *)::before{transform-origin:right center}
html[dir=rtl] body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *)::after{transform-origin:left center}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *):is(:hover,:focus-visible){color:color-mix(in srgb,var(--ref-text) 72%,var(--ref-page))!important;text-decoration:none}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *):is(:hover,:focus-visible)::before,
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *):is(:hover,:focus-visible)::after{transform:scaleX(0)}
:is(#main,#main-content).product-page .product-chapter :is(.rebrand-link,.rebrand-button,.platform-demo-link):not(p > *){margin:25px 0 0}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *) > span[aria-hidden]{transition:transform .25s ease-in-out}
body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *):hover > span[aria-hidden]{transform:translateX(6px)}
html[dir=rtl] body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *):hover > span[aria-hidden]{transform:translateX(-6px)}
@media (max-width:880px){
  body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *){max-width:min(100%,290px);min-height:44px}
}

/* Open ruled rows (S-05): reusable defaults, page layers refine them. */
main .hm-open-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:30px;padding-top:60px;border-top:1px solid var(--ref-text)}
main .hm-open-row + .hm-open-row{margin-top:100px}
main .hm-open-row > h3{grid-column:1 / span 4;margin:0;font-size:var(--rp-t-sub);line-height:var(--rp-l-sub);letter-spacing:0}
main .hm-open-row > :is(.hm-sum,p){grid-column:7 / span 4;margin:0;font-size:var(--rp-t-desc);line-height:var(--rp-l-desc);color:var(--ref-muted)}
main .hm-open-row > :is(.rebrand-link,.arrow-link){grid-column:11 / span 2}
main .hm-open-row > :is(details,.hm-status){grid-column:7 / span 6;margin-top:30px}
main .hm-open-row > .hm-status{font-size:var(--rp-t-label);line-height:var(--rp-l-label);letter-spacing:.04em;text-transform:uppercase}
main .hm-link-row{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:55px;border-top:1px solid var(--ref-text);color:var(--ref-text);font-size:var(--rp-t-link);line-height:var(--rp-l-link);text-decoration:none;transition:opacity .25s ease-in-out}
main .hm-link-row > span[aria-hidden]{transition:transform .25s ease-in-out}
main :is(.hm-questions-links,.hm-link-rows):hover > .hm-link-row:not(:hover){opacity:.33}
main .hm-link-row:hover > span[aria-hidden]{transform:translateX(6px)}
[dir=rtl] main .hm-link-row:hover > span[aria-hidden]{transform:translateX(-6px)}
@media (max-width:880px){
  main .hm-open-row{column-gap:10px;padding-top:40px}
  main .hm-open-row + .hm-open-row{margin-top:60px}
  main .hm-open-row > h3{grid-column:1 / span 11}
  main .hm-open-row > :not(h3){grid-column:3 / -1}
}

/* Numbered ruled rows (S-06): details.product-row in a chapter split is numbered; a single row under an example is not. */
:is(#main,#main-content).product-page .product-split > div:last-child{counter-reset:prow}
:is(#main,#main-content).product-page .product-row{border-top:1px solid var(--ref-text)}
:is(#main,#main-content).product-page .product-row:last-child{border-bottom:1px solid var(--ref-text)}
:is(#main,#main-content).product-page .product-row > summary{position:relative;display:block;min-height:116px;padding-block:24px;padding-inline:0 56px;list-style:none}
:is(#main,#main-content).product-page .product-split .product-row > summary{padding-inline-start:72px;counter-increment:prow}
:is(#main,#main-content).product-page .product-split .product-row > summary::before{content:counter(prow,decimal-leading-zero);content:counter(prow,decimal-leading-zero) / "";position:absolute;inset-inline-start:0;top:24px;font-size:20px;line-height:28px;color:var(--ref-muted)}
:is(#main,#main-content).product-page .product-row .row-name{margin:0;font-size:clamp(1.5rem,3.33vw,3rem);line-height:1.39;letter-spacing:-.03em;text-transform:uppercase;transition:transform .25s ease-in-out}
html[dir=rtl] :is(#main,#main-content).product-page .product-row .row-name{letter-spacing:0}
:is(#main,#main-content).product-page .product-row > summary:hover > *{text-decoration:none}
:is(#main,#main-content).product-page .product-row .module-question{display:block;margin:0;font-size:20px;line-height:26px;letter-spacing:0;text-transform:none;color:var(--ref-muted)}
:is(#main,#main-content).product-page .product-row > summary::after{content:"+"!important;position:absolute;inset-inline-end:0;top:38px;width:40px;height:40px;background:none;color:var(--ref-text);font:300 28px/40px Inter,system-ui,sans-serif;text-align:center;transition:transform .3s var(--rp-ease)}
:is(#main,#main-content).product-page .product-row[open] > summary::after{transform:rotate(45deg)}
:is(#main,#main-content).product-page .product-split .product-row > .row-body{padding-block:0 60px;padding-inline:72px 0}
@media (hover:hover){
  :is(#main,#main-content).product-page .product-row > summary:hover .row-name{transform:translateX(40px)}
  html[dir=rtl] :is(#main,#main-content).product-page .product-row > summary:hover .row-name{transform:translateX(-40px)}
}
/* A module's records beside its drawing. */
:is(#main,#main-content).product-page .module-body:has(> .module-illus){display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:30px;align-items:start}
:is(#main,#main-content).product-page .module-body .record-reader{margin-top:0}
/* Ink variant for dark bands. */
.rp-list .product-row{border-color:var(--ref-on-ink-dim,#6f6c85)}
.rp-list .product-row > summary{color:var(--ref-on-ink-muted,#8e8ba3)}
.rp-list .product-row > summary:is(:hover,:focus-visible),.rp-list .product-row[open] > summary{color:#efefef}
.rp-list .product-row > .row-body{font-size:20px;line-height:27.8px;color:#c9c7d6}
/* Hidden fragment anchors inside summaries take no space. */
:is(#main,#main-content) summary > .hm-anchor{position:absolute;inset-block-start:0;inset-inline-start:0;width:0;height:0}
@media (max-width:880px){
  :is(#main,#main-content).product-page .product-row > summary{min-height:82px;padding-block:22px}
  :is(#main,#main-content).product-page .product-split .product-row > summary{padding-inline-start:34px}
  :is(#main,#main-content).product-page .product-split .product-row > summary::before{top:28px;font-size:14px;line-height:20px}
  :is(#main,#main-content).product-page .product-row .row-name{font-size:24px;line-height:33.3px}
  :is(#main,#main-content).product-page .product-row .module-question{font-size:18px;line-height:23.4px}
  :is(#main,#main-content).product-page .product-row > summary::after{top:20px}
  :is(#main,#main-content).product-page .product-split .product-row > .row-body{padding-block:0 40px;padding-inline:0}
  :is(#main,#main-content).product-page .module-body:has(> .module-illus){grid-template-columns:minmax(0,1fr)}
  :is(#main,#main-content).product-page .row-body > :is(p,.rebrand-link):not(.evidence-answer,.example-question){margin-inline-start:60px}
}

/* Demonstration frames, switches and step chips (P-02). Generated pieces only: #ontology stays the next sibling of its heading. */
:is(#main,#main-content).product-page :is(#ontology,#bridge-records,#arrival-scenario){position:relative;padding-block:78px 30px;border:1px solid var(--brand-line-strong)}
:is(#main,#main-content).product-page :is(#ontology,#bridge-records){margin-block:130px 60px;padding-inline:30px}
:is(#main,#main-content).product-page #bridge-records{margin-top:100px}
:is(#main,#main-content).product-page #arrival-scenario{width:calc(100% - 2 * var(--rp-gutter));max-width:1380px!important;margin:100px auto 60px}
:is(#main,#main-content).product-page :is(#ontology,#bridge-records,#arrival-scenario)::before{content:"";position:absolute;inset:0 0 auto;height:48px;border-bottom:1px solid var(--brand-line-strong);pointer-events:none}
:is(#main,#main-content).product-page :is(#ontology .og-case.og-ready > figcaption,#bridge-records > .reader-title,#arrival-scenario .fd-kicker){position:absolute;top:0;inset-inline:30px;display:flex;align-items:center;gap:.4em;height:48px;margin:0;font-size:var(--rp-t-label);line-height:var(--rp-l-label);letter-spacing:.05em;text-transform:uppercase;color:var(--ref-text)}
html[dir=rtl] :is(#main,#main-content).product-page :is(#ontology .og-case.og-ready > figcaption,#bridge-records > .reader-title,#arrival-scenario .fd-kicker){letter-spacing:0}
:is(#main,#main-content).product-page #ontology .og-canvas{--brand-line:var(--ref-line)}
:is(#main,#main-content).product-page #ontology .og-node button{--brand-line:var(--brand-line-strong)}
:is(#main,#main-content).product-page .example-tabs{justify-content:flex-start;gap:10px;padding:0 0 30px;counter-reset:chip}
:is(#main,#main-content).product-page #decision-records .reader-tabs{gap:10px;border:0;counter-reset:chip}
:is(#main,#main-content).product-page :is(.example-tabs,#decision-records .reader-tabs) > button{counter-increment:chip;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;min-width:180px;min-height:68px;padding:8px;border:1px solid var(--brand-line-strong);background:transparent;color:var(--ref-text);font-size:14px;line-height:18px;font-weight:400;text-align:start}
:is(#main,#main-content).product-page :is(.example-tabs,#decision-records .reader-tabs) > button::after{content:counter(chip,decimal-leading-zero);content:counter(chip,decimal-leading-zero) / "";font-size:var(--rp-t-label);line-height:var(--rp-l-label)}
:is(#main,#main-content).product-page :is(.example-tabs,#decision-records .reader-tabs) > button[aria-selected=true]{border-color:var(--ref-text);background:var(--ref-text);color:var(--ref-page)}
:is(#main,#main-content).product-page #bridge-records .reader-tabs{gap:10px}
:is(#main,#main-content).product-page #bridge-records .reader-tabs > button{padding:10px;border:1px solid var(--brand-line-strong);box-shadow:none}
:is(#main,#main-content).product-page #bridge-records .reader-tabs > button::before{font-size:var(--rp-t-label)}
:is(#main,#main-content).product-page #bridge-records .reader-tabs > button[aria-selected=true]{border-color:var(--ref-text);background:var(--ref-text);color:var(--ref-page)}
:is(#main,#main-content).product-page #bridge-records .reader-tabs > button[aria-selected=true] :is(.mv-trail-step,.mv-trail-status),
:is(#main,#main-content).product-page #bridge-records .reader-tabs > button[aria-selected=true]::before{color:inherit}
:is(#main,#main-content).product-page #arrival-scenario :is(.fd-window > span,.fd-trip > span,.fd-ticks,.fd-value small){font-size:12px}
:is(#main,#main-content).product-page .example-panel .example-illus{align-self:start}
@media (max-width:880px){
  :is(#main,#main-content).product-page :is(#ontology,#bridge-records,#arrival-scenario){padding-block:64px 20px}
  :is(#main,#main-content).product-page :is(#ontology,#bridge-records){margin-block:80px 40px;padding-inline:12px}
  :is(#main,#main-content).product-page #arrival-scenario{margin-block:60px 40px;padding-inline:12px!important}
  :is(#main,#main-content).product-page :is(#ontology .og-case.og-ready > figcaption,#bridge-records > .reader-title,#arrival-scenario .fd-kicker){inset-inline:12px}
  :is(#main,#main-content).product-page :is(.example-tabs,#decision-records .reader-tabs) > button{flex:1 1 130px;min-width:0}
}

/* Lettered callouts over an illustration (P-03); on phone they sit under it. */
main .rp-figure > .story-labels{align-items:flex-start;counter-reset:callout}
main .rp-figure > .story-labels > *{max-width:325px;padding:22px;border:1px solid rgb(255 255 255 / .2);background:rgb(31 31 45 / .9);color:#fff;font-size:16px;line-height:22.86px;counter-increment:callout}
main .rp-figure > .story-labels > *::before{content:counter(callout,upper-alpha);content:counter(callout,upper-alpha) / "";display:inline-grid;place-items:center;width:24px;height:24px;margin-inline-end:10px;border:1px solid currentColor;font-size:12px;line-height:1}
@media (max-width:880px){
  main .rp-figure > .story-labels{position:static;flex-wrap:wrap;gap:10px;margin-top:10px}
  main .rp-figure > .story-labels > *{flex:1 1 140px;padding:10px;font-size:14px;line-height:20px}
}

/* 4 · Contact close (S-08): large heading in columns 1 to 7; the direct lines and the form in 8 to 12. */
:is(main:has(> .ref-localnav),body[data-section] > main) .rp-contact-close > .wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:30px;align-items:start}
:is(main:has(> .ref-localnav),body[data-section] > main) .rp-contact-close > .wrap > h2{grid-column:1 / span 7}
:is(main:has(> .ref-localnav),body[data-section] > main) .rp-contact-close > .wrap > .rp-contact-body{grid-column:8 / -1}
:is(#main,#main-content).product-page .rp-contact-direct{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 40px;font-size:var(--rp-t-body);line-height:var(--rp-l-body)}
:is(#main,#main-content).product-page .rp-contact-direct a{display:inline-flex;align-items:center;min-height:0;margin:0;color:var(--ref-text);text-decoration:underline;text-underline-offset:3px}
:is(#main,#main-content).product-page .rp-contact-close .contact-form{max-width:none;padding:0;border:0;background:none}
:is(#main,#main-content).product-page .rp-contact-close .field{margin:0 0 40px}
:is(#main,#main-content).product-page .rp-contact-close .field label{margin:0 0 8px;font-size:var(--rp-t-label);line-height:var(--rp-l-label);letter-spacing:.04em;font-weight:400;text-transform:uppercase;color:var(--ref-text)}
:where(.bsys-page,.fd-page) :is(#main,#main-content).product-page .rp-contact-close .field label{margin:0;font-size:10px;line-height:16px;letter-spacing:.05em}
html[dir=rtl] :is(#main,#main-content).product-page .rp-contact-close .field label{letter-spacing:0}
:is(#main,#main-content).product-page .rp-contact-close .field :is(input,textarea){width:100%;padding:0;border:0;border-bottom:1px solid var(--ref-text);background:transparent;box-shadow:none;color:var(--ref-text);font-size:18px;line-height:25px;letter-spacing:0}
:where(.bsys-page,.fd-page) :is(#main,#main-content).product-page .rp-contact-close .field :is(input,textarea){padding:1px 2px;border-bottom-color:#636363}
:is(#main,#main-content).product-page .rp-contact-close .field input{height:30px}
:is(#main,#main-content).product-page .rp-contact-close .field textarea{min-height:92px;padding:8px;border:1px solid var(--ref-text)}
:where(.bsys-page,.fd-page) :is(#main,#main-content).product-page .rp-contact-close .field textarea{padding:20px;border-color:#636363}
:is(#main,#main-content).product-page .rp-contact-close .field :is(input,textarea):focus-visible{outline:2px solid var(--ref-text);outline-offset:3px}
:is(#main,#main-content).product-page .rp-contact-close .field.invalid :is(input,textarea){border-color:var(--surface-error)}
:is(#main,#main-content).product-page .rp-contact-close .field .err{font-size:14px;line-height:20px;letter-spacing:0;color:var(--surface-error)}
:is(#main,#main-content).product-page .rp-contact-close .contact-form .btn{width:215px;max-width:100%;min-height:52px;margin:0;padding:0 20px;border:1px solid var(--ref-text);background:var(--ref-text);color:var(--ref-page);font-size:16px;font-weight:400;letter-spacing:0;transition:background-color .25s ease-in-out,color .25s ease-in-out}
:where(.bsys-page,.fd-page) :is(#main,#main-content).product-page .rp-contact-close .contact-form .btn{padding:13.71px;border-color:#636363;background:transparent;color:var(--ref-text)}
:is(#main,#main-content).product-page .rp-contact-close .contact-form .btn:hover{transform:none;background:var(--ref-page);color:var(--ref-text)}
:where(.bsys-page,.fd-page) :is(#main,#main-content).product-page .rp-contact-close .contact-form .btn:is(:hover,:focus-visible){background:var(--ref-text);color:var(--ref-page);border-color:var(--ref-text)}
@media (prefers-reduced-motion:no-preference){
  :where(.bsys-page,.fd-page) :is(#main,#main-content).product-page .rp-contact-close .contact-form .btn{transition:background-color .25s ease-in-out,color .25s ease-in-out,border-color .25s ease-in-out!important}
}
:is(#main,#main-content).product-page .rp-contact-close .contact-form .arr{display:none}
:is(#main,#main-content).product-page .rp-contact-close .form-note{margin:20px 0 0;font-size:14px;line-height:20px;color:var(--ref-muted)}
:is(#main,#main-content).product-page .rp-contact-close :is(.form-note,.form-success) a{display:inline;min-height:0;margin:0;color:var(--ref-text);text-decoration:underline}
:is(#main,#main-content).product-page .rp-contact-close .form-success{border:1px solid var(--ref-text);background:none;color:var(--ref-text)}
@media (max-width:880px){
  :is(main:has(> .ref-localnav),body[data-section] > main) .rp-contact-close > .wrap{column-gap:10px;row-gap:40px}
  :is(main:has(> .ref-localnav),body[data-section] > main) .rp-contact-close > .wrap > h2{grid-column:1 / -1}
  :is(main:has(> .ref-localnav),body[data-section] > main) .rp-contact-close > .wrap > .rp-contact-body{grid-column:3 / -1}
  :is(#main,#main-content).product-page .rp-contact-direct a{min-height:44px}
  :is(#main,#main-content).product-page .rp-contact-close .field input{height:44px}
}

/* The Ancilor endmark sits in the footer credits. */
.footer .footer-col-brand .ancilor-endmark{margin-top:28px}

/* 5 · Continue exploring (S-07): heading in columns 1 to 6, a ruled two-column arrow list in 7 to 12. */
.edition-next:where(:not(.rp-close-more)){position:relative;padding-block:0 100px;border-top:0;background:transparent;color:var(--ref-text)}
:is(main:has(> .ref-localnav),body[data-section] > main) .edition-next:where(:not(.rp-close-more))::before{content:"";position:absolute;top:0;inset-inline:var(--rp-edge);height:1px;background:var(--ref-text)}
.edition-next:where(:not(.rp-close-more)) .wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 30px;max-width:1440px!important;padding-top:60px;padding-inline:var(--rp-gutter)!important}
.edition-next:where(:not(.rp-close-more)) .wrap > h2{grid-column:1 / span 6}
:is(#main,#main-content) .edition-next:where(:not(.rp-close-more)) .wrap > h2{max-width:none;margin:0;font-size:var(--rp-t-head);line-height:var(--rp-l-head);letter-spacing:-.02em;font-weight:400}
[dir=rtl] :is(#main,#main-content) .edition-next:where(:not(.rp-close-more)) .wrap > h2{letter-spacing:0}
.edition-next:where(:not(.rp-close-more)) .wrap > div{grid-column:7 / span 6;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 30px;align-items:start}
.edition-next:where(:not(.rp-close-more)) .wrap > div > a{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:55px;padding:0;border-top:1px solid var(--ref-text);background:none;color:var(--ref-text);font-size:20px;line-height:26px;letter-spacing:0;text-decoration:none}
body .edition-next:where(:not(.rp-close-more)) .wrap > div > a:nth-last-child(-n + 2){border-bottom:1px solid var(--ref-text)}
.edition-next:where(:not(.rp-close-more)) .wrap > div > a > span[aria-hidden]{color:inherit}
:is(#main,#main-content) .edition-next:where(:not(.rp-close-more)) .wrap > div > a{transition:opacity .25s ease-in-out}
:is(#main,#main-content) .edition-next:where(:not(.rp-close-more)) .wrap > div > a > span[aria-hidden]{transition:transform .25s ease-in-out}
.edition-next:where(:not(.rp-close-more)) .wrap > div:hover > a:not(:hover){opacity:.33}
.edition-next:where(:not(.rp-close-more)) .wrap > div > a:hover{text-decoration:none}
.edition-next:where(:not(.rp-close-more)) .wrap > div > a:hover > span[aria-hidden]{transform:translateX(6px)}
[dir=rtl] .edition-next:where(:not(.rp-close-more)) .wrap > div > a > span[aria-hidden]{transform:scaleX(-1)}
[dir=rtl] .edition-next:where(:not(.rp-close-more)) .wrap > div > a:hover > span[aria-hidden]{transform:translateX(-6px) scaleX(-1)}
@media (max-width:880px){
  .edition-next:where(:not(.rp-close-more)){padding-bottom:60px}
  .edition-next:where(:not(.rp-close-more)) .wrap{padding-top:40px;row-gap:40px}
  .edition-next:where(:not(.rp-close-more)) .wrap > h2,.edition-next:where(:not(.rp-close-more)) .wrap > div{grid-column:1 / -1}
  .edition-next:where(:not(.rp-close-more)) .wrap > div{grid-template-columns:minmax(0,1fr)}
  body .edition-next:where(:not(.rp-close-more)) .wrap > div > a:nth-last-child(2){border-bottom:0}
}

/* 6 · Motion, as measured on the reference product pages: every entrance fires once, timed, quadratic ease-out.
   Headings fade with no movement (483 ms); the lead text after a heading rises by a tenth of its height, one step later;
   chapter rules and list rows draw left to right; heroes, images, films, cards and tiles have no entrance. Only active when
   the script sets html.rp-motion, never with reduced motion. */
html.rp-motion .rp-fade{opacity:0;transition:opacity .483s var(--rp-out) var(--rp-delay,0ms)}
html.rp-motion .rp-lead{opacity:0;transform:translateY(var(--rp-rise,16px));transition:opacity .6s var(--rp-out) var(--rp-delay,0ms),transform .6s var(--rp-out) var(--rp-delay,0ms)}
html.rp-motion :is(.rp-fade,.rp-lead).is-in{opacity:1;transform:none}
html.rp-motion .rp-sweep{position:relative}
html.rp-motion .rp-sweep::before{content:"";position:absolute;inset-inline:0;top:-1px;height:1px;background:var(--ref-text);transform:scaleX(0);transform-origin:left center;opacity:.84;pointer-events:none}
html.rp-motion[dir=rtl] .rp-sweep::before{transform-origin:right center}
html.rp-motion .rp-sweep.is-in::before{animation:rp-sweep .8s var(--rp-out) var(--rp-delay,0ms) both}
@keyframes rp-sweep{0%{transform:scaleX(0);opacity:.84}77%{transform:scaleX(1);opacity:.84}100%{transform:scaleX(1);opacity:0}}
html.rp-motion .rp-rule::before{transform:scaleX(0);transform-origin:left center;transition:transform .45s var(--rp-out)}
html.rp-motion[dir=rtl] .rp-rule::before{transform-origin:right center}
html.rp-motion .rp-rule.is-in::before{transform:none}
@media (prefers-reduced-motion:reduce){
  html.rp-motion :is(.rp-fade,.rp-lead){opacity:1!important;transform:none!important;transition:none!important}
  html.rp-motion .rp-sweep::before{display:none}
  html.rp-motion .rp-rule::before{transform:none!important;transition:none!important}
  html:has(main > .ref-localnav){scroll-behavior:auto}
  :is(#main,#main-content).product-page .product-row .row-name,
  .edition-next .wrap > div > a:hover > span[aria-hidden],main .hm-link-row:hover > span[aria-hidden]{transform:none!important}
  [dir=rtl] .edition-next .wrap > div > a:hover > span[aria-hidden]{transform:scaleX(-1)!important}
  body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *):is(:hover,:focus-visible)::before,
  body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *):is(:hover,:focus-visible)::after,
  body:not(.rp-film-skin) :is(#main,#main-content):is(:has(> .ref-localnav),body[data-section] > *) :is(.rebrand-link,.arrow-link,.product-chapter .platform-demo-link,.product-chapter .rebrand-button):not(p > *):hover > span[aria-hidden]{transform:none!important}
}
/* Print and PDF: an entrance that has not run yet must never print blank, both themes print black on white, and the
   chapter rules (a 1px background, which print strips) come back as a black border. */
@media print{
  html:root,html:root[data-theme]{--ref-page:#fff;--ref-text:#000;--ref-muted:#444;--ref-line:#0000004d;--brand-line-strong:#000}
  :is(#main,#main-content),:is(#main,#main-content) *{--ref-page:#fff;--ref-text:#000;--ref-muted:#444;--ref-line:#0000004d}
  *,*::before,*::after{transition:none!important}
  .ref-localnav,.ref-localnav-toggle{display:none!important}
  html.rp-motion :is(.rp-fade,.rp-lead){opacity:1!important;transform:none!important;transition:none!important}
  html.rp-motion .rp-sweep::before{display:none}
  :is(#main,#main-content).product-page > .product-chapter::before,
  body.ref-inner :is(#main,#main-content) .hm-section::before,
  .ref-story-block::before,
  :is(main:has(> .ref-localnav),body[data-section] > main) .edition-next:where(:not(.rp-close-more))::before,
  .ref-docs-insights>.wrap::before,.legal-close .wrap::before{transform:none!important;transition:none!important;border-block-start:1px solid #000!important}
  html.rp-motion .rp-rule::before{transform:none!important;transition:none!important}
}

/* 7 · Phone local bar (the reference phone sub-nav): the title and a 40px square plus, drawn like the header buttons. The plus
   turns into a cross and opens the section links as a dark sheet that grows down from the bar; the contact link ends it.
   The button is added by js/reference-pages.js; without script the phone bar keeps its scrolling row. */
.ref-localnav-toggle{display:none}
@media (max-width:880px){
  .ref-localnav-inner:has(> .ref-localnav-toggle){gap:12px;padding-inline:14px 4px}
  :is(#main,#main-content) .ref-localnav-toggle + .platform-contents{display:none}
  .ref-localnav-toggle{position:relative;z-index:2;display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;margin:0 0 0 auto;padding:0;border:1px solid var(--ref-text);background:var(--ref-btn,transparent);color:var(--ref-text);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .25s ease-in-out,color .25s ease-in-out,background-color .25s ease-in-out}
  html[dir=rtl] .ref-localnav-toggle{margin:0 auto 0 0}
  .ref-localnav-toggle span{position:relative;display:block;width:14px;height:14px;transition:transform .35s var(--rp-out)}
  .ref-localnav-toggle span::before,.ref-localnav-toggle span::after{content:"";position:absolute;inset-inline:0;top:50%;height:1.5px;margin-top:-.75px;background:currentColor}
  .ref-localnav-toggle span::after{transform:rotate(90deg)}
  .ref-localnav.is-open{z-index:560}
  .ref-localnav.is-open .ref-localnav-inner{border-color:transparent;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
  .ref-localnav.is-open .ref-localnav-title{position:relative;z-index:2;color:#f7f7f5}
  .ref-localnav.is-open .ref-localnav-toggle{border-color:#f7f7f5;background:#f7f7f5;color:#141414}
  .ref-localnav.is-open .ref-localnav-toggle span{transform:rotate(45deg)}
  :is(#main,#main-content) .ref-localnav.is-open .ref-localnav-toggle + .platform-contents{position:fixed;inset:var(--rp-bar-top) 8px 8px;z-index:1;display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:calc(var(--rp-bar-h) + 14px) 22px 24px;overflow-y:auto;overscroll-behavior:contain;background:#141414;color-scheme:dark;animation:rp-sheet .42s var(--rp-out) both}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents a{display:block;min-height:0;padding:15px 0;border-bottom:1px solid rgb(247 247 245 / .14);color:rgb(247 247 245 / .6);font-size:clamp(22px,6.4vw,30px);line-height:1.15;letter-spacing:-.02em;white-space:normal;animation:rp-sheet-row .5s var(--rp-out) both}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents a:is(:hover,[aria-current]){color:#f7f7f5}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents a:last-child{position:static;align-self:flex-start;margin-top:30px;padding:13px 22px;border:0;background:#f7f7f5;color:#141414;font-size:17px;letter-spacing:0}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents a:last-child::before{display:none}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents a:nth-child(2){animation-delay:.04s}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents a:nth-child(3){animation-delay:.08s}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents a:nth-child(4){animation-delay:.12s}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents a:nth-child(n+5){animation-delay:.16s}
  :is(#main,#main-content) .ref-localnav.is-open .platform-contents :focus-visible{outline-color:#f7f7f5}
}
/* Pages that name their section without a bar also show the breadcrumb on phones; it shortens before the controls move. */
@media (max-width:880px){
  body[data-section] .site-header .nav .logo-nav:has(+ .ref-crumb){flex:none;margin-inline-end:0!important}
  body[data-section] .site-header .ref-crumb{display:block;flex:0 1 auto;min-width:0;margin-inline:8px auto;overflow:hidden;color:var(--ref-muted-nav,var(--ref-muted));font-size:15px;line-height:44px;letter-spacing:0;white-space:nowrap;text-overflow:ellipsis;text-decoration:none}
  body[data-section] .site-header .ref-crumb::before{content:"/";margin-inline-end:6px}
  body[data-section] .site-header:has(.nav-menu.open) .ref-crumb{color:#fff}
}
html.rp-sheet-open{overflow:hidden}
@keyframes rp-sheet{from{clip-path:inset(0 0 calc(100% - var(--rp-bar-h)) 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes rp-sheet-row{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .ref-localnav-toggle span{transition:none}
  :is(#main,#main-content) .ref-localnav.is-open .ref-localnav-toggle + .platform-contents,:is(#main,#main-content) .ref-localnav.is-open .platform-contents a{animation:none}
}
