.dx-solution-detail {
  --sd-ink: var(--dx-ink);
  --sd-panel: var(--dx-panel);
  --sd-panel-2: var(--dx-panel-2);
  --sd-line: var(--dx-line);
  --sd-line-strong: var(--dx-line-strong);
  --sd-text: var(--dx-text);
  --sd-muted: var(--dx-text-muted);
  --sd-dim: var(--dx-text-dim);
  --sd-blue: var(--dx-logo-blue);
  --sd-green: var(--dx-logo-green);
  --sd-red: var(--dx-red);
  min-height: 100vh;
  background: var(--sd-ink);
  color: var(--sd-text);
  font-family: var(--dx-font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.dx-solution-detail * {
  box-sizing: border-box;
}

.dx-solution-detail h1,
.dx-solution-detail h2,
.dx-solution-detail h3 {
  color: var(--sd-text);
  font-family: var(--dx-font-display);
  letter-spacing: 0;
}

.solution-switcher {
  padding: 92px 0 16px;
  background: var(--sd-panel);
  border-bottom: 1px solid var(--sd-line);
}

.switcher-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.switcher-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--sd-line);
  border-radius: 999px;
  color: var(--sd-muted);
  font-family: var(--dx-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .03em;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.switcher-pill:hover {
  border-color: var(--sd-line-strong);
  color: var(--sd-text);
}

.switcher-pill.active {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
}

.dx-solution-detail .dx-btn-primary,
.dx-solution-detail .dx-btn-primary *,
.dx-solution-detail .switcher-pill.active,
.dx-solution-detail .switcher-pill.active *,
.dx-solution-detail .gallery-tab.active,
.dx-solution-detail .gallery-tab.active *,
.dx-solution-detail [style*="background: var(--sd-blue)"],
.dx-solution-detail [style*="background: var(--sd-blue)"] * {
  color: #fff !important;
}

.sol-hero {
  position: relative;
  padding: 12rem 0 72px;
  overflow: hidden;
}

.sol-hero .dx-container {
  max-width: 820px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid var(--sd-line);
  border-radius: 999px;
  color: var(--sd-muted);
  font-family: var(--dx-font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-dot.dim {
  background: var(--sd-dim);
}

.status-dot.gold {
  background: var(--sd-blue);
}

.status-dot.teal {
  background: var(--sd-green);
}

.industry-tag {
  color: var(--sd-green);
  font-family: var(--dx-font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}

.sol-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: .95;
}

.sol-tagline {
  max-width: 680px;
  margin-bottom: 12px;
  color: var(--sd-text);
  font-size: 19px;
  font-weight: 600;
}

.sol-positioning {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--sd-muted);
  font-size: 16px;
}

.sol-hero-cta,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.detail-section {
  position: relative;
  padding: 90px 0;
  scroll-margin-top: 88px;
}

.detail-section-alt {
  background: var(--sd-panel);
}

.detail-section-head {
  margin-bottom: 40px;
}

.detail-section-head h2,
.solution-final-cta h2 {
  max-width: 780px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.03;
}

.detail-section-intro {
  max-width: 640px;
  margin-top: 14px;
  color: var(--sd-muted);
  font-size: 16px;
}

.overview-grid,
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--sd-line);
  border: 1px solid var(--sd-line);
  border-radius: var(--dx-radius);
}

.overview-cell,
.cap-card {
  min-height: 100%;
  background: var(--sd-panel-2);
  padding: 30px 28px;
}

.overview-label,
.credibility-label {
  margin-bottom: 12px;
  color: var(--sd-blue);
  font-family: var(--dx-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.overview-cell p,
.cap-card p,
.cs-block > p,
.results-panel p,
.credibility-panel p {
  color: var(--sd-muted);
  font-size: 14.5px;
}

.cs-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cs-block {
  padding: 36px 32px;
  background: var(--sd-panel-2);
  border: 1px solid var(--sd-line);
  border-radius: var(--dx-radius);
}

.solution-block {
  border-color: color-mix(in srgb, var(--sd-green) 30%, var(--sd-line));
}

.cs-block h3 {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 800;
}

.cs-block > p {
  margin-bottom: 20px;
}

.cs-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--sd-muted);
  font-size: 14px;
}

.cs-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  font-family: var(--dx-font-mono);
  font-size: 11px;
  font-weight: 700;
}

.cs-icon.warning {
  color: #fff;
  background: var(--sd-red);
}

.cs-icon.success {
  color: #fff;
  background: var(--sd-green);
}

.cap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cap-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.gallery-tab {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--sd-line);
  border-radius: 999px;
  color: var(--sd-muted);
  cursor: pointer;
  font-family: var(--dx-font-mono);
  font-size: 11.5px;
}

