/* Homepage only. Detailed lessons, tools and saved references live on /explore/. */
body[data-page-type="home"] {
  background: #fff;
}
.home-start {
  width: min(67rem, calc(100% - min(4rem, 10vw)));
  margin-inline: auto;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  color: #142d4e;
}
.home-start * {
  min-width: 0;
}
.home-start :where(h1, h2, p, dt, dd, a, li, summary) {
  overflow-wrap: anywhere;
}
.home-intro {
  max-width: 51rem;
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}
.home-kicker {
  color: #536273;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.6;
}
.home-intro h1 {
  max-width: 15ch;
  margin: 1rem auto 1.5rem;
  font-size: clamp(2.75rem, 6.5vw, 5.1rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.home-deck {
  max-width: 45ch;
  margin-inline: auto;
  color: #536273;
  font-size: clamp(1.125rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}
.home-primary {
  min-height: 3.35rem;
  max-width: 100%;
  margin-top: 1.75rem;
  padding: .9rem 1.65rem;
  border-radius: 2rem;
  font-size: 1rem;
}
.home-library-note {
  max-width: 48ch;
  margin: 1rem auto 0;
  color: #536273;
  font-size: 1rem;
  line-height: 1.7;
}
.home-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: #f6f9fb;
  border-radius: 1.25rem;
}
.home-example-heading {
  min-width: 0;
}
.home-example h2 {
  margin: .65rem 0 1rem;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.home-example-heading > p:not(.home-kicker) {
  max-width: 32ch;
  color: #536273;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.home-text-link {
  display: inline-block;
  margin-top: 1.1rem;
  padding-block: .3rem;
  font-size: 1rem;
  line-height: 1.65;
}
.home-example-detail {
  min-width: 0;
  display: grid;
  gap: 1.25rem;
}
.home-example-detail > div + div {
  padding-top: 1.25rem;
  border-top: 1px solid #dce4ea;
}
.home-example-detail dt {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
}
.home-example-detail dd {
  margin-top: .2rem;
  color: #536273;
  font-size: 1rem;
  line-height: 1.7;
}
.home-paths {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.home-path {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 2rem;
  padding-block: 1.7rem;
  border-bottom: 1px solid #dce4ea;
}
.home-path:first-child {
  border-top: 1px solid #dce4ea;
}
.home-path h2 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em;
}
.home-path h2 a {
  display: inline-block;
  padding-block: .35rem;
  color: #142d4e;
  text-decoration-color: #a0aeba;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.home-path h2 a:hover {
  color: #086f67;
  text-decoration-color: currentColor;
}
.home-path p {
  max-width: 49ch;
  color: #536273;
  font-size: 1rem;
  line-height: 1.75;
}
.home-explore {
  max-width: 55ch;
  margin: 2.1rem auto 0;
  color: #536273;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}
.home-bookmark-note {
  margin-top: 1rem;
  color: #536273;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}
.home-start a:focus-visible {
  outline: 3px solid #086f67;
  outline-offset: 5px;
}
@media (max-width: 42rem) {
  .home-start {
    width: calc(100% - min(2.5rem, 12.5vw));
  }
  .home-intro {
    padding-block: 3.5rem 3rem;
  }
  .home-intro h1 {
    max-width: 13ch;
    font-size: clamp(2.75rem, 10vw, 3.75rem);
  }
  .home-example {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: min(1.5rem, 7.5vw);
    border-radius: 1rem;
  }
  .home-example-heading > p:not(.home-kicker) {
    max-width: none;
  }
  .home-path {
    grid-template-columns: minmax(0, 1fr);
    gap: .45rem;
    padding-block: 1.4rem;
  }
  .home-explore, .home-bookmark-note {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-start *, .home-start *::before, .home-start *::after {
    scroll-behavior: auto;
    animation: none;
    transition: none;
  }
}
@media print {
  .home-intro {
    padding-block: 1.5rem;
  }
  .home-example {
    break-inside: avoid;
  }
  .home-primary {
    color: #142d4e;
    background: transparent;
    border-color: #142d4e;
  }
}
