/* Bananalabo homepage V2: homepage-only content and responsive adjustments. */

html {
  scroll-behavior: smooth;
}

body.lp {
  color: #1b1b1b;
}

.lp-section-header__title,
.v2-hero-title,
.v2-fit h3 {
  text-wrap: balance;
}

.lp-text,
.v2-section-lead,
.v2-contact-lead,
.v2-process-list p,
.v2-fit li,
.lp-faq-item__answer-text {
  text-wrap: pretty;
}

.lp-site-header__logo:focus-visible,
.lp-contact-button:focus-visible,
.v2-primary-cta:focus-visible,
.v2-email-contact__recipient a:focus-visible,
.lp-faq-item__question:focus-visible,
.form-consent__privacy:focus-visible,
.privacy-modal__close:focus-visible {
  outline: 0.3rem solid #4d65ff;
  outline-offset: 0.3rem;
}

/* Hero */
.v2-hero-copy.lp-hero__pc-text {
  gap: 1rem;
  max-width: 62rem;
  top: 12.8rem;
  overflow: visible;
}

.v2-hero-kicker {
  font-size: clamp(16px, 2.3vw, 23px);
  font-weight: 700;
  line-height: 1.5;
}

.v2-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: clamp(34px, 4.45vw, 44px);
  line-height: 1.35;
  letter-spacing: 0;
}

.v2-hero-title .lp-hero__pc-text-line {
  padding: 0 1.6rem;
}

.v2-hero-lead,
.v2-hero-note {
  max-width: 54rem;
  margin: 0;
  text-align: center;
}

.v2-hero-lead {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.7;
}

.v2-hero-note {
  font-size: clamp(14px, 1.75vw, 17.5px);
  line-height: 1.6;
}

.v2-hero-mobile-support {
  display: none;
}

.v2-primary-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0.1rem solid #1b1b1b;
  border-radius: 999px;
  background: #1b1b1b;
  color: #fff;
  padding: 1.1rem 2.8rem;
  font-size: max(1.45rem, 14px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.v2-primary-cta:hover {
  background: #fff;
  color: #1b1b1b;
}

@media screen and (min-width: 992px) {
  .lp-hero {
    height: calc(min(77.35vw, 727px) + 11.6rem + 40px);
  }

  .lp-hero__pc {
    width: min(94vw, 940px);
  }

  .v2-hero-copy.lp-hero__pc-text {
    gap: 1rem;
    max-width: min(620px, 66vw);
    top: 45px;
  }

  .v2-hero-title {
    line-height: 1.2;
  }

  .v2-hero-lead,
  .v2-hero-note {
    max-width: min(640px, 66vw);
    line-height: 1.5;
  }
}

/* Recognition and diagnosis */
.v2-intro-copy {
  max-width: 74rem;
  margin: 0 auto;
}

.v2-intro-copy p {
  margin: 0;
}

.v2-intro-copy p + p {
  margin-top: 1.4rem;
}

.lp-service-card-wrapper {
  gap: 7rem;
}

.lp-service-card__text {
  max-width: 30rem;
  margin: 0 auto;
}

.v2-section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 6rem;
  text-align: center;
}

.v2-section-cta p {
  margin: 0;
}

/* Comparison section; unverifiable Case01-03 cards are intentionally absent. */
.lp-works__inner {
  padding-bottom: 22rem;
}

.v2-section-lead {
  max-width: 76rem;
  margin: -3rem auto 6rem;
  font-size: 1.8rem;
  line-height: 1.9;
  text-align: center;
}

.v2-choice-list,
.v2-condition-list,
.v2-process-list,
.v2-fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-choice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 120rem;
  margin: 0 auto;
}

.v2-choice-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem 1.6rem;
  min-height: 14rem;
  border: 0.1rem solid #1b1b1b;
  border-radius: 1.6rem;
  background: #fff;
  padding: 2.4rem;
}

.v2-choice-list span {
  grid-row: 1 / 3;
  color: transparent;
  -webkit-text-stroke: 0.05rem #1b1b1b;
  font-family: var(--_lp-font---font-en);
  font-size: 3.6rem;
  line-height: 1;
}

.v2-choice-list strong {
  font-size: 1.8rem;
}

.v2-choice-list small {
  font-size: 1.4rem;
  line-height: 1.7;
}

/* Capabilities */
.lp-company__text {
  max-width: 65ch;
  line-height: 2;
}

.lp-company-card__text {
  line-height: 1.7;
}

/* Delivery method */
.lp-flow__inner {
  padding-left: 23rem;
  padding-right: 23rem;
}

.v2-process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 8rem;
  margin-bottom: 8rem;
  counter-reset: process;
}

