*,
*::before,
*::after {
  box-sizing: border-box;
}

.home-page {
  overflow-x: clip;
  --home-section-gap: 120px;
  --home-container-width: min(1240px, calc(100% - 56px));
  --home-container-gutter: 28px;
  --home-container-edge: max(var(--home-container-gutter), calc((100vw - 1240px) / 2));
  display: flex;
  flex-direction: column;
  gap: var(--home-section-gap);
}

/* Keep every bounded Home section on the same horizontal grid. */
.home-page .home-hero__inner,
.home-page .home-hero__partners,
.home-page .home-applications__inner,
.home-page .home-usecases__inner,
.home-page .home-insights__inner,
.home-page .testimonials-segment,
.home-page .products-segment,
.home-page .impact-banner,
.home-page .lab-results-segment,
.home-page .installer-network,
.home-page .consultation-segment {
  width: var(--home-container-width);
}

.home-page .testimonials-segment {
  padding-inline: 0;
}

.home-page .testimonials-segment__grid {
  width: 100vw;
  margin-inline: calc((100% - 100vw) / 2);
  padding-inline: var(--home-container-edge);
  transform: none;
  scroll-padding-inline: var(--home-container-edge);
}

.home-page .testimonials-segment__grid > .testimonial-card:first-child,
.home-page .testimonials-segment__grid > .testimonial-card:last-child {
  margin-inline: 0;
}

.home-page .impact-page,
.home-page .lab-results-page,
.home-page .installer-network-page,
.home-page .consultation-page {
  padding-inline: 0;
}

.home-page .certificates-segment__content {
  padding-inline: max(var(--home-container-gutter), calc((100% - 1240px) / 2));
}

.home-hero {
  position: relative;
  margin-bottom: 0;
}

.home-hero__stage {
  position: relative;
  min-height: clamp(520px, 56vw, 620px);
  overflow: hidden;
  background: var(--color-neutral-11);
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
}

.home-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__media-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transition: opacity 900ms ease;
  will-change: opacity;
}

.home-hero__media-item:first-child,
.home-hero__media-item.is-active {
  opacity: 1;
  z-index: 1;
}

.home-hero__overlay {
  z-index: 1;
}

.home-hero__overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(44 55 64 / 0.12);
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 56px));
  height: 100%;
  margin: 0 auto;
  padding-top: clamp(48px, 6vw, 92px);
  padding-bottom: 56px;
}

.home-hero__content {
  width: min(100%, 420px);
  margin-inline-end: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: right;
}

.home-hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: var(--color-white);
}

.home-hero__title-line {
  display: block;
}

.home-hero__title-line--top {
  letter-spacing: -0.03em;
}

.home-hero__title-line--bottom {
  letter-spacing: -0.02em;
  text-shadow: 0 5px 4px rgb(0 0 0 / 25%);
}

.home-hero__badge {
  margin: 0;
  width: fit-content;
  max-width: 250px;
  padding: 10px 15px;
  text-align: center;
  color: var(--color-white);
  background: var(--color-violet-500);
}

.home-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 4px;
}

.home-hero__action {
  width: auto;
}

.home-hero__action--primary {
  --button-width: 248px;
}

.home-hero__action--secondary {
  --button-width: 186px;
}

.home-hero__social-rail {
  position: fixed;
  inset-inline-end: 8px;
  top: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 52px;
  color: var(--color-neutral-9);
  font-family: var(--font-primary);
  font-size: 12px;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  z-index: 3;
  text-decoration: none;
  pointer-events: auto;
  height: auto;
  justify-content: center;
  opacity: 1;
  transition: opacity 180ms ease;
}

.home-hero__social-rail.is-scrolled {
  opacity: 0.72;
}

