/* Shared reading rhythm for the homepage and industry pages. */
.site-default .setup-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 0 clamp(32px, 7vw, 110px);
  background:
    radial-gradient(ellipse at 18% 50%, #deeaf7, transparent 53%),
    #f4f7fa;
}
.setup-flow__intro .hp-head {
  margin: 0;
}
.setup-flow__device {
  display: grid;
  place-items: center;
  width: min(100%, 270px);
  position: relative;
  isolation: isolate;
  margin-top: 10px;
}
.setup-flow__device::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22% 8%;
  border: 1px solid #bfd0df;
  border-radius: 50%;
  transform: rotate(-14deg);
}
.setup-flow__device img {
  width: 80%;
  height: auto;
  filter: drop-shadow(0 12px 10px #142f4819);
}
.setup-flow__steps {
  padding: 0;
  margin: 0;
  list-style: none;
}
.setup-flow__steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 20px;
  position: relative;
}
.setup-flow__steps li + li {
  padding-top: 28px;
}
.setup-flow__steps li:not(:last-child)::after,
.page .fhow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 1px;
  top: 34px;
  bottom: -28px;
  left: 16px;
  background: linear-gradient(
    var(--accent),
    color-mix(in srgb, var(--accent) 28%, transparent)
  );
}
.setup-flow__steps li + li:not(:last-child)::after {
  top: 62px;
}
.setup-flow__steps li > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  border: 1px solid #bdcce2;
  font-size: 0.92rem;
  font-weight: 650;
  color: #254faa;
}
.setup-flow__steps li:last-child > span {
  background: #244faa;
  color: white;
  border-color: #244faa;
}
.setup-flow__steps h3 {
  font: 600 clamp(1.25rem, 2.2vw, 1.65rem)/1.25 var(--font-display);
  margin: 1px 0 6px;
}
.setup-flow__steps p {
  max-width: 46ch;
  color: var(--hp-ink-2);
  line-height: 1.5;
}
.setup-flow .hp-steps__note {
  grid-column: 2;
  padding-top: 16px;
  border-top: 1px solid var(--hp-line);
}
.page .fhow__step {
  position: relative;
}
.page .fhow__step:not(:last-child)::after {
  bottom: -22px;
}
.page .fhow__n {
  position: relative;
  z-index: 1;
}

/* Editorial panels use rules and whitespace. Only links react to a pointer. */
.page :is(.scenario, .hp-card, .plan-features__group) {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  padding: clamp(18px, 2.4vw, 32px) 0;
}
.page :is(.hp-cards, .hp-pair, .scenarios, .plan-features) {
  gap: 12px clamp(22px, 3vw, 48px);
}
.page .hp-card--accent {
  border-top-color: var(--accent);
}
.page :is(.hp-plans, .tier-grid, .offer__examples) {
  gap: 1px;
  overflow: hidden;
  border-radius: 15px;
  background: color-mix(in srgb, currentColor 16%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.page :is(.hp-plan, .tier-card, .offer__example) {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.page .offer__example {
  background: #17283b;
}
.page .hp-tile img {
  transform-origin: 50% 68%;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page .hp-tile img {
    transition: transform 320ms ease-out;
  }
  .page .hp-tile:is(:hover, :focus-visible) img {
    transform: scale(1.025);
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .setup-flow__device img, .page .fhow__device img {
      animation: device-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    .page
      :is(
        .setup-flow__steps li,
        .scenario,
        .hp-card,
        .tier-card,
        .side,
        .stat,
        .evcase,
        .hp-plan,
        .plan-features__group,
        .offer__example
      ) {
      animation: panel-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
  }
}
@keyframes device-settle {
  from {
    transform: translateY(10px) rotate(-2deg);
  }
  to {
    transform: none;
  }
}
@keyframes panel-settle {
  from {
    transform: translateY(7px);
  }
  to {
    transform: none;
  }
}
@media (max-width: 700px) {
  .site-default .setup-flow {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
  .setup-flow__intro {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }
  .setup-flow__device {
    width: min(28%, 130px);
    flex: none;
    margin: 0;
  }
  .setup-flow .hp-steps__note {
    grid-column: 1;
    margin: 0;
  }
}
