/* Homepage layout: compact hero, featured Intake card, three study cards. */

html.theme-material body.page-home {
  background: #fff;
  color: #37352f;
}

html.theme-material body.page-home .hero.hero--home {
  padding: 28px var(--page-pad) 6px;
}

html.theme-material body.page-home h1.hero-name {
  margin: 0 0 6px;
  font-family: Roboto, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #37352f;
}

html.theme-material body.page-home p.hero-title {
  width: auto;
  max-width: 36rem;
  margin: 0 0 10px;
  min-height: 0;
  font-family: Roboto, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.011em;
  color: #37352f;
  white-space: normal;
}

html.theme-material body.page-home .hero-meta-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin: 0;
  max-width: 44rem;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(55, 53, 47, 0.72);
}

html.theme-material body.page-home .hero-meta-patent {
  white-space: nowrap;
}

html.theme-material body.page-home .quiet-foot a {
  color: #37352f;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(55, 53, 47, 0.35);
  text-underline-offset: 2px;
}

html.theme-material body.page-home .quiet-foot a:hover {
  color: #1a56db;
  text-decoration-color: currentColor;
}

html.theme-material body.page-home .hero-meta-line a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(55, 53, 47, 0.28);
  text-underline-offset: 2px;
  transition: text-decoration-color 160ms ease;
}

html.theme-material body.page-home .hero-meta-line a:hover {
  color: inherit;
  text-decoration-color: rgba(55, 53, 47, 0.72);
}

html.theme-material body.page-home .index-section {
  padding: 14px var(--page-pad) 28px;
}

html.theme-material body.page-home .index-card--intake {
  margin-bottom: 14px;
}

html.theme-material body.page-home .home-studies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

html.theme-material body.page-home .index-bento__inner {
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}

html.theme-material body.page-home .index-bento__header {
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 4px;
  padding: 16px 16px 10px;
  box-sizing: border-box;
}

html.theme-material body.page-home .index-bento__eyebrow {
  font-size: 13px;
  line-height: 1.3;
}

html.theme-material body.page-home .index-bento__title,
html.theme-material body.page-home a.index-card.index-card--thinking h3 {
  display: block;
  flex: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #37352f;
}

html.theme-material body.page-home .index-card--intake .index-bento__title {
  font-size: 22px;
  font-weight: 600;
}

html.theme-material body.page-home .index-bento__title-end {
  white-space: nowrap;
}

html.theme-material body.page-home .index-bento__title-wrap {
  display: block;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0;
}

html.theme-material body.page-home .index-bento__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0 0 0 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #37352f;
  flex-shrink: 0;
  box-shadow: none;
  vertical-align: -4px;
}

html.theme-material body.page-home .index-bento__arrow svg {
  display: block;
  width: 20px;
  height: 20px;
}

html.theme-material body.page-home .index-card--intake:hover .index-bento__arrow,
html.theme-material body.page-home .index-card--inventory:hover .index-bento__arrow,
html.theme-material body.page-home .index-card--purchase:hover .index-bento__arrow,
html.theme-material body.page-home a.index-card--thinking:hover .index-bento__arrow {
  background: transparent;
  color: #37352f;
  transform: translateX(3px);
}

html.theme-material body.page-home .index-bento__stage {
  flex: 1 1 auto;
  width: auto;
  display: block;
  padding: 0 14px 14px;
}

html.theme-material body.page-home .index-bento__panel,
html.theme-material body.page-home .index-bento__panel.index-bento__panel--intake,
html.theme-material body.page-home .index-bento__panel.index-bento__panel--purchase,
html.theme-material body.page-home .index-bento__panel.index-bento__panel--inventory,
html.theme-material body.page-home .index-bento__panel.index-bento__panel--orchestration {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #e4e2de;
}

html.theme-material body.page-home .index-card--intake .index-bento__panel--intake {
  aspect-ratio: 2.35 / 1;
}