.gallery-tab.active {
  background: var(--sd-blue);
  border-color: var(--sd-blue);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  background: var(--sd-panel-2);
  border: 1px dashed var(--sd-line-strong);
  border-radius: var(--dx-radius);
  text-align: center;
}

.gallery-empty svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  color: var(--sd-dim);
}

.gallery-empty h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.gallery-empty p {
  max-width: 440px;
  margin: 0 auto;
  color: var(--sd-dim);
  font-size: 13.5px;
}

.credibility-panel {
  margin-top: 32px;
  padding: 32px 36px;
  background: var(--sd-panel);
  border: 1px solid var(--sd-line);
  border-left: 3px solid var(--sd-blue);
  border-radius: 0 var(--dx-radius) var(--dx-radius) 0;
}

.credibility-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}

.credibility-meta span {
  color: var(--sd-dim);
  font-family: var(--dx-font-mono);
  font-size: 11.5px;
}

.credibility-meta b {
  color: var(--sd-text);
}

.flow-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.flow-step {
  min-width: 150px;
  padding: 18px 20px;
  background: var(--sd-panel-2);
  border: 1px solid var(--sd-line);
  border-radius: var(--dx-radius);
  color: var(--sd-text);
  font-family: var(--dx-font-mono);
  font-size: 12.5px;
  text-align: center;
}

.flow-arrow {
  flex-shrink: 0;
  padding: 0 14px;
  color: var(--sd-blue);
  font-size: 18px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  padding: 7px 14px;
  border: 1px solid var(--sd-line);
  border-radius: 999px;
  color: var(--sd-green);
  font-family: var(--dx-font-mono);
  font-size: 11.5px;
}

.results-panel {
  padding: 36px 32px;
  background: var(--sd-panel-2);
  border: 1px solid var(--sd-line);
  border-radius: var(--dx-radius);
}

.solution-final-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: radial-gradient(ellipse 60% 90% at 50% 0%, var(--solution-accent-soft), transparent 70%), var(--sd-panel);
  border-top: 1px solid var(--sd-line);
  text-align: center;
}

.solution-final-cta h2 {
  margin: 0 auto 16px;
}

.cta-subheading {
  max-width: 580px;
  margin: 0 auto 32px;
  color: var(--sd-muted);
  font-size: 17px;
}

.cta-buttons {
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

html.light-mode .dx-solution-detail {
  background: var(--sd-ink);
}

html.light-mode .dx-solution-detail,
html.light-mode .dx-solution-detail h1,
html.light-mode .dx-solution-detail h2,
html.light-mode .dx-solution-detail h3,
html.light-mode .dx-solution-detail .sol-tagline,
html.light-mode .dx-solution-detail .flow-step,
html.light-mode .dx-solution-detail .credibility-meta b {
  color: #07111f;
}

html.light-mode .dx-solution-detail p,
html.light-mode .dx-solution-detail .sol-positioning,
html.light-mode .dx-solution-detail .detail-section-intro,
html.light-mode .dx-solution-detail .overview-cell p,
html.light-mode .dx-solution-detail .cap-card p,
html.light-mode .dx-solution-detail .cs-block > p,
html.light-mode .dx-solution-detail .cs-list li,
html.light-mode .dx-solution-detail .results-panel p,
html.light-mode .dx-solution-detail .credibility-panel p {
  color: #334155;
}

html.light-mode .dx-solution-detail .detail-section-alt,
html.light-mode .dx-solution-detail .solution-switcher,
html.light-mode .dx-solution-detail .solution-final-cta {
  background: #ffffff;
}

html.light-mode .dx-solution-detail .overview-cell,
html.light-mode .dx-solution-detail .cap-card,
html.light-mode .dx-solution-detail .cs-block,
html.light-mode .dx-solution-detail .gallery-empty,
html.light-mode .dx-solution-detail .flow-step,
html.light-mode .dx-solution-detail .results-panel,
html.light-mode .dx-solution-detail .credibility-panel {
  background: #ffffff;
}

html.light-mode .overview-cell,
html.light-mode .cap-card,
html.light-mode .cs-block,
html.light-mode .gallery-empty,
html.light-mode .flow-step,
html.light-mode .results-panel,
html.light-mode .credibility-panel {
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .overview-grid,
  .cs-panel,
  .cap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .solution-switcher {
    padding-top: 82px;
  }

  .dx-solution-detail .dx-container {
    width: min(var(--dx-container), calc(100% - 44px));
  }

  .sol-hero,
  .detail-section,
  .solution-final-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .sol-hero h1 {
    font-size: 42px;
  }

  .sol-hero-cta .dx-btn,
  .cta-buttons .dx-btn {
    width: 100%;
  }

  .flow-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-arrow {
    align-self: center;
    padding: 6px 0;
    transform: rotate(90deg);
  }
}
