/* ScopeX V2 public-content migration. All selectors are scoped to the direct renderer. */
body.sx-sitewide-v2 {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--sx-surface);
  color: var(--sx-ink);
  overflow-x: clip;
}

.sx-sitewide,
.sx-sitewide *,
.sx-sw-footer,
.sx-sw-footer * {
  box-sizing: border-box;
}

.sx-sitewide {
  background: var(--sx-surface);
  color: var(--sx-ink);
}

.sx-sitewide h1,
.sx-sitewide h2,
.sx-sitewide h3,
.sx-sitewide h4,
.sx-sitewide p,
.sx-sitewide ol,
.sx-sitewide ul,
.sx-sitewide figure,
.sx-sitewide dl,
.sx-sitewide dd,
.sx-sitewide blockquote {
  margin-top: 0;
}

.sx-sitewide h1,
.sx-sitewide h2,
.sx-sitewide h3,
.sx-sitewide h4 {
  color: var(--sx-ink) !important;
  font-family: var(--sx-font-display);
  letter-spacing: 0;
}

.sx-sitewide h1 {
  max-width: 17ch;
  margin-bottom: 1.5rem;
  font-size: 2.7rem;
  line-height: 1.03;
  font-weight: 700;
}

.sx-sitewide h2 {
  margin-bottom: 1.25rem;
  font-size: 2rem;
  line-height: 1.08;
  font-weight: 700;
}

.sx-sitewide h3 {
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
}

.sx-sitewide p,
.sx-sitewide li,
.sx-sitewide td,
.sx-sitewide th {
  color: var(--sx-g-600);
  font-family: var(--sx-font-body);
  font-size: 1rem;
  line-height: 1.68;
  letter-spacing: 0;
}

.sx-sitewide a,
.sx-sw-footer a {
  color: inherit;
}

.sx-sitewide a:focus-visible,
.sx-sw-footer a:focus-visible {
  outline: 3px solid var(--sx-brand);
  outline-offset: 3px;
}

.sx-sw-kicker {
  margin-bottom: 0.85rem;
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-kicker--light {
  color: #8cc7ff;
}

.sx-sw-lead {
  max-width: 45rem;
  margin-bottom: 1.75rem;
  color: var(--sx-g-600);
  font-family: var(--sx-font-body);
  font-size: 1.12rem;
  line-height: 1.62;
}

.sx-sw-lead--light {
  color: rgba(250, 250, 247, 0.8);
}

.sx-sw-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.sx-sw-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--sx-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--sx-d-fast) var(--sx-ease), border-color var(--sx-d-fast) var(--sx-ease), color var(--sx-d-fast) var(--sx-ease);
}

.sx-sw-button--primary {
  background: var(--sx-brand);
  color: #fff;
}

.sx-sw-button--primary:hover,
.sx-sw-button--primary:focus-visible {
  background: var(--sx-brand-hover);
  color: #fff;
}

.sx-sw-button--light {
  border-color: rgba(250, 250, 247, 0.36);
  background: #fff;
  color: var(--sx-ink);
}

.sx-sw-button--light:hover,
.sx-sw-button--light:focus-visible {
  border-color: #fff;
  background: #dceeff;
  color: var(--sx-ink);
}

.sx-sw-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sx-brand);
  font-family: var(--sx-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.sx-sw-text-link:hover,
.sx-sw-text-link:focus-visible {
  color: var(--sx-brand-hover);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* Service detail: pale operating brief with a dark measurement console. */
.sx-sw-service-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--sx-g-200);
  background: #f1f5f7;
}

.sx-sw-service-hero__grid {
  display: grid;
  gap: 2.5rem;
}

.sx-sw-service-console {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.5rem;
  border: 1px solid #27303b;
  border-radius: 8px;
  background: var(--sx-surface-dark);
  color: #fff;
}