html.theme-material body.page-home .index-bento__panel--intake .index-bento__image,
html.theme-material body.page-home .index-bento__panel--purchase .index-bento__image {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  max-width: calc(100% - 28px);
  max-height: calc(100% - 28px);
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center center;
  border-radius: 8px;
  border: 1px solid rgba(55, 53, 47, 0.16);
  background: #fff;
  box-shadow:
    0 1px 2px rgba(55, 53, 47, 0.05),
    0 10px 24px rgba(55, 53, 47, 0.08);
}

html.theme-material body.page-home .index-bento__panel--intake .index-bento__image {
  width: auto;
  height: auto;
}

html.theme-material body.page-home a.index-card.index-card--thinking {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 16px;
  background: #f9f9f8;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  color: #37352f;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
}

html.theme-material body.page-home a.index-card.index-card--thinking h3,
html.theme-material body.page-home a.index-card.index-card--thinking p,
html.theme-material body.page-home a.index-card.index-card--thinking .index-bento__eyebrow {
  font-family: 'Roboto', sans-serif;
}

html.theme-material body.page-home a.index-card.index-card--thinking p {
  margin: 0;
  max-width: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  font-variant: normal;
  color: rgba(55, 53, 47, 0.72);
}

html.theme-material body.page-home a.index-card.index-card--thinking:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.04),
    0 2px 7.8px rgba(0, 0, 0, 0.027);
}

html.theme-material body.page-home a.index-card.index-card--thinking:focus-visible,
html.theme-material body.page-home .index-bento__anchor:focus-visible {
  outline: 2px solid #37352f;
  outline-offset: 3px;
}

html.theme-material body.page-home .inventory-frame {
  position: absolute;
  inset: 8px;
  container-type: size;
}

/* Natural hero device, scaled as one piece so the screen, bezel, and keys stay complete. */
html.theme-material body.page-home .inventory-frame .cs-zebra-device--hero {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 178px;
  max-width: none;
  margin: 0;
  transform-origin: center center;
  transform: translate(-50%, -50%) scale(min(
    calc((100cqh - 24px) / 420px),
    calc((100cqw - 20px) / 196px)
  ));
}

html.theme-material body.page-home .inventory-frame .cs-zebra-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center center;
}

html.theme-material body.page-home .hero.hero--home,
html.theme-material body.page-home .index-section,
html.theme-material body.page-home > footer {
  width: 100%;
  max-width: calc(var(--max-w) + 80px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  box-sizing: border-box;
}

html.theme-material body.page-home > footer {
  background: transparent;
  color: rgba(55, 53, 47, 0.55);
  text-align: left;
  padding-top: 4px;
  padding-bottom: 28px;
}

html.theme-material body.page-home .quiet-foot {
  margin: 0;
  max-width: none;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(55, 53, 47, 0.55);
}

@media (max-width: 900px) {
  html.theme-material body.page-home .hero.hero--home {
    padding: 20px var(--page-pad) 4px;
  }

  html.theme-material body.page-home h1.hero-name {
    font-size: 28px;
  }

  html.theme-material body.page-home p.hero-title {
    font-size: 16px;
  }

  html.theme-material body.page-home .hero-meta-line {
    font-size: 13px;
  }

  html.theme-material body.page-home .hero-meta-rest {
    display: block;
  }

  html.theme-material body.page-home .index-card--intake {
    margin-bottom: 12px;
  }

  html.theme-material body.page-home .home-studies {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  html.theme-material body.page-home .index-bento__panel.index-bento__panel--purchase,
  html.theme-material body.page-home .index-bento__panel.index-bento__panel--inventory {
    aspect-ratio: 16 / 10;
  }

  html.theme-material body.page-home .index-bento__title,
  html.theme-material body.page-home .index-card--intake .index-bento__title,
  html.theme-material body.page-home a.index-card.index-card--thinking h3 {
    font-size: 17px;
  }




}
