.scope-home { --home-tint: #edf0e7; --home-dark: #162a21; }
.scope-home h1,
.scope-home .home-section-top h2,
.scope-home .home-answer-copy h2 { text-wrap: balance; }
.scope-home .home-kicker {
  margin: 0 0 14px;
  color: #41614b;
  font-size: .8125rem;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.08fr minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding-block: clamp(54px, 7vw, 104px);
}
.home-hero-copy { min-width: 0; }
.scope-home .home-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.4rem, 6.7vw, 6.5rem);
  font-weight: 780;
  letter-spacing: -.084em;
  line-height: .96;
}
.home-hero h1 em {
  color: #41614b;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.scope-home .home-lead {
  max-width: 44ch;
  margin: 25px 0;
  font-size: clamp(1.0625rem, 1.55vw, 1.25rem);
  line-height: 1.7;
}
.home-jump { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 23px; font-size: .875rem; font-weight: 650; }
.home-jump a { padding-block: 6px; }
.home-hero-figure {
  display: grid;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: var(--home-dark);
}
.home-hero-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1.23; object-fit: cover; object-position: center 46%; }
.home-hero-figure figcaption a { display: grid; gap: 5px; padding: clamp(16px, 2.6vw, 27px); }
.home-hero-figure figcaption a:hover .home-hero-link { text-decoration: underline; text-underline-offset: .25em; }
.home-hero-figure figcaption a:focus-visible { outline-offset: -5px; outline-color: var(--lime); }
.home-hero-figure figcaption span { font-size: .875rem; color: #deebd9; }
.home-hero-figure figcaption strong { font-size: clamp(1.125rem, 2vw, 1.5rem); letter-spacing: -.03em; }
.home-hero-figure figcaption .home-hero-link { color: var(--lime); font-weight: 700; }

.home-section { padding-block: clamp(52px, 7vw, 96px); scroll-margin-top: 16px; }
.home-section-top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px 35px; margin-bottom: 30px; }
.home-section-top > div { max-width: 750px; }
.scope-home .home-section-top h2, .scope-home .home-answer-copy h2 { margin: 0; font-size: clamp(2.25rem, 4.7vw, 4.1rem); letter-spacing: -.07em; line-height: 1.02; }
.scope-home .home-section-top p:not(.home-kicker) { max-width: 64ch; margin: 14px 0 0; font-size: 1.0625rem; }
.scope-home .home-underlined { color: #31523b; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.scope-home .home-underlined:hover, .scope-home .home-answers-list a:hover { text-decoration-thickness: 2px; }
.home-featured { background: var(--home-tint); }
.scope-home .featured-grid { gap: 14px; }
.scope-home .featured-grid .editorial-card { padding: 14px 14px 18px; }
.scope-home .featured-grid .category-label { font-size: .8125rem; }
.scope-home .featured-grid p,
.scope-home #tools .directory-card p { font-size: 1rem; }
.scope-home .card-link { font-size: .875rem; }

.home-topic-grid, .home-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-topic-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 29px);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  transition: border-color .16s, box-shadow .16s;
}
.home-topic-card:hover { border-color: #75927c; box-shadow: 0 8px 20px #192e2011; }
.home-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 1px 11px;
  border-radius: 99px;
  background: #e8efe1;
  color: #35513d;
  font-size: .8125rem;
  font-weight: 700;
}
.home-topic-card h3, .home-work-feature h3, .home-tool-example h3 { margin: 15px 0 0; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.04em; }
.home-topic-card p { margin: 9px 0 15px; }
.home-card-link { margin-top: auto; color: #31523b; font-size: .875rem; font-weight: 750; }
.home-topic-card:hover .home-card-link { text-decoration: underline; text-underline-offset: .2em; }

.home-markets { background: #192e25; color: #f3f8f4; }
.scope-home .home-markets p { color: #d1dfd2; }
.scope-home .home-markets .home-kicker { color: #d5ee9f; }
.scope-home .home-market-button { background: var(--lime); color: #17291f; }
.scope-home .home-market-button:hover { background: #e8fcad; }
.home-market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.scope-home .home-market-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid #527263;
  border-radius: 16px;
  background: #223c30;
}
.scope-home .home-market-card:hover { background: #2b493b; border-color: #c1dca9; }
.home-symbol { color: #d5ee9f; font-size: .875rem; font-weight: 710; letter-spacing: .06em; }
.home-market-card h3 { margin: 10px 0 4px; font-size: 1.45rem; }
.home-market-card p { margin: 0; }
.home-markets :focus-visible { outline-color: var(--lime); }
.home-market-reading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; margin-top: 21px; }
.home-market-reading p { max-width: 67ch; margin: 0; }
.scope-home .home-market-reading a { color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

.home-tool-intro {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  margin-bottom: 34px;
}
.home-tool-example h3 { margin-top: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.home-tool-example p { max-width: 47ch; }
.scope-home .quick-head p { color: #c8d9ca; }
.scope-home .quick-fields label, .scope-home .quick-link { font-size: .875rem; }
.scope-home #tools .directory-search input { max-width: 100%; }

.home-work { background: var(--home-tint); }
.home-work-feature {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-bottom: 16px;
  border-radius: 20px;
  background: #fff;
}
.home-work-feature img { width: 100%; height: 100%; max-height: 290px; object-fit: cover; }
.home-work-feature > div { align-self: center; padding: clamp(20px, 4vw, 42px); }
.home-work-feature h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.home-work-feature p:not(.home-kicker) { margin: 12px 0; }

.home-answers { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(26px, 5vw, 80px); align-items: start; }
.home-answer-copy > p:not(.home-kicker) { max-width: 48ch; }
.home-answers-list { border-block: 1px solid var(--line); }
.home-answers-list details + details { border-top: 1px solid var(--line); }
.home-answers-list summary { cursor: pointer; padding: 17px 4px; font-weight: 730; }
.home-answers-list details p { margin: 0; padding: 0 12px 16px 20px; }
.scope-home .home-answers-list a { color: #31523b; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 900px) {
  .home-topic-grid, .home-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .home-hero, .home-tool-intro, .home-work-feature, .home-answers { grid-template-columns: minmax(0, 1fr); }
  .home-hero { padding-top: 40px; }
  .home-hero-figure img { aspect-ratio: 1.5; }
  .home-topic-grid, .home-work-grid { grid-template-columns: minmax(0, 1fr); }
  .home-work-feature img { height: auto; aspect-ratio: 2; }
}
@media (max-width: 380px) {
  .scope-home .home-hero h1 { font-size: 3rem; }
  .home-market-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .scope-home .home-topic-card, .scope-home .directory-card { transition: none; }
}