.v2-process-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  grid-template-rows: auto auto;
  gap: 0.6rem 2rem;
  align-items: start;
  border-bottom: 0.1rem solid #d9d9d9;
  padding: 2.8rem 0;
}

.v2-process-list li:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 4rem);
  justify-self: center;
}

.v2-process-list span {
  grid-row: 1 / 3;
  color: transparent;
  -webkit-text-stroke: 0.05rem #1b1b1b;
  font-family: var(--_lp-font---font-en);
  font-size: 4.2rem;
  line-height: 1;
}

.v2-process-list strong {
  font-size: 1.8rem;
  line-height: 1.6;
}

.v2-process-list p {
  margin: 0;
  line-height: 1.8;
}

/* Conditional expansion and qualification */
.v2-expansion,
.v2-fit {
  padding: 0 2rem 11rem;
}

.v2-expansion {
  background: #fafafa;
}

.v2-fit {
  background: #fff;
}

.v2-section-inner {
  max-width: 132rem;
  margin: 0 auto;
  border-radius: 12rem 0 12rem 12rem;
  background: #eee;
  padding: 10rem 14rem;
}

.v2-fit .v2-section-inner {
  border-radius: 0 12rem 12rem 12rem;
  background: #fafafa;
}

.v2-condition-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  max-width: 94rem;
  margin: 0 auto;
}

.v2-condition-list li {
  border: 0.1rem solid #1b1b1b;
  border-radius: 999px;
  background: #fff;
  padding: 1.2rem 2rem;
  font-weight: 600;
}

.v2-fit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8rem;
  max-width: 104rem;
  margin: 0 auto;
}

.v2-fit h3 {
  margin: 0 0 2.4rem;
  font-size: 2.2rem;
  line-height: 1.6;
}

.v2-fit li {
  position: relative;
  padding: 1.4rem 0 1.4rem 2.4rem;
  border-bottom: 0.1rem solid #d9d9d9;
  line-height: 1.8;
}

.v2-fit li::before {
  content: "";
  position: absolute;
  top: 2.35rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #1b1b1b;
}

