/* Additions for native DOM controls. Original compiled design CSS is retained. */
/* The design utilities use ten rem units per 100px at the browser's default
   text setting. Keep this scale tied to the reader's settings at every width. */
html { font-size: 62.5%; scroll-padding-top: 10rem; }
/* Laptops and larger: everything 10% smaller (9px per rem). Phones and tablets
   keep the full size, where text is already at its minimum readable size. */
@media (min-width: 75em) { html { font-size: 56.25%; } }
body { font-size: 1.6rem; }
main, .Footer { overflow-wrap: anywhere; }
main .grid > * { min-inline-size: 0; }
[hidden] { display: none !important; }
.static-search { padding-top: 15rem; padding-bottom: 4rem; min-height: 35vh; }
.static-search h1 { font-size: clamp(3.6rem,5vw,6.4rem); font-weight: 600; margin-bottom: 3rem; }
.static-search-results { display: grid; gap: 2rem; padding-bottom: 8rem; min-height: 20vh; }
.static-search-results article { padding: 3rem; border-radius: 2rem; background: hsl(var(--rox-site-surface)); }
.static-search-results h2 { font-size: 2.8rem; font-weight: 600; }
.static-search-results p, [data-form-status] { font-size: 1.7rem; line-height: 1.6; margin-top: 1.5rem; }
[data-form-status]:empty { display: none; }
.rox-header-theme-toggle[aria-pressed="true"] > span:first-child { transform: translateX(32px); }
.rox-header-theme-toggle[aria-pressed="true"] > span:last-child { color: #0f0f0f; }
.rox-header-theme-toggle[aria-pressed="true"] > span:nth-child(2) { color: hsl(var(--rox-site-muted)); }
.static-mobile-open { pointer-events: auto !important; transform: translateY(0) !important; opacity: 1 !important; }
header[data-open="true"] > div:first-child { pointer-events: auto; opacity: 1; }
header[data-open="true"] button[aria-label="Close nav"] .lucide-menu { opacity: 0; }
header[data-open="true"] button[aria-label="Close nav"] .lucide-x { opacity: 1; transform: scale(1); }
.static-submenu-open { visibility: visible !important; grid-template-rows: 1fr !important; }
.SliceFAQ-listItemContent[data-open="true"] { grid-template-rows: 1fr; }
.SliceFAQ-listItemContent[data-open="false"] { grid-template-rows: 0fr; }
@media(max-width:699px) { .static-search { padding-top: 11rem; } }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-hero] { height: 100svh !important; }
  [data-hero-stage] { visibility: hidden; }
  [data-hero-title] { opacity: 1 !important; }
  [data-slice-id="sliceProcessTimeline"] { height: auto !important; padding: 8rem 2rem !important; }
  [data-slice-id="sliceProcessTimeline"] > div:first-child { display: block !important; }
  [data-slice-id="sliceProcessTimeline"] > div:last-child { display: none !important; }
  .SliceTitleListHorizontal { height: auto !important; padding: 8rem 2rem !important; }
  .SliceTitleListHorizontal > div:first-child { display: block !important; }
  .SliceTitleListHorizontal > div:first-child > div:last-child { display: block !important; }
  .StickyHorizontalList { display: none !important; }
}
html:not(.js) [data-hero] { height: 100svh !important; }
html:not(.js) [data-hero-stage] { display: none; }
html:not(.js) .rox-vertical-card { opacity: 1; transform: none; }
html:not(.js) .SliceFAQ-listItemContent { grid-template-rows: 1fr !important; }
html:not(.js) [data-slice-id="sliceProcessTimeline"] { height: auto !important; padding: 8rem 2rem !important; }
html:not(.js) [data-slice-id="sliceProcessTimeline"] > div:first-child { display: block !important; }
html:not(.js) [data-slice-id="sliceProcessTimeline"] > div:last-child { display: none !important; }

/* Allow the feature rows to grow with the copy and the reader's font size. */
.featured-grid > a { min-width: 0; }
/* Insight cards: like the lead card, the cover photo fills the whole card at
   full colour. A dark shade sits only behind the copy so white text stays
   readable on any photo, in light and dark themes. */
