/* Homepage layout and mobile contact controls. Shared site styles stay reusable. */
.reset-home .reset-home-hero {
  min-height: auto;
  padding-block: clamp(48px, 6vw, 88px);
}

.reset-home .reset-hero {
  gap: clamp(32px, 5vw, 72px);
}

.reset-home .reset-hero .reset-thesis {
  max-width: 19ch;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.reset-home .reset-hero .reset-counterpoint {
  max-width: 48ch;
  margin-bottom: 24px;
}

.reset-home .reset-hero__visual {
  min-height: 480px;
}

.reset-home .reset-lamina:not(.reset-home-hero) {
  padding-block: clamp(64px, 7vw, 104px);
}

.reset-home .reset-home-cases .reset-proof {
  padding: 24px;
  border: 1px solid var(--reset-line);
  border-top: 3px solid var(--reset-forest);
}

.reset-home .reset-home-cases .reset-proof__title {
  max-width: 28ch;
}

.reset-home .reset-home-cases .reset-proof__case {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 5px;
}

@media (max-width: 900px) {
  .reset-home .reset-hero {
    gap: 24px;
  }

  .reset-home .reset-hero__visual {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .reset-home {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .reset-home .reset-home-hero {
    padding-block: 36px;
  }

  .reset-home .reset-hero .reset-thesis {
    font-size: clamp(2rem, 8.7vw, 2.5rem);
    line-height: 1.08;
  }

  .reset-home .reset-hero .reset-counterpoint {
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .reset-home .reset-hero .reset-cta-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .reset-home .reset-hero .reset-cta-row .reset-cta {
    width: auto;
    min-width: 160px;
    justify-content: space-between;
  }

  .reset-home .reset-hero__system {
    height: 220px;
  }

  .reset-home .reset-cta {
    scroll-margin-block: 88px;
  }

  .reset-home .reset-chat-launcher,
  .reset-home .reset-whatsapp-fab {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    gap: 0;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  /* Existing aria-labels retain accessible names for the compact controls. */
  .reset-home .reset-chat-launcher > span:last-child,
  .reset-home .reset-whatsapp-fab > span:last-child {
    display: none;
  }
}
