/* Typography and spacing shared by the modern page templates. */
.dex-v6 .section-head h2,
.dex-v6 .approach h2,
.dex-v6 .contact-layout h2,
.dex-v6 .final-inner h2 {
  font-size: clamp(1.9rem, 3.1vw, 3.25rem);
  text-wrap: balance;
}
.dex-v6 .hero.hero-service h1 {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(2.125rem, 4.2vw, 4.25rem);
  text-wrap: balance;
}
.dex-v6 .section-head > p,
.dex-v6 .approach .rich-copy,
.dex-v6 .category-intro { font-size: 1rem; }
.dex-v6 .final-inner h2 { max-width: 25ch; }
.dex-v6 .final-inner p { max-width: 58ch; font-size: 1rem; }
.dex-v6 .final-inner .button { margin-top: 1rem; }
.dex-v6 .contact-layout .contact-email + span { display: block; margin-top: .6rem; font-size: .875rem; }
.dex-v6 .dex-contact-form label { font-size: .875rem; }

.dex-revenue-counter {
  margin-bottom: 1.125rem;
  padding: .875rem clamp(.75rem, 2vw, 1.4rem);
}
.dex-revenue-counter > h3 { font-size: .95rem; }
.dex-counter-visual { height: auto; min-height: 4.375rem; }
.dex-counter-amount { font-size: clamp(1.15rem, 3vw, 2rem); }
.dex-v6 .signal-panel { min-height: 0; }
.dex-v6 .signal-panel > h3 { margin: 0 0 .4rem; }

.workflow-panel,
.decision-path {
  min-width: 0;
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  background: #f0f4fb;
  border-top: 2px solid var(--blue);
}
.workflow-scene { margin: 0; }
.workflow-scene figcaption,
.decision-path figcaption {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 550;
  margin-bottom: 1.25rem;
}
.workflow-evidence { margin: 0; }
.workflow-evidence > div {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 2fr;
  gap: .75rem;
  padding: .85rem 0;
  border-top: 1px solid #cfdaed;
}
.workflow-evidence dt { font-weight: 600; }
.workflow-evidence dd { margin: 0; color: var(--muted); }
.workflow-outcome {
  margin-top: 1rem;
  border-left: 2px solid var(--blue);
  padding-left: .9rem;
}
.workflow-outcome strong, .workflow-ranked span,
.workflow-timeline span, .decision-path li span { display: block; }
.workflow-ranked { list-style: decimal-leading-zero; padding-left: 1.75rem; }
.workflow-ranked li { border-bottom: 1px solid #cfdaed; padding: .7rem 0 .7rem .5rem; }
.workflow-ranked li::marker { color: var(--blue); font-weight: 600; }
.workflow-ranked span, .workflow-timeline span, .decision-path li span { color: var(--muted); font-size: .875rem; }
.workflow-timeline, .decision-path ol {
  list-style: none;
  border-left: 1px solid #a7bce2;
  margin: 0;
  padding-left: 1.25rem;
}
.workflow-timeline li, .decision-path li { position: relative; padding-bottom: 1rem; }
.workflow-timeline li:last-child, .decision-path li:last-child { padding-bottom: 0; }
.workflow-timeline li::before, .decision-path li::before {
  content: '';
  position: absolute;
  left: calc(-1.25rem - 4px);
  top: .55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.workflow-panel strong, .decision-path strong { font-weight: 550; }
.network-tabs button b { font-size: 1rem; }
.network-tabs button p { font-size: .875rem; }
.expertise-visual .decision-path { width: 100%; }

.dex-v6 .method-step { opacity: 1; }
.dex-v6 .method-step .phase, .dex-v6 .method-output,
.dex-v6 .roadmap-inner .small, .dex-v6 .decision-box small { font-size: .875rem; }
.method-step .tags, .method-cards .tags { margin-top: 1rem; }
.method-scene-title { font-size: .95rem; margin: 1.2rem 0 .45rem; }
.method-scene-list { margin: 0 0 1rem; padding-left: 1.35rem; color: var(--muted); }
.method-scene-list li { padding: .35rem .2rem; }
.method-scene-0 { list-style: disc; }
.method-scene-1 { list-style: decimal-leading-zero; }
.method-scene-2 { list-style: '✓  '; }
.method-scene-3 { list-style: '→  '; }

.dex-v6 .category-hero { text-align: left; padding-bottom: clamp(2rem, 5vw, 4rem); }
.dex-v6 .category-hero h1 { margin-inline: 0; font-size: clamp(2.125rem, 4.5vw, 4.25rem); }
.category-intro { margin-top: 1.35rem; max-width: 72ch; }
.category-navigation { padding-block: .75rem; border-bottom: 1px solid var(--line); }
.category-concept-list { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0 2rem; }
.category-concept-list details { border-block-start: 1px solid var(--line); }
.category-concept-list summary { padding-block: 1rem; font-size: 1rem; cursor: pointer; }
.category-concept-list .rich-copy { padding: 0 1.25rem 1rem; font-size: .975rem; }
.category-concept-number { margin-inline: .45rem .7rem; color: var(--blue); font-size: .875rem; }
.dex-v6 .resource-filters a { font-size: .875rem; }

.dex-v6 .article-hero .article-heading h1 { font-size: clamp(2rem, 3.65vw, 3.75rem); }
.dex-v6 .article-hero-with-cover {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
}
.dex-v6 .article-hero .article-cover { width: 100%; max-width: none; margin: 0; }
.dex-v6 .article-byline { flex-wrap: wrap; gap: .7rem 1rem; }
.dex-v6 .article-byline a { font-size: 1rem; }
.dex-v6 .article-byline > div > span,
.dex-v6 .article-byline .read-time,
.dex-v6 .toc small { font: .875rem/1.5 Geist, Arial, sans-serif; color: var(--muted); }
.dex-v6 .toc a { font-size: .975rem; line-height: 1.55; }
.dex-v6 .article-heading > p { font-size: clamp(1rem, 1.45vw, 1.2rem); }

@media (max-width: 760px) {
  .dex-v6 .article-hero-with-cover,
  .category-concept-list { grid-template-columns: minmax(0, 1fr); }
  .workflow-evidence > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .dex-v6 .article-hero .article-cover { max-width: 32rem; justify-self: start; }
  .dex-v6 .article-byline .article-dates { margin-left: 0; }
}

.dex-v6 .article-body h2 { font-size: clamp(1.75rem, 2.8vw, 2.75rem); }
.method-inline-example { display: none; }
.category-concept-icon { display: inline-block; width: 1.125rem; height: 1.125rem; margin-right: .5rem; vertical-align: middle; object-fit: contain; }
.stack-live.paused .stack-marquee { overflow-x: auto; mask-image: none; }
.stack-live.paused .stack-group[aria-hidden="true"] { display: none; }
@media (max-width: 700px) {
  .dex-v6 .method-step { min-height: 0; }
  .method-layout .method-sticky { display: none; }
  .method-inline-example { display: block; border-left: 1px solid #a7bce2; padding-left: 1rem; }
}