.home-hero__social-link {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.home-hero__social-link:hover,
.home-hero__social-link:focus-visible {
  color: var(--color-neutral-11);
  outline: none;
}

.home-hero__partners {
  position: relative;
  z-index: 2;
  width: min(1330px, calc(100% - 56px));
  margin: -40px auto 0;
  padding: 24px 28px 22px;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 18px 30px rgb(0 0 0 / 0.28);
}

.home-hero__partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
  align-items: start;
}

.home-hero__partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.home-hero__partner-logo {
  display: block;
  width: min(100%, 116px);
  height: auto;
}

.home-hero__partner-caption {
  margin: 0;
  color: var(--color-neutral-11);
}

@media (max-width: 992px) {
  .home-page {
    --home-container-width: calc(100% - 40px);
    --home-container-gutter: 20px;
    --home-container-edge: 20px;
  }

  .home-hero__inner,
  .home-hero__partners {
    width: calc(100% - 40px);
  }

  .home-hero__stage {
    min-height: 600px;
  }

  .home-hero__content {
    width: min(100%, 380px);
  }

  .home-hero__partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 767px) {
  .home-hero {
    margin-bottom: 20px;
  }

  .home-hero__stage {
    min-height: 680px;
  }

  .home-hero__inner {
    width: calc(100% - 32px);
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .home-hero__content {
    width: min(100%, 100%);
    gap: 14px;
  }

  .home-hero__title {
    gap: 2px;
  }

  .home-hero__badge {
    padding: 12px 14px;
    max-width: 100%;
  }

  .home-hero__actions {
    width: 100%;
    align-items: flex-end;
    gap: 12px;
  }

  .home-hero__action--primary,
  .home-hero__action--secondary {
    --button-width: 100%;
    width: 100%;
  }

  .home-hero__partner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 16px;
  }

  .home-hero__partners {
    width: calc(100% - 24px);
    margin-top: -28px;
    padding: 18px 16px 16px;
    border-radius: 12px;
  }

  .home-hero__partner-card {
    flex: 0 0 124px;
    gap: 10px;
    scroll-snap-align: start;
  }

  .home-hero__partner-logo {
    width: min(100%, 112px);
  }

  .home-hero__social-rail {
    display: none;
    top: 58px;
    gap: 28px;
    font-size: 10px;
  }
}

.home-applications {
  color: var(--color-white);
}

.home-applications__inner {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
}

.home-applications__eyebrow {
  display: inline-flex;
  align-items: stretch;
  flex-direction: row;
  direction: ltr;
  margin-inline-start: auto;
  margin-bottom: 14px;
  gap: 8px;
}

.home-applications__eyebrow-label {
  margin: 0;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--color-neutral-11);
  background: var(--color-neutral-2);
  font-weight: 500;
}

.home-applications__eyebrow-icon {
  width: 58px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-violet-500);
  aspect-ratio: 1 / 1;
}

.home-applications__eyebrow-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.home-applications__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 388px);
  gap: 0 44px;
  align-items: start;
  direction: ltr;
}

.home-applications__rows {
  display: flex;
  flex-direction: column;
}

.home-applications__item {
  border-bottom: 1px solid var(--color-neutral-5);
}

.home-applications__item:first-child {
  border-top: 1px solid var(--color-neutral-5);
}

.home-applications__row {
  width: 100%;
  border: 0;
  min-height: 88px;
  padding: 0;
  font: inherit;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 0;
  color: inherit;
  text-decoration: none;
  background: transparent;
  appearance: none;
  cursor: pointer;
  text-align: inherit;
}

.home-applications__row:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.4);
  outline-offset: 4px;
}

.home-applications__row-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  background: var(--color-primary);
}

.home-applications__row-icon img {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 160ms ease;
}

