.rm-wrap { max-width: 960px; margin: 0 auto; }
.rm-svg { width: 100%; height: auto; display: block; overflow: visible; }
.rm-line {
  fill: none;
  stroke: #0A0A0A;
  stroke-width: 1.6;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: rm-draw 1.4s cubic-bezier(.5, 0, .2, 1) forwards;
}
.rm-node {
  fill: #FDF1EA;
  stroke: #0A0A0A;
  stroke-width: 1.6;
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(0);
  animation: rm-pop .7s cubic-bezier(.2, 1.6, .4, 1) forwards;
}
.rm-node.n1 { animation-delay: .5s; }
.rm-node.n2 { animation-delay: 1.1s; }
.rm-node.n3 { animation-delay: 1.7s; }
.rm-pulse {
  fill: none;
  stroke: #0F6E56;
  stroke-width: 1.4;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: rm-pulse 4.5s ease-out infinite;
}
.rm-pulse.p1 { animation-delay: 3s; }
.rm-pulse.p2 { animation-delay: 4.5s; }
.rm-pulse.p3 { animation-delay: 6s; }
.rm-dot { fill: #0F6E56; opacity: 0; animation: rm-fade .4s ease 2.6s forwards; }
.rm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.rm-card {
  border: 1px solid #0A0A0A;
  padding: 24px 20px;
  opacity: 0;
  transform: translateY(40px);
  animation: rm-rise .9s cubic-bezier(.2, .8, .2, 1) forwards;
}
.rm-card.c1 { animation-delay: .7s; }
.rm-card.c2 { animation-delay: 1.3s; }
.rm-card.c3 { animation-delay: 1.9s; }
.rm-phase {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: #0A0A0A;
  margin: 0 0 4px;
}
.rm-title {
  font-family: var(--wp--preset--font-family--heading-font, serif);
  font-size: 24px;
  font-weight: 900;
  color: #0A0A0A;
  margin: 0 0 16px;
}
.rm-list { list-style: none; margin: 0 0 16px; padding: 0; }
.rm-list li {
  font-size: 14px;
  line-height: 1.8;
  color: #0A0A0A;
  padding-left: 14px;
  position: relative;
}
.rm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 1.4px;
  background: #0A0A0A;
}
.rm-ai {
  font-size: 13px;
  font-weight: 500;
  color: #0F6E56;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #0A0A0A;
}
@keyframes rm-draw { to { stroke-dashoffset: 0; } }
@keyframes rm-pop { to { transform: scale(1); } }
@keyframes rm-pulse {
  0% { opacity: .9; transform: scale(1); }
  55% { opacity: 0; transform: scale(3.4); }
  100% { opacity: 0; transform: scale(3.4); }
}
@keyframes rm-fade { to { opacity: 1; } }
@keyframes rm-rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .rm-line, .rm-node, .rm-pulse, .rm-dot, .rm-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}
@media (max-width: 680px) {
  .rm-grid { grid-template-columns: 1fr; }
}
