/* First visit — Figma 237:8089 */

/* ——— Hero 237:8091 ——— */
.sm-fv-hero {
  position: relative;
  min-height: 854px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #d6d6d6;
  color: var(--sm-grey-900);
}

.sm-fv-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* picture must not create a second positioned box */
.sm-fv-hero__bg picture {
  display: contents;
}

/* Figma layer 273:14024 export — boy already framed for 1440×854 */
.sm-fv-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: right center;
}

.sm-fv-hero__fade {
  position: absolute;
  z-index: 1;
  left: -6px;
  top: 0;
  width: min(871px, 60.5%);
  height: 100%;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 53.256%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

/* Figma content wrap y=281 in 854 frame */
.sm-fv-hero .sm-container {
  position: relative;
  z-index: 2;
}

.sm-fv-hero__content {
  position: relative;
  z-index: 2;
  max-width: 616px;
  padding: 281px 0 221px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.sm-fv-hero__title {
  margin: 0;
  font-family: var(--sm-font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 4rem); /* 64 */
  line-height: 1;
  color: var(--sm-grey-900);
}

.sm-fv-hero__text {
  margin: 0;
  font-family: var(--sm-font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--sm-grey-600);
}

.sm-fv-hero__actions {
  margin: 0;
}

/* ——— Prepare 237:8100 ——— */
.sm-fv-prepare {
  background: #fff;
  padding: 102px 0;
}

.sm-fv-prepare__head {
  max-width: 616px;
  margin: 0 auto 40px;
  text-align: center;
}

.sm-fv-prepare__head .sm-eyebrow__text {
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
}

.sm-fv-prepare__title {
  margin: 0;
  font-family: var(--sm-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem); /* 52 */
  line-height: 1;
  color: var(--sm-grey-900);
  text-align: center;
}

.sm-fv-prepare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}

.sm-fv-prepare__card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px;
  min-height: 212px;
  border: 1px solid var(--sm-main-900-a10);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(37, 37, 37, 0.1);
  background: #fff;
  overflow: hidden;
}

.sm-fv-prepare__media {
  position: relative;
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 0.75px solid var(--sm-main-900-a10);
  background: var(--sm-main-100);
}

.sm-fv-prepare__media picture,
.sm-fv-prepare__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.sm-fv-prepare__media img {
  object-fit: cover;
}

.sm-fv-prepare__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.sm-fv-prepare__card-title {
  margin: 0;
  font-family: var(--sm-font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: var(--sm-grey-900);
}

.sm-fv-prepare__card-text {
  margin: 0;
  font-family: var(--sm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--sm-grey-600);
}

/* ——— Steps 237:8134 ——— */
.sm-fv-steps {
  background-image: linear-gradient(95deg, #fefefe 0%, #f6f7f7 100%);
  padding: 102px 0;
}

.sm-fv-steps__head {
  max-width: 616px;
  margin: 0 auto 40px;
  text-align: center;
}

.sm-fv-steps__head .sm-eyebrow__text {
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
}

.sm-fv-steps__title {
  margin: 0;
  font-family: var(--sm-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--sm-grey-900);
  text-align: center;
  white-space: pre-line;
}

.sm-fv-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.sm-fv-steps__card {
  background: #fff;
  border: 1px solid var(--sm-main-900-a10);
  border-radius: 16px;
  padding: 16px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.sm-fv-steps__num {
  margin: 0;
  font-family: var(--sm-font-ui);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  background-image: linear-gradient(180deg, #cfefe4 0%, #b5f0dc 101.55%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sm-fv-steps__card-title {
  margin: 0;
  font-family: var(--sm-font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: var(--sm-grey-900);
}

.sm-fv-steps__card-text {
  margin: 0;
  font-family: var(--sm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--sm-grey-600);
}

/* ——— Assistants 412:19628 (extends .sm-team) ——— */
.sm-fv-assist {
  padding: 104px 0;
}

.sm-fv-assist__grid {
  gap: 20px;
  align-items: center;
}

/* No negative overlap — arrows stay inside carousel column */
.sm-fv-assist__intro {
  z-index: 2;
  margin: 0;
  padding-right: 0;
  background: #fff;
  pointer-events: auto;
}

.sm-fv-assist__carousel {
  z-index: 1;
  margin-left: 0;
  max-width: 808px;
}

.sm-fv-assist__slider {
  /* Soft edge only — do not wash out first card */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}

.sm-fv-assist__carousel .sm-team__nav--prev {
  left: 8px;
}

.sm-fv-assist__carousel .sm-team__nav--next {
  right: 8px;
}

.sm-fv-assist__card picture {
  display: contents;
}

.sm-fv-assist .sm-team__title {
  white-space: pre-line;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.sm-fv-assist .sm-team__name {
  font-family: var(--sm-font-ui);
  font-weight: 700;
}

.sm-fv-assist .sm-eyebrow__text {
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
}

@media (max-width: 1100px) {
  .sm-fv-prepare__grid,
  .sm-fv-steps__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .sm-fv-hero {
    min-height: 0;
    align-items: flex-end;
  }

  .sm-fv-hero__bg picture {
    display: contents;
  }

  .sm-fv-hero__img {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% center;
  }

  .sm-fv-hero__fade {
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.85) 45%,
      #fff 72%
    );
  }

  .sm-fv-hero__content {
    padding: 200px 0 48px;
    max-width: 100%;
  }

  .sm-fv-prepare,
  .sm-fv-steps {
    padding: 64px 0;
  }

  .sm-fv-prepare__grid,
  .sm-fv-steps__grid {
    grid-template-columns: 1fr;
  }

  .sm-fv-prepare__card {
    min-height: 0;
  }

  .sm-fv-prepare__media {
    flex-basis: 120px;
    width: 120px;
    height: 120px;
  }
}
