.hero-sub h1 {
  text-wrap: balance;
}

.gel-tech-hands .point-card li,
.gel-tech-measurements .point-card p {
  color: var(--ink);
  font-size: 15px;
}

.gel-tech-nails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  gap: 5px;
  max-width: 250px;
  margin: 0 auto 14px;
  padding: 0;
  list-style: none;
}

.gel-tech-nail {
  --nail-base: #f5d8d9;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid #aa7885;
  border-radius: 45% 45% 41% 41% / 29% 29% 24% 24%;
}

.gel-tech-french {
  background:
    radial-gradient(ellipse 51% 22% at 50% 56%, var(--nail-base) 99%, transparent 100%),
    linear-gradient(var(--nail-base) 58%, #fffdf9 58%);
}

.gel-tech-gradient {
  background: linear-gradient(var(--nail-base) 33%, #efb4c5 58%, #ca5f84 100%);
}

.gel-tech-middle {
  border: 2px solid #7754a1;
  background: linear-gradient(145deg, #fff 15%, #f1e9fa 100%);
}

.gel-tech-detail {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcf9fc;
}

.gel-tech-detail .gel-tech-nail {
  position: relative;
  width: 74px;
  margin-inline: auto;
}

.gel-tech-detail .gel-tech-gradient::after {
  content: "";
  position: absolute;
  inset: 33% -6px auto;
  border-top: 1px dashed #7754a1;
}

.gel-tech-detail-caption {
  font-size: 15px;
  line-height: 1.6;
}

.gel-tech-detail-caption strong {
  display: block;
}

.gel-tech-profile-figure {
  margin: 0;
}

.gel-tech-profile-figure figcaption {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
}

.gel-tech-profile {
  --edge-start: 72%;
  --edge-tip: 94%;
  position: relative;
  max-width: 300px;
  height: 122px;
  margin: 0 auto;
  border-radius: 12px;
  background: #faf7fc;
}

.gel-tech-profile::before {
  content: "";
  position: absolute;
  inset: 24px calc(100% - var(--edge-start)) auto 5%;
  height: 57px;
  border-radius: 23% 13% 38% 14% / 29% 23% 70% 24%;
  background: linear-gradient(165deg, #fae1d1, #edc1ac);
}

.gel-tech-profile::after {
  content: "";
  position: absolute;
  inset: 15px 0 auto;
  height: 36px;
  background: linear-gradient(90deg, #cb8795 var(--edge-start), #7754a1 var(--edge-start));
  clip-path: polygon(
    9% 59%, 15% 45%, 25% 34%, 37% 28%, 49% 27%, 60% 31%, 72% 44%, 83% 56%,
    var(--edge-tip) 60%, var(--edge-tip) 76%, 83% 73%, 72% 60%, 60% 46%, 49% 42%,
    37% 43%, 25% 49%, 15% 60%, 9% 74%
  );
}

.gel-tech-profile-range {
  position: absolute;
  inset: 39px calc(100% - var(--edge-tip)) auto var(--edge-start);
  height: 48px;
  border-inline: 1px dashed #7754a1;
  background: linear-gradient(#7754a1, #7754a1) center bottom 8px / 100% 2px no-repeat;
}

.gel-tech-profile-range::before,
.gel-tech-profile-range::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 8px;
  height: 8px;
  background: #7754a1;
}

.gel-tech-profile-range::before {
  left: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.gel-tech-profile-range::after {
  right: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.gel-tech-profile-label {
  position: absolute;
  top: 92px;
  left: calc((var(--edge-start) + var(--edge-tip)) / 2);
  transform: translateX(-50%);
  color: #583581;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.gel-tech-curve {
  position: relative;
  display: block;
  width: min(100%, 150px);
  height: 43px;
  margin: 6px auto 14px;
}

.gel-tech-curve::before {
  content: "";
  position: absolute;
  inset: 12px 10% auto;
  height: 15px;
  border: 3px solid #7754a1;
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

@media (max-width: 360px) {
  .gel-tech-detail {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .gel-tech-detail .gel-tech-nail { width: 58px; }
}
