/* Gen2Journey — The Ideal Renter Journey (port of the Final prototype's Journey3, looping ring).
   No background colour and no section padding (the Webflow section provides them); the
   prototype's grid/spoke pattern (.j3-bg) is drawn behind the ring across the full page width. */

.g2j,
.g2j * {
  box-sizing: border-box;
}
.g2j {
  position: relative;
  font-family: inter-variable, "Inter Variable", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-feature-settings: "ss07" 1, "ss08" 1;
  font-variation-settings: "opsz" 32;
  -webkit-font-smoothing: antialiased;
  color: #0e0d0c;
}

.g2j-hd {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.g2j-h2 {
  margin: 0;
  max-width: 520px;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
  text-wrap: balance;
}
.g2j-sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #0e0d0c;
}

.g2j-wrap {
  position: relative;
  z-index: 1;
}
.g2j-rv {
  position: absolute;
  inset: 0;
}
/* Pattern clip: spans the page width (left/width set inline from the component's position) and
   the stage height, so the 1440-wide pattern never adds sideways scroll. */
.g2j-bgclip {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}
.g2j-bg {
  position: absolute;
  display: block;
  overflow: hidden;
  /* v124: band centred on the ring × left/right fade (prototype .j3-bg / gradients.css §8) */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 31%, #000 50%, #000 74%, transparent 89%),
    linear-gradient(to right, transparent 2%, #000 22%, #000 78%, transparent 98%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 31%, #000 50%, #000 74%, transparent 89%),
    linear-gradient(to right, transparent 2%, #000 22%, #000 78%, transparent 98%);
  mask-composite: intersect;
}
.g2j-st {
  position: absolute;
  left: 50%;
  top: 0;
  width: 640px;
  height: 600px;
  transform-origin: 50% 0;
}
.g2j-g {
  position: absolute;
  inset: 0;
  overflow: visible;
}

/* Product nodes + labels (Plex Mono 14 caps) */
.g2j-n {
  position: absolute;
  width: 0;
  height: 0;
}
.g2j-n i {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fdfcfb;
  box-shadow: inset 0 0 0 1.5px #dddcda;
  transition:
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.g2j-n.on i {
  background: #6b4fff;
  box-shadow: 0 0 0 3px #fdfcfb;
}
.g2j-n span {
  position: absolute;
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-weight: 500;
  text-transform: uppercase;
  font-feature-settings: "salt" 1;
  font-size: var(--lf);
  line-height: 1.1;
  letter-spacing: 0;
  color: #3f3e3c;
  white-space: nowrap;
}
.g2j-n.t span {
  left: -100px;
  width: 200px;
  bottom: 26px;
  text-align: center;
}
.g2j-n.b span {
  left: -100px;
  width: 200px;
  top: 31px;
  text-align: center;
}
.g2j-n.r span {
  left: 35px;
  top: -7px;
  white-space: normal;
  width: 7.5em;
}
.g2j-n.l span {
  right: 35px;
  top: -7px;
  text-align: right;
}

/* Apollo disc + 1px conic ring that turns with the sweep */
.g2j-ap {
  position: absolute;
  left: 261.1px;
  top: 241.1px;
  width: 117.8px;
  height: 117.8px;
  box-sizing: border-box;
  border-radius: 1000px;
  padding: 8px;
  background: #fdfcfb;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 32px 40px -20px rgba(0, 0, 0, 0.1);
}
.g2j-apring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(
    from -70deg,
    rgba(107, 79, 255, 0) 0deg,
    #6b4fff 70deg,
    rgba(107, 79, 255, 0) 140deg,
    rgba(107, 79, 255, 0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.g2j-ap div {
  width: 100%;
  height: 100%;
  border-radius: 1000px;
  background: #131115;
  display: grid;
  place-items: center;
}
.g2j-ap svg {
  display: block;
}

/* The prototype's .gut gutter (16px, 24px ≤480) is the Webflow container's padding here. */
@media (max-width: 767px) {
  .g2j-hd {
    gap: 16px;
  }
  .g2j-h2 {
    font-size: 36px;
    max-width: 236px;
  }
  .g2j-sub {
    font-size: 16px;
    color: #3f3e3c;
  }
}

