/* ===== MODEL ROUTING hero ===== */
.pg-mrhero {
  position: relative;
  background-color: #f4f7fd;
  padding: 112px 0 116px;
  overflow: hidden;
}
.pg-mrhero__glow {
  position: absolute;
  top: -14%;
  right: -8%;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(0, 54, 250, 0.12), rgba(0, 54, 250, 0.03) 55%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.pg-mrhero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}
.pg-mrhero__copy { max-width: 660px; }
.pg-mrhero__kicker {
  position: relative;
  padding-left: 21px;
  font-family: "Cabin", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000;
  margin: 0;
}
.pg-mrhero__kicker::before,
.pg-mrhero__kicker::after {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 4px;
  border-radius: 1px;
}
.pg-mrhero__kicker::before {
  top: calc(50% - 4px);
  background: linear-gradient(to right, #0036fa, #c0e2f9);
}
.pg-mrhero__kicker::after {
  top: 50%;
  width: 14px;
  background: linear-gradient(to right, #c0e2f9, #0036fa);
}
.pg-mrhero__title {
  font-family: "Merriweather", serif;
  font-weight: 300;
  font-size: 50px;
  line-height: 1.16;
  color: #000;
  margin: 22px 0 0;
  text-wrap: balance;
}
.pg-mrhero__grad {
  background-image: linear-gradient(90deg, #0036fa, #4e87fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pg-mrhero__subtitle {
  font-family: "Cabin", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #3a3f4c;
  max-width: 600px;
  margin: 22px 0 0;
}
.pg-mrhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.pg-mrhero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.pg-mrhero__btn--solid {
  color: #fff;
  background-image: linear-gradient(90deg, #0036fa, #4e87fc);
  box-shadow: 0 12px 28px rgba(0, 54, 250, 0.32);
}
.pg-mrhero__btn--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 54, 250, 0.44);
}
.pg-mrhero__btn--ghost {
  color: #12140f;
  background-color: #fff;
  border: 1px solid #cfd6e6;
}
.pg-mrhero__btn--ghost:hover {
  border-color: #4e87fc;
  color: #0036fa;
  background-color: rgba(78, 135, 252, 0.06);
}
.pg-mrhero__router {
  position: relative;
  margin-top: 56px;
  background: #fff;
  border: 1px solid #e4e8f2;
  border-radius: 18px;
  padding: 10px 26px 16px;
  box-shadow: 0 40px 80px -50px rgba(0, 54, 250, 0.4);
}
.pg-mrhero__policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 6px 18px;
  border-bottom: 1px solid #eef1f7;
}
.pg-mrhero__policy-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c869c;
}
.pg-mrhero__policy-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pg-mrhero__factor {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  color: #274bd0;
  background-color: rgba(0, 54, 250, 0.07);
  border: 1px solid rgba(78, 135, 252, 0.22);
}
.pg-mrhero__routehead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px 14px 10px;
}
.pg-mrhero__routehead span {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa2b6;
}
.pg-mrhero__routehead span:nth-child(2) { text-align: center; }
.pg-mrhero__routehead span:nth-child(3) { text-align: right; }
.pg-mrhero__route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px 14px;
  border-radius: 12px;
  border-top: 1px solid #eef1f7;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.pg-mrhero__route:first-of-type { border-top: none; }
.pg-mrhero__task {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pg-mrhero__task-name {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #14161d;
}
.pg-mrhero__task-sub {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #98a0b2;
}
.pg-mrhero__track {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}
.pg-mrhero__track-line {
  position: absolute;
  left: 0;
  right: 16px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: repeating-linear-gradient(to right, #cdd6ee 0 6px, transparent 6px 12px);
}
.pg-mrhero__track-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 999px;
  background-image: linear-gradient(135deg, #0036fa, #4e87fc);
  box-shadow: 0 0 0 4px rgba(0, 54, 250, 0.12);
  animation: mr-route 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.pg-mrhero__track-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cabin", sans-serif;
  font-size: 15px;
  line-height: 1;
  color: #4e87fc;
}
@keyframes mr-route {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% - 16px); opacity: 0; }
}
.pg-mrhero__model {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
  min-width: 0;
}
.pg-mrhero__model-name {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #14161d;
}
.pg-mrhero__model-note {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: #6f7ba0;
}
.pg-mrhero__route--feature {
  position: relative;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(0, 54, 250, 0.06), transparent 60%),
    #f7f9ff;
  border-top: none;
  box-shadow: inset 0 0 0 1px rgba(78, 135, 252, 0.16);
  overflow: hidden;
}
.pg-mrhero__route--feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-image: linear-gradient(180deg, #0036fa, #4e87fc);
}
.pg-mrhero__route--feature .pg-mrhero__track-line {
  background-image: linear-gradient(to right, rgba(0, 54, 250, 0.35), rgba(78, 135, 252, 0.85));
  background-repeat: no-repeat;
}
.pg-mrhero__route--feature .pg-mrhero__model-note {
  background-image: linear-gradient(90deg, #0036fa, #4e87fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.pg-mrhero__route:hover { background-color: rgba(78, 135, 252, 0.05); }
.pg-mrhero__route:hover .pg-mrhero__track-line {
  background-image: linear-gradient(to right, rgba(0, 54, 250, 0.3), rgba(78, 135, 252, 0.8));
  background-repeat: no-repeat;
}
.pg-mrhero__route:hover .pg-mrhero__track-dot { animation-duration: 1.3s; }

.pg-mrhero__copy,
.pg-mrhero__policy,
.pg-mrhero__routehead,
.pg-mrhero__route {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pg-mrhero__copy.is-in,
.pg-mrhero__policy.is-in,
.pg-mrhero__routehead.is-in,
.pg-mrhero__route.is-in {
  opacity: 1;
  transform: none;
}
.pg-mrhero__policy.is-in { transition-delay: 0.06s; }
.pg-mrhero__routehead.is-in { transition-delay: 0.12s; }
.pg-mrhero__route.is-in:nth-of-type(1) { transition-delay: 0.20s; }
.pg-mrhero__route.is-in:nth-of-type(2) { transition-delay: 0.30s; }
.pg-mrhero__route.is-in:nth-of-type(3) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .pg-mrhero__copy,
  .pg-mrhero__policy,
  .pg-mrhero__routehead,
  .pg-mrhero__route {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pg-mrhero__track-dot { animation: none; opacity: 1; }
}

@media (max-width: 1040px) {
  .pg-mrhero { padding: 88px 0 84px; }
  .pg-mrhero__inner { padding: 0 24px; }
  .pg-mrhero__title { font-size: 40px; }
  .pg-mrhero__router { margin-top: 44px; padding: 8px 16px 14px; }
  .pg-mrhero__glow { width: 420px; height: 420px; }
}
@media (max-width: 700px) {
  .pg-mrhero__title { font-size: 32px; }
  .pg-mrhero__routehead { display: none; }
  .pg-mrhero__route { grid-template-columns: 1fr; gap: 12px; padding: 18px 12px; }
  .pg-mrhero__track { height: 16px; justify-content: flex-start; }
  .pg-mrhero__track-line { right: 24px; }
  .pg-mrhero__model { align-items: flex-start; text-align: left; }
}