.insight-tint-card {
  isolation: isolate;
  padding: 0 !important;
  justify-content: flex-end !important;
  min-height: 44rem;
  background-color: #0f0f0f !important;
}
.insight-tint-image {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 500ms ease;
}
.insight-tint-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.55) 0, rgb(0 0 0 / 0.25) 6rem, rgb(0 0 0 / 0) 11rem),
    linear-gradient(0deg, rgb(0 0 0 / 0.85) 0, rgb(0 0 0 / 0.6) 35%, rgb(0 0 0 / 0) 62%);
}
.group:hover > .insight-tint-image { transform: scale(1.04); }
.insight-tint-card > .featured-illustration-copy,
.insight-tint-card > .relative {
  position: relative; z-index: 1; flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(2.4rem, 2.6vw, 3.2rem);
}
.insight-tint-card, .insight-tint-card * { color: #fff !important; }
.insight-tint-card [class*="text-rox-black/"] { color: rgb(255 255 255 / 0.88) !important; }
.insight-tint-card .bg-rox-black/45 { background-color: rgb(255 255 255 / 0.7) !important; }
.insight-tint-card h3, .insight-tint-card p { text-shadow: 0 0.1rem 1.2rem rgb(0 0 0 / 0.25); }
.featured-grid > .insight-tint-card h3 + p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
/* Label row at the top, title and summary at the bottom of the photo. */
.insight-tint-card .featured-illustration-copy > .relative { flex: 1 1 auto; justify-content: space-between !important; }
.insight-tint-card .relative > div:last-child { margin-top: auto !important; padding-top: 8rem; }
@media (min-width: 64em) { .insight-tint-card { min-height: 50rem; } }
@media (min-width: 75em) {
  /* Taller featured row so the two side cards show their photo, not just copy. */
  .featured-grid { grid-auto-rows: minmax(38rem, auto); }
  .featured-grid > .insight-tint-card { min-height: 0; }
  .featured-grid > .insight-tint-card h3 + p { display: none; }
}
.featured-illustration-copy { padding: clamp(2rem, 3vw, 3.2rem); }
.featured-illustration-summary { margin-top: 2rem; }
/* Lead card: the photo stays at full strength. A dark shade sits only behind the
   label row and the headline so the white text stays readable on any photo. */
.insight-photo-scrim {
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.42) 0, rgb(0 0 0 / 0) 9rem),
    linear-gradient(0deg, rgb(0 0 0 / 0.78) 0, rgb(0 0 0 / 0.5) 26%, rgb(0 0 0 / 0) 52%);
}
.featured-lead { background-color: #0f0f0f; color: #fff; }
.featured-lead h3, .featured-lead p { text-shadow: 0 0.1rem 1.2rem rgb(0 0 0 / 0.25); }
@media (max-width: 74.99em) {
  .featured-lead { min-height: clamp(52rem, 120vw, 64rem); }
  .featured-lead > .relative > div:last-child { margin-top: auto; padding-top: 12rem; }
}
@media (min-width: 48em) {
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-lead { grid-column: 1 / -1; }
}
@media (min-width: 75em) {
  .featured-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .featured-lead { grid-column: 1; grid-row: span 2; }
}

.post-archive > div:first-child { padding-top: 12rem; }
.post-archive h1 { font-size: clamp(3.6rem, 5vw, 6.4rem); line-height: 1.08; }
.post-archive .container, .static-search.container, .static-search-results.container {
  max-width: 133rem;
  margin-inline: auto;
  padding-inline: clamp(1.6rem, 3vw, 4rem);
}
.rox-header-nav-link { min-height: 4.4rem; }
@media (max-width: 47.99em) {
  .rox-header-shell nav { max-height: calc(100dvh - 8rem); overflow-y: auto; overscroll-behavior: contain; }
}

/* Room for each person's name, role and profile link as columns reflow. */
#team .grid:has(> .rox-grid-card) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}
#team .rox-grid-card { grid-column: auto; }
#team .rox-grid-card h3 { font-size: clamp(2rem, 2vw, 2.8rem); overflow-wrap: anywhere; }
#team .rox-grid-card p { font-size: 1.6rem; line-height: 1.45; }

.offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-grid > a { min-width: 0; }
.offer-grid figure > div { max-width: 100%; }
@media (min-width: 80em) {
  .offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 43.75em) and (max-width: 59.99em) {
  .problem-grid > article > div { flex-direction: column; align-items: flex-start; }
}
.method-steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
}
.method-steps h2 { overflow-wrap: anywhere; }
@media (max-width: 85em) {
  .method-steps > [aria-hidden="true"], .method-steps article + [aria-hidden="true"] { display: none; }
}
.careers-benefits { grid-auto-rows: minmax(min-content, auto); }
/* Tablet: the side icon squeezed headings into a few letters per line. */
@media (max-width: 74.99em) {
  .careers-benefits .md\:grid-cols-\[1fr_0\.9fr\] { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; }
  .careers-benefits .md\:grid-cols-\[1fr_0\.9fr\] svg { width: 5.6rem; height: 5.6rem; }
}
@media (min-width: 48em) and (max-width: 74.99em) {
  .careers-benefits > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Testimonials (700px+ grid): stack on tablet; on small desktops keep three
   columns but put the logo above the client name so names don't break apart. */
@media (min-width: 43.75em) and (max-width: 63.99em) {
  [data-slice-id="sliceTestimonialProof"] .min-\[700px\]\:grid-cols-3 { grid-template-columns: minmax(0, 1fr); }
  [data-slice-id="sliceTestimonialProof"] .rox-testimonial-card { min-height: 0; }
  [data-slice-id="sliceTestimonialProof"] .rox-testimonial-card blockquote { max-width: 60rem; }
}
@media (min-width: 64em) and (max-width: 89.99em) {
  [data-slice-id="sliceTestimonialProof"] .rox-testimonial-card { padding: 3.2rem; }
  [data-slice-id="sliceTestimonialProof"] .rox-testimonial-card > div:first-child > .flex:first-child { flex-direction: column; align-items: flex-start; }
  [data-slice-id="sliceTestimonialProof"] .rox-testimonial-card h3 { font-size: 2.6rem; }
}

/* Closing call-to-action: keep the headline readable while buttons wrap below. */
.rox-cta-card > div:first-child > div:first-child { flex: 1 1 auto; min-width: 0; }
@media (max-width: 63.99em) {
  .rox-cta-card > div:first-child { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 64em) {
  .rox-cta-card > div:first-child > div:first-child { min-width: 36rem; }
}

[data-slice-id="sliceBlockchainsSearch"] .select-none { min-width: 0; container-type: inline-size; }
.BlockchainsWheel { --rox-wheel-radius: clamp(6rem, calc(50cqw - 17rem), 21rem); }
.BlockchainsWheelItem { width: max-content; }
.BlockchainsWheelItem-name { font-size: 2.4rem; }
@media (prefers-reduced-motion: reduce) {
  [data-slice-id="sliceBlockchainsSearch"] .select-none > .grid { display: grid; }
  .BlockchainsWheel { display: none; }
}

@media (max-width: 74.99em), (max-height: 36em) {
  [data-hero="mobile"] { display: block; }
  [data-hero="desktop"] { display: none; }
  [data-slice-id="sliceProcessTimeline"], .SliceTitleListHorizontal {
    height: auto;
    padding: 8rem clamp(1.6rem, 3vw, 4rem);
  }
  [data-slice-id="sliceProcessTimeline"] > div:first-child,
  .SliceTitleListHorizontal > div:first-child,
  .SliceTitleListHorizontal > div:first-child > div:last-child { display: block; }
  [data-slice-id="sliceProcessTimeline"] > div:last-child, .StickyHorizontalList { display: none; }
  [data-slice-id="sliceBlockchainsSearch"] .select-none > .grid { display: grid; }
  .BlockchainsWheel { display: none; }
}
/* Desktop method timeline: the heading column is narrow, so scale the heading
   with the viewport instead of breaking "decisions" mid-word. */
@media (min-width: 75em) and (min-height: 36.01em) {
  [data-slice-id="sliceProcessTimeline"] h2 { font-size: clamp(3.6rem, 3.1vw, 5.8rem); overflow-wrap: normal; }
}
@media (max-height: 36em) {
  [data-hero="mobile"] { height: auto; }
  [data-hero="mobile"] > div:first-child { position: relative; min-height: 32rem; height: 100svh; }
  [data-hero="mobile"] [data-hero-stage] { display: none; }
  [data-hero="mobile"] [data-hero-title] { top: 56%; opacity: 1 !important; transform: translateY(-50%) !important; }
}

/* Article hero: the featured photo at full strength behind the title. A dark
   shade sits under the text only, so white type stays readable on any photo,
   in both light and dark themes. */
.rox-post-hero-photo { background-color: #0f0f0f !important; color: #fff !important; }
.rox-post-hero-image {
  position: absolute; inset: 0; z-index: -20;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.rox-post-hero-scrim {
  position: absolute; inset: 0; z-index: -10; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.45) 0, rgb(0 0 0 / 0) 16rem),
    linear-gradient(0deg, rgb(0 0 0 / 0.82) 0, rgb(0 0 0 / 0.55) 40%, rgb(0 0 0 / 0.08) 75%);
}
.rox-post-hero-photo h1,
.rox-post-hero-photo .rox-post-hero-description,
.rox-post-hero-photo .rox-post-hero-meta,
.rox-post-hero-photo .rox-post-hero-meta * { color: #fff !important; }
.rox-post-hero-photo .rox-post-hero-description { color: rgb(255 255 255 / 0.9) !important; }
.rox-post-hero-photo .rox-post-hero-meta { border-color: rgb(255 255 255 / 0.3) !important; }
.rox-post-hero-photo h1, .rox-post-hero-photo .rox-post-hero-description { text-shadow: 0 0.1rem 1.6rem rgb(0 0 0 / 0.3); }
.rox-post-hero-photo > .mx-auto > div > div:first-child > div:first-child > :not(a) { color: #fff !important; }

/* About, Careers, Insights and Contact: the title block takes 70% of the
   screen and its content is always centred vertically inside it. */
.rox-page-hero.rox-page-hero {
  min-height: 70svh;
  /* The fixed menu bar covers the top of the block: the extra top padding
     centres the title in the part of the block that is actually visible. */
  padding-top: calc(4rem + var(--rox-hero-menu-overlap, 2.4rem)); padding-bottom: 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.rox-page-hero.rox-page-hero > [aria-hidden="true"]:first-child { position: absolute; }
.rox-page-hero.rox-page-hero .md:hidden:empty, .rox-page-hero.rox-page-hero [class*="md:hidden"] { margin-top: 0; }
.rox-page-hero.rox-page-hero > * { width: 100%; position: relative; top: auto; }
/* Keep the smallest labels at a readable 12px after the large-screen scale. */
@media (min-width: 75em) {
  .text-\[1\.1rem\], .text-\[1\.2rem\], .text-\[1\.3rem\] { font-size: max(12px, 1.3rem); }
}
@media (min-width: 48em) { .rox-page-hero { --rox-hero-menu-overlap: 4.4rem; } }

/* Insights archive (/posts): the same full-photo card as everywhere else. */
.insight-archive-card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 44rem; border: 0 !important; background-color: #0f0f0f !important;
}
.insight-archive-card > div:first-child {
  position: absolute !important; inset: 0; z-index: -2;
  aspect-ratio: auto !important; height: 100%;
}
.insight-archive-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.35) 0, rgb(0 0 0 / 0) 9rem),
    linear-gradient(0deg, rgb(0 0 0 / 0.85) 0, rgb(0 0 0 / 0.6) 35%, rgb(0 0 0 / 0) 62%);
}
.insight-archive-card > div:last-child { min-height: 0 !important; position: relative; }
.insight-archive-card, .insight-archive-card * { color: #fff !important; }
.insight-archive-card h3, .insight-archive-card p { text-shadow: 0 0.1rem 1.2rem rgb(0 0 0 / 0.25); }
.insight-archive-card p { color: rgb(255 255 255 / 0.88) !important; }
/* The whole card opens the article, not only the title. */
.insight-archive-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
@media (min-width: 64em) { .insight-archive-card { min-height: 50rem; } }

/* Insight visuals: charts of figures quoted in the article and step diagrams.
   One teal series (3:1+ against the page in both themes), value labels on every
   bar for these short series, and a data table for screen readers and print. */
.rox-post-body { --rox-viz-ink: #101820; --rox-viz-muted: #4b5a61; --rox-viz-line: #d9e2e5; --rox-viz-card: #ffffff; --rox-viz-bar: #00858a; --rox-viz-track: #e8eef0; }
html[data-theme="dark"] .rox-post-body { --rox-viz-ink: #f2f6f7; --rox-viz-muted: #a9b8bd; --rox-viz-line: #34444a; --rox-viz-card: #1b2a2d; --rox-viz-bar: #2fb9bd; --rox-viz-track: #26363a; }
.rox-post-body .rox-chart, .rox-post-body .rox-steps {
  margin: 4rem 0; padding: clamp(2rem, 3vw, 3.2rem);
  border: 1px solid var(--rox-viz-line); border-radius: 2.4rem; background: var(--rox-viz-card);
  color: var(--rox-viz-ink);
}
.rox-post-body .rox-chart-title, .rox-post-body .rox-steps-title {
  margin: 0 0 2.4rem; font-size: 1.9rem; font-weight: 600; line-height: 1.3; color: var(--rox-viz-ink);
}
/* Columns: a time series read left to right; each value sits on its bar. */
.rox-chart--columns { --rox-col-track: 20rem; }
.rox-chart--columns .rox-chart-plot { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.8rem; padding-top: 2.8rem; }
.rox-chart--columns .rox-chart-item { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.rox-chart--columns .rox-chart-track { order: 1; height: var(--rox-col-track); width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--rox-viz-line); }
.rox-chart--columns .rox-chart-bar { display: block; width: min(100%, 4.8rem); height: var(--size); min-height: 0.4rem; border-radius: 0.4rem 0.4rem 0 0; background: var(--rox-viz-bar); }
.rox-chart--columns .rox-chart-label { order: 2; height: 3.2rem; padding-top: 0.8rem; font-size: 1.3rem; color: var(--rox-viz-muted); white-space: nowrap; }
.rox-chart--columns .rox-chart-value { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(3.2rem + var(--rox-col-track) * var(--frac) + 0.6rem); font-size: 1.3rem; font-weight: 600; color: var(--rox-viz-ink); white-space: nowrap; }
/* Bars: named categories, longest first. */
.rox-chart--bars .rox-chart-plot { display: grid; gap: 1.2rem; }
.rox-chart--bars .rox-chart-item { display: grid; grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; }
.rox-chart--bars .rox-chart-label { font-size: 1.5rem; font-weight: 500; color: var(--rox-viz-ink); }
.rox-chart--bars .rox-chart-track { height: 2.4rem; border-radius: 0.4rem; background: var(--rox-viz-track); overflow: hidden; }
.rox-chart--bars .rox-chart-bar { display: block; width: var(--size); min-width: 0.4rem; height: 100%; border-radius: 0 0.4rem 0.4rem 0; background: var(--rox-viz-bar); }
.rox-chart--bars .rox-chart-value { min-width: 5rem; text-align: right; font-size: 1.5rem; font-weight: 600; color: var(--rox-viz-ink); }
.rox-chart-item:hover .rox-chart-bar { filter: brightness(1.12); }
.rox-post-body .rox-chart-caption { margin: 2.4rem 0 0; font-size: 1.5rem; line-height: 1.55; color: var(--rox-viz-muted); }
.rox-post-body .rox-chart-source { margin: 0.8rem 0 0; font-size: 1.3rem; color: var(--rox-viz-muted); }
.rox-post-body .rox-chart-table { margin-top: 1.6rem; font-size: 1.4rem; color: var(--rox-viz-muted); }
.rox-post-body .rox-chart-table summary { cursor: pointer; font-weight: 600; min-height: 4.4rem; display: inline-flex; align-items: center; }
.rox-post-body .rox-chart-table table { margin: 0.8rem 0 0; width: 100%; font-size: 1.4rem; }
.rox-post-body .rox-chart-table th, .rox-post-body .rox-chart-table td { padding: 0.6rem 0.8rem; color: var(--rox-viz-ink); border-bottom: 1px solid var(--rox-viz-line); text-align: left; }
.rox-post-body .rox-chart-table td { text-align: right; }
@media (max-width: 47.99em) {
  .rox-chart--columns { --rox-col-track: 16rem; }
  .rox-chart--columns .rox-chart-plot { gap: 0.4rem; }
  .rox-chart--columns .rox-chart-value { font-size: 1.1rem; }
  .rox-chart--columns .rox-chart-label { font-size: 1.1rem; }
  .rox-chart--bars .rox-chart-item { grid-template-columns: minmax(0, 1fr) auto; }
  .rox-chart--bars .rox-chart-track { grid-column: 1 / -1; grid-row: 2; }
}
/* Steps: numbered stages that read left to right, stacked on phones. */
.rox-post-body .rox-steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); counter-reset: none; }
.rox-post-body .rox-step { position: relative; margin: 0; padding: 2rem; border-radius: 1.6rem; background: var(--rox-viz-track); display: flex; flex-direction: column; gap: 0.8rem; }
.rox-post-body .rox-step::marker { content: none; }
.rox-post-body .rox-step-number { display: inline-flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--rox-viz-bar); color: #fff; font-size: 1.5rem; font-weight: 700; }
html[data-theme="dark"] .rox-post-body .rox-step-number { color: #041112; }
.rox-post-body .rox-step-title { font-size: 1.7rem; line-height: 1.25; color: var(--rox-viz-ink); }
.rox-post-body .rox-step-text { font-size: 1.45rem; line-height: 1.5; color: var(--rox-viz-muted); }
.rox-post-body .rox-steps, .rox-post-body .rox-chart { overflow-wrap: normal; }
.rox-post-body .rox-step-title { overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* Four steps read best as a 2 x 2 grid in the article column. */
@media (min-width: 48em) { .rox-post-body .rox-steps--tiles .rox-steps-list:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Insight visual styles: one shape per idea -------------------------- */
.rox-post-body .rox-steps-list { position: relative; }
.rox-post-body .rox-steps .rox-step-text:empty { display: none; }

/* Stairs: each stage a step higher (adoption grows step by step). */
@media (min-width: 48em) {
  .rox-steps--stairs .rox-steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .rox-steps--stairs .rox-step { justify-content: flex-start; }
  .rox-steps--stairs .rox-step:nth-child(1) { min-height: 16rem; }
  .rox-steps--stairs .rox-step:nth-child(2) { min-height: 21rem; }
  .rox-steps--stairs .rox-step:nth-child(3) { min-height: 26rem; }
  .rox-steps--stairs .rox-step:nth-child(4) { min-height: 31rem; }
}
.rox-steps--stairs .rox-step:nth-child(2) { background: color-mix(in srgb, var(--rox-viz-bar) 14%, var(--rox-viz-track)); }
.rox-steps--stairs .rox-step:nth-child(3) { background: color-mix(in srgb, var(--rox-viz-bar) 28%, var(--rox-viz-track)); }
.rox-steps--stairs .rox-step:last-child::after { content: "↗"; position: absolute; top: 1.6rem; right: 2rem; font-size: 2.4rem; line-height: 1; color: var(--rox-viz-bar); }

/* Bridge: stages joined by arrows under an arch that spans them. */
.rox-steps--bridge .rox-steps-list { grid-template-columns: 1fr; gap: 2.8rem; }
.rox-steps--bridge .rox-step { background: transparent; border: 2px solid var(--rox-viz-line); }
.rox-steps--bridge .rox-step:last-child { border-color: var(--rox-viz-bar); background: color-mix(in srgb, var(--rox-viz-bar) 12%, transparent); }
.rox-steps--bridge .rox-step:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -2.6rem; transform: translateX(-50%); font-size: 2rem; line-height: 1; color: var(--rox-viz-bar); }
@media (min-width: 48em) {
  .rox-steps--bridge .rox-steps-list { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 3.2rem; padding-top: 6.4rem; }
  .rox-steps--bridge .rox-steps-list::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0.8rem; height: 9rem; border: 0.4rem solid var(--rox-viz-bar); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: 0.85; pointer-events: none; }
  .rox-steps--bridge .rox-step:not(:last-child)::after { content: "→"; left: auto; right: -2.6rem; top: 50%; bottom: auto; transform: translateY(-50%); }
}

/* Funnel: wide at the top (raw data), narrow at the bottom (a decision). */
.rox-steps--funnel .rox-steps-list { grid-template-columns: 1fr; gap: 0.6rem; justify-items: center; }
.rox-steps--funnel .rox-step { width: 100%; align-items: center; text-align: center; border-radius: 1.2rem; padding: 1.6rem 2rem; gap: 0.4rem; }
.rox-steps--funnel .rox-step:nth-child(2) { width: 88%; background: color-mix(in srgb, var(--rox-viz-bar) 25%, var(--rox-viz-track)); }
.rox-steps--funnel .rox-step:nth-child(3) { width: 76%; background: color-mix(in srgb, var(--rox-viz-bar) 55%, var(--rox-viz-track)); }
.rox-steps--funnel .rox-step:nth-child(4) { width: 64%; background: var(--rox-viz-bar); }
.rox-steps--funnel .rox-step:nth-child(5) { width: 52%; background: var(--rox-viz-bar); }
.rox-steps--funnel .rox-step:nth-child(n+3) .rox-step-title,
.rox-steps--funnel .rox-step:nth-child(n+3) .rox-step-text { color: #fff; }
html[data-theme="dark"] .rox-steps--funnel .rox-step:nth-child(n+3) .rox-step-title,
html[data-theme="dark"] .rox-steps--funnel .rox-step:nth-child(n+3) .rox-step-text { color: #041112; }
@media (max-width: 47.99em) { .rox-steps--funnel .rox-step { width: 100% !important; } }

/* Cycle: four stages that loop back to the start, clockwise. */
.rox-steps--cycle .rox-steps-list { grid-template-columns: 1fr; gap: 2.8rem; }
.rox-steps--cycle .rox-step:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -2.6rem; transform: translateX(-50%); font-size: 2rem; line-height: 1; color: var(--rox-viz-bar); }
.rox-steps--cycle .rox-step:last-child::after { content: "↻ and again"; display: block; margin-top: 0.4rem; font-size: 1.3rem; font-weight: 600; color: var(--rox-viz-bar); }
@media (min-width: 48em) {
  .rox-steps--cycle .rox-steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a b" "d c"; gap: 4.8rem; }
  .rox-steps--cycle .rox-step:nth-child(1) { grid-area: a; }
  .rox-steps--cycle .rox-step:nth-child(2) { grid-area: b; }
  .rox-steps--cycle .rox-step:nth-child(3) { grid-area: c; }
  .rox-steps--cycle .rox-step:nth-child(4) { grid-area: d; }
  .rox-steps--cycle .rox-step::after { position: absolute; font-size: 2.4rem; line-height: 1; color: var(--rox-viz-bar); margin: 0; }
  .rox-steps--cycle .rox-step:nth-child(1)::after { content: "→"; left: auto; right: -3.6rem; top: 50%; bottom: auto; transform: translateY(-50%); }
  .rox-steps--cycle .rox-step:nth-child(2)::after { content: "↓"; left: 50%; bottom: -3.8rem; transform: translateX(-50%); }
  .rox-steps--cycle .rox-step:nth-child(3)::after { content: "←"; left: -3.6rem; right: auto; top: 50%; bottom: auto; transform: translateY(-50%); }
  .rox-steps--cycle .rox-step:nth-child(4)::after { content: "↑"; left: 50%; top: -3.8rem; bottom: auto; transform: translateX(-50%); font-weight: 400; display: inline; }
  .rox-steps--cycle .rox-steps-list::before { content: "↻"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 5.6rem; height: 5.6rem; border-radius: 50%; background: var(--rox-viz-bar); color: #fff; font-size: 2.8rem; z-index: 1; }
  html[data-theme="dark"] .rox-steps--cycle .rox-steps-list::before { color: #041112; }
}

/* Hub: one centre, everything connected to it. */
.rox-hub { display: grid; gap: 1.6rem; }
.rox-post-body .rox-hub-center { margin: 0 auto; display: grid; place-items: center; width: 14rem; height: 14rem; padding: 1.6rem; border-radius: 50%; background: var(--rox-viz-bar); color: #fff; text-align: center; font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
html[data-theme="dark"] .rox-post-body .rox-hub-center { color: #041112; }
.rox-steps--hub .rox-steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rox-steps--hub .rox-step { padding: 1.2rem 1.6rem; border-radius: 99rem; flex-direction: row; justify-content: center; align-items: center; text-align: center; }
.rox-steps--hub .rox-step-title { font-size: 1.6rem; }
@media (min-width: 48em) {
  .rox-hub { grid-template-columns: minmax(0, 1fr) 16rem minmax(0, 1fr); align-items: center; gap: 0 3.2rem; }
  .rox-post-body .rox-hub-center { grid-column: 2; grid-row: 1; width: 16rem; height: 16rem; }
  .rox-steps--hub .rox-steps-list { display: contents; }
  .rox-steps--hub .rox-step { margin: 0.6rem 0; }
  .rox-steps--hub .rox-step:nth-child(-n+3) { grid-column: 1; }
  .rox-steps--hub .rox-step:nth-child(n+4) { grid-column: 3; }
  .rox-steps--hub .rox-step:nth-child(1), .rox-steps--hub .rox-step:nth-child(4) { grid-row: 1; align-self: start; }
  .rox-steps--hub .rox-step:nth-child(2), .rox-steps--hub .rox-step:nth-child(5) { grid-row: 1; align-self: center; }
  .rox-steps--hub .rox-step:nth-child(3), .rox-steps--hub .rox-step:nth-child(6) { grid-row: 1; align-self: end; }
  .rox-steps--hub .rox-step::after { content: ""; position: absolute; top: 50%; width: 3.2rem; border-top: 2px dashed var(--rox-viz-bar); }
  .rox-steps--hub .rox-step:nth-child(-n+3)::after { right: -3.2rem; }
  .rox-steps--hub .rox-step:nth-child(n+4)::after { left: -3.2rem; }
  .rox-hub { min-height: 20rem; }
}

/* Compare: the usual way next to the better way. */
.rox-post-body .rox-compare { margin: 4rem 0; padding: clamp(2rem, 3vw, 3.2rem); border: 1px solid var(--rox-viz-line); border-radius: 2.4rem; background: var(--rox-viz-card); color: var(--rox-viz-ink); }
.rox-compare-grid { display: grid; gap: 1.2rem; }
@media (min-width: 48em) { .rox-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rox-compare-col { padding: 2rem 2.4rem; border-radius: 1.6rem; background: var(--rox-viz-track); }
.rox-compare-col--after { background: var(--rox-viz-bar); }
.rox-post-body .rox-compare-heading { margin: 0 0 1.2rem; font-size: 1.7rem; font-weight: 700; color: var(--rox-viz-ink); }
.rox-post-body .rox-compare-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.rox-post-body .rox-compare-col li { margin: 0; padding-left: 2.8rem; position: relative; font-size: 1.5rem; line-height: 1.45; color: var(--rox-viz-muted); }
.rox-post-body .rox-compare-col li::before { content: "–"; position: absolute; left: 0.4rem; top: 0; font-weight: 700; color: var(--rox-viz-muted); }
.rox-post-body .rox-compare-col--after .rox-compare-heading,
.rox-post-body .rox-compare-col--after li,
.rox-post-body .rox-compare-col--after li::before { color: #fff; }
.rox-post-body .rox-compare-col--after li::before { content: "✓"; }
html[data-theme="dark"] .rox-post-body .rox-compare-col--after .rox-compare-heading,
html[data-theme="dark"] .rox-post-body .rox-compare-col--after li,
html[data-theme="dark"] .rox-post-body .rox-compare-col--after li::before { color: #041112; }
/* Shape layouts win over the generic tile grid. */
.rox-post-body .rox-steps--funnel .rox-steps-list { grid-template-columns: 1fr; }
.rox-post-body .rox-steps--bridge .rox-steps-list { grid-template-columns: 1fr; }
.rox-post-body .rox-steps--cycle .rox-steps-list { grid-template-columns: 1fr; }
@media (min-width: 48em) {
  .rox-post-body .rox-steps--bridge .rox-steps-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .rox-post-body .rox-steps--bridge .rox-steps-list::before { left: 11%; right: 11%; }
  .rox-post-body .rox-steps--cycle .rox-steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rox-post-body .rox-steps--stairs .rox-steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.rox-post-body .rox-steps--cycle .rox-step::after, .rox-post-body .rox-steps--bridge .rox-step::after { font-family: Arial, sans-serif; font-weight: 700; }
/* Funnel text contrast: the mid-teal layer keeps dark text in light mode and
   light text in dark mode; only the full-teal layer flips. */
.rox-post-body .rox-steps--funnel .rox-step:nth-child(3) .rox-step-title,
.rox-post-body .rox-steps--funnel .rox-step:nth-child(3) .rox-step-text { color: #101820; }
html[data-theme="dark"] .rox-post-body .rox-steps--funnel .rox-step:nth-child(3) .rox-step-title,
html[data-theme="dark"] .rox-post-body .rox-steps--funnel .rox-step:nth-child(3) .rox-step-text { color: #fff; }

/* Storyboard: the Data Story Session board from the ROX template. One goal, then
   per KPI its trends and the action that answers each trend. Row labels sit on the
   left on wide screens (the text column is then ~684px); narrower screens stack
   the KPIs and each cell carries its own small label. */
.rox-post-body .rox-board { margin: 4rem 0; padding: clamp(2rem, 3vw, 3.2rem); border: 1px solid var(--rox-viz-line); border-radius: 2.4rem; background: var(--rox-viz-card); color: var(--rox-viz-ink); --rox-board-goal: #111111; --rox-board-kpi: #a8dedf; --rox-board-trend: #cbc2ea; --rox-board-action: #bcd9c7; }
.rox-post-body .rox-board p { margin: 0; }
.rox-board-grid { display: grid; gap: 1rem; }
.rox-board-label { display: none; }
.rox-post-body .rox-board-cell { margin: 0; padding: 1.2rem 1.4rem; border-radius: 0.8rem; font-size: 1.45rem; line-height: 1.35; font-weight: 500; color: #101820; overflow-wrap: normal; hyphens: manual; }
.rox-board-tag { display: block; margin-bottom: 0.4rem; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.rox-post-body .rox-board-goal { padding: 1.6rem 2rem; border-radius: 1rem; background: var(--rox-board-goal); color: #fff; font-size: 1.9rem; font-weight: 600; line-height: 1.25; text-align: center; }
html[data-theme="dark"] .rox-post-body .rox-board-goal { background: #000; box-shadow: inset 0 0 0 1px var(--rox-viz-line); }
.rox-board-col { display: grid; grid-template-columns: repeat(var(--trends), minmax(0, 1fr)); gap: 0.8rem; padding: 0.8rem; border: 1px solid var(--rox-viz-line); border-radius: 1.2rem; }
.rox-board-kpi { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.2rem; background: var(--rox-board-kpi); }
.rox-board-kpi strong { font-size: 1.6rem; font-weight: 700; line-height: 1.25; }
.rox-board-kpi > span:not(.rox-board-tag) { font-size: 1.3rem; line-height: 1.35; }
.rox-board-trend { background: var(--rox-board-trend); }
.rox-board-action { background: var(--rox-board-action); }
@media (min-width: 75em) {
  .rox-post-body .rox-board { padding: 2.4rem; }
  .rox-board-grid { grid-template-columns: 8.4rem repeat(var(--kpis), minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto; column-gap: 0.8rem; row-gap: 0.6rem; }
  .rox-post-body .rox-board-label { display: flex; flex-direction: column; gap: 0.2rem; margin: 0; padding: 0.2rem 0 0.2rem 0.9rem; border-left: 0.4rem solid var(--rox-board-kpi); font-size: 1.15rem; line-height: 1.3; color: var(--rox-viz-muted); }
  .rox-board-label strong { font-size: 1.6rem; line-height: 1.2; color: var(--rox-viz-ink); }
  .rox-board-col { gap: 0.6rem; padding: 0.6rem; }
  .rox-post-body .rox-board-cell { padding: 0.9rem 1rem; font-size: 1.35rem; overflow-wrap: break-word; }
  .rox-board-kpi strong { font-size: 1.5rem; }
  .rox-board-kpi > span:not(.rox-board-tag) { font-size: 1.2rem; }
  .rox-post-body .rox-board-goal { font-size: 1.8rem; }
  .rox-board-label-number { font-size: 1.1rem; }
  .rox-board-label--1 { grid-column: 1; grid-row: 1; border-left-color: var(--rox-viz-ink) !important; }
  .rox-board-label--2 { grid-column: 1; grid-row: 2; }
  .rox-board-label--3 { grid-column: 1; grid-row: 3; border-left-color: var(--rox-board-trend) !important; }
  .rox-board-label--4 { grid-column: 1; grid-row: 4; border-left-color: var(--rox-board-action) !important; }
  .rox-post-body .rox-board-goal { grid-column: 2 / -1; grid-row: 1; display: flex; align-items: center; justify-content: center; }
  .rox-board-col { grid-row: 2 / 5; grid-template-rows: subgrid; row-gap: 0.8rem; }
  .rox-board-kpi { grid-row: 1; }
  .rox-board-trend { grid-row: 2; }
  .rox-board-action { grid-row: 3; }
  .rox-board-tag { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .rox-board-cell { position: relative; }
}

/* Insight body headings stay readable in dark mode. */
html[data-theme="dark"] .rox-post-body h2,
html[data-theme="dark"] .rox-post-body h3 { color: #fff; }
