.bora-process-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(104, 130, 30, 0.24), transparent 34%),
    linear-gradient(180deg, #171717 0%, #121212 100%);
  padding: 0 20px 0;
}

.bora-process-section__intro,
.bora-process-scene {
  max-width: 1240px;
  margin: 0 auto;
}

.bora-process-section__intro {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.bora-process-section__eyebrow {
  margin: 0;
  color: #d7ff1f;
  font-family: "Elza Condensed", "Elza", sans-serif;
  font-size: 20px;
  font-style: oblique;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bora-process-section__title {
  margin: 0;
  max-width: 12ch;
  color: #ffffff;
  font-family: "Elza Condensed", "Elza", sans-serif;
  font-size: clamp(34px, 6vw, 58px);
  font-style: oblique;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.bora-process-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.bora-process-scene__lines,
.bora-process-scene__decor {
  display: none;
}

.bora-process-visual {
  position: relative;
  min-height: 540px;
  margin: 0 auto;
  width: min(100%, 620px);
}

.bora-process-card,
.bora-phone {
  position: absolute;
  margin: 0;
}

.bora-process-card img,
.bora-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.bora-process-card {
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.38));
}

.bora-process-card--share {
  top: 98px;
  left: 326px;
  width: 279px;
  z-index: 3;
}

.bora-process-card--offer {
  top: 20px;
  left: 392px;
  width: 260px;
  z-index: 4;
}

.bora-phone {
  inset: auto auto 150px 50%;
  width: clamp(250px, 45vw, 388px);
  transform: translateX(-50%);
  filter: drop-shadow(0 32px 74px rgba(0, 0, 0, 0.58));
  z-index: 2;
}

.bora-process-step {
  position: relative;
  display: grid;
  gap: 16px;
  max-width: 320px;
  z-index: 5;
}

.bora-process-step__badge {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  background: #d7ff1f;
  color: #111111;
  font-family: var(--bora-heading-font-family);
  font-size: 80px;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.bora-process-step__text {
  margin: 0;
  color: #d7ff1f;
  font-family: var(--bora-subheading-font-family);
  font-size: clamp(17px, 2.8vw, 25px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.bora-process-highlight {
  display: inline;
  color: #111111;
  background: #d7ff1f;
  box-shadow: 0.2em 0 0 #d7ff1f, -0.2em 0 0 #d7ff1f;
}

@media (min-width: 1024px) {
  .bora-process-section {
    padding: 0 32px 0;
  }

  .bora-process-section__intro {
    margin-bottom: 0;
  }

  .bora-process-scene {
    min-height: 790px;
    display: block;
  }

  .bora-process-scene__lines {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .bora-process-scene__lines path,
  .bora-process-scene__lines line {
    fill: none;
    stroke: rgba(215, 255, 31, 0.9);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
  }

  .bora-process-scene__decor {
    position: absolute;
    display: block;
    z-index: 1;
    color: #d7ff1f;
  }

  .bora-process-scene__decor--square {
    width: 12px;
    height: 12px;
    background: currentColor;
  }

  .bora-process-scene__decor--ring {
    width: 28px;
    height: 28px;
    border: 4px solid currentColor;
    border-radius: 50%;
  }

  .bora-process-scene__decor--ring::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 14px;
    height: 4px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(-35deg);
    transform-origin: center;
  }

  .bora-process-scene__decor--outline {
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
  }

  .bora-process-scene__decor--a {
    top: 26px;
    left: 0;
  }

  .bora-process-scene__decor--b {
    top: 170px;
    left: 0;
  }

  .bora-process-scene__decor--b,
  .bora-process-scene__decor--g {
    background: url("/assets/site/bora-icon.png") center / contain no-repeat;
    border: 0;
    border-radius: 0;
  }

  .bora-process-scene__decor--b::before,
  .bora-process-scene__decor--g::before {
    display: none;
  }

  .bora-process-scene__decor--c {
    top: 340px;
    left: 0;
  }

  .bora-process-scene__decor--d {
    top: 608px;
    left: 0;
  }

  .bora-process-scene__decor--e {
    top: 452px;
    left: 540px;
    transform: scale(1.8);
  }

  .bora-process-scene__decor--f {
    top: 760px;
    right: 12px;
  }

  .bora-process-scene__decor--g {
    top: 436px;
    right: 0;
  }

  .bora-process-scene__decor--h {
    top: 582px;
    right: 0;
  }

  .bora-process-visual {
    position: absolute;
    top: 86px;
    left: 50%;
    min-height: 780px;
    width: 760px;
    transform: translateX(-50%);
  }

  .bora-process-step {
    position: absolute;
  }

  .bora-process-step--one {
    top: 84px;
    left: 110px;
    max-width: 270px;
  }

  .bora-process-step--two {
    top: 420px;
    right: 32px;
    max-width: 284px;
  }

  .bora-process-step--three {
    bottom: 144px;
    left: 110px;
    max-width: 300px;
  }

  .bora-process-step--one .bora-process-step__text {
    max-width: calc(9ch + 50px);
    transform: translateX(100px);
  }

  .bora-process-step--two .bora-process-step__text {
    max-width: calc(11ch + 70px);
    transform: translateX(-130px);
  }

  .bora-process-step--three .bora-process-step__text {
    max-width: calc(8ch + 50px);
    transform: translateX(110px);
  }
}

@media (max-width: 1023px) {
  .bora-process-section {
    padding-top: 100px;
  }

  .bora-process-visual {
    min-height: 520px;
  }

  .bora-process-card--share {
    top: 152px;
    left: 28px;
    width: min(100%, 328px);
  }

  .bora-process-card--offer {
    top: 22px;
    left: 140px;
    width: min(100%, 290px);
  }

  .bora-phone {
    width: min(66vw, 286px);
  }
}

@media (max-width: 767px) {
  .bora-process-section {
    padding: 100px 16px 50px;
  }

  .bora-process-section__intro {
    gap: 10px;
    margin-bottom: 26px;
  }

  .bora-process-visual {
    min-height: 432px;
  }

  .bora-process-card {
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.34));
  }

  .bora-process-card--share {
    top: 34px;
    left: 108px;
    width: min(100%, 238px);
  }

  .bora-process-card--offer {
    top: -78px;
    left: 148px;
    width: min(100%, 232px);
  }

  .bora-phone {
    bottom: 50px;
    width: min(72vw, 236px);
    transform: translateX(calc(-50% - 40px));
  }

  .bora-process-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 18px;
    max-width: none;
  }

  .bora-process-step__badge {
    width: 92px;
    height: 92px;
    font-size: 66px;
  }

  .bora-process-step__text {
    transform: none;
    max-width: none;
  }
}
