.ltm-home-hero.docutils.container {
  padding: 1.5rem 1.65rem;
  margin-block: 0.75rem 1.75rem;
  border: 1px solid var(--pst-color-border);
  border-radius: 1rem;
  background: linear-gradient(125deg, rgba(40, 124, 142, 0.09), transparent 75%);
}

.ltm-home-hero p:first-child {
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2.25vw, 1.9rem);
  font-weight: 650;
  line-height: 1.3;
  color: var(--pst-color-heading);
}

.ltm-home-hero p:last-child { margin-bottom: 0; }

.ltm-home-illustration {
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin: 1.5rem auto;
}

.ltm-home-dimensions .sd-card {
  border-radius: 0.8rem;
  border-top: 3px solid #287c8e;
  box-shadow: none;
}

.ltm-home-dimensions .sd-col:nth-child(2) .sd-card { border-top-color: #c46532; }
.ltm-home-dimensions .sd-col:nth-child(3) .sd-card { border-top-color: #6972ae; }
.ltm-home-dimensions .sd-card-title { font-size: 1.2rem; }

/* Pin each card's metric list (its last paragraph) to the bottom edge. */
.ltm-home-dimensions .sd-card-body {
  display: flex;
  flex-direction: column;
}
.ltm-home-dimensions .sd-card-body > p:last-of-type {
  margin-top: auto;
  margin-bottom: 0;
}

.ltm-home-actions { margin-block: 1.25rem 1.75rem; }
.ltm-home-actions a { margin-right: 1rem; }

.ltm-plot #ltm-home-reference { min-width: 0; }
:is(.ltm-home-reference, .ltm-home-latency) .ltm-plot { margin-bottom: 0.25rem; }
:is(.ltm-home-reference, .ltm-home-latency) > p:last-child {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}
.ltm-plot #ltm-home-latency { min-width: 0; }
:is(.ltm-home-reference, .ltm-home-latency) .ltm-plot {
  max-width: 600px;
  margin-inline: auto;
}

.ltm-home-datasets { margin-block: 1rem; overflow-x: auto; }
.ltm-home-dataset-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.ltm-home-dataset-table :is(th, td) {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--pst-color-border);
  text-align: right;
  vertical-align: middle;
}
.ltm-home-dataset-table :is(th, td):first-child { text-align: left; }

@media (max-width: 575px) {
  .ltm-home-hero.docutils.container { padding: 1.1rem; }
}