.home-applications__row-title {
  margin: 0;
  direction: rtl;
  color: var(--color-neutral-11);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-applications__row-index {
  margin: 0;
  direction: ltr;
  text-align: right;
  color: var(--color-neutral-9);
}

.home-applications__row:hover .home-applications__row-icon img,
.home-applications__item.is-open .home-applications__row-icon img {
  transform: rotate(180deg);
}

.home-applications__row:hover .home-applications__row-icon img {
  transform: translateY(1px);
}

.home-applications__item.is-open .home-applications__row:hover .home-applications__row-icon img,
.home-applications__item.is-open .home-applications__row:focus-visible .home-applications__row-icon img {
  transform: rotate(180deg) translateY(1px);
}

.home-applications__row:focus-visible .home-applications__row-icon img {
  transform: translateY(1px);
}

.home-applications__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.32s ease;
  will-change: height;
}

.home-applications__panel-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 20px 0px;
}

.home-applications__panel-media {
  margin: 0;
  width: 232px;
  height: 232px;
  flex: 0 0 232px;
  overflow: hidden;
  border-radius: 8px;
}

.home-applications__panel-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-applications__panel-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.home-applications__panel-content {
  min-width: 0;
  flex: 1 1 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.home-applications__panel-heading {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.home-applications__panel-index {
  width: 30px;
  min-height: 26px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-9);
  font-size: 18px;
  line-height: 26px;
  font-weight: var(--fw-regular);
  text-align: center;
}

.home-applications__panel-title {
  width: 100%;
  margin: 0;
  color: var(--color-neutral-11);
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  text-align: right;
}

.home-applications__panel-subtitle {
  width: 100%;
  margin: 0;
  color: var(--color-neutral-11);
  font-size: 18px;
  line-height: 26px;
  font-weight: var(--fw-regular);
  text-align: right;
}

.home-applications__panel-copy {
  width: 100%;
  margin: 40px 0 0;
  color: var(--color-neutral-8);
  font-size: 16px;
  line-height: 22px;
  font-weight: var(--fw-regular);
  text-align: right;
}

.home-applications__panel-copy--mobile {
  display: none;
}

.home-applications__panel-actions {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  direction: ltr;
}

.home-applications__panel-button {
  width: auto;
  min-width: 0;
  height: 48px;
  --button-width: auto;
  flex-direction: row-reverse;
}

.home-applications__panel-button .spec-button__label {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-inline-start: 0;
  padding-inline-end: 16px;
  font-size: var(--fs-button-1);
  line-height: 32px;
  font-weight: var(--fw-medium);
}

@media (min-width: 768px) {
  .home-applications__item.is-closing > .home-applications__row {
    display: grid;
  }

  .home-applications__panel-actions .spec-button--green-outline {
    width: 211px;
  }
}

.home-applications__visual {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.home-applications__image {
  width: min(100%, 388px);
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 368 / 403;
}

@media (max-width: 992px) {
  .home-applications__inner {
    width: calc(100% - 24px);
  }

  .home-applications__layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 0 28px;
  }

  .home-applications__image {
    width: min(100%, 340px);
  }
}

@media (min-width: 768px) and (max-width: 1212px) {
  .home-applications__layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .home-applications__visual {
    order: -1;
    width: 100%;
  }

  .home-applications__image {
    width: min(100%, 388px);
  }

  .home-applications__rows {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .home-page {
    --home-section-gap: 72px;
    --home-container-width: calc(100% - 24px);
    --home-container-gutter: 12px;
    --home-container-edge: 12px;
  }

  .home-applications {
    padding: 18px 0 44px;
  }

  .home-applications__inner {
    width: var(--home-container-width);
  }

  .home-applications__eyebrow {
    width: 100%;
    margin-bottom: 12px;
  }

  .home-applications__eyebrow-label {
    flex: 1 1 auto;
    padding: 11px 16px 10px;
    justify-content: flex-end;
    font-weight: 600;
  }

  .home-applications__eyebrow-icon {
    width: 48px;
  }

  .home-applications__layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .home-applications__visual {
    order: -1;
    width: 100%;
  }

  .home-applications__image {
    width: min(61vw, 227px);
    margin-inline-start: auto;
    margin-inline-end: auto;
  }

  .home-applications__row {
    min-height: 88px;
    grid-template-columns: 40px minmax(0, 1fr) 34px;
  }

  .home-applications__panel-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-inline: 0;
    padding-block: 16px 18px;
  }

  .home-applications__panel-media {
    width: 100%;
    height: auto;
    flex-basis: auto;
    border-radius: 14px;
  }

  .home-applications__panel-media picture {
    height: auto;
  }

  .home-applications__panel-image {
    height: auto;
    aspect-ratio: 384 / 190;
  }

  .home-applications__panel-content {
    width: 100%;
    flex: 0 0 auto;
    align-self: auto;
    gap: 0;
  }

  .home-applications__panel-heading {
    display: none;
  }

  .home-applications__panel-copy {
    margin: 18px auto 0;
    max-width: 54ch;
    text-align: center;
    font-size: inherit;
    line-height: inherit;
  }

  .home-applications__panel-copy--desktop {
    display: none;
  }

  .home-applications__panel-copy--mobile {
    display: block;
  }

  .home-applications__panel-actions {
    margin-top: 18px;
    flex-direction: column;
    gap: 8px;
    direction: rtl;
  }

  .home-applications__panel-button {
    width: 100%;
    height: auto;
    --button-width: 100%;
  }

  .home-applications__panel-button .spec-button__label {
    flex: 1 1 auto;
    padding-inline-end: 10px;
    font-size: var(--fs-button-2);
    line-height: var(--lh-button-2);
    font-weight: var(--fw-button-2);
  }
}

.home-usecases {
  padding: 22px 0 48px;
  background: transparent;
}

.home-usecases__inner {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

.home-usecases__eyebrow {
  display: inline-flex;
  align-items: stretch;
  flex-direction: row;
  direction: ltr;
  margin-inline-start: auto;
  margin-bottom: 22px;
  border-radius: 12px;
  overflow: hidden;
}

.home-usecases__eyebrow-label {
  margin: 0;
  padding: 13px 22px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-11);
  background: var(--color-neutral-2);
}

.home-usecases__eyebrow-icon {
  width: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-violet-500);
}

