/* Shared by the platform install pages (msword, outlook, desktop_mac,
   desktop_windows). Page-specific only -- the hero, buttons, sections and
   cards come from sapling-ds.css; markup helpers are in install_macros.html. */

/* Supported-versions panel on the navy hero. */
.inst-supported {
  margin: 0 0 0 auto;
  max-width: 22rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--border-radius-lg);
  background: rgb(255 255 255 / 5%);
  text-align: left;
}
.inst-supported-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ds-accent-soft);
}
.inst-supported ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.inst-supported li {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.3rem 0;
  color: rgb(255 255 255 / 86%);
}
.inst-supported li i {
  font-size: 0.8em;
  color: var(--ds-accent);
}

/* Numbered step cards. */
.inst-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.inst-step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ds-line);
  border-radius: var(--border-radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.inst-step-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 1.25rem;
  border-bottom: 1px solid var(--ds-line);
  background: var(--ds-surface);
}
.inst-step-shot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgb(20 40 65 / 12%);
}
.inst-step-body {
  padding: 1.25rem 1.4rem 1.5rem;
}
.inst-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--sapling-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.inst-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.inst-step p {
  margin: 0;
  color: var(--ds-ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* "After installation" row with a product screenshot. */
.inst-after img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--ds-line);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 991.98px) {
  .inst-supported {
    margin: 0;
  }
}
