.settings-home .hero {
  --type-hero: clamp(34px, 3.35vw, 48px);
}

.home-labels {
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.settings-home .platforms {
  margin-top: 14px;
}

.settings-home .platforms a {
  min-height: var(--tap);
}

.settings-home .tiles {
  margin-top: 24px;
}

.settings-home .tile--sage pre {
  white-space: pre-wrap;
}

.settings-home .tile--sage code {
  white-space: inherit;
  overflow-wrap: anywhere;
}

.settings-home .feature-heading .kicker,
.home-section-head .kicker {
  display: block;
  margin-bottom: .65rem;
}

.home-section-head {
  margin-bottom: clamp(18px, 3vw, 36px);
}

.home-section-head p {
  max-width: var(--measure);
  margin: .65em 0 0;
  color: var(--text-muted);
}

.settings-home .feature-rail {
  grid-auto-columns: min(100%, 680px);
}

.home-downloads .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
}

.home-checks {
  margin-top: 20px;
}

.home-checks p {
  margin-bottom: 0;
  padding-inline: 6px;
}

.home-window {
  margin-top: clamp(32px, 6vw, 80px);
}

.home-window figcaption {
  margin-bottom: 16px;
  font-weight: var(--weight-label);
}

.home-downloads,
.home-downloads + section,
.home-downloads + section + section,
.home-downloads + section + section + section {
  padding-top: 0;
}

.home-downloads .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-downloads .card h3 a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.home-downloads .card h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: .24em;
}

.home-downloads .card h3 svg {
  width: 19px;
  height: 19px;
}

.home-downloads .card .btn {
  margin-top: auto;
}

.home-more {
  margin: 22px 0 0;
}

.home-steps {
  counter-reset: first-connection;
  margin: 0;
  padding-inline-start: 0;
  list-style: none;
}

.home-steps li {
  position: relative;
  counter-increment: first-connection;
  border-top: 1px solid var(--border-strong);
  padding-block: 16px;
  padding-inline-start: 3.3rem;
}

.home-steps li::before {
  content: counter(first-connection, decimal-leading-zero);
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 0;
  font: var(--weight-label) 1rem/1.4 var(--font-mono);
  color: var(--accent-dark);
}

.home-steps p {
  max-width: var(--measure);
  margin: .5em 0 0;
}

.home-source {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 56px);
}

.home-source .prose > h3:first-child {
  margin-top: 0;
}

.home-source .prose > p:last-child {
  margin-bottom: 0;
}

.home-source-card .card-actions:not(:has(button[hidden])) {
  margin-top: 14px;
}

.home-copy-status:not(:empty) {
  margin-top: .7em;
}

@media (max-width: 768px) {
  .settings-home .hero {
    --type-hero: clamp(24px, 4vw, 30px);
  }

  .home-source {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .settings-home .feature-rail {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }

  .settings-home :is(.rail-controls, .rail-progress) {
    display: none;
  }

  .settings-home .feature-paper {
    min-height: 0;
  }

  .settings-home .hero-copy {
    padding-top: 20px;
  }

  .settings-home .hero h1 {
    margin-top: 12px;
  }

  .settings-home .hero .cta-row {
    margin-top: 16px;
    gap: 8px;
  }

  .settings-home .hero .cta-row .btn {
    padding-inline: 15px;
  }

  .settings-home .lede {
    margin-top: 12px;
  }

  .settings-home .platforms {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
  }

  .settings-home .platforms a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    font-size: .7rem;
  }

  .home-steps li {
    padding-inline-start: 2.1rem;
  }
}