/* FAQ */
.lp-faq-item__question {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.lp-faq-item__answer-wrapper[aria-hidden="true"] {
  display: grid;
  height: auto !important;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 250ms ease, visibility 0s 250ms;
}

.lp-faq-item__answer-wrapper[aria-hidden="false"] {
  display: grid;
  height: auto !important;
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 250ms ease;
}

.lp-faq-item__answer-wrapper > .lp-faq-item__answer {
  min-height: 0;
  overflow: hidden;
}

/* Email contact */
.v2-contact-lead {
  max-width: 74rem;
  margin: -2rem auto 5rem;
  font-size: 1.7rem;
  line-height: 1.9;
  text-align: center;
}

.v2-email-contact {
  max-width: 74rem;
  margin: 0 auto;
  padding: 6rem 7rem;
  border: 0.1rem solid #d7d7d7;
  border-radius: 0.8rem;
  background: #fff;
  text-align: center;
}

.v2-email-contact__intro {
  max-width: 58rem;
  margin: 0 auto;
}

.v2-email-contact__title {
  margin: 0 0 1.6rem;
  font-size: 2.8rem;
  line-height: 1.45;
}

.v2-email-contact__intro p,
.v2-email-contact__recipient,
.v2-email-contact__safety {
  line-height: 1.8;
}

.v2-email-contact__intro p {
  margin: 0;
  font-size: 1.7rem;
}

.v2-email-contact__button {
  margin-top: 3rem;
}

.v2-email-contact__recipient {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1.2rem;
  margin: 2.2rem 0 0;
}

.v2-email-contact__recipient span {
  color: #5a5a5a;
  font-weight: 600;
}

.v2-email-contact__recipient a {
  color: #1b1b1b;
  font-size: 1.8rem;
  font-weight: 700;
  text-underline-offset: 0.3rem;
}

.v2-email-contact__safety {
  max-width: 58rem;
  margin: 2.4rem auto 0;
  padding: 1.6rem 2rem;
  background: #f3f4f8;
  font-size: 1.4rem;
}

.form-consent__privacy {
  margin-top: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1b1b1b;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

@media screen and (max-width: 991px) {
  .v2-hero-copy.lp-hero__pc-text {
    gap: 0.1rem;
    max-width: 66vw;
    top: 4.45vw;
  }

  .v2-hero-kicker {
    font-size: max(2.3vw, 16px);
  }

  .v2-hero-title {
    gap: 0;
    font-size: 4.45vw;
    line-height: 1.1;
  }

  .v2-hero-title .lp-hero__pc-text-line {
    padding: 0 1vw;
  }

  .v2-hero-lead {
    max-width: 64vw;
    font-size: max(2.2vw, 16px);
    line-height: 1.35;
  }

  .v2-hero-note {
    max-width: 60vw;
    font-size: max(1.75vw, 14px);
    line-height: 1.45;
  }

  .v2-primary-cta {
    min-height: 44px;
    padding: 0.9rem 2rem;
    font-size: max(1.3rem, 14px);
  }

  .lp-service-card-wrapper {
    gap: 3rem;
  }

  .lp-service-card__text {
    font-size: 1.4rem;
  }

  .v2-choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-flow__inner {
    padding-left: 8rem;
    padding-right: 8rem;
  }

  .v2-process-list {
    gap: 0 4rem;
  }

  .v2-process-list li:last-child {
    width: calc(50% - 2rem);
  }

  .v2-section-inner {
    padding: 8rem;
  }

  .v2-fit-columns {
    gap: 5rem;
  }
}

@media screen and (max-width: 767px) {
  .lp-hero {
    aspect-ratio: auto;
    height: 76rem;
  }

  .v2-hero-copy.lp-hero__pc-text {
    gap: 0.35rem;
    max-width: 76vw;
    top: 10.5vw;
  }

  .v2-hero-kicker {
    font-size: max(2.15vw, 14px);
  }

  .v2-hero-title {
    gap: 0.35rem;
    font-size: max(4.25vw, 18px);
    line-height: 1.25;
  }

  .v2-hero-lead {
    display: none;
  }

  .v2-hero-note {
    display: none;
  }

  .v2-hero-mobile-support {
    display: block;
    position: absolute;
    right: 4rem;
    bottom: 3rem;
    left: 4rem;
    width: auto;
    font-size: max(1.3rem, 14px);
    line-height: 1.65;
  }

  .v2-hero-mobile-support p {
    margin: 0;
  }

  .v2-hero-mobile-support p + p {
    margin-top: 0.8rem;
    font-weight: 700;
  }

  .v2-primary-cta {
    padding: 0.7rem 1.5rem;
    font-size: max(1.1rem, 14px);
  }

  .v2-intro-copy {
    font-size: 1.4rem;
  }

  .lp-service-card__text {
    max-width: 28rem;
  }

  .v2-section-cta {
    margin-top: 4rem;
  }

  .lp-works__inner {
    padding-bottom: 16rem;
  }

  .v2-section-lead {
    margin-top: -1rem;
    margin-bottom: 4rem;
    font-size: 1.5rem;
  }

  .v2-choice-list {
    grid-template-columns: 1fr;
  }

  .v2-choice-list li {
    min-height: 0;
    padding: 2rem;
  }

  .v2-choice-list span {
    font-size: 3.2rem;
  }

  .lp-flow__inner {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .v2-process-list {
    grid-template-columns: 1fr;
    margin-bottom: 5rem;
  }

  .v2-process-list li,
  .v2-process-list li:last-child {
    grid-column: auto;
    width: 100%;
  }

  .v2-process-list li {
    grid-template-columns: 5rem 1fr;
    gap: 0.4rem 1.4rem;
    padding: 2rem 0;
  }

  .v2-process-list span {
    font-size: 3.4rem;
  }

  .v2-process-list strong {
    font-size: 1.6rem;
  }

  .v2-process-list p {
    font-size: 1.4rem;
  }

  .v2-expansion,
  .v2-fit {
    padding-right: 0;
    padding-bottom: 6rem;
    padding-left: 0;
  }

  .v2-section-inner,
  .v2-fit .v2-section-inner {
    border-radius: 6rem 0 6rem 6rem;
    padding: 6rem 4rem;
  }

  .v2-fit .v2-section-inner {
    border-radius: 0 6rem 6rem 6rem;
  }

  .v2-condition-list {
    justify-content: flex-start;
  }

  .v2-condition-list li {
    padding: 1rem 1.4rem;
    font-size: 1.3rem;
  }

  .v2-fit-columns {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .v2-fit h3 {
    font-size: 1.8rem;
  }

  .v2-contact-lead {
    margin-top: -1rem;
    margin-bottom: 3rem;
    font-size: 1.4rem;
  }

  .v2-email-contact {
    padding: 4rem 2.4rem;
  }

  .v2-email-contact__title {
    font-size: 2rem;
  }

  .v2-email-contact__intro p {
    font-size: 1.4rem;
  }

  .v2-email-contact__recipient {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .v2-email-contact__recipient a {
    font-size: 1.6rem;
    overflow-wrap: anywhere;
  }

  .v2-email-contact__safety {
    padding: 1.4rem;
  }

  .lp-faq-item__question {
    min-height: 6.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .v2-primary-cta,
  .lp-faq-item__toggle {
    transition: none;
  }
}
