/* How it works: three frosted glass cards on a pale glass ground, joined by a timeline.
   The section keeps its id for the navbar link. Every class here is new, so the older #how rules that
   still ship in visual-v11 to v16 have nothing to attach to except the container, which is reset below. */
#how.how-section {
  --how-ink: #061114;
  --how-teal: #17cfc8;
  --how-teal-deep: #0a8f95;
  --how-shape: polygon(5% 0, 95.8% 0, 100% 14%, 100% 93%, 98% 100%, 4.5% 100%, 0 86%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 112px) 0 clamp(64px, 8vw, 124px);
  color: var(--how-ink);
  background:
    radial-gradient(ellipse 62% 46% at 10% 0%, #f9fdfe, transparent 72%),
    linear-gradient(165deg, #f0f7f9 0%, #e3eff1 52%, #d1e7ea 100%);
}

#how.how-section::before {
  display: none;
}

.how-glass {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.how-glass--top {
  top: 0;
  right: 0;
  width: min(44vw, 580px);
}

.how-glass--bottom {
  left: 0;
  bottom: 0;
  width: min(26vw, 320px);
}

.how-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.28fr);
  gap: clamp(36px, 5vw, 92px);
  align-items: start;
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.how-head {
  position: sticky;
  top: 120px;
}

.how-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: #0a181c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.how-eyebrow::after {
  content: "";
  width: clamp(64px, 9vw, 116px);
  height: 1px;
  background: #17282d;
}

#how .how-title {
  margin: 0;
  padding: 0;
  color: var(--how-ink);
  font-size: clamp(58px, 6.6vw, 100px);
  font-style: italic;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

#how .how-title em {
  font-style: inherit;
  background: linear-gradient(100deg, #17c4bd, var(--how-teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#how .how-lede {
  max-width: 460px;
  margin: clamp(22px, 2.6vw, 38px) 0 0;
  padding: 2px 0 2px clamp(18px, 2vw, 28px);
  border-left: 3px solid var(--how-teal);
  color: #0a1a1f;
  font-size: clamp(16px, 1.45vw, 19px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
}

/* Steps and timeline */
.how-steps {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
  margin: 0;
  padding: 0 0 0 clamp(28px, 3.4vw, 50px);
  list-style: none;
}

.how-card {
  position: relative;
  filter: drop-shadow(0 1px 0 #ffffffb3) drop-shadow(0 18px 24px #1e5b6a24);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.how-card:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 1px 0 #ffffffb3) drop-shadow(0 22px 28px #1e5b6a30);
}

/* A dot on the timeline at the middle of each card, joined to the next one. */
.how-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(-1 * clamp(28px, 3.4vw, 50px) + 2px);
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: #19e6de;
  box-shadow: 0 0 0 3px #ffffffc0, 0 0 0 4px #7ee6e1, 0 0 16px 2px #19e6deaa;
}

.how-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * clamp(28px, 3.4vw, 50px) + 2px);
  height: calc(100% + clamp(18px, 2.2vw, 28px));
  width: 1px;
  background: linear-gradient(#47c9c6, #7aa9b0 40%, #47c9c6);
  opacity: .75;
}

.how-face {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  column-gap: clamp(14px, 1.9vw, 28px);
  min-height: clamp(150px, 13vw, 188px);
  padding: clamp(22px, 2.2vw, 32px) clamp(20px, 2.5vw, 36px) clamp(20px, 2vw, 30px) clamp(30px, 3.4vw, 50px);
  clip-path: var(--how-shape);
  /* the gradient is the rim; the fill sits 1.5px inside it */
  background: linear-gradient(125deg, #ffffff, #bfdadf 45%, #ffffff 70%, #b6d6dc);
}

.how-face::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  clip-path: var(--how-shape);
  background:
    radial-gradient(ellipse 60% 90% at 0% 0%, #ffffffd9, transparent 70%),
    linear-gradient(120deg, #f6fbfc 0%, #e8f3f5 55%, #dbeaed 100%);
}

/* A bright line of light along the bottom right. */
.how-face::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 0;
  left: 34%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8af5ee 70%, #5fe9e1);
  box-shadow: 0 0 12px 1px #4fe9e18c;
}

.how-face > * {
  position: relative;
}

.how-badge {
  grid-column: 1;
  display: grid;
  place-items: center;
  width: clamp(60px, 7.4vw, 100px);
  aspect-ratio: 1.9;
  margin-top: clamp(0px, .4vw, 6px);
  color: #fff;
  font-size: clamp(22px, 2.7vw, 38px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.03em;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  background:
    linear-gradient(180deg, #ffffff40, transparent 45%),
    linear-gradient(135deg, #25d6cd, #0b9c9c 65%, #0a8087);
  text-shadow: 0 1px 2px #05505a66;
}

.how-text {
  grid-column: 2;
  min-width: 0;
  padding: clamp(0px, .2vw, 4px) clamp(8px, 1.4vw, 18px) 0 0;
}

#how .how-text h3 {
  margin: 0 0 clamp(8px, 1vw, 14px);
  color: var(--how-ink);
  font-size: clamp(22px, 2.9vw, 40px);
  font-style: italic;
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

#how .how-text p {
  max-width: 330px;
  margin: 0;
  color: #1f3338;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.5;
}

.how-icon {
  grid-column: 3;
  position: relative;
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(54px, 6.2vw, 92px);
  aspect-ratio: 1;
  margin-left: clamp(14px, 3vw, 44px);
}

/* A pale slanted plate behind the icon, and the slanted divider to its left. */
.how-icon::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% -36% -16% -22%;
  background: linear-gradient(120deg, #cfe8ea99, #e9f5f6aa);
  transform: skewX(-18deg);
}

.how-icon::after {
  content: "";
  position: absolute;
  top: -24%;
  bottom: -24%;
  left: -52%;
  width: 1px;
  background: linear-gradient(#5b7c83, #5b7c8366);
  transform: rotate(21deg);
}

.how-icon svg {
  width: 82%;
  height: 82%;
  fill: none;
  stroke: #12262b;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-icon .how-accent {
  stroke: var(--how-teal);
  stroke-width: 4;
}

/* Tablet and phone: one column, the heading above the cards. */
@media (max-width: 1000px) {
  .how-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(30px, 6vw, 48px);
  }

  .how-head {
    position: static;
  }

  #how .how-title {
    font-size: clamp(54px, 10.5vw, 96px);
  }

  .how-steps {
    max-width: 820px;
  }
}

@media (max-width: 700px) {
  #how.how-section {
    padding: 48px 0 60px;
  }

  .how-inner {
    width: min(100% - 32px, 1200px);
  }

  .how-glass--top {
    width: 62vw;
  }

  .how-glass--bottom {
    width: 36vw;
  }

  .how-eyebrow {
    font-size: 11px;
  }

  #how .how-title {
    font-size: clamp(36px, 10.4vw, 54px);
    white-space: nowrap;
  }

  .how-steps {
    padding-left: 30px;
  }

  .how-card::before,
  .how-card:not(:last-child)::after {
    left: -28px;
  }

  .how-face {
    min-height: 0;
    padding: 20px 12px 22px 22px;
    column-gap: 10px;
  }

  .how-badge {
    width: 54px;
    font-size: 20px;
  }

  #how .how-text h3 {
    font-size: 20px;
  }

  #how .how-text p {
    font-size: 14px;
  }

  .how-icon {
    width: 40px;
    margin-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-card,
  .how-card:hover {
    transition: none;
    transform: none;
  }
}
