.page-home .hero {
  background: linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    url("../images/home-hero.png") center center / cover no-repeat,
    var(--bg);
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(1.75rem, 4vw, 3rem);
  box-sizing: border-box;
}

html.theme-dark .page-home .hero {
  background: linear-gradient(rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.72)),
    url("../images/home-hero.png") center / cover no-repeat,
    var(--bg);
}

.page-home .home-hero--center {
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .page-home .hero {
    background-position: center top, center top, center;
    background-size: cover, cover, auto;
    padding: 1.75rem 0 1.25rem;
  }

  .page-home .home-hero--center {
    min-height: calc(100svh - 64px);
  }
}

.page-home .home-hero__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 980px) {
  .page-home .home-hero__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.25rem;
  }
}

.page-home .home-hero__copy .eyebrow {
  margin-bottom: 0.85rem;
}

.page-home .home-hero--center .home-hero__copy {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.page-home .home-hero__copy h1 .home-hero__accent {
  display: block;
  margin-top: 0.15em;
  color: #1d4ed8;
}

html.theme-dark .page-home .home-hero__copy h1 .home-hero__accent {
  color: #38bdf8;
}

.page-home .home-hero__copy .lead {
  max-width: 58ch;
  margin: 1rem auto 0;
}

.page-home .home-hero__actions {
  margin-top: 1rem;
}

.page-home .home-hero__actions--center {
  justify-content: center;
}

.page-home .home-hero__scroll {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
}

.page-home .home-hero__scroll:hover {
  color: var(--text);
}

.page-home .home-image-frame {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--bg-elevated);
}

.page-home .home-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-image-frame video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.page-home .home-video__embed-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.page-home .home-video__embed-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-home .home-video,
.page-home .home-features {
  padding: 3rem 0;
}

.page-home .home-video .h2,
.page-home .home-features .h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.page-home .home-video__lead,
.page-home .home-features__lead {
  text-align: center;
  margin: -0.5rem auto 1.5rem;
  max-width: 52ch;
  color: var(--text-muted);
}

.page-home .home-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .page-home .home-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .home-feature-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-elevated);
  padding: 1rem 1.1rem;
}

.page-home .home-feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.page-home .home-feature-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f766e;
  flex-shrink: 0;
}

.page-home .home-feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.page-home .home-feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-home [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-home .media-lazy {
  position: relative;
}

.page-home .media-lazy.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(226, 232, 240, 0.45) 8%, rgba(255, 255, 255, 0.6) 18%, rgba(226, 232, 240, 0.45) 33%);
  background-size: 200% 100%;
  animation: home-shimmer 1.1s linear infinite;
}

.page-home .media-lazy.is-loading img,
.page-home .media-lazy.is-loading video {
  opacity: 0.35;
}

@keyframes home-shimmer {
  to {
    background-position-x: -200%;
  }
}

.page-home .home-product {
  padding: 3rem 0;
}

.page-home .home-product + .home-product {
  border-top: 1px solid var(--border);
}

.page-home .home-product__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 980px) {
  .page-home .home-product__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.25rem;
  }
}

.page-home .home-product--reverse .home-product__visual {
  order: -1;
}

@media (min-width: 980px) {
  .page-home .home-product--reverse .home-product__visual {
    order: 2;
  }
}

.page-home .home-product__copy .h2 {
  margin-bottom: 0.85rem;
}

.page-home .home-product__copy .lead {
  margin-bottom: 1rem;
}

.page-home .home-product__list {
  margin: 0 0 1.25rem;
  padding-left: 1.05rem;
  color: var(--text-muted);
}

.page-home .home-product__list li + li {
  margin-top: 0.45rem;
}

.page-home .home-audience {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}

.page-home .home-audience p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.page-home .home-audience__roles {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.page-home .home-cta {
  padding: 3rem 0;
}
