/* Homepage introduction and research links; market data retains its own styles. */
.home-intro {
  min-width: 0;
  margin: 0 0 20px;
}

.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--text-small);
  line-height: 1.5;
  letter-spacing: .035em;
}

.home-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  flex-shrink: 0;
  background: #f7931a;
}

.home-intro h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.home-intro h1 > span {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.home-description {
  max-width: 70ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.6;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.home-actions > a {
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 17px;
  font-size: var(--text-body);
  text-align: center;
  white-space: normal;
}

.home-quicklinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
  margin-top: 12px;
  font-size: var(--text-small);
  line-height: 1.5;
}

.home-quicklinks > span {
  color: var(--muted);
}

.home-quicklinks > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: #b2b8bf;
  text-underline-offset: 4px;
}

.home-quicklinks > a:hover,
.home-research a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: currentColor;
}

.home-research {
  min-width: 0;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: var(--text-body);
}

.home-research > h2 {
  margin: 0 0 12px;
  font-size: var(--text-section);
  line-height: 1.35;
  letter-spacing: -.025em;
}

.home-leverage-definition {
  max-width: 90ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.65;
}

.home-research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.home-research-card {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.home-research-card h3 {
  margin: 0;
  font-size: var(--text-lead);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.015em;
}

.home-research-card h3 a {
  color: var(--ink);
}

.home-research-card h3 span {
  white-space: nowrap;
}

.home-research-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.65;
}

.home-source-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.7;
}

.home-source-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-programs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 30px;
  row-gap: 14px;
  margin-top: 26px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.home-programs > div {
  min-width: 0;
}

.home-programs-label {
  display: block;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.5;
}

.home-programs h3 {
  margin: 10px 0 0;
  font-size: var(--text-title);
  line-height: 1.4;
  letter-spacing: -.02em;
}

.home-programs > div > p {
  max-width: 70ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.65;
}

.home-program-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-program-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  color: var(--ink);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
}

.home-program-links a span {
  flex-shrink: 0;
}

.home-affiliate-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .home-programs {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .home-intro {
    margin-bottom: 14px;
  }

  .home-intro h1 > span {
    font-size: var(--text-lead);
  }

  .home-actions {
    gap: 10px;
    margin-top: 14px;
  }

  .home-actions > a {
    width: 100%;
    justify-content: space-between;
    padding: 10px 14px;
    text-align: left;
  }

  .home-quicklinks {
    column-gap: 18px;
    margin-top: 10px;
  }

  .home-quicklinks > span {
    flex-basis: 100%;
    margin-bottom: 2px;
  }

  .home-research {
    margin-top: 26px;
    padding-top: 22px;
  }

  .home-research > h2 {
    font-size: var(--text-title);
  }

  .home-research-card,
  .home-programs {
    padding: 18px;
  }
}