.home-usecases__eyebrow-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.home-usecases__desktop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 32px 48px;
  align-items: start;
  direction: ltr;
}

.home-usecases__desktop-list {
  display: flex;
  flex-direction: column;
}

.home-usecases__row {
  width: 100%;
  min-height: 88px;
  padding: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 38px;
  align-items: center;
  background: transparent;
  color: inherit;
  appearance: none;
  text-align: inherit;
  list-style: none;
  cursor: pointer;
}

.home-usecases__row::-webkit-details-marker {
  display: none;
}

.home-usecases__row::marker {
  content: "";
}

.home-usecases__row-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  background: var(--color-primary);
}

.home-usecases__row-icon img {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 160ms ease;
}

.home-usecases__row-title {
  margin: 0;
  direction: rtl;
  text-align: center;
  color: var(--color-neutral-8);
}

.home-usecases__row-index {
  margin: 0;
  direction: ltr;
  text-align: right;
  color: var(--color-neutral-8);
}

.home-usecases__row:hover .home-usecases__row-icon img,
.home-usecases__row:focus-visible .home-usecases__row-icon img {
  transform: translateY(1px);
}

.home-usecases__row:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.4);
  outline-offset: 4px;
}

.home-usecases__visual {
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.home-usecases__main-image {
  width: min(100%, 430px);
  height: auto;
  display: block;
  object-fit: contain;
  margin-inline-start: auto;
}

.home-usecases__mobile-stack {
  display: none;
}

.home-usecases__accordion {
  display: flex;
  flex-direction: column;
}

.home-usecases__accordion-item {
  border-bottom: 1px solid rgb(255 255 255 / 0.55);
}

.home-usecases__accordion-item:first-child {
  border-top: 1px solid rgb(255 255 255 / 0.55);
}

.home-usecases__accordion-summary {
  min-height: 74px;
  padding: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 0;
  list-style: none;
  cursor: pointer;
}

.home-usecases__accordion-summary::-webkit-details-marker {
  display: none;
}

.home-usecases__accordion-panel {
  padding: 14px 0 4px;
}

.home-usecases__accordion-panel--desktop {
  padding: 18px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.home-usecases__panel-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.home-usecases__panel-copy {
  margin: 14px 0 0;
  text-align: center;
  color: var(--color-neutral-6);
}

.home-usecases__accordion-panel--desktop .home-usecases__panel-copy {
  margin: 0;
  max-width: 520px;
  text-align: right;
}

.home-usecases__panel-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.home-usecases__accordion-panel--desktop .home-usecases__panel-actions {
  margin-top: 0;
}

.home-usecases__panel-button {
  width: 100%;
  --button-width: 100%;
}

.home-usecases__accordion-item[open] .home-usecases__row-icon img {
  transform: rotate(180deg);
}

.home-usecases__accordion-item[open] .home-usecases__row-title,
.home-usecases__accordion-item[open] .home-usecases__row-index {
  color: var(--color-white);
}

@media (max-width: 992px) {
  .home-usecases__inner {
    width: calc(100% - 40px);
  }

  .home-usecases__desktop-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 28px 32px;
  }

  .home-usecases__row {
    min-height: 80px;
    grid-template-columns: 40px minmax(0, 1fr) 34px;
  }

  .home-usecases__main-image {
    width: min(100%, 360px);
  }
}

@media (max-width: 767px) {
  .home-applications__rows {
    width: 100%;
  }

  .home-applications__row {
    min-height: 88px;
    grid-template-columns: 40px minmax(0, 1fr) 34px;
  }

  .home-applications__panel {
    padding-inline: 0;
  }

  .home-usecases {
    padding: 18px 0 44px;
  }

  .home-usecases__inner {
    width: calc(100% - 24px);
  }

  .home-usecases__eyebrow {
    width: min(100%, 344px);
    margin-bottom: 16px;
  }

  .home-usecases__eyebrow-label {
    flex: 1 1 auto;
    padding: 11px 18px 10px;
  }

  .home-usecases__eyebrow-icon {
    width: 44px;
  }

  .home-usecases__desktop-grid {
    display: none;
  }

  .home-usecases__mobile-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .home-usecases__main-image {
    width: min(100%, 314px);
    margin-inline-start: auto;
    margin-inline-end: auto;
  }

  .home-usecases__accordion-summary {
    min-height: 70px;
    grid-template-columns: 38px minmax(0, 1fr) 34px;
  }

  .home-usecases__panel-actions {
    margin-top: 16px;
  }
}

.home-insights__inner {
  width: min(1232px, calc(100% - 16px));
  margin: 0 auto;
}

.home-insights__eyebrow {
  display: inline-flex;
  align-items: stretch;
  flex-direction: row;
  direction: ltr;
  margin-inline-start: auto;
  margin-bottom: 14px;
  gap: 8px;
}

.home-insights__eyebrow-label {
  margin: 0;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--color-neutral-11);
  background: var(--color-neutral-2);
  font-weight: 500;
}

