/* Preview-only copy layout. The original why-mesh.js remains unchanged. */
#why-agex.mesh-newcopy {
  box-sizing: border-box;
  padding: 80px 6vw 72px;
  background: #fff;
  color: #1b252b;
  border-top: 1px solid #e6ebee;
  font-family: var(--display, Arial, sans-serif);
  scroll-margin-top: 84px;
}

#why-agex.mesh-newcopy .mesh-newcopy-heading,
#why-agex.mesh-newcopy .mesh-newcopy-layout,
#why-agex.mesh-newcopy .mesh-newcopy-transition,
#why-agex.mesh-newcopy .mesh-newcopy-statistics {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
}

#why-agex.mesh-newcopy .mesh-newcopy-title {
  max-width: 1020px;
  margin: 0;
  font: 400 42px/1.2 var(--display, Arial, sans-serif);
  letter-spacing: -.04em;
  color: #1b252b;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

#why-agex.mesh-newcopy .mesh-newcopy-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
  margin-top: 54px;
}

#why-agex.mesh-newcopy .mesh-newcopy-story {
  min-width: 0;
  max-width: 480px;
}

#why-agex.mesh-newcopy .mesh-newcopy-fragment {
  box-sizing: border-box;
  min-width: 0;
  min-height: 240px;
  padding: 28px 0 40px;
  border-top: 1px solid #dfe6e9;
}

#why-agex.mesh-newcopy .mesh-newcopy-fragment:first-child {
  min-height: clamp(240px, 38svh, 360px);
  padding-top: 0;
  border-top: 0;
}

#why-agex.mesh-newcopy .mesh-newcopy-fragment p {
  margin: 0;
  font: 400 18px/1.7 var(--display, Arial, sans-serif);
  letter-spacing: -.01em;
  color: #566772;
  overflow-wrap: break-word;
}

#why-agex.mesh-newcopy .mesh-newcopy-visual {
  position: sticky;
  top: 120px;
  min-width: 0;
  align-self: start;
}

#why-agex.mesh-newcopy .why-mesh-scene {
  position: relative;
  width: 100%;
  height: 360px;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  touch-action: pan-y pinch-zoom;
}

#why-agex.mesh-newcopy .why-mesh-scene:focus-visible {
  outline: 1px solid #9daeb6;
  outline-offset: 4px;
}

#why-agex.mesh-newcopy .why-mesh-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y pinch-zoom;
  cursor: default;
  filter: grayscale(1);
}

#why-agex.mesh-newcopy .why-mesh-pause {
  display: none !important;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #c9d3d9;
  border-radius: 50%;
  background: #fffffff2;
  color: #52616b;
  font: 15px Arial, sans-serif;
  cursor: pointer;
}

#review-pause { display: none !important; }

#why-agex.mesh-newcopy .mesh-signals {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#why-agex.mesh-newcopy .mesh-signal {
  position: absolute;
  left: var(--signal-x);
  top: var(--signal-y);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: #697980;
}

#why-agex.mesh-newcopy .mesh-signal svg {
  width: 28px;
  height: 28px;
  fill: #ffffffd9;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .5;
  animation: mesh-signal-appear 8s ease-in-out infinite;
  animation-delay: var(--signal-delay);
  animation-play-state: paused;
}

#why-agex.mesh-newcopy .why-mesh-scene.is-signals-running .mesh-signal svg {
  animation-play-state: running;
}

#why-agex.mesh-newcopy .mesh-signal-label {
  position: absolute;
  top: 42px;
  left: 50%;
  padding: 3px 7px;
  border-radius: 6px;
  background: #ffffffed;
  font: 400 14px/1.4 var(--display, Arial, sans-serif);
  white-space: nowrap;
  color: #40545e;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .25s ease, transform .35s ease;
}

#why-agex.mesh-newcopy .mesh-signal.is-near svg {
  opacity: .9;
  animation: none;
}

#why-agex.mesh-newcopy .mesh-signal.is-near .mesh-signal-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

#why-agex.mesh-newcopy .mesh-signal--accent.is-near {
  color: #5c8b76;
}

#why-agex.mesh-newcopy .mesh-signal-wave {
  position: absolute;
  z-index: 0;
  left: var(--signal-wave-x, 50%);
  top: var(--signal-wave-y, 50%);
  width: 190px;
  height: 190px;
  border: 1px solid #b5c4bf3b;
  border-radius: 50%;
  background: radial-gradient(circle, #e6eeea24 0, #ffffff00 65%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.8);
  transition: opacity .5s ease, transform 1.2s ease;
  pointer-events: none;
}

#why-agex.mesh-newcopy .why-mesh-scene.is-wave-active .mesh-signal-wave {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#why-agex.mesh-newcopy .why-mesh-scene:not(.is-signals-running) .mesh-signal-wave {
  display: none;
}

