/* The router mounts #hero-wrap only on the home page, including its pixel-story deep link. */
body:has(#main > #hero-wrap) {
  --home-green: #63b22f;
  --home-green-hover: #86c64e;
  --home-green-ink: #326914;
  --home-green-light: #ace57d;
  --accent: var(--home-green-ink);
}

body:has(#main > #hero-wrap) .hero .overline span,
body:has(#main > #hero-wrap) .tech-section .section-label i {
  background-color: var(--home-green);
}

body:has(#main > #hero-wrap) .accent-btn {
  background-color: var(--home-green);
  color: #11181c;
}

body:has(#main > #hero-wrap) .accent-btn:hover {
  background-color: var(--home-green-hover);
}

body:has(#main > #hero-wrap) .slide-tabs button::before {
  background-color: #67707b;
}

body:has(#main > #hero-wrap) .slide-tabs button[aria-pressed="true"]::before {
  background-color: var(--home-green-light);
}

body:has(#main > #hero-wrap) .text-link:hover,
body:has(#main > #hero-wrap) .solution-symbol {
  color: var(--home-green-ink);
}

body:has(#main > #hero-wrap) .led-story__project {
  color: var(--home-green-light);
  text-decoration-color: currentColor;
  background-color: rgb(9 14 23 / 88%);
}

body:has(#main > #hero-wrap) .led-story :focus-visible {
  outline-color: var(--home-green-light);
  box-shadow: 0 0 0 2px #142719;
}

body:has(#main > #hero-wrap) .led-story__steps button[aria-pressed="true"] .led-story__number {
  color: var(--home-green-light);
}

body:has(#main > #hero-wrap) .led-story__progress {
  color: var(--home-green-light);
  accent-color: var(--home-green-light);
}

body:has(#main > #hero-wrap) .led-story__progress::-webkit-progress-value {
  background-color: var(--home-green-light);
}

body:has(#main > #hero-wrap) .led-story__progress::-moz-progress-bar {
  background-color: var(--home-green-light);
}

#hero-wrap .slide-tabs button:is(:hover, :focus-visible)::before {
  height: 5px;
  top: 10px;
  border-radius: 2px;
}
#hero-wrap .slide-tabs button:focus-visible {
  outline: 2px solid white;
  outline-offset: 1px;
}
.featured .text-link:is(:hover, :focus-visible) { border-bottom: 2px solid currentColor; padding-bottom: 5px; }
@media (prefers-reduced-motion: no-preference) {
  #hero-wrap .slide-tabs button::before { transition: height .15s ease, top .15s ease; }
  .featured .text-link svg { transition: transform .16s ease; }
  .featured .text-link:is(:hover, :focus-visible) svg { transform: translateX(4px); }
}