.home-insights__eyebrow-icon {
  width: 58px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-violet-500);
  aspect-ratio: 1 / 1;
}

.home-insights__eyebrow-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.home-insights__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 392px);
  grid-template-areas: "cards panel";
  gap: 8px;
  align-items: stretch;
  direction: ltr;
}

.home-insights__panel {
  grid-area: panel;
  min-height: 100%;
  padding: 26px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--color-neutral-3);
  border-radius: 12px;
  background: var(--color-neutral-4);
}

.home-insights__panel-title {
  margin: 0;
  max-width: 316px;
  align-self: flex-end;
  direction: rtl;
  text-align: right;
  color: var(--color-neutral-11);
}

.home-insights__panel-copy {
  margin: 28px auto 0;
  direction: rtl;
  color: var(--color-neutral-10);
}

.home-insights__panel-button {
  margin-top: auto;
  align-self: flex-start;
  min-height: 48px;
  padding: 2px 2px 2px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  direction: ltr;
  transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.home-insights__panel-button:hover {
  transform: translateY(-1px);
}

.home-insights__panel-button:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.home-insights__panel-button-label {
  margin: 0;
  direction: rtl;
  text-align: right;
  white-space: nowrap;
  color: inherit;
}

.home-insights__panel-button-icon {
  position: relative;
  color: var(--color-neutral-11);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.home-insights__panel-button-icon img {
  transition: opacity 160ms ease;
}

.home-insights__panel-button-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  content: "";
  background: url("../images/arrow-left-up-white.svg") center / contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
  pointer-events: none;
}

.home-insights__panel-button:hover .home-insights__panel-button-icon {
  background: var(--color-transparent);
}

.home-insights__panel-button:hover .home-insights__panel-button-icon img {
  opacity: 0;
}

.home-insights__panel-button:hover .home-insights__panel-button-icon::after {
  opacity: 1;
}

.home-insights__panel-button-icon img,
.home-insights__card-action img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.home-insights__cards {
  grid-area: cards;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

@media (min-width: 993px) {
  .home-insights__cards {
    transition: grid-template-columns 700ms ease-in-out;
  }

  .home-insights__cards:has(> .home-insights__card--compact:nth-child(1):hover),
  .home-insights__cards:has(> .home-insights__card--compact:nth-child(1):focus-within) {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .home-insights__cards:has(> .home-insights__card--compact:nth-child(2):hover),
  .home-insights__cards:has(> .home-insights__card--compact:nth-child(2):focus-within) {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  }
}

.home-insights__card {
  position: relative;
  z-index: 0;
  height: 182px;
  min-height: 0;
  overflow: visible;
  transition: border-color 360ms ease, z-index 0ms linear 360ms;
}

.home-insights__card-surface {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 100%;
  height: 100%;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-neutral-3);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 0 0 rgb(var(--color-green-900-rgb) / 0%);
  overflow: hidden;
  transition: height 360ms ease, background-color 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
}

@supports (interpolate-size: allow-keywords) {
  .home-insights__card-surface {
    interpolate-size: allow-keywords;
  }
}

.home-insights__card--wide {
  grid-column: 1 / -1;
  height: 128px;
}

.home-insights__card--wide .home-insights__card-surface {
  padding: 18px 20px 20px;
}

.home-insights__card-title {
  margin: 0;
  max-width: 220px;
  align-self: flex-end;
  direction: rtl;
  text-align: right;
  color: var(--color-neutral-11);
}

.home-insights__card--wide .home-insights__card-title {
  max-width: none;
  text-align: center;
}

.home-insights__card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.home-insights__card-footer--wide {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.home-insights__card-copy {
  margin: 0;
  max-width: 180px;
  direction: rtl;
  text-align: right;
  color: var(--color-neutral-10);
  transition: color 220ms ease;
}

.home-insights__card--wide .home-insights__card-copy {
  max-width: none;
}

.home-insights__card-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.home-insights__card--wide .home-insights__card-action {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  margin: 0;
}

.home-insights__card-hover-copy {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  direction: rtl;
  text-align: right;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 360ms ease, margin-top 360ms ease, opacity 240ms ease, transform 360ms ease;
}

@media (hover: hover) and (min-width: 993px) {
  .home-insights__card:hover,
  .home-insights__card:focus-within {
    z-index: 5;
    transition-delay: 0ms;
  }

  .home-insights__card:hover .home-insights__card-surface,
  .home-insights__card:focus-within .home-insights__card-surface {
    inset: 0 0 auto;
    height: auto;
    border-color: var(--color-green-500);
    background-color: var(--color-green-500);
  }

  .home-insights__card--compact:hover .home-insights__card-surface,
  .home-insights__card--compact:focus-within .home-insights__card-surface {
    inset: 0;
    height: 100%;
  }

  .home-insights__card--wide:hover .home-insights__card-surface,
  .home-insights__card--wide:focus-within .home-insights__card-surface {
    inset: auto 0 0;
  }

  .home-insights__card:hover .home-insights__card-title,
  .home-insights__card:hover .home-insights__card-copy,
  .home-insights__card:focus-within .home-insights__card-title,
  .home-insights__card:focus-within .home-insights__card-copy {
    color: var(--color-white) !important;
  }

  .home-insights__card:hover .home-insights__card-hover-copy,
  .home-insights__card:focus-within .home-insights__card-hover-copy {
    max-height: 120px;
    margin-top: 12px;
    opacity: 1;
    transform: translateY(0);
  }

  .home-insights__card:hover .home-insights__card-footer,
  .home-insights__card:focus-within .home-insights__card-footer {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: end;
    gap: 12px;
  }

  .home-insights__card:hover .home-insights__card-text,
  .home-insights__card:focus-within .home-insights__card-text {
    order: 1;
    flex: 1 1 auto;
  }

  .home-insights__card:hover .home-insights__card-action,
  .home-insights__card:focus-within .home-insights__card-action {
    position: static;
    order: 2;
    flex: 0 0 auto;
    align-self: end;
    margin: 0;
  }

  .home-insights__card--wide:hover,
  .home-insights__card--wide:focus-within {
    z-index: 5;
  }
}

.home-insights__card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: auto;
  text-decoration: none;
  transition: transform 160ms ease, opacity 160ms ease;
}

@media (hover: hover) and (min-width: 993px) {
  .home-insights__card-action:hover {
    transform: translateY(-1px);
  }
}

.home-insights__card-action:focus-visible {
  outline: 2px solid var(--color-green-500);
  outline-offset: 2px;
}

.home-insights__card--wide .home-insights__card-action {
  margin-inline-end: 0;
}

@media (max-width: 992px) {
  .home-insights__inner {
    width: calc(100% - 24px);
  }

  .home-insights__layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  .home-insights__eyebrow {
    margin-bottom: 12px;
  }

  .home-insights__panel {
    padding: 24px 18px 18px;
  }

  .home-insights__panel-title {
    max-width: 280px;
  }

  .home-insights__panel-copy {
    max-width: 280px;
  }

  .home-insights__card {
    height: 172px;
  }

  .home-insights__card-surface {
    padding: 18px 18px 16px;
  }

  .home-insights__card--wide {
    height: 172px;
  }

  .home-insights__cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(260px, 82vw, 320px);
    justify-content: start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
  }

  .home-insights__card--wide .home-insights__card-action {
    left: 18px;
    bottom: 16px;
  }

  .home-insights__card-footer {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
  }

  .home-insights__card-footer--wide {
    flex-direction: row;
    direction: ltr;
    flex-wrap: nowrap;
    align-items: flex-end;
  }

  .home-insights__card--wide .home-insights__card-text {
    flex: 1 1 auto;
  }

  .home-insights__card--wide .home-insights__card-action {
    position: static;
    left: auto;
    bottom: auto;
    flex: 0 0 auto;
    margin: 0;
  }

  .home-insights__card--compact .home-insights__card-action {
    align-self: flex-end;
    margin-inline-end: 0;
  }

  .home-insights__cards::-webkit-scrollbar {
    display: none;
  }

  .home-insights__card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .home-insights__card--wide {
    grid-column: auto;
  }

  /* Touch devices do not have a meaningful hover state; keep these cards stable. */
  .home-insights__card:hover .home-insights__card-surface,
  .home-insights__card:focus-within .home-insights__card-surface {
    inset: 0;
    height: 100%;
    border-color: var(--color-neutral-3);
    background-color: var(--color-white);
    box-shadow: none;
  }

  .home-insights__card:hover .home-insights__card-title,
  .home-insights__card:hover .home-insights__card-copy,
  .home-insights__card:focus-within .home-insights__card-title,
  .home-insights__card:focus-within .home-insights__card-copy {
    color: var(--color-neutral-11) !important;
  }

  .home-insights__card:hover .home-insights__card-hover-copy,
  .home-insights__card:focus-within .home-insights__card-hover-copy {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (max-width: 767px) {
  .home-insights {
    padding: 8px 0 44px;
  }

  .home-insights__inner {
    width: calc(100% - 16px);
  }

  .home-insights__eyebrow {
    width: 100%;
  }

  .home-insights__eyebrow-label {
    flex: 1 1 auto;
    padding: 11px 16px 10px;
    justify-content: flex-end;
    font-weight: 600;
  }

  .home-insights__eyebrow-icon {
    width: 54px;
  }

  .home-insights__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "panel"
      "cards";
  }

  .home-insights__panel {
    padding: 20px 16px 16px;
  }

  .home-insights__panel-title,
  .home-insights__panel-copy {
    max-width: none;
  }

  .home-insights__panel-copy {
    margin-top: 22px;
  }

  .home-insights__panel-button {
    display: none;
    width: fit-content;
  }

  .home-insights__card {
    height: 160px;
  }

  .home-insights__card-surface {
    padding: 18px 16px 16px;
  }

  .home-insights__card--wide {
    height: 160px;
  }

  .home-insights__card--wide .home-insights__card-action {
    left: 16px;
    bottom: 16px;
  }

  .home-insights__card-title,
  .home-insights__card-copy {
    max-width: none;
  }
}

@media (max-width: 992px) {
  .home-page .consultation-page {
    margin-top: 92px;
  }
}

@media (max-width: 767px) {
  .home-page .consultation-page {
    margin-top: 72px;
  }

  .home-page .consultation-segment__stage {
    display: block;
    padding-top: 34px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    isolation: isolate;
  }

  .home-page .consultation-segment__media {
    position: absolute;
    inset: 0 0 auto 0;
    height: 340px;
    min-height: 340px;
    z-index: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .home-page .consultation-segment__scrim {
    position: absolute;
    inset: 0 0 auto 0;
    height: 340px;
    z-index: 0;
    background: rgb(0 0 0 / 50%);
    pointer-events: none;
  }

  .home-page .consultation-summary {
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    max-width: none;
    margin: 0 20px;
    gap: 8px;
  }

  .home-page .consultation-summary__title {
    width: 100%;
    min-height: 64px;
    padding: 0 20px;
    border-radius: 9px;
    white-space: nowrap;
  }

  .home-page .consultation-summary__body {
    padding: 20px 20px 18px;
    border-radius: 8px;
    background: rgb(var(--color-neutral-1-rgb) / 64%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .home-page .consultation-form {
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    margin: 18px 20px 0;
    padding: 20px;
    border-radius: 10px;
    background: var(--color-neutral-3);
    border: 0;
    box-shadow: none;
    gap: 16px;
  }

  .home-page .consultation-field {
    gap: 8px;
  }

  .home-page .consultation-field__control {
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 8px;
  }

  .home-page .consultation-field__control--select {
    padding-inline-end: 42px;
  }

  .home-page .consultation-field__select-icon {
    inset-inline-end: 14px;
    width: 20px;
    height: 20px;
  }

  .home-page .consultation-form__submit {
    min-height: 48px;
    padding: 4px;
    border-radius: 8px;
    width: 100%;
    justify-content: flex-end;
  }

  .home-page .consultation-form__submit-label {
    padding: 0 16px;
  }

  .home-page .consultation-form__submit-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }
}
