/* Landing page: architecture diagram <-> key capabilities hover linking. */

.architecture-overview svg {
  max-width: 100%;
  height: auto;
}

.architecture-overview .arch-hover {
  cursor: pointer;
  transition: fill 0.15s ease, stroke 0.15s ease;
}

.architecture-overview .arch-hover:hover,
.architecture-overview .arch-hover.is-active {
  fill: rgba(235, 116, 35, 0.1);
  stroke: #eb7423;
  stroke-width: 2px;
}

.architecture-overview .arch-hover.is-pinned {
  stroke-width: 3px;
  stroke-dasharray: none;
}

.architecture-capabilities {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}

.capability-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.capability-item {
  padding: 0.5rem 0.8rem;
  border-left: 3px solid transparent;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.capability-item:hover,
.capability-item.is-active {
  background-color: rgba(235, 116, 35, 0.1);
  border-left-color: #eb7423;
}

.capability-item.is-pinned {
  border-left-width: 4px;
  box-shadow: inset 0 0 0 1px rgba(235, 116, 35, 0.4);
}

.capability-detail {
  padding: 0.9rem 1.1rem;
  flex: 1 1 0;
  min-height: 3.2em;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 122, 122, 0.5) transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.6rem;
  border: 1px solid rgba(122, 122, 122, 0.3);
  border-radius: 6px;
  color: var(--pst-color-text-muted, #7a7a7a);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.capability-detail::-webkit-scrollbar {
  width: 7px;
}

.capability-detail::-webkit-scrollbar-thumb {
  background-color: rgba(122, 122, 122, 0.5);
  border-radius: 4px;
}

.capability-detail:has(strong) {
  color: var(--pst-color-text-base, inherit);
  border-color: #eb7423;
}

/* The card header already draws a separator below the title; drop the
   theme's default .rubric border so it isn't doubled. */
.sd-card-header .rubric {
  border-bottom: none;
}

/* Elevated "start here" card in the Get Started section. */
.sd-card.primary-path {
  border-color: #eb7423;
  border-width: 2px;
  background-color: rgba(235, 116, 35, 0.05);
}
