/*
 * Slidy homepage designer wave 2
 * Source: trafking43-traff/slidy-public-html-design@44e5bfeef9a1e0b50f97126a03500cfa76ad3f14
 *
 * Visual/layout delta only. Scoped under .archive-wide-home so the designer
 * fixes do not leak into catalog, presentation, about, team, contact or other
 * pages. The production promo banner is intentionally untouched.
 */

.archive-wide-home .home-hero-heading {
  position: relative;
}

.archive-wide-home .hero-bg {
  top: -100px;
  height: 100%;
}

.archive-wide-home .hero-task-other {
  break-before: always;
}

.archive-wide-home .possibilit-pagination,
.archive-wide-home .gallery-pagination {
  display: none;
}

.archive-wide-home .possibilit-photo span {
  position: relative;
  padding-left: 20px;
}

.archive-wide-home .possibilit-photo span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='31' height='25' viewBox='0 0 31 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='1.21942' y1='12.9477' x2='14.2194' y2='22.9477' stroke='%23004EC8' stroke-width='4'/%3E%3Cline x1='11.4521' y1='23.2665' x2='29.4521' y2='1.26648' stroke='%23004EC8' stroke-width='4'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.archive-wide-home .tools-card-last {
  overflow: hidden;
  background-color: var(--primary-cont);
}

.archive-wide-home .tools-photo {
  height: auto !important;
}

.archive-wide-home .tools-femboy {
  right: -27px;
  bottom: -146px;
  height: 450px;
}

.archive-wide-home .apps-ai-line {
  background-color: var(--main-container7);
  padding: 17px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.archive-wide-home .statistics-user {
  z-index: 99;
}

.archive-wide-home .trust-bg {
  bottom: 0;
  height: 100%;
}

.archive-wide-home .trust-bg img {
  object-fit: cover;
}



@media (max-width: 1599px) {
  .archive-wide-home .hero-bg {
    top: -50px;
    height: 100%;
  }
}

@media (max-width: 1144px) {
  .archive-wide-home .tools-femboy {
    right: -40px;
    height: 450px;
  }
}

@media (max-width: 1024px) {
  .archive-wide-home .tools-femboy {
    height: 400px;
  }

  .archive-wide-home .tools-card-last {
    justify-content: start;
  }
}

@media (max-width: 1019px) {
  .archive-wide-home .possibilit-pagination,
  .archive-wide-home .gallery-pagination {
    display: flex;
  }
}

@media (max-width: 768px) {
  .archive-wide-home .hero-partners-wrapper {
    min-width: 350px;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .archive-wide-home .hero-task-block {
    margin: 18px auto 0;
  }

  .archive-wide-home .hero-task-small-block {
    max-width: 80%;
  }

  .archive-wide-home .tools-femboy {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .archive-wide-home .hero-bg {
    height: 1005px;
  }

  .archive-wide-home .compare-col--accent {
    width: auto;
  }

  .archive-wide-home .side-nav-mobile {
    z-index: 99;
  }

  .archive-wide-home .task-menu.has-scroll-left::after {
    display: none;
  }

  .archive-wide-home .trust-body .btn-start {
    display: flex;
  }

  .archive-wide-home .tools-card-last {
    align-items: flex-start;
  }

  .archive-wide-home .tools-card-last .tools-info {
    max-width: 208px;
  }

  .archive-wide-home footer {
    padding: 32px 0 85px 0;
  }
}

@media (max-width: 500px) {
  .archive-wide-home .tools-card-last {
    height: 264px;
  }

  .archive-wide-home .tools-card-last .tools-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .archive-wide-home .tools-card-last .tools-info p {
    flex: 1;
  }

  .archive-wide-home .tools-femboy {
    height: 350px;
    right: -18%;
    bottom: -35%;
    rotate: -18deg;
  }
}

@media (max-width: 450px) {
  .archive-wide-home .tools-femboy {
    height: 366px;
    right: -40%;
    bottom: -30%;
  }
}

/* Match the result labels in the dark home possibilities section. */
[data-theme="dark"] .archive-wide-home .possibilit-photo span::after {
  background-image: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='31' height='25' viewBox='0 0 31 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='1.21942' y1='12.9477' x2='14.2194' y2='22.9477' stroke='%23004EC8' stroke-width='4'/%3E%3Cline x1='11.4521' y1='23.2665' x2='29.4521' y2='1.26648' stroke='%23004EC8' stroke-width='4'/%3E%3C/svg%3E%0A") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='31' height='25' viewBox='0 0 31 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='1.21942' y1='12.9477' x2='14.2194' y2='22.9477' stroke='%23004EC8' stroke-width='4'/%3E%3Cline x1='11.4521' y1='23.2665' x2='29.4521' y2='1.26648' stroke='%23004EC8' stroke-width='4'/%3E%3C/svg%3E%0A") center / contain no-repeat;
}

/* Match the 48 + 48px rhythm of the home content sections (40 + 40px on mobile). */
body.archive-wide-home {
  --home-section-space: 96px;
  --home-section-half-space: 48px;
}
body.archive-wide-home #compare.compare-section {
  padding-top: var(--home-section-half-space);
  /* Keep the table above the decorative arc, including on wide displays. */
  padding-bottom: max(var(--home-section-space), calc(clamp(24px, 5vw, 100px) + 24px));
}
body.archive-wide-home #reviews.reviews-section {
  margin: 0;
  padding-bottom: var(--home-section-half-space);
}
body.archive-wide-home #faq.faq-section.section {
  margin: 0;
  padding: var(--home-section-half-space) 0;
}
/* Reserve the shared arc's depth so it cannot cover the last FAQ answer. */
html:not([data-theme="dark"]) body.archive-wide-home #faq.faq-section.section {
  padding-bottom: calc(var(--home-section-half-space) + clamp(24px, 5vw, 100px));
}
html[data-theme="dark"] body.archive-wide-home #faq > .section-ellipse {
  display: none;
}
@media (max-width: 767px) {
  body.archive-wide-home {
    --home-section-space: 80px;
    --home-section-half-space: 40px;
  }
}

