.threads-page {
  background: #f5f9fd;
}
.threads-page .eyebrow,
.threads-page a:not(.button) {
  color: var(--threads-action);
}
.threads-page .brand,
.threads-page .footer-brand {
  color: #272335;
}
.threads-page .brand-mark {
  color: var(--threads-action);
}
.threads-page a:focus-visible {
  outline-color: var(--threads-accent);
}
.threads-hero {
  padding: 62px 0 66px;
}
.threads-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  font:
    30px Manrope,
    system-ui,
    sans-serif;
}
.threads-heading img {
  border-radius: 16px;
}
.threads-hero h1 {
  font-size: clamp(40px, 5.8vw, 68px);
  letter-spacing: -0.05em;
}
.threads-hero h1 > span {
  color: var(--threads-accent);
}
.threads-intro {
  max-width: 660px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
}
.threads-hero .threads-download {
  margin-top: 10px;
}
.download-detail {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 14px;
}
.download-detail a,
.setup-panel a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.step-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step-grid li {
  background: white;
  padding: 26px;
  border: 1px solid var(--threads-border);
  border-radius: 20px;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--threads-action);
  background: #e2effa;
  font-size: 13px;
  font-weight: 700;
}
.step-grid h3,
.setup-panel h3 {
  font-size: 21px;
  margin: 22px 0 12px;
}
.step-grid p,
.threads-setup p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.threads-setup {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin: 64px 0;
  align-items: start;
}
.threads-setup h2 {
  margin-bottom: 20px;
}
.setup-panel {
  padding: 28px;
  background: #edf5fc;
  border: 1px solid var(--threads-border);
  border-radius: 20px;
}
.setup-panel h3 {
  margin-top: 0;
}
.setup-panel pre {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--threads-border);
  padding: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.setup-panel .beta-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--threads-border);
  font-size: 13px;
}
@media (max-width: 800px) {
  .step-grid {
    grid-template-columns: 1fr;
  }
  .threads-setup {
    grid-template-columns: 1fr;
    gap: 26px;
    margin: 44px 0;
  }
}
@media (max-width: 420px) {
  .threads-hero {
    padding: 38px 0 44px;
  }
  .threads-heading {
    font-size: 25px;
    gap: 10px;
  }
  .threads-heading img {
    width: 56px;
    height: 56px;
  }
  .threads-hero h1 {
    font-size: 39px;
  }
  .threads-intro {
    font-size: 17px;
  }
  .step-grid li,
  .setup-panel {
    padding: 22px;
  }
}