#why-agex.mesh-newcopy .mesh-concept-note {
  margin: 10px 0 0;
  font: 400 14px/1.5 var(--display, Arial, sans-serif);
  color: #7a8990;
}

@keyframes mesh-signal-appear {
  0%, 100% { opacity: .22; transform: translateY(2px); }
  45%, 60% { opacity: .58; transform: translateY(-2px); }
}

#why-agex.mesh-newcopy .why-mesh-pause:focus-visible {
  outline: 2px solid #52616b;
  outline-offset: 4px;
}

#why-agex.mesh-newcopy .why-mesh-pause:disabled {
  opacity: .45;
  cursor: default;
}

#why-agex.mesh-newcopy .mesh-newcopy-transition {
  padding-top: 32px;
  margin-top: 36px;
  border-top: 1px solid #dfe6e9;
}

#why-agex.mesh-newcopy .mesh-newcopy-transition p {
  max-width: 770px;
  margin: 0;
  font: 400 24px/1.5 var(--display, Arial, sans-serif);
  letter-spacing: -.025em;
  color: #2f414c;
  overflow-wrap: break-word;
}

#why-agex.mesh-newcopy .mesh-newcopy-statistics {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid #dfe6e9;
}

#why-agex.mesh-newcopy .mesh-newcopy-statrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
}

#why-agex.mesh-newcopy .mesh-newcopy-stat {
  min-width: 0;
}

#why-agex.mesh-newcopy .mesh-newcopy-stat dt {
  margin: 0 0 12px;
  font: 400 40px/1.1 var(--display, Arial, sans-serif);
  letter-spacing: -.045em;
  color: #2f414c;
}

#why-agex.mesh-newcopy .mesh-newcopy-stat dd {
  max-width: 310px;
  margin: 0;
  font: 400 16px/1.6 var(--display, Arial, sans-serif);
  color: #566772;
  overflow-wrap: break-word;
}

#why-agex.mesh-newcopy .mesh-newcopy-statnote {
  max-width: 1040px;
  margin: 32px 0 0;
  font: 400 14px/1.65 var(--display, Arial, sans-serif);
  color: #667781;
  overflow-wrap: break-word;
}

#why-agex.mesh-newcopy .mesh-newcopy-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 12px 0 0;
  font: 400 14px/1.65 var(--display, Arial, sans-serif);
}

#why-agex.mesh-newcopy .mesh-newcopy-sources a {
  padding: 4px 0;
  color: #526671;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

#why-agex.mesh-newcopy .mesh-newcopy-sources a:focus-visible {
  outline: 2px solid #52616b;
  outline-offset: 4px;
}

/* Content stays in the document flow and remains readable without JavaScript. */
#why-agex.mesh-newcopy.is-reveal-ready [data-mesh-copy] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

#why-agex.mesh-newcopy.is-reveal-ready [data-mesh-copy].is-revealed {
  opacity: 1;
  transform: none;
}

#why-agex.mesh-newcopy.is-content-static [data-mesh-copy],
.motion-paused #why-agex.mesh-newcopy [data-mesh-copy] {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 1050px) {
  #why-agex.mesh-newcopy .mesh-newcopy-layout { gap: 32px; }
  #why-agex.mesh-newcopy .mesh-newcopy-title { font-size: 38px; }
}

@media (max-width: 767px) {
  #why-agex.mesh-newcopy {
    padding: 56px 22px 48px;
    scroll-margin-top: 74px;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-title {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.035em;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-visual {
    position: relative;
    top: auto;
    order: 1;
    width: 100%;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-story {
    order: 2;
    width: 100%;
    max-width: none;
  }
  #why-agex.mesh-newcopy .why-mesh-scene { height: 245px; }
  #why-agex.mesh-newcopy .mesh-newcopy-fragment {
    min-height: 250px;
    padding: 24px 0 40px;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-fragment:first-child {
    min-height: 220px;
    padding-top: 0;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-fragment p {
    font-size: 16px;
    line-height: 1.65;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-transition {
    margin-top: 12px;
    padding-top: 28px;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-transition p {
    font-size: 22px;
    line-height: 1.45;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-statistics {
    margin-top: 36px;
    padding-top: 28px;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-statrow {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-stat dt {
    margin-bottom: 8px;
    font-size: 36px;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-stat dd {
    max-width: none;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-statnote {
    margin-top: 28px;
  }
  #why-agex.mesh-newcopy .mesh-newcopy-sources {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #why-agex.mesh-newcopy [data-mesh-copy] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #why-agex.mesh-newcopy .mesh-signal svg {
    animation: none !important;
    opacity: .55;
    transform: none;
  }
  #why-agex.mesh-newcopy .mesh-signal-label {
    transition: none;
  }
}