.sx-sw-service-console > p,
.sx-sw-service-console > span,
.sx-sw-service-console small {
  margin: 0;
  color: rgba(250, 250, 247, 0.62);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-service-console > strong {
  color: #fff;
  font-family: var(--sx-font-display);
  font-size: 1.6rem;
  line-height: 1.12;
}

.sx-sw-service-console > span {
  margin-bottom: 0.75rem;
  color: rgba(250, 250, 247, 0.76);
  font-family: var(--sx-font-body);
  font-size: 0.95rem;
  text-transform: none;
}

.sx-sw-service-console dl {
  display: grid;
  margin: 0;
  border-top: 1px solid rgba(250, 250, 247, 0.14);
}

.sx-sw-service-console dl > div {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(250, 250, 247, 0.12);
}

.sx-sw-service-console dt {
  color: #8cc7ff;
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
}

.sx-sw-service-console dd {
  margin: 0;
  color: #fff;
  font-family: var(--sx-font-body);
  font-size: 0.92rem;
  line-height: 1.4;
}

.sx-sw-service-console small {
  color: rgba(250, 250, 247, 0.54);
  text-transform: none;
}

.sx-sw-section-nav {
  border-bottom: 1px solid var(--sx-g-200);
  background: var(--sx-surface);
}

.sx-sw-section-nav .sx-wrap {
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.sx-sw-section-nav a {
  flex: 0 0 auto;
  color: var(--sx-g-600);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.sx-sw-section-nav a:hover,
.sx-sw-section-nav a:focus-visible {
  color: var(--sx-brand);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.sx-sw-document-section,
.sx-sw-guide-document,
.sx-sw-company-document,
.sx-sw-community-body,
.sx-sw-legal-document,
.sx-sw-hub-document,
.sx-sw-case-document {
  padding: 3.5rem 0;
}

.sx-sw-document-layout {
  display: grid;
  gap: 2rem;
}

.sx-sw-margin-note {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-content: start;
  padding-top: 0.25rem;
}

.sx-sw-margin-note > span {
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.74rem;
}

.sx-sw-margin-note p {
  margin: 0;
  color: var(--sx-g-600);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sx-sw-endcap {
  padding: 3.5rem 0;
  border-top: 1px solid #28313e;
  background: var(--sx-surface-dark);
}

.sx-sw-endcap h2 {
  max-width: 22ch;
  margin-bottom: 0;
  color: #fff !important;
}

.sx-sw-endcap__inner {
  display: grid;
  gap: 1.75rem;
  align-items: end;
}

/* Industry detail: dark field note and white research document. */
.sx-sw-industry-hero {
  padding: 4.5rem 0;
  border-bottom: 1px solid #27303b;
  background: var(--sx-surface-dark);
}

.sx-sw-industry-hero h1 {
  color: #fff !important;
}

.sx-sw-industry-hero__grid {
  display: grid;
  gap: 2.5rem;
}

.sx-sw-field-note {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  border-top: 1px solid rgba(250, 250, 247, 0.38);
  border-bottom: 1px solid rgba(250, 250, 247, 0.18);
  padding: 1.2rem 0;
}

.sx-sw-field-note p,
.sx-sw-field-note span {
  margin: 0;
  color: rgba(250, 250, 247, 0.64);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-field-note strong {
  color: #fff;
  font-family: var(--sx-font-display);
  font-size: 1.55rem;
  line-height: 1.14;
}

.sx-sw-field-note span {
  color: rgba(250, 250, 247, 0.75);
  font-family: var(--sx-font-body);
  font-size: 0.95rem;
  text-transform: none;
}

.sx-sw-field-note ol {
  display: grid;
  gap: 0;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(250, 250, 247, 0.14);
}

.sx-sw-field-note li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(250, 250, 247, 0.14);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.sx-sw-field-note b {
  color: #8cc7ff;
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.sx-sw-field-section {
  padding: 3.5rem 0 4rem;
  background: #edf3f7;
}

.sx-sw-field-layout {
  display: grid;
  gap: 2.5rem;
}

.sx-sw-field-heading p:last-child {
  max-width: 34rem;
  margin-bottom: 0;
}

.sx-sw-industry-cta {
  border-top: 1px solid var(--sx-g-200);
  border-bottom: 1px solid var(--sx-g-200);
  background: var(--sx-surface);
}

.sx-sw-industry-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.sx-sw-industry-cta p,
.sx-sw-industry-cta a {
  margin: 0;
  color: var(--sx-g-600);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-industry-cta a {
  color: var(--sx-brand);
  font-weight: 700;
  text-decoration: none;
}

/* Case study: evidence first, sales copy second. */
.sx-sw-case-hero {
  padding: 4.5rem 0;
  background: #0b1017;
}

.sx-sw-case-hero h1 {
  color: #fff !important;
}

.sx-sw-case-hero__grid {
  display: grid;
  gap: 2.5rem;
}

.sx-sw-case-stamp {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 12rem;
  padding: 1.25rem;
  border: 1px solid rgba(140, 199, 255, 0.44);
  border-radius: 8px;
  background: #101b2b;
}

.sx-sw-case-stamp span,
.sx-sw-case-stamp p {
  margin: 0;
  color: #8cc7ff;
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-case-stamp strong {
  color: #fff;
  font-family: var(--sx-font-display);
  font-size: 1.65rem;
  line-height: 1.1;
}

.sx-sw-case-stamp p {
  color: rgba(250, 250, 247, 0.7);
  font-family: var(--sx-font-body);
  font-size: 0.92rem;
  text-transform: none;
}

.sx-sw-case-image {
  width: min(100% - 2rem, 1240px);
  margin: 2rem auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e9edf0;
}

.sx-sw-case-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 40rem;
  object-fit: cover;
}

.sx-sw-case-document__grid {
  display: grid;
  gap: 2.5rem;
}

.sx-sw-case-document aside {
  display: grid;
  align-content: start;
  gap: 1.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sx-g-200);
}

.sx-sw-case-document aside > p,
.sx-sw-case-document dt {
  margin: 0;
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-case-document dl {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.sx-sw-case-document dl > div {
  display: grid;
  gap: 0.15rem;
}

.sx-sw-case-document dd {
  margin: 0;
  color: var(--sx-ink);
  font-family: var(--sx-font-body);
  font-size: 0.92rem;
  line-height: 1.45;
}

.sx-sw-case-document dd a {
  color: var(--sx-brand);
}

/* Editorial: a quiet long-form reading surface. */
.sx-sw-editorial__header {
  padding: 3.5rem 0 2.8rem;
  border-bottom: 1px solid var(--sx-g-200);
}

.sx-sw-editorial__header-grid {
  display: grid;
  gap: 1.75rem;
}

.sx-sw-editorial__meta {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.sx-sw-editorial__meta p,
.sx-sw-editorial__meta span {
  margin: 0;
  color: var(--sx-g-600);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-editorial__meta p {
  color: var(--sx-brand);
}

.sx-sw-editorial__image {
  margin-top: 2rem;
  margin-bottom: 0;
}

.sx-sw-editorial__image img {
  display: block;
  width: 100%;
  max-height: 34rem;
  border-radius: 8px;
  object-fit: cover;
}

.sx-sw-editorial__layout {
  display: grid;
  gap: 2.25rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.sx-sw-editorial__rail {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 0.65rem 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sx-g-200);
}

.sx-sw-editorial__rail p {
  width: 100%;
  margin: 0;
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-editorial__rail a {
  color: var(--sx-g-600);
  font-family: var(--sx-font-body);
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
}

.sx-sw-editorial__rail a:hover,
.sx-sw-editorial__rail a:focus-visible {
  color: var(--sx-brand);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.sx-sw-editorial__next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sx-g-200);
}

.sx-sw-editorial__next p,
.sx-sw-editorial__next a {
  margin: 0;
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.sx-sw-editorial__next a {
  color: var(--sx-brand);
  font-family: var(--sx-font-body);
  font-size: 0.95rem;
  text-decoration: none;
}

/* Hubs: browse-first, less like a service landing page. */
.sx-sw-hub-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--sx-g-200);
  background: #edf3f7;
}

.sx-sw-hub-hero__grid {
  display: grid;
  gap: 1.75rem;
}

.sx-sw-hub-hero__aside {
  max-width: 22rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sx-g-400);
  font-family: var(--sx-font-display) !important;
  font-size: 1.2rem !important;
  line-height: 1.3 !important;
}

.sx-sw-library {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--sx-g-200);
}

.sx-sw-library__top {
  margin-bottom: 1.75rem;
}

.sx-sw-library__top h2 {
  margin-bottom: 0;
}

.sx-sw-library__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--sx-g-200);
}

.sx-sw-library__grid a {
  display: grid;
  gap: 0.65rem;
  min-height: 10.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--sx-g-200);
  text-decoration: none;
}

.sx-sw-library__grid a:hover strong,
.sx-sw-library__grid a:focus-visible strong {
  color: var(--sx-brand);
}

.sx-sw-library__grid span,
.sx-sw-library__grid small {
  color: var(--sx-g-600);
  font-family: var(--sx-font-mono);
  font-size: 0.7rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-library__grid strong {
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.15rem;
  line-height: 1.24;
}

.sx-sw-library__grid i {
  color: var(--sx-brand);
  font-style: normal;
}

/* Company: point of view, not another sales-page hero. */
.sx-sw-company-hero {
  padding: 4.5rem 0 3.25rem;
  background: var(--sx-surface);
}

.sx-sw-company-hero__grid {
  display: grid;
  gap: 2rem;
  border-bottom: 1px solid var(--sx-g-200);
  padding-bottom: 3.25rem;
}

.sx-sw-company-document {
  background: #f1f5f7;
}

.sx-sw-company-document__grid {
  display: grid;
  gap: 2rem;
}

.sx-sw-company-document aside {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
  border-left: 3px solid var(--sx-brand);
  background: var(--sx-surface);
}

.sx-sw-company-document aside p {
  margin: 0;
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-company-document aside strong {
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.25rem;
  line-height: 1.26;
}

.sx-sw-company-document aside a {
  color: var(--sx-brand);
  font-family: var(--sx-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

/* Community: a short, poster-like information layout. */
.sx-sw-community-hero {
  padding: 4.5rem 0 3.25rem;
  background: #dceeff;
}

.sx-sw-community-body {
  background: #f4f7fa;
}

.sx-sw-community-body__grid {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.25rem;
}

.sx-sw-community-number {
  margin: 0;
  color: var(--sx-brand) !important;
  font-family: var(--sx-font-display) !important;
  font-size: 2.8rem !important;
  font-weight: 700;
  line-height: 1 !important;
}

/* Legal: a deliberately quiet legal document. */
.sx-sw-legal-header {
  padding: 3.75rem 0 2.5rem;
  border-bottom: 1px solid var(--sx-g-200);
}

.sx-sw-legal-document {
  width: min(100% - 2rem, 52rem);
  margin: 0 auto;
}

/* Guides: research-document framing with an explicit side index. */
.sx-sw-guide-hero {
  padding: 4rem 0 3.25rem;
  border-bottom: 1px solid var(--sx-g-200);
  background: #f5f7f7;
}

.sx-sw-guide-hero__grid {
  display: grid;
  gap: 2rem;
}

.sx-sw-guide-hero aside {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.25rem;
  border: 1px solid var(--sx-g-200);
  border-radius: 8px;
  background: #fff;
}

.sx-sw-guide-hero aside span {
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-guide-hero aside strong {
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.25rem;
  line-height: 1.27;
}

.sx-sw-guide-hero aside a {
  color: var(--sx-brand);
  font-family: var(--sx-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.sx-sw-guide-document__grid {
  display: grid;
  gap: 2rem;
}

.sx-sw-guide-document aside {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sx-g-200);
}

.sx-sw-guide-document aside p {
  margin: 0 0 0.1rem;
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-guide-document aside a {
  color: var(--sx-g-600);
  font-family: var(--sx-font-body);
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
}

.sx-sw-guide-document aside a:hover,
.sx-sw-guide-document aside a:focus-visible {
  color: var(--sx-brand);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* Normalized legacy content. This is intentionally plain and semantic. */
.sx-sw-richtext {
  min-width: 0;
  max-width: 48rem;
}

.sx-sw-richtext > * + * {
  margin-top: 1.4rem;
}

.sx-sw-richtext h2 {
  margin-top: 3rem;
}

.sx-sw-richtext h3 {
  margin-top: 2.25rem;
}

.sx-sw-richtext h4 {
  margin-bottom: 0.65rem;
  color: var(--sx-ink) !important;
  font-family: var(--sx-font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}

.sx-sw-richtext p {
  margin-bottom: 1.25rem;
}

.sx-sw-richtext ul,
.sx-sw-richtext ol {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

.sx-sw-richtext li {
  padding-left: 0.15rem;
}

.sx-sw-richtext a {
  color: var(--sx-brand);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18rem;
}

.sx-sw-richtext strong {
  color: var(--sx-ink);
  font-weight: 700;
}

.sx-sw-richtext em {
  color: inherit;
}

/* Legacy community stat blocks used stacked spans for their original cards. */
.sx-sw-richtext--community strong + span {
  display: block;
  margin-top: 0.2rem;
  color: var(--sx-g-600);
}

.sx-sw-richtext blockquote {
  margin-right: 0;
  margin-bottom: 1.5rem;
  margin-left: 0;
  padding: 1rem 0 1rem 1.2rem;
  border-left: 3px solid var(--sx-brand);
}

.sx-sw-richtext blockquote p {
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.25rem;
  line-height: 1.35;
}

.sx-sw-richtext figure {
  margin-right: 0;
  margin-bottom: 1.75rem;
  margin-left: 0;
}

.sx-sw-richtext img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.sx-sw-richtext figcaption {
  margin-top: 0.6rem;
  color: var(--sx-g-600);
  font-family: var(--sx-font-mono);
  font-size: 0.7rem;
  line-height: 1.45;
}

.sx-sw-richtext table {
  display: block;
  width: 100%;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  border-collapse: collapse;
  border-top: 1px solid var(--sx-g-200);
  border-bottom: 1px solid var(--sx-g-200);
  white-space: normal;
}

.sx-sw-richtext th,
.sx-sw-richtext td {
  min-width: 9rem;
  padding: 0.8rem;
  border-bottom: 1px solid var(--sx-g-200);
  text-align: left;
  vertical-align: top;
}

.sx-sw-richtext th {
  color: var(--sx-ink);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.sx-sw-richtext iframe,
.sx-sw-richtext video {
  width: 100%;
  max-width: 100%;
}

.sx-sw-richtext--field,
.sx-sw-richtext--company,
.sx-sw-richtext--community {
  max-width: 52rem;
}

.sx-sw-richtext--case,
.sx-sw-richtext--article,
.sx-sw-richtext--guide,
.sx-sw-richtext--legal {
  max-width: 45rem;
}

.sx-sw-richtext--hub {
  max-width: 52rem;
}

/* Shared footer replaces the retired routes from the legacy footer. */
.sx-sw-footer {
  padding-top: 3.5rem;
  border-top: 1px solid #27303b;
  background: var(--sx-surface-dark);
  color: #fff;
}

.sx-sw-footer__top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.sx-sw-footer__brand {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.sx-sw-footer__brand > a:first-child {
  display: inline-flex;
  width: max-content;
}

.sx-sw-footer__brand img {
  display: block;
  width: 10.5rem;
  height: auto;
}

.sx-sw-footer__brand p {
  max-width: 19rem;
  margin: 0;
  color: rgba(250, 250, 247, 0.68);
  font-family: var(--sx-font-body);
  font-size: 0.94rem;
  line-height: 1.55;
}

.sx-sw-footer__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  width: max-content;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(250, 250, 247, 0.3);
  border-radius: 8px;
  color: #fff;
  font-family: var(--sx-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.sx-sw-footer__cta:hover,
.sx-sw-footer__cta:focus-visible {
  border-color: #8cc7ff;
  background: #182638;
}

.sx-sw-footer nav {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.sx-sw-footer nav p {
  margin: 0 0 0.2rem;
  color: #8cc7ff;
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-footer nav a {
  color: rgba(250, 250, 247, 0.72);
  font-family: var(--sx-font-body);
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
}

.sx-sw-footer nav a:hover,
.sx-sw-footer nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.sx-sw-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(250, 250, 247, 0.14);
  color: rgba(250, 250, 247, 0.5);
  font-family: var(--sx-font-mono);
  font-size: 0.7rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sx-sw-footer__bottom a {
  color: rgba(250, 250, 247, 0.68);
  text-decoration: none;
}

.sx-sw-footer__bottom a:hover,
.sx-sw-footer__bottom a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

@media (min-width: 768px) {
  .sx-sitewide h1 { font-size: 3.7rem; }
  .sx-sitewide h2 { font-size: 2.45rem; }
  .sx-sw-service-hero,
  .sx-sw-industry-hero,
  .sx-sw-case-hero,
  .sx-sw-company-hero { padding: 5.5rem 0; }
  .sx-sw-guide-hero,
  .sx-sw-hub-hero { padding: 4.75rem 0 3.75rem; }
  .sx-sw-service-hero__grid,
  .sx-sw-industry-hero__grid,
  .sx-sw-case-hero__grid,
  .sx-sw-guide-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); align-items: end; }
  .sx-sw-document-section,
  .sx-sw-guide-document,
  .sx-sw-company-document,
  .sx-sw-community-body,
  .sx-sw-legal-document,
  .sx-sw-hub-document,
  .sx-sw-case-document { padding: 5rem 0; }
  .sx-sw-document-layout { grid-template-columns: minmax(11rem, 0.45fr) minmax(0, 1.55fr); gap: 4rem; }
  .sx-sw-endcap { padding: 4.5rem 0; }
  .sx-sw-endcap__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .sx-sw-field-layout { grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.25fr); gap: 4.5rem; }
  .sx-sw-case-document__grid { grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 1.55fr); gap: 4.5rem; }
  .sx-sw-case-document aside { border-bottom: 0; border-right: 1px solid var(--sx-g-200); padding-right: 2rem; padding-bottom: 0; }
  .sx-sw-editorial__header { padding: 4.75rem 0 3.25rem; }
  .sx-sw-editorial__header-grid { grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1.6fr); gap: 4rem; }
  .sx-sw-editorial__layout { grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1.65fr); gap: 4rem; padding-top: 4.5rem; padding-bottom: 5rem; }
  .sx-sw-editorial__rail { display: grid; border-bottom: 0; border-right: 1px solid var(--sx-g-200); padding-right: 1.5rem; padding-bottom: 0; }
  .sx-sw-hub-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.5fr); align-items: end; }
  .sx-sw-library__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .sx-sw-library__grid a:nth-child(odd) { border-right: 1px solid var(--sx-g-200); padding-right: 1.5rem; }
  .sx-sw-library__grid a:nth-child(even) { padding-left: 1.5rem; }
  .sx-sw-company-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr); gap: 4.5rem; }
  .sx-sw-company-document__grid { grid-template-columns: minmax(15rem, 0.55fr) minmax(0, 1.45fr); gap: 4.5rem; }
  .sx-sw-community-body__grid { grid-template-columns: 8rem minmax(0, 1fr); gap: 3rem; }
  .sx-sw-community-number { font-size: 5.5rem !important; }
  .sx-sw-guide-document__grid { grid-template-columns: minmax(11rem, 0.4fr) minmax(0, 1.6fr); gap: 4rem; }
  .sx-sw-guide-document aside { border-bottom: 0; border-right: 1px solid var(--sx-g-200); padding-right: 1.5rem; padding-bottom: 0; }
  .sx-sw-footer { padding-top: 4.5rem; }
  .sx-sw-footer__top { grid-template-columns: minmax(14rem, 1.4fr) repeat(3, minmax(9rem, 1fr)); gap: 2.5rem; padding-bottom: 3.5rem; }
}

@media (min-width: 1024px) {
  .sx-sitewide h1 { font-size: 4.65rem; }
  .sx-sitewide h2 { font-size: 2.85rem; }
  .sx-sw-service-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.65fr); gap: 5rem; }
  .sx-sw-service-console { padding: 1.75rem; }
  .sx-sw-industry-hero__grid { gap: 5rem; }
  .sx-sw-case-hero__grid { gap: 5rem; }
  .sx-sw-library__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; }
  .sx-sw-library__grid a { padding: 1.5rem; border-right: 1px solid var(--sx-g-200); }
  .sx-sw-library__grid a:nth-child(3n) { border-right: 0; }
  .sx-sw-library__grid a:nth-child(odd),
  .sx-sw-library__grid a:nth-child(even) { padding: 1.5rem; }
  .sx-sw-legal-document { width: min(100% - 2rem, 54rem); }
}

@media (prefers-reduced-motion: reduce) {
  .sx-sw-button { transition: none; }
}

/* Audit pass: retain useful legacy structure without retaining legacy styling. */
.sx-sitewide-v2 .sx-sw-richtext h2,
.sx-sitewide-v2 .sx-sw-richtext h3,
.sx-sitewide-v2 .sx-sw-richtext h4 {
  border: 0 !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
  text-decoration: none !important;
}

.sx-sitewide-v2 .sx-sw-richtext h2::after,
.sx-sitewide-v2 .sx-sw-richtext h3::after,
.sx-sitewide-v2 .sx-sw-richtext h4::after {
  display: none !important;
  content: none !important;
}

body.sx-sitewide-v2--long-title .sx-sitewide h1 {
  max-width: 23ch;
}

/* Service treatments let build, demand, and operations pages carry distinct cues. */
.sx-sw-service-hero--build { background: #f5f2ed; }
.sx-sw-service-hero--operations { background: #f0f2f8; }
.sx-sw-service-hero--demand { background: #edf4f7; }

.sx-sw-service-artifact {
  position: relative;
  display: grid;
  min-height: 4.5rem;
  margin-bottom: 0.55rem;
  overflow: hidden;
  border-top: 1px solid rgba(250, 250, 247, 0.22);
  border-bottom: 1px solid rgba(250, 250, 247, 0.14);
}

.sx-sw-service-artifact span,
.sx-sw-service-artifact i {
  display: block;
}

.sx-sw-service-artifact--demand {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: end;
  padding: 0.75rem 0;
}

.sx-sw-service-artifact--demand span {
  border-top: 2px solid #8cc7ff;
  background: rgba(140, 199, 255, 0.14);
}

.sx-sw-service-artifact--demand span:nth-child(1) { height: 35%; }
.sx-sw-service-artifact--demand span:nth-child(2) { height: 62%; }
.sx-sw-service-artifact--demand span:nth-child(3) { height: 84%; }
.sx-sw-service-artifact--demand i { display: none; }

.sx-sw-service-artifact--build {
  grid-template-columns: 1.1fr 0.8fr;
  gap: 0.5rem;
  align-items: start;
  padding: 0.75rem 0;
}

.sx-sw-service-artifact--build span {
  height: 0.45rem;
  border-radius: 2px;
  background: rgba(250, 250, 247, 0.28);
}

.sx-sw-service-artifact--build span:nth-child(1) { grid-column: 1 / -1; width: 42%; background: #8cc7ff; }
.sx-sw-service-artifact--build span:nth-child(2) { width: 86%; }
.sx-sw-service-artifact--build span:nth-child(3) { width: 62%; }
.sx-sw-service-artifact--build i { grid-column: 1 / -1; height: 1.35rem; border: 1px solid rgba(250, 250, 247, 0.22); }

.sx-sw-service-artifact--operations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
}

.sx-sw-service-artifact--operations::before,
.sx-sw-service-artifact--operations::after {
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: rgba(140, 199, 255, 0.54);
  content: '';
}

.sx-sw-service-artifact--operations::before { left: 16%; }
.sx-sw-service-artifact--operations::after { right: 16%; }

.sx-sw-service-artifact--operations span {
  position: relative;
  z-index: 1;
  width: 0.9rem;
  height: 0.9rem;
  margin: 0 auto;
  border: 1px solid #8cc7ff;
  border-radius: 50%;
  background: var(--sx-surface-dark);
}

.sx-sw-service-artifact--operations span:nth-child(2) { background: #8cc7ff; }
.sx-sw-service-artifact--operations i { display: none; }

/* Heading-based navigation makes long documents usable without a duplicate UI. */
.sx-sw-outline {
  display: grid;
  gap: 0.42rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sx-g-200);
}

.sx-sw-outline p {
  margin: 0 0 0.2rem;
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.7rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.sx-sw-outline__link {
  color: var(--sx-g-600);
  font-family: var(--sx-font-body);
  font-size: 0.88rem;
  line-height: 1.36;
  text-decoration: none;
}

.sx-sw-outline__link--level-3 {
  padding-left: 0.75rem;
  color: var(--sx-g-500);
  font-size: 0.82rem;
}

.sx-sw-outline__link:hover,
.sx-sw-outline__link:focus-visible,
.sx-sw-outline__link[aria-current='true'] {
  color: var(--sx-brand);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* Restored legacy grids, metrics, timelines, checks, and FAQs. */
.sx-sw-richtext [data-sx-v2~='stats'] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  margin: 2.25rem 0;
  border: 1px solid var(--sx-g-200);
  background: var(--sx-g-200);
  gap: 1px;
}

.sx-sw-richtext [data-sx-v2~='metric'] {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  min-height: 7.25rem;
  padding: 1rem;
  background: var(--sx-surface);
}

.sx-sw-richtext [data-sx-v2~='metric'] > * {
  margin: 0 !important;
}

.sx-sw-richtext [data-sx-v2~='metric'] > :first-child {
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
}

.sx-sw-richtext [data-sx-v2~='metric'] > :last-child {
  color: var(--sx-g-600);
  font-family: var(--sx-font-mono);
  font-size: 0.68rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.sx-sw-richtext [data-sx-v2~='grid'] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--sx-g-200);
  background: var(--sx-g-200);
}

.sx-sw-richtext [data-sx-v2~='grid'] > * {
  min-width: 0;
  margin: 0 !important;
  padding: 1.25rem;
  background: var(--sx-surface);
}

.sx-sw-richtext [data-sx-v2~='card'] > * {
  margin-top: 0;
}

.sx-sw-richtext [data-sx-v2~='card'] > * + * {
  margin-top: 0.75rem;
}

.sx-sw-richtext [data-sx-v2~='card'] h3,
.sx-sw-richtext [data-sx-v2~='grid'] h3 {
  font-size: 1.08rem;
}

.sx-sw-richtext [data-sx-v2~='check-list'] {
  display: grid;
  gap: 0.65rem;
  margin: 1.75rem 0;
}

.sx-sw-richtext [data-sx-v2~='check'] {
  position: relative;
  padding-left: 1.15rem;
}

.sx-sw-richtext [data-sx-v2~='check']::before {
  position: absolute;
  top: 0.64rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--sx-brand);
  content: '';
}

.sx-sw-richtext [data-sx-v2~='timeline-list'] {
  display: grid;
  margin: 2rem 0;
  border-top: 1px solid var(--sx-g-200);
}

.sx-sw-richtext [data-sx-v2~='timeline-item'] {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sx-g-200);
}

.sx-sw-richtext [data-sx-v2~='timeline-item'] > :first-child {
  margin: 0;
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.sx-sw-richtext [data-sx-v2~='timeline-item'] > :last-child {
  margin: 0;
}

.sx-sw-richtext [data-sx-v2~='timeline-item'] > :last-child strong,
.sx-sw-richtext [data-sx-v2~='timeline-item'] > :last-child b {
  color: var(--sx-ink);
}

.sx-sw-richtext [data-sx-v2~='sequence'] {
  display: grid;
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--sx-g-200);
  background: var(--sx-g-200);
}

.sx-sw-richtext [data-sx-v2~='sequence-item'] {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--sx-surface);
}

.sx-sw-richtext [data-sx-v2~='sequence-item']::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.74rem;
  content: counter(sx-sequence, decimal-leading-zero);
}

.sx-sw-richtext [data-sx-v2~='sequence'] { counter-reset: sx-sequence; }
.sx-sw-richtext [data-sx-v2~='sequence-item'] { counter-increment: sx-sequence; }

.sx-sw-richtext [data-sx-v2~='faq'] {
  margin: 2.5rem 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--sx-ink);
}

.sx-sw-richtext [data-sx-v2~='faq-list'] {
  display: grid;
  margin-top: 1.5rem;
  border-top: 1px solid var(--sx-g-200);
}

.sx-sw-richtext [data-sx-v2~='faq-item'] {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--sx-g-200);
}

.sx-sw-richtext [data-sx-v2~='faq-item'] > * {
  margin: 0;
}

.sx-sw-richtext [data-sx-v2~='faq-item'] > * + * {
  margin-top: 0.6rem;
}

.sx-sw-richtext [data-sx-v2~='faq-question'] {
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.sx-sw-richtext [data-sx-v2~='comparison'] {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--sx-brand);
}

/* The left desktop rail becomes helpful navigation rather than empty space. */
.sx-sw-field-heading .sx-sw-outline {
  margin-top: 2rem;
}

.sx-sw-industry-hero--project { background: #11222c; }
.sx-sw-industry-hero--trust { background: #171923; }
.sx-sw-industry-hero--urgent { background: #101820; }

/* Editorial posts now have separate research, local, decision, and operator modes. */
.sx-sw-editorial--decision .sx-sw-editorial__header { background: #f5f2ed; }
.sx-sw-editorial--research .sx-sw-editorial__header { background: #edf4f7; }
.sx-sw-editorial--local .sx-sw-editorial__header { background: #eef6f0; }
.sx-sw-editorial--operator .sx-sw-editorial__header { background: var(--sx-surface); }

.sx-sw-editorial__rail .sx-sw-outline {
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.sx-sw-related {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sx-g-200);
}

.sx-sw-related h2 { max-width: 20ch; }

.sx-sw-related__grid {
  display: grid;
  gap: 1px;
  margin-top: 1.5rem;
  border: 1px solid var(--sx-g-200);
  background: var(--sx-g-200);
}

.sx-sw-related__grid a {
  display: grid;
  gap: 0.65rem;
  min-height: 10rem;
  padding: 1.1rem;
  background: var(--sx-surface);
  color: var(--sx-ink);
  text-decoration: none;
}

.sx-sw-related__grid a:hover strong,
.sx-sw-related__grid a:focus-visible strong { color: var(--sx-brand); }

.sx-sw-related__grid span,
.sx-sw-related__grid i {
  color: var(--sx-g-600);
  font-family: var(--sx-font-mono);
  font-size: 0.68rem;
  font-style: normal;
  text-transform: uppercase;
}

.sx-sw-related__grid strong {
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.08rem;
  line-height: 1.25;
}

.sx-sw-related__grid i { color: var(--sx-brand); }

/* Industry hub is a directory, not a 7,000px list of inherited copy. */
.sx-sw-directory {
  padding: 3.5rem 0 4.5rem;
  background: #edf3f7;
}

.sx-sw-directory__top {
  display: grid;
  gap: 0.7rem;
  max-width: 46rem;
  margin-bottom: 2rem;
}

.sx-sw-directory__top h2,
.sx-sw-directory__top p { margin: 0; }

.sx-sw-directory__grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--sx-g-200);
  background: var(--sx-g-200);
}

.sx-sw-directory__grid a {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 13rem;
  padding: 1.2rem;
  background: var(--sx-surface);
  color: var(--sx-ink);
  text-decoration: none;
}

.sx-sw-directory__grid a:hover strong,
.sx-sw-directory__grid a:focus-visible strong { color: var(--sx-brand); }

.sx-sw-directory__grid span,
.sx-sw-directory__grid i {
  color: var(--sx-g-600);
  font-family: var(--sx-font-mono);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.4;
  text-transform: uppercase;
}

.sx-sw-directory__grid strong {
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.25rem;
  line-height: 1.22;
}

.sx-sw-directory__grid p {
  margin: 0;
  color: var(--sx-g-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

.sx-sw-directory__grid i {
  align-self: end;
  color: var(--sx-brand);
}

.sx-sw-directory-cta {
  background: var(--sx-surface-dark);
  color: #fff;
}

.sx-sw-directory-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 7rem;
}

.sx-sw-directory-cta p,
.sx-sw-directory-cta a {
  margin: 0;
  font-family: var(--sx-font-body);
  font-size: 1rem;
  font-weight: 700;
}

.sx-sw-directory-cta a {
  color: #8cc7ff;
  text-decoration: none;
}

/* Community pages get a campaign-like composition instead of another document hero. */
.sx-sw-community-hero__grid {
  display: grid;
  gap: 2rem;
}

.sx-sw-community-poster {
  display: grid;
  gap: 0.85rem;
  align-content: end;
  min-height: 15rem;
  padding: 1.25rem;
  border: 1px solid rgba(16, 24, 32, 0.18);
  background: #f8fcff;
}

.sx-sw-community-poster > span {
  color: var(--sx-brand);
  font-family: var(--sx-font-mono);
  font-size: 0.68rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.sx-sw-community-poster strong {
  max-width: 17ch;
  color: var(--sx-ink);
  font-family: var(--sx-font-display);
  font-size: 1.55rem;
  line-height: 1.12;
}

.sx-sw-community-poster > div {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 0.5rem;
  align-items: end;
  min-height: 4.5rem;
}

.sx-sw-community-poster i {
  display: block;
  min-height: 2.25rem;
  border: 1px solid var(--sx-brand);
  background: #dceeff;
}

.sx-sw-community-poster i:nth-child(2) { min-height: 4rem; background: var(--sx-brand); }
.sx-sw-community-poster i:nth-child(3) { min-height: 3rem; background: #edf3f7; }

/* Legal documents need a persistent index, not one uninterrupted sheet. */
.sx-sw-legal-document {
  width: 100%;
  margin: 0;
}

.sx-sw-legal-layout {
  display: grid;
  gap: 2rem;
}

.sx-sw-legal-layout > aside { align-self: start; }
.sx-sw-legal-layout .sx-sw-outline { margin-top: 0; }

.sx-sw-guide-hero--pricing { background: #f4f1ed; }
.sx-sw-guide-hero--explainer { background: #edf4f7; }
.sx-sw-guide-hero--diagnostic { background: #eef6f0; }
.sx-sw-guide-hero--comparison { background: #f5f7f7; }

/* Keep compliant consent usable while clearing the opening document at desktop sizes. */
@media (min-width: 768px) {
  body.sx-sitewide-v2 .cky-consent-container,
  body.sx-sitewide-v2 .cli-bar-container,
  body.sx-sitewide-v2 #cookie-law-info-bar,
  body.sx-sitewide-v2 .wt-cli-cookie-bar {
    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;
    max-width: min(360px, calc(100vw - 48px)) !important;
  }

  .sx-sw-richtext [data-sx-v2~='grid'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-sw-richtext [data-sx-v2~='sequence'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-sw-richtext [data-sx-v2~='timeline-item'] { grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1.65fr); gap: 1.25rem; }
  .sx-sw-community-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr); align-items: end; }
  .sx-sw-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-sw-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-sw-legal-layout { grid-template-columns: minmax(11rem, 0.4fr) minmax(0, 1.6fr); gap: 4rem; }
}

@media (min-width: 1024px) {
  .sx-sitewide h1 { font-size: 4.1rem; }
  body.sx-sitewide-v2--long-title .sx-sitewide h1 { max-width: 24ch; font-size: 3.55rem; }
  .sx-sw-richtext [data-sx-v2~='grid'] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-sw-richtext [data-sx-v2~='sequence'] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-sw-directory__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-sw-field-heading,
  .sx-sw-editorial__rail,
  .sx-sw-guide-document aside,
  .sx-sw-legal-layout > aside { position: sticky; top: 7.5rem; }
}

/* Missing routes keep the same system language and a useful recovery path. */
.sx-sw-404__hero {
  min-height: min(44rem, calc(100vh - 4.5rem));
  padding: 5rem 0;
  background: var(--sx-surface-dark);
}

.sx-sw-404__hero h1 { max-width: 13ch; color: #fff !important; }

.sx-sitewide .sx-sw-404__text-link { color: #8cc7ff; }

.sx-sitewide .sx-sw-404__text-link:hover,
.sx-sitewide .sx-sw-404__text-link:focus-visible { color: #fff; }

.sx-sw-404__map {
  display: grid;
  align-content: start;
  gap: 0;
  border-top: 1px solid rgba(250, 250, 247, 0.38);
  border-bottom: 1px solid rgba(250, 250, 247, 0.16);
}

.sx-sw-404__map > span,
.sx-sw-404__map a {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(250, 250, 247, 0.14);
}

.sx-sw-404__map > span {
  color: #8cc7ff;
  font-family: var(--sx-font-mono);
  font-size: 0.7rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.sx-sw-404__map a {
  color: #fff;
  font-family: var(--sx-font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.sx-sw-404__map a:last-child { border-bottom: 0; }
.sx-sw-404__map a:hover,
.sx-sw-404__map a:focus-visible { color: #8cc7ff; }

@media (min-width: 768px) {
  .sx-sw-404__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
    gap: 5rem;
    align-items: end;
  }
}
