/* Only the documentation homepage loads this file. All overrides remain scoped. */
@font-face {
  font-family: "DIDWW Home";
  src: url("fonts/roobert_semibold/roobert_semibold.woff2") format("woff2"),
       url("fonts/roobert_semibold/roobert_semibold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

body.bd-homepage {
  --dh-text: #102a43;
  --dh-muted: #506880;
  --dh-blue: #0072ce;
  --dh-orange: #f58220;
  --dh-border: #d9e6f2;
  --dh-surface: #fff;
  --dh-soft: #f1f7fd;
  --dh-width: 90rem;
  --dh-gutter: clamp(1.25rem, 3.5vw, 3.5rem);
}
html[data-theme="dark"] body.bd-homepage {
  --dh-text: var(--didww-card-title, #e6edf6);
  --dh-muted: var(--didww-card-muted, #a5b6cc);
  --dh-blue: var(--didww-card-accent, #75baff);
  --dh-border: var(--didww-card-border, #1c3857);
  --dh-surface: var(--didww-card-surface, #091c32);
  --dh-soft: #0b2441;
}
/* Keep the desktop sidebar hidden; the native mobile dialog needs its own display. */
body.bd-homepage :is(#pst-primary-sidebar, #pst-secondary-sidebar, .secondary-toggle, .bd-footer-article, .prev-next-footer) { display: none !important; }
body.bd-homepage .dh-mobile-menu-close { display: none; }
@media (min-width: 992px) {
  body.bd-homepage .primary-toggle { display: none !important; }
}
body.bd-homepage .bd-container::before { display: none !important; }
body.bd-homepage .bd-container__inner { width: 100%; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.bd-homepage .bd-main { width: 100%; flex: 1 1 100%; margin: 0 !important; }
body.bd-homepage .bd-content { display: block; width: 100%; padding: 0 !important; }
body.bd-homepage .bd-main .bd-content .bd-article-container {
  width: 100%; max-width: var(--dh-width) !important; margin-inline: auto !important;
  padding: 0 var(--dh-gutter) !important;
}
body.bd-homepage .bd-article { padding: 0 !important; }
body.bd-homepage .bd-footer-content { width: 100%; max-width: var(--dh-width) !important; margin-inline: auto !important; padding: 2rem var(--dh-gutter) 1.5rem !important; }
body.bd-homepage .bd-footer-content::before { content: ""; display: block; border-top: 1px solid var(--dh-border); margin-bottom: 1.5rem; }
body.bd-homepage :is(.didww-mint-top-inner, .didww-mint-tabs-row) {
  width: 100%; max-width: var(--dh-width) !important; margin-inline: auto !important;
  padding-inline: var(--dh-gutter) !important;
}
body.bd-homepage .didww-mint-tabs { padding-inline: 0 !important; margin-inline: 0 !important; }
body.bd-homepage .dh-home { color: var(--dh-text); font-family: var(--pst-font-family-base); padding-block: clamp(2rem, 4vw, 3.25rem) .5rem; }
.dh-home, .dh-home * { box-sizing: border-box; }
.dh-home [hidden] { display: none !important; }
.dh-home .dh-symbols { position: absolute; overflow: hidden; }
.dh-home .dh-icon { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
html body.bd-homepage .dh-home :is(h1, h2, h3, p) { padding: 0; margin: 0; border: 0; color: var(--dh-text); }
html body.bd-homepage .dh-home :is(h1, h2, h3) { font-family: var(--pst-font-family-heading); font-weight: 700; letter-spacing: -.025em; }
html body.bd-homepage .dh-home a { text-decoration: none !important; border-bottom: 0 !important; box-shadow: none !important; }
/* Keep primary card labels consistent across the three homepage grids. */
body.bd-homepage .dh-home :is(#dh-services .dh-service h3, #dh-tools .dh-tool h3 a, #dh-integrations .dh-integration) { color: var(--dh-text) !important; }
html body.bd-homepage .dh-home :is(a, button, input):focus-visible { outline: 3px solid var(--dh-blue) !important; outline-offset: 4px; }
.dh-home button, .dh-home input { font: inherit; }
.dh-home .dh-hero { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 3rem; align-items: center; padding-bottom: 2.5rem; }
.dh-home .dh-hero-copy { max-width: 47rem; }
.dh-home .dh-hero h1 { font-size: 2.35rem !important; line-height: 1.15; margin: 0 0 1rem; }
body.bd-homepage .dh-home #dh-title { font-family: "DIDWW Home", var(--pst-font-family-heading); font-weight: 600; letter-spacing: -.02em; }
.dh-home .dh-lead { font-size: 1rem !important; line-height: 1.75; max-width: 40rem; color: var(--dh-muted) !important; }
.dh-home .dh-connection { position: relative; aspect-ratio: 430 / 220; max-width: 430px; width: 100%; justify-self: end; }
.dh-home .dh-connection-scene { display: block; width: 100%; height: 100%; overflow: visible; }
.dh-home .dh-connection-routes { fill: none; stroke: var(--dh-blue); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .5; }
.dh-home .dh-connection-boxes { fill: var(--dh-surface); stroke: var(--dh-border); stroke-width: 1; }
.dh-home .dh-connection-icons { fill: none; stroke: var(--dh-blue); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.dh-home .dh-connection-labels { fill: var(--dh-text); font-family: var(--pst-font-family-base); font-size: 13.6px; font-weight: 500; }
/* Set the baseline on the text itself for consistent SVG alignment in Safari. */
.dh-home .dh-connection-labels text { dominant-baseline: central; }
.dh-home .dh-connection-access { fill: var(--dh-muted); font-family: var(--pst-font-family-base); font-size: 12px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.dh-home .dh-connection-packet { fill: var(--dh-orange); pointer-events: none; }
.dh-home .dh-connection-scene image { background: transparent !important; filter: none !important; }
.dh-home .dh-brand-dark { display: none; }
html[data-theme="dark"] .dh-home .dh-brand-light { display: none; }
html[data-theme="dark"] .dh-home .dh-brand-dark { display: block; }
html body.bd-homepage .dh-home .dh-text-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; font-weight: 500; color: var(--dh-blue) !important; }
.dh-home .dh-text-link .dh-icon { width: 17px; height: 17px; transition: transform .18s ease; }
.dh-home .dh-text-link:hover .dh-icon { transform: translateX(3px); }
/* Link arrows inherit their label colour instead of the shared dark SVG colour. */
html[data-theme="dark"] body.bd-homepage .dh-home .dh-text-link .dh-icon,
html[data-theme="dark"] body.bd-homepage .dh-home .dh-text-link .dh-icon use {
  color: inherit !important;
  stroke: currentColor !important;
}
.dh-home .dh-start { --dh-step-tile-size: 39px; --dh-step-symbol-size: 1.4rem; padding: 40px 1.35rem; border: 1px solid var(--dh-border); border-radius: .5rem; background: var(--dh-surface); }
.dh-home #dh-start .dh-start-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.dh-home .dh-start-steps li { position: relative; min-width: 0; margin: 0; padding: 0; }
.dh-home .dh-start-steps li::before { content: ""; position: absolute; top: calc(var(--dh-step-tile-size) / 2 - 3px); left: calc(var(--dh-step-tile-size) + 12px); width: 6px; height: 6px; border-radius: 50%; background: var(--dh-blue); pointer-events: none; }
.dh-home .dh-start-steps li::after { content: ""; position: absolute; top: calc(var(--dh-step-tile-size) / 2 - .75px); left: calc(var(--dh-step-tile-size) + 26px); right: -.5rem; height: 1.5px; background: repeating-linear-gradient(90deg,var(--dh-blue) 0 6px,transparent 6px 14px); opacity: .65; pointer-events: none; }
.dh-home .dh-start-steps li:last-child::after { right: calc(var(--dh-step-tile-size) + 16px); }
html body.bd-homepage #dh-start a { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-height: 44px; margin: 0; padding: 0; border-radius: .4rem; color: var(--didww-primary, #0072ce) !important; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.dh-home #dh-start .dh-step-number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: var(--dh-step-tile-size); height: var(--dh-step-tile-size); border: 1.5px solid currentColor; border-radius: .5rem; color: var(--dh-blue) !important; font-size: var(--dh-step-symbol-size); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.dh-home #dh-start :is(.dh-step-number, .dh-step-end) .dh-icon { width: var(--dh-step-symbol-size); height: var(--dh-step-symbol-size); color: inherit !important; }
.dh-home #dh-start .dh-step-end { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; width: var(--dh-step-tile-size); height: var(--dh-step-tile-size); border: 1.5px solid currentColor; border-radius: .5rem; color: var(--dh-orange) !important; pointer-events: none; }
.dh-home #dh-start .dh-step-label { display: flex; align-items: center; justify-content: flex-start; gap: .4rem; width: 100%; min-height: 1.5rem; color: inherit !important; }
.dh-home #dh-start .dh-step-text { min-width: 0; color: inherit !important; }
.dh-home #dh-start .dh-step-label > .dh-icon { flex: 0 0 16px; width: 16px; height: 16px; color: inherit !important; transition: transform .18s ease; }
.dh-home #dh-start a:hover .dh-step-label > .dh-icon { transform: translateX(3px); }
.dh-home #dh-start .dh-icon use { stroke: var(--dh-blue) !important; }
.dh-home #dh-start .dh-step-end .dh-icon use { stroke: var(--dh-orange) !important; }
.dh-home .dh-start a:hover .dh-step-number { background: var(--dh-soft); }
/* Match the other homepage text links in both idle and hover states. */
html body.bd-homepage #dh-start a:hover {
  color: var(--didww-primary-hover, #005aa3) !important;
}
html[data-theme="dark"] body.bd-homepage .dh-home #dh-start a {
  color: var(--didww-hover-color, #4da3ff) !important;
}
html[data-theme="dark"] body.bd-homepage .dh-home #dh-start a:hover {
  color: #7dd3fc !important;
}
.dh-home #dh-start .dh-step-label .dh-icon,
.dh-home #dh-start .dh-step-label .dh-icon use {
  color: inherit !important;
  stroke: currentColor !important;
}
.dh-home .dh-section { margin-top: 3rem; scroll-margin-top: 8rem; }
.dh-home #dh-services { margin-top: 0; }
.dh-home #dh-start + .dh-service-grid { margin-top: 1rem; }
.dh-home .dh-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.35rem; }
.dh-home .dh-section h2 { font-size: 1.9rem !important; line-height: 1.15; }
.dh-home .dh-section-heading > p, .dh-home .dh-section-description { font-size: 1rem !important; color: var(--dh-muted) !important; padding-top: .5rem; line-height: 1.6; }
.dh-home .dh-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
html body.bd-homepage .dh-home .dh-service { display: flex; flex-direction: column; min-width: 0; padding: 1.25rem 1.35rem; border: 1px solid var(--dh-border) !important; border-radius: .5rem; background: var(--dh-surface); color: var(--dh-text) !important; transition: border-color .18s ease; }
.dh-home .dh-service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; }
.dh-home .dh-icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; border-radius: .6rem; color: var(--dh-blue); background: var(--dh-soft); }
.dh-home .dh-service h3 { font-size: 1.05rem !important; line-height: 1.35; letter-spacing: normal !important; }
.dh-home .dh-service p { margin-top: .5rem; font-size: .95rem !important; color: var(--dh-muted) !important; line-height: 1.55; max-width: 33rem; }
.dh-home .dh-tool-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.dh-home .dh-tool { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--dh-border); border-radius: .5rem; background: var(--dh-surface); overflow: hidden; transition: border-color .18s ease; }
html body.bd-homepage .dh-home :is(.dh-service,.dh-tool,.dh-integration,.dh-integration-request):hover { border-color: var(--dh-blue) !important; }
.dh-home .dh-tool:focus-within { outline: 2px solid var(--dh-blue); outline-offset: 3px; }
.dh-home .dh-tool-art { height: 155px; position: relative; overflow: hidden; padding: 1rem 1.25rem; border-bottom: 1px solid var(--dh-border); color: var(--dh-blue); background: var(--dh-soft); user-select: none; }
.dh-home .dh-mcp-wordmark { display: inline-flex; align-items: center; gap: .15rem; white-space: nowrap; line-height: 1; letter-spacing: normal; }
.dh-home .dh-mcp-wordmark > svg { flex: 0 0 auto; width: 4.125rem; height: .75rem; overflow: visible; }
.dh-home .dh-mcp-acronym { font-family: "DIDWW Home", var(--pst-font-family-heading); font-size: .85rem; font-weight: 600; letter-spacing: normal; line-height: 1; }
.dh-home .dh-tool-copy { --dh-tool-copy-space: 1.2rem; display: flex; flex: 1; flex-direction: column; padding: var(--dh-tool-copy-space) 1.25rem; }
.dh-home .dh-tool-tag { font-size: .8rem; font-weight: 500; color: var(--dh-muted); margin-bottom: .4rem; }
.dh-home .dh-tool h3 { font-size: 1.15rem !important; letter-spacing: normal !important; line-height: 1.35; }
html body.bd-homepage .dh-home .dh-tool h3 a { position: static; color: var(--dh-text) !important; }
.dh-home .dh-tool h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dh-home .dh-tool p { margin: .55rem 0 1rem; font-size: 1rem !important; color: var(--dh-muted) !important; line-height: 1.6; }
.dh-home .dh-tool-copy > .dh-text-link { position: relative; z-index: 2; margin-top: auto; padding-top: var(--dh-tool-copy-space); font-size: .95rem !important; }
.dh-home .dh-product-image { padding: 0; }
body.bd-homepage .dh-home .dh-product-image img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; margin: 0 !important; filter: none !important; box-shadow: none !important; }
.dh-home .dh-tool-otp .dh-product-image { background: radial-gradient(ellipse at bottom left,#ffd8c1,transparent 75%),linear-gradient(120deg,#fff9f5,#dfedff); }
body.bd-homepage .dh-home .dh-tool-otp .dh-product-image img { object-fit: cover; object-position: center; background: transparent !important; }
.dh-home .dh-mcp-art { display: flex; flex-direction: column; justify-content: center; gap: .9rem; padding-inline: .5rem; background: linear-gradient(120deg,#08284d,#174f68); color: #d7eef9; border-bottom-color: #174f68; }
/* Static contours fill the artwork; opaque foreground surfaces keep labels clear. */
.dh-home .dh-mcp-art::before { content: ""; position: absolute; inset: 0; background: url("../icons/mcp-waves-flow.svg") center / 100% 100% no-repeat; opacity: .32; pointer-events: none; }
.dh-home :is(.dh-mcp-nodes,.dh-mcp-resources) { position: relative; z-index: 1; }
.dh-home .dh-mcp-nodes { display: flex; justify-content: center; align-items: center; gap: 0; }
.dh-home .dh-mcp-nodes > span { display: flex; flex: 0 0 auto; align-items: center; gap: .3rem; min-height: 3rem; white-space: nowrap; background: linear-gradient(120deg,#143550,#1b4a62); border: 1px solid #ffffff26; padding: .65rem .35rem; border-radius: .45rem; }
.dh-home .dh-mcp-nodes small { font-size: .85rem; }
.dh-home .dh-mcp-nodes .dh-icon { width: 20px; height: 20px; }
.dh-home .dh-mcp-nodes i { flex: 0 1 16px; min-width: 8px; height: 1px; background: #5cadb4; position: relative; }
.dh-home .dh-mcp-nodes i::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #91d8d5; top: -1.5px; left: 0; animation: dh-packet 2s ease-in-out 2; }
.dh-home .dh-mcp-resources { display: flex; justify-content: center; font-size: .75rem; }
.dh-home .dh-mcp-resources > span { position: relative; isolation: isolate; }
.dh-home .dh-mcp-resources > span::before { content: ""; position: absolute; inset: -.1rem -.35rem; z-index: -1; border-radius: .3rem; background: #103c57; box-shadow: 0 0 7px 3px #103c57; }
.dh-home .dh-mcp-resources > span > span { opacity: .8; }
.dh-home .dh-integration-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.dh-home .dh-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.dh-home .dh-filters button { min-height: 44px; padding: .45rem .75rem; border: 1px solid transparent; border-radius: .4rem; color: var(--dh-muted); background: transparent; font-size: .95rem; font-weight: 500; line-height: 1.5; cursor: pointer; }
.dh-home .dh-filters button[aria-pressed="true"] { border-color: var(--dh-border); color: var(--dh-muted); background: #f3fbff; }
html[data-theme="dark"] body.bd-homepage .dh-home .dh-filters button[aria-pressed="true"] { color: var(--dh-blue); }
.dh-home .dh-filters button:hover { background: #f3fbff; }
html[data-theme="dark"] body.bd-homepage .dh-home .dh-filters button:is([aria-pressed="true"], :hover) { background: var(--dh-surface); }
.dh-home .dh-integration-search { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--dh-border); border-radius: .4rem; background: var(--dh-surface); color: var(--dh-muted); padding: .5rem .65rem; margin: 0; transition: border-color .18s ease; }
.dh-home .dh-integration-search .dh-icon { width: 15px; height: 15px; }
html body.bd-homepage .dh-home .dh-integration-search input { padding: 0; border: 0 !important; outline: none !important; box-shadow: none !important; background: transparent; width: 160px; max-width: 100%; color: var(--dh-text); font-size: .95rem; min-height: 28px; }
.dh-home .dh-integration-search:is(:hover,:focus-within) { border-color: var(--dh-blue); outline: none; box-shadow: none; }
html body.bd-homepage .dh-home .dh-integration-search input:is(:hover,:focus,:focus-visible,:active) { border: 0 !important; outline: none !important; box-shadow: none !important; }
.dh-home .dh-integration-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; }
.dh-home .dh-integration-results.is-resizing { overflow: hidden; }
body.bd-homepage.dh-filter-resizing { overflow-anchor: none; }
html body.bd-homepage .dh-home .dh-integration { display: flex; align-items: center; gap: .75rem; padding: .9rem; min-height: 76px; border: 1px solid var(--dh-border) !important; border-radius: .4rem; background: var(--dh-surface); color: var(--dh-text) !important; font-size: .95rem; font-weight: 500; transition: border-color .18s ease; }
.dh-home .dh-logo-box { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: .35rem; background: #fff; }
body.bd-homepage .dh-home .dh-logo-box img { width: 29px !important; height: 29px !important; max-width: 29px !important; margin: 0 !important; object-fit: contain; border-radius: 0 !important; box-shadow: none !important; filter: none !important; }
.dh-home .dh-integration > .dh-icon { width: 14px; height: 14px; margin-left: auto; opacity: .4; }
.dh-home .dh-integration-meta { display: flex; gap: 1rem; align-items: center; margin-top: .9rem; font-size: .9rem; color: var(--dh-muted); min-height: 44px; }
.dh-home .dh-integration-meta button { border: none; background: transparent; color: var(--dh-blue); cursor: pointer; padding: .25rem; font-size: .9rem; min-height: 44px; }
.dh-home .dh-integration-empty { padding: 2rem !important; background: #f3fbff; border-radius: .6rem; font-size: .85rem !important; color: var(--dh-muted) !important; }
html[data-theme="dark"] body.bd-homepage .dh-home .dh-integration-empty { background: var(--dh-surface); }
html body.bd-homepage .dh-home .dh-integration-request { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1rem; padding: 1.25rem 1.35rem; border: 1px solid var(--dh-border) !important; border-radius: .5rem; background: var(--dh-surface); transition: border-color .18s ease; }
.dh-home .dh-integration-request h3 { font-size: 1.05rem !important; line-height: 1.35; letter-spacing: normal !important; }
html body.bd-homepage .dh-home .dh-integration-request p { margin-top: .4rem; font-size: .95rem !important; line-height: 1.6; color: var(--dh-muted) !important; }
.dh-home .dh-integration-request > .dh-text-link { flex-shrink: 0; min-height: 44px; }
html[data-theme="dark"] body.bd-homepage .dh-home .dh-integration-request > .dh-text-link { color: inherit !important; }
.dh-home .dh-integration-request:hover .dh-text-link .dh-icon { transform: translateX(3px); }
.dh-home .dh-resources { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.65fr); gap: 2.5rem; padding: clamp(1.25rem,2.5vw,2rem); border: 1px solid var(--dh-border); border-radius: .6rem; background: #f3fbff; }
html[data-theme="dark"] body.bd-homepage .dh-home .dh-resources { background: var(--dh-surface); }
.dh-home .dh-resources h2 { max-width: 19rem; font-size: 1.3rem !important; line-height: 1.35; letter-spacing: normal !important; }
html body.bd-homepage .dh-home .dh-resource-intro p { max-width: 22rem; margin-top: .65rem; color: var(--dh-muted) !important; font-size: .95rem !important; line-height: 1.6; }
.dh-home .dh-resource-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.dh-home .dh-resources h3 { display: flex; align-items: center; gap: .6rem; min-height: 28px; font-size: 1rem !important; font-weight: 600 !important; line-height: 1.4; letter-spacing: normal !important; }
.dh-home .dh-resources h3 > .dh-icon { width: 20px; height: 20px; color: var(--dh-blue); }
.dh-home .dh-resources ul { margin: .65rem 0 0; padding: 0; list-style: none; }
.dh-home .dh-resources li { margin: 0; padding: 0; }
.dh-home .dh-resources li + li { border-top: 1px solid var(--dh-border); }
html body.bd-homepage .dh-home .dh-resources a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 0; font-size: .95rem; line-height: 1.5; min-height: 44px; color: var(--dh-text) !important; }
.dh-home .dh-resources a > span { min-width: 0; color: var(--dh-text) !important; }
.dh-home .dh-resources a > .dh-icon { width: 15px; height: 15px; color: var(--dh-blue); transition: transform .18s ease; }
html body.bd-homepage .dh-home .dh-resources a:hover { color: var(--dh-blue) !important; }
.dh-home .dh-resources a:hover > span { color: var(--dh-blue) !important; }
.dh-home .dh-resources a:hover > .dh-icon { transform: translateX(3px); }
.dh-home .dh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* A second, denser draft uses the same content and destinations. */
.dh-home[data-home-layout="compact"] .dh-hero { grid-template-columns: 1fr; padding-bottom: 1.75rem; }
.dh-home[data-home-layout="compact"] .dh-connection { display: none; }
.dh-home[data-home-layout="compact"] .dh-hero-copy { max-width: none; }
.dh-home[data-home-layout="compact"] .dh-hero h1 { font-size: 2.35rem !important; }
html body.bd-homepage .dh-home[data-home-layout="compact"] .dh-service { display: grid; grid-template-columns: 44px minmax(0,1fr); padding: 1.1rem; column-gap: .75rem; }
.dh-home[data-home-layout="compact"] .dh-service-top { grid-column: 1; grid-row: 1 / 3; align-items: start; margin: 0; }
.dh-home[data-home-layout="compact"] .dh-service :is(h3,p) { grid-column: 2; }
.dh-home[data-home-layout="compact"] .dh-tool-art { height: 135px; }
.dh-home[data-home-layout="compact"] .dh-section { margin-top: 2.5rem; }
@keyframes dh-packet { 0%,20% { transform: translateX(0); opacity: 0; } 35% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateX(21px); opacity: 0; } }
@media (max-width: 1150px) {
  .dh-home .dh-hero { gap: 1.5rem; }
  .dh-home .dh-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dh-home .dh-integration-list { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .dh-home .dh-resources { gap: 1.5rem; }
}
@media (max-width: 900px) {
  .dh-home #dh-start .dh-start-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  html body.bd-homepage #dh-start a { flex-direction: row; align-items: center; }
  .dh-home .dh-start { --dh-step-symbol-size: 1.25rem; }
  .dh-home .dh-start-steps li::before { display: none; }
  .dh-home .dh-start-steps li:not(:last-child)::after { top: calc((44px + var(--dh-step-tile-size)) / 2 + 8px); bottom: calc(8px - 1.25rem - (44px - var(--dh-step-tile-size)) / 2); left: calc(var(--dh-step-tile-size) / 2 - .75px); right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg,var(--dh-blue) 0 4px,transparent 4px 8px); }
  .dh-home .dh-start-steps li:last-child::after, .dh-home #dh-start .dh-step-end { display: none; }
  .dh-home .dh-hero { grid-template-columns: 1fr; }
  .dh-home .dh-connection { display: none; }
  .dh-home .dh-hero-copy { max-width: 40rem; }
  .dh-home .dh-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dh-home .dh-section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .dh-home .dh-integration-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dh-home .dh-resources { grid-template-columns: 1fr; gap: 1.5rem; }
  .dh-home .dh-resources h2, html body.bd-homepage .dh-home .dh-resource-intro p { max-width: none; }
}
@media (max-width: 991.98px) {
  html[data-theme] body.bd-homepage .didww-mint-navbar-wrap { padding-inline: 0 !important; }
  /* The header collapses at 992px, slightly later than PyData's sidebar. */
  body.bd-homepage #pst-primary-sidebar-modal[open] { display: block !important; }
  body.bd-homepage:has(#pst-primary-sidebar-modal[open]) #pst-primary-sidebar-modal[open] .didww-mobile-sidebar-close-bar { display: none !important; }
  body.bd-homepage #pst-primary-sidebar-modal[open] .dh-mobile-menu-close {
    position: sticky; top: 0; z-index: 2; display: flex; align-items: center;
    min-height: 64px; margin: 0; padding: .5rem var(--dh-gutter);
    border-bottom: 1px solid var(--dh-border); background: var(--pst-color-background);
  }
  body.bd-homepage .dh-mobile-menu-close button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: .4rem;
    background: transparent; color: var(--dh-muted); cursor: pointer;
  }
  body.bd-homepage .dh-mobile-menu-close button:hover { background: var(--dh-soft); color: var(--dh-blue); }
  body.bd-homepage .dh-mobile-menu-close button:focus-visible { outline: 2px solid var(--dh-blue); outline-offset: -2px; }
}
@media (max-width: 600px) {
  html body.bd-homepage .dh-home .dh-integration-request { flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem; }
  .dh-home .dh-hero { padding-bottom: 1.5rem; }
  .dh-home .dh-hero h1, .dh-home[data-home-layout="compact"] .dh-hero h1 { font-size: 1.9rem !important; }
  .dh-home .dh-lead { font-size: 1rem !important; line-height: 1.75; }
  .dh-home .dh-start { padding-inline: 1.15rem; }
  .dh-home .dh-section { margin-top: 2rem; }
  .dh-home .dh-section h2 { font-size: 1.5rem !important; }
  .dh-home .dh-service-grid, .dh-home .dh-tool-grid { grid-template-columns: 1fr; }
  .dh-home .dh-service { padding: 1.15rem !important; }
  .dh-home .dh-service-top { margin-bottom: .65rem; }
  .dh-home .dh-tool-art { height: 145px; }
  .dh-home .dh-product-image { height: auto; }
  body.bd-homepage .dh-home .dh-product-image img { height: auto !important; object-fit: contain; object-position: left top; }
  .dh-home .dh-tool-copy { --dh-tool-copy-space: 1.15rem; padding: var(--dh-tool-copy-space); }
  .dh-home .dh-integration-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
  .dh-home .dh-integration { padding: .75rem !important; gap: .5rem; font-size: .95rem !important; }
  .dh-home .dh-integration > .dh-icon { display: none; }
  .dh-home .dh-logo-box { flex-basis: 30px; width: 30px; height: 30px; }
  body.bd-homepage .dh-home .dh-logo-box img { width: 24px !important; height: 24px !important; }
  .dh-home .dh-filters button { min-height: 44px; padding: .4rem .6rem; }
  .dh-home .dh-integration-search { width: 100%; }
  .dh-home .dh-integration-search input { width: 100%; min-height: 28px; }
  .dh-home .dh-resource-groups { grid-template-columns: 1fr; gap: 1.5rem; }
  body.bd-homepage .didww-mint-tabs .navbar-nav { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.bd-homepage .dh-home *, body.bd-homepage .dh-home *::before, body.bd-homepage .dh-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .dh-home :is(.dh-connection,.dh-tool-art,.dh-integration-controls) { display: none !important; }
  .dh-home .dh-service-grid,.dh-home .dh-tool-grid,.dh-home .dh-integration-list { display: block; }
  .dh-home :is(.dh-service,.dh-tool,.dh-integration) { break-inside: avoid; margin-bottom: .5rem; }
}

/* This footer component is registered for the homepage only. */
body.bd-homepage .footer-content-items { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; }
body.bd-homepage .bd-footer-content .footer-content-item { width: auto !important; min-width: 0; max-width: 100%; }
body.bd-homepage .footer-content-item .last-updated { margin: 0; }
html body.bd-homepage a.dh-service-status { --dh-status-dot: var(--dh-muted); display: inline-grid; grid-template-columns: 8px minmax(0,1fr) 16px; align-items: center; gap: .55rem; min-height: 32px; max-width: 100%; border: 0 !important; border-radius: .25rem; background: transparent; color: var(--dh-muted) !important; box-shadow: none !important; font: 500 .9rem/1.5 var(--pst-font-family-base); text-decoration: none !important; }
body.bd-homepage .dh-service-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dh-status-dot); }
body.bd-homepage .dh-service-status-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem .65rem; min-width: 0; }
html body.bd-homepage .dh-service-status-label { color: var(--dh-text) !important; }
html body.bd-homepage .dh-service-status-value { color: var(--dh-muted) !important; white-space: nowrap; }
body.bd-homepage .dh-service-status-arrow { transition: transform .18s ease; }
html body.bd-homepage a.dh-service-status:hover .dh-service-status-label { color: var(--dh-blue) !important; }
body.bd-homepage .dh-service-status:hover .dh-service-status-arrow { color: var(--dh-blue); transform: translate(2px,-2px); }
body.bd-homepage .dh-service-status:focus-visible { outline: 3px solid var(--dh-blue) !important; outline-offset: 4px; }
body.bd-homepage .dh-service-status[data-state="operational"] { --dh-status-dot: #16804a; }
body.bd-homepage .dh-service-status[data-state="issues"] { --dh-status-dot: #b56a00; }
body.bd-homepage .dh-service-status[data-state="maintenance"] { --dh-status-dot: #0072ce; }
html[data-theme="dark"] body.bd-homepage .dh-service-status[data-state="operational"] { --dh-status-dot: #60d394; }
html[data-theme="dark"] body.bd-homepage .dh-service-status[data-state="issues"] { --dh-status-dot: #f5b454; }
html[data-theme="dark"] body.bd-homepage .dh-service-status[data-state="maintenance"] { --dh-status-dot: #75baff; }
@media (max-width: 600px) {
  html body.bd-homepage a.dh-service-status { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  body.bd-homepage .dh-service-status-arrow { transition: none; }
}