/* Home CTA: Figma composition with the Documents CTA controls. */
body.archive-wide-home #join.home-cta {
  --accent-color: #a1d8ee;
  --text-color: #fff;
  --text-color2: #161616;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  height: auto;
  margin: 0;
  padding: 70px 0 50px;
  background: #161616;
  color: #fff;
}
html[data-theme="dark"] body.archive-wide-home #join.home-cta {
  background: var(--bg-color);
}
/* The CTA already draws the footer transition; a second arc clips its form. */
body.archive-wide-home .main:has(#join.home-cta) + footer > .section-ellipse--top {
  display: none;
}
body.archive-wide-home #join.home-cta .trust-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
body.archive-wide-home #join.home-cta .section-titles {
  max-width: 751px;
  margin: 0;
  gap: 12px;
}
body.archive-wide-home #join.home-cta .section-big-title {
  color: #fff;
  font-size: 44px;
  line-height: 48px;
}
body.archive-wide-home #join.home-cta .text-blue { color: #a1d8ee; }
body.archive-wide-home #join.home-cta .section-sub-title {
  max-width: 560px;
  font-size: 18px;
  line-height: 24px;
  color: #b7b9bb;
}
body.archive-wide-home #join.home-cta .section-tag span { color: #b7b9bb; }
body.archive-wide-home #join.home-cta .section-tag .icon { background: #a1d8ee; }
body.archive-wide-home #join.home-cta .btn-start {
  display: flex;
  gap: 6px;
  background: #fff;
  color: #161616;
}
body.archive-wide-home #join.home-cta .btn-start .icon { background: #161616; }
body.archive-wide-home #join.home-cta .btn-start:hover { background: #a1d8ee; }
body.archive-wide-home #join.home-cta .card-data {
  display: block;
  color: #78797b;
  font-size: 14px;
  line-height: 18px;
}
body.archive-wide-home #join.home-cta .home-cta-art {
  position: absolute;
  left: calc(50% + 60px);
  bottom: 0;
  transform: translateX(-50%);
  width: max(2400px, 100%);
  pointer-events: none;
  z-index: -1;
}
body.archive-wide-home #join.home-cta .home-cta-art img {
  display: block;
  width: 100%;
  height: auto;
}
body.archive-wide-home #join.home-cta > .section-ellipse {
  --ellipse-width: 2200px;
  --ellipse-depth: 200px;
}
.home-cta .home-cta-input {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 680px;
  padding: 24px;
  border: 1px solid #ffffff1a;
  border-radius: 16px;
  background: #1f2024;
  box-shadow: 0 10px 28px #122e6614;
}
.home-cta .home-cta-input__title { font-size: 20px; font-weight: 600; line-height: 24px; }
.home-cta .home-cta-input__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
}
.home-cta .home-cta-input textarea {
  flex: 1;
  width: 100%;
  min-width: 0;
  resize: vertical;
  background: transparent;
  color: #fafdff;
  font: inherit;
  font-size: 18px;
  line-height: 24px;
}
.home-cta .home-cta-input textarea::placeholder { color: #78797b; opacity: 1; }
.home-cta .home-cta-input__sparkles { flex: 0 0 24px; font-size: 24px; background: #a1d8ee; }
body.archive-wide-home #join.home-cta .home-cta-input__submit { flex: 0 0 48px; width: 48px; height: 48px; padding: 12px; }
.home-cta .home-cta-input__submit span { display: none; }
.home-cta .home-cta-input__submit .icon { font-size: 24px; }
.home-cta .home-cta-input__formats {
  display: flex;
  align-self: center;
  max-width: 100%;
  min-width: 0;
  height: 48px;
  margin: 10px 0 0;
  padding: 4px;
  border: 1px solid #ffffff1a;
  border-radius: 28px;
  background: #242628;
  overflow-x: auto;
  scrollbar-width: none;
}
.home-cta .home-cta-input__formats::-webkit-scrollbar { display: none; }
.home-cta .home-cta-input__formats label { position: relative; flex: 0 0 auto; cursor: pointer; }
.home-cta .home-cta-input__formats input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.home-cta .home-cta-input__formats span { display: block; padding: 8px 18px; border: 1px solid transparent; border-radius: 24px; font-size: 16px; line-height: 20px; white-space: nowrap; }
.home-cta .home-cta-input__formats input:checked + span { color: #a1d8ee; background: #303132; border-color: #ffffff1a; }
.home-cta .home-cta-input__formats input:focus-visible + span,
.home-cta textarea:focus-visible,
.home-cta .btn-start:focus-visible { outline: 2px solid #a1d8ee; outline-offset: 3px; }
@media (min-width: 600px) and (max-width: 1199px) {
  body.archive-wide-home #join.home-cta { min-height: 0; padding: 40px 0 50px; }
  body.archive-wide-home #join.home-cta .home-cta-art { left: 50%; width: 1920px; }
}
@media (max-width: 599px) {
  body.archive-wide-home #join.home-cta { min-height: 573px; padding: 52px 0 16px; }
  body.archive-wide-home #join.home-cta .trust-body { gap: 28px; }
  body.archive-wide-home #join.home-cta .section-titles { gap: 8px; }
  body.archive-wide-home #join.home-cta .section-big-title { font-size: 26px; line-height: 30px; }
  body.archive-wide-home #join.home-cta .section-sub-title { font-size: 16px; line-height: 20px; }
  body.archive-wide-home #join.home-cta .section-tag span { font-size: 14px; line-height: 18px; }
  body.archive-wide-home #join.home-cta .section-titles > .btn-start,
  body.archive-wide-home #join.home-cta .card-data { display: none; }
  body.archive-wide-home #join.home-cta .home-cta-art { left: 50%; width: 806px; bottom: 70px; }
  body.archive-wide-home #join.home-cta > .section-ellipse { --ellipse-width: 860px; --ellipse-height: 340px; --ellipse-depth: 101px; }
  .home-cta .home-cta-input { padding: 20px; border-radius: 10px; }
  .home-cta .home-cta-input__title { font-size: 18px; line-height: 22px; }
  .home-cta .home-cta-input__row { flex-direction: column; padding: 0; gap: 16px; border: 0; }
  .home-cta .home-cta-input textarea { flex: auto; min-height: 106px; padding: 12px; border: 1px solid #ffffff1a; border-radius: 10px; font-size: 16px; line-height: 20px; }
  .home-cta .home-cta-input__sparkles { display: none; }
  body.archive-wide-home #join.home-cta .home-cta-input__submit { flex: auto; width: 100%; }
  .home-cta .home-cta-input__submit span { display: inline; }
  .home-cta .home-cta-input__formats { margin-top: 12px; align-self: stretch; }
  .home-cta .home-cta-input__formats span { padding: 9px 14px; font-size: 14px; line-height: 18px; }
}
