body.reader-page[data-article-slug="intro"] .home-quickstart {
  --home-action-text: #fff;
  container: home-quickstart / inline-size;
}

html[data-theme="dark"] body.reader-page[data-article-slug="intro"] .home-quickstart {
  --home-action-text: #211821;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-intro {
  max-width: 58ch;
  margin: 0 0 12px;
  color: var(--reader-muted);
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(10px, 3vw, 30px);
  margin-bottom: 14px;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-underline-offset: 3px;
}

body.reader-page[data-article-slug="intro"] .home-step-links .home-step-index,
body.reader-page[data-article-slug="intro"] .home-step-number {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--reader-blue);
  color: var(--color-link);
  font-weight: 700;
  line-height: 1;
}

body.reader-page[data-article-slug="intro"] .home-step-links .home-step-index {
  font-size: 12px;
}

body.reader-page[data-article-slug="intro"] .home-step-label small {
  display: block;
  color: var(--reader-muted);
  font-size: 12px;
  font-weight: 400;
}

body.reader-page[data-article-slug="intro"] .home-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding-block: clamp(24px, 4vw, 38px);
  border-top: 1px solid var(--reader-line);
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  scroll-margin-top: calc(var(--header-height) + 22px);
}

body.reader-page[data-article-slug="intro"] .home-step-number {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-copy > ol {
  padding-inline-start: 1.4em;
  margin: 0 0 16px;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-copy > ol li {
  margin-block: 4px;
}

body.reader-page[data-article-slug="intro"] .doc-content #supported-tools .home-tool-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 16px;
}

body.reader-page[data-article-slug="intro"] .doc-content #supported-tools .home-tool-shortcuts li {
  margin: 0;
}

body.reader-page[data-article-slug="intro"] .doc-content #supported-tools .home-tool-shortcuts a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid var(--reader-line);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 14px 0 22px;
}

body.reader-page[data-article-slug="intro"] .doc-content :is(a.home-action, a.home-action-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  background: var(--color-primary);
  color: var(--home-action-text);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  text-underline-offset: 3px;
}

body.reader-page[data-article-slug="intro"] .doc-content a.home-action-secondary {
  border-color: transparent;
  background: transparent;
  color: var(--color-link);
  text-decoration: underline;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-next {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
  margin: 16px 0 0;
  padding-block: 4px;
  border-top: 1px solid var(--reader-line);
  color: var(--reader-muted);
  font-size: 14px;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-next a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 650;
}

body.reader-page[data-article-slug="intro"] .home-step-next a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-figure {
  width: min(100%, 460px);
  margin: 0;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step[aria-labelledby="register-account"] .home-step-figure {
  width: min(100%, 220px);
  justify-self: center;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step[aria-labelledby="create-api-key"] .home-step-figure {
  width: min(100%, 320px);
  justify-self: center;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-figure a.reader-image {
  border: 1px solid var(--reader-line);
  background: var(--reader-soft);
}

body.reader-page[data-article-slug="intro"] .doc-content .home-step-figure figcaption {
  padding: 8px 0 0;
  font-size: 13px;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-first-request {
  padding: 16px 18px;
  margin: 0 0 34px;
  border: 1px solid var(--reader-line);
  border-radius: 8px;
  background: var(--reader-soft);
}

body.reader-page[data-article-slug="intro"] .doc-content .home-first-request h2 {
  margin: 0 0 8px;
  scroll-margin-top: calc(var(--header-height) + 22px);
}

body.reader-page[data-article-slug="intro"] .doc-content .home-first-request > :last-child {
  margin-bottom: 0;
}

body.reader-page[data-article-slug="intro"] .doc-content :is(.home-directory, .home-reference) {
  margin-top: 36px;
}

body.reader-page[data-article-slug="intro"] .doc-content :is(.home-directory, .home-reference) .reader-details {
  padding: 14px 0;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-directory-group summary span {
  margin-inline-start: 8px;
  color: var(--reader-muted);
  font-size: 13px;
  font-weight: 400;
}

body.reader-page[data-article-slug="intro"] .doc-content .home-reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0;
  list-style: none;
}

@container home-quickstart (min-width: 620px) {
  body.reader-page[data-article-slug="intro"] .home-step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(22px, 3vw, 40px);
  }
}
