/* ProReturn — blocks on top of the shared hub/AO visual language (site.css) */

/* ========== HERO: fund-tracing diagram instead of a video ========== */
.rt-hero {
  min-height: min(calc(100svh - 72px), 980px);
}

.rt-hero .pv-hero__media {
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(239, 26, 51, 0.08), transparent 70%),
    #030303;
}

.rt-tx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, monospace;
}

.rt-tx__blocks rect {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
}

.rt-tx__blocks path {
  stroke: rgba(255, 255, 255, 0.07);
}

.rt-tx__edge {
  fill: none;
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1.4;
}

.rt-tx__pulse {
  fill: none;
  stroke: var(--pv-red-hot);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 0.07 1.2;
  stroke-dashoffset: 0.07;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(255, 45, 69, 0.9));
}

.rt-tx__amt {
  font-size: 13px;
  fill: rgba(255, 92, 110, 0.75);
  letter-spacing: 0.02em;
}

.rt-tx__node rect {
  fill: rgba(12, 12, 12, 0.92);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.2;
}

.rt-tx__lab {
  font-size: 11px;
  letter-spacing: 0.14em;
  fill: rgba(255, 255, 255, 0.34);
}

.rt-tx__addr {
  font-size: 15px;
  fill: rgba(255, 255, 255, 0.62);
}

.rt-tx__dot {
  fill: rgba(255, 255, 255, 0.28);
}

.rt-tx__node--src .rt-tx__dot,
.rt-tx__node--dst .rt-tx__dot {
  fill: var(--pv-red);
}

.rt-tx__node--dst rect {
  stroke: rgba(239, 26, 51, 0.7);
  filter: drop-shadow(0 0 18px rgba(239, 26, 51, 0.35));
}

.rt-tx__frozen rect {
  fill: rgba(239, 26, 51, 0.16);
  stroke: rgba(239, 26, 51, 0.8);
}

.rt-tx__frozen path {
  stroke: var(--pv-red-hot);
  stroke-width: 1.6;
}

.rt-tx__frozen .rt-tx__lock {
  fill: var(--pv-red-hot);
  stroke: none;
}

.rt-tx__frozen text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  fill: #ff6b7a;
}

/* Keep the centre calm so the headline wins; the diagram lives on the sides */
.rt-hero .pv-hero__shade {
  background:
    radial-gradient(40% 52% at 50% 48%, rgba(3, 3, 3, 0.94) 0%, rgba(3, 3, 3, 0.78) 55%, rgba(3, 3, 3, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 25%, transparent 75%, #000 100%);
}

/* One transaction wave every 6s: pulses run stage by stage, nodes light up, the exchange freezes */
@media (prefers-reduced-motion: no-preference) {
  .rt-tx__pulse {
    animation: rt-pulse 6s linear infinite;
    animation-delay: calc(var(--s) * 0.9s);
  }

  .rt-tx__node rect {
    animation: rt-node 6s linear infinite;
    animation-delay: calc(var(--s) * 0.9s);
  }

  .rt-tx__node--dst rect {
    animation-name: rt-dst;
  }

  .rt-tx__frozen {
    animation: rt-frozen 6s linear infinite;
  }
}

@keyframes rt-pulse {
  0% {
    stroke-dashoffset: 0.07;
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  15% {
    stroke-dashoffset: -1;
    opacity: 1;
  }
  16%,
  100% {
    stroke-dashoffset: -1;
    opacity: 0;
  }
}

@keyframes rt-node {
  0%,
  100% {
    stroke: rgba(255, 255, 255, 0.16);
  }
  3%,
  12% {
    stroke: rgba(255, 45, 69, 0.85);
  }
  24% {
    stroke: rgba(255, 255, 255, 0.16);
  }
}

@keyframes rt-dst {
  0%,
  100% {
    stroke: rgba(239, 26, 51, 0.6);
  }
  3%,
  30% {
    stroke: rgba(255, 45, 69, 1);
  }
}

@keyframes rt-frozen {
  0%,
  62% {
    opacity: 0.25;
  }
  68%,
  94% {
    opacity: 1;
  }
  100% {
    opacity: 0.25;
  }
}

/* Phones: the side columns are cropped away, so keep only the flowing lines */
@media (max-width: 768px) {
  .rt-tx {
    opacity: 0.7;
  }

  .rt-tx__nodes,
  .rt-tx__amts {
    display: none;
  }
}

.rt-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--pv-red);
  vertical-align: 0.12em;
  box-shadow: 0 0 0 4px rgba(239, 26, 51, 0.18);
}

.rt-accent {
  color: var(--pv-red);
}

/* ========== INCIDENTS — heading left, icon tiles right ========== */
.rt-incidents {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.rt-incidents__head {
  position: sticky;
  top: 120px;
}

.rt-incidents__head .pv-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.rt-incidents__head .pv-lead {
  margin-bottom: 26px;
}

.rt-inc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rt-inc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 118px;
  padding: 18px 16px;
  border: 1px solid var(--pv-line);
  border-radius: 18px;
  background: #0f0f0f;
  transition:
    border-color 0.25s var(--pv-ease),
    background 0.25s var(--pv-ease),
    transform 0.25s var(--pv-ease);
}

.rt-inc__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #ff1838;
  background: linear-gradient(145deg, rgba(255, 24, 56, 0.1), rgba(255, 24, 56, 0.025));
  border: 1px solid rgba(255, 24, 56, 0.34);
}

.rt-inc__icon .pd-icon {
  width: 20px;
  height: 20px;
}

.rt-inc__text {
  font-family: var(--pv-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ececf0;
}

@media (hover: hover) and (pointer: fine) {
  .rt-inc:hover {
    border-color: rgba(239, 26, 51, 0.5);
    background: #131313;
    transform: translateY(-2px);
  }
}

@media (max-width: 960px) {
  .rt-incidents {
    grid-template-columns: 1fr;
  }

  .rt-incidents__head {
    position: static;
    text-align: center;
  }

  .rt-incidents__head .pv-lead {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .rt-inc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rt-inc {
    min-height: 0;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  .rt-inc__text {
    font-size: 0.92rem;
  }
}

/* ========== SERVICES — hub department cards ========== */
.rt-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 1px solid var(--pv-line);
  border-radius: 22px;
  background: #0c0c0c;
  transition:
    border-color 0.25s var(--pv-ease),
    background 0.25s var(--pv-ease);
}

.rt-card .pv-dept__icon {
  margin-bottom: 6px;
}

.rt-card h3 {
  margin: 0;
  font-family: var(--pv-font);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.rt-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--pv-mute);
}

@media (hover: hover) and (pointer: fine) {
  .rt-card:hover {
    border-color: rgba(239, 26, 51, 0.45);
    background: #101010;
  }
}

@media (max-width: 900px) {
  .rt-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .rt-cards {
    grid-template-columns: 1fr;
  }
}

/* ========== PROCESS — 4 phases, step titles, descriptions on click ========== */
.rt-phases {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rt-phase {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 18px 14px;
  border: 1px solid var(--pv-line);
  border-radius: 22px;
  background: #0c0c0c;
}

.rt-phase::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--pv-red), transparent);
}

.rt-phase__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.rt-phase__no {
  font-family: var(--pv-font);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--pv-red);
}

.rt-phase h3 {
  margin: 0;
  font-family: var(--pv-font);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.rt-phase__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rt-phase__steps > li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Open step: soft red wash that fades in with the text */
.rt-step {
  position: relative;
  margin: 0 -10px;
  padding: 0 10px;
  border-radius: 14px;
  background: transparent;
  transition: background 0.45s var(--pv-ease);
}

.rt-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--pv-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--pv-ease);
}

.rt-step.is-open {
  background: linear-gradient(90deg, rgba(239, 26, 51, 0.09), rgba(239, 26, 51, 0.02) 70%);
}

.rt-step.is-open::before {
  transform: scaleY(1);
}

.rt-step__body {
  overflow: hidden;
}

.rt-step summary {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
}

.rt-step summary::-webkit-details-marker {
  display: none;
}

.rt-step summary:focus-visible {
  outline: 2px solid var(--pv-red-hot);
  outline-offset: 2px;
  border-radius: 8px;
}

.rt-step__num {
  font-family: var(--pv-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--pv-dim);
  font-variant-numeric: tabular-nums;
}

.rt-step__title {
  font-family: var(--pv-font);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ececf0;
}

.rt-step__plus {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.rt-step__plus::before,
.rt-step__plus::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 8px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--pv-mute);
  transition: transform 0.25s var(--pv-ease);
}

.rt-step__plus::after {
  transform: rotate(90deg);
}

.rt-step__plus::before,
.rt-step__plus::after {
  transition:
    transform 0.45s var(--pv-ease),
    background 0.3s var(--pv-ease);
}

.rt-step.is-open .rt-step__plus::after {
  transform: rotate(180deg);
}

.rt-step.is-open .rt-step__plus::before {
  transform: rotate(180deg);
}

.rt-step.is-open .rt-step__plus::before,
.rt-step.is-open .rt-step__plus::after {
  background: var(--pv-red);
}

.rt-step__num,
.rt-step__title {
  transition: color 0.3s var(--pv-ease);
}

.rt-step.is-open .rt-step__num {
  color: var(--pv-red);
}

.rt-step.is-open .rt-step__title {
  color: #fff;
}

.rt-step p {
  margin: 0;
  padding: 0 0 16px 40px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--pv-mute);
  text-wrap: pretty;
}

@media (hover: hover) and (pointer: fine) {
  .rt-step summary:hover .rt-step__title {
    color: #fff;
  }

  .rt-step summary:hover .rt-step__plus::before,
  .rt-step summary:hover .rt-step__plus::after {
    background: #fff;
  }
}

@media (max-width: 1100px) {
  .rt-phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rt-phases {
    grid-template-columns: 1fr;
  }
}

/* ========== STATS — heading left, four number cards ========== */
.rt-stats__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.rt-stats__head .pv-title {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.rt-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.rt-stat {
  padding: 22px 18px 20px;
  border: 1px solid var(--pv-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #121212, #0b0b0b);
}

.rt-stat dt {
  margin: 0 0 10px;
  font-family: var(--pv-font);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--pv-red);
}

.rt-stat dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--pv-mute);
}

@media (max-width: 960px) {
  .rt-stats__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .rt-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rt-stat {
    text-align: left;
  }
}

/* ========== HONEST — always / never ========== */
.rt-honest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.rt-honest__col {
  padding: 26px 24px;
  border: 1px solid var(--pv-line);
  border-radius: 22px;
  background: #0c0c0c;
}

.rt-honest__col--do {
  border-color: rgba(239, 26, 51, 0.35);
  background: linear-gradient(160deg, rgba(239, 26, 51, 0.08), #0c0c0c 55%);
}

.rt-honest h3 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-dim);
}

.rt-honest__col--do h3 {
  color: var(--pv-red);
}

.rt-honest ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rt-honest li {
  position: relative;
  padding-left: 30px;
  font-family: var(--pv-font);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.rt-honest li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.rt-honest__col--do li::before {
  background-color: rgba(239, 26, 51, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23ff2d45' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.rt-honest__col--dont li {
  color: var(--pv-mute);
}

.rt-honest__col--dont li::before {
  background-color: rgba(255, 255, 255, 0.07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%23a1a1a6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

@media (max-width: 700px) {
  .rt-honest {
    grid-template-columns: 1fr;
  }
}

/* ========== FAQ — practice accordion without an icon column ========== */
.rt-faq .ao-practice__head {
  grid-template-columns: minmax(0, 1fr) 44px;
  padding: 20px 20px 20px 24px;
}

.rt-faq .ao-practice__title {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.rt-faq .ao-practice__panel {
  padding: 0 24px;
}

.rt-faq .ao-practice__panel-body {
  max-width: 46rem;
}

@media (max-width: 640px) {
  .rt-faq .ao-practice__head {
    grid-template-columns: minmax(0, 1fr) 40px;
    padding: 16px 14px 16px 18px;
  }

  .rt-faq .ao-practice__panel {
    padding: 0 18px;
  }
}

/* ========== Legal disclaimer: quiet card that belongs to the footer ========== */
.rt-disclaimer {
  position: relative;
  padding: clamp(36px, 5vw, 56px) 0 clamp(44px, 6vw, 72px);
  background: #000;
  border-bottom: 1px solid var(--pv-line);
}

/* the footer starts after the divider, with its own breathing room */
.rt-disclaimer + .footer {
  margin-top: 0;
  padding-top: clamp(40px, 5vw, 56px);
}

.rt-disclaimer__card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(239, 26, 51, 0.06), transparent 38%),
    #0a0a0a;
  overflow: hidden;
}

/* thin red edge on the left, like the phase cards */
.rt-disclaimer__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--pv-red), rgba(239, 26, 51, 0.15));
}

.rt-disclaimer__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #ff4d61;
  background: rgba(239, 26, 51, 0.08);
  box-shadow: inset 0 0 0 1px rgba(239, 26, 51, 0.32);
}

.rt-disclaimer__body h2 {
  margin: 2px 0 8px;
  font-family: var(--pv-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d8d8dc;
}

.rt-disclaimer__body p {
  margin: 0;
  max-width: 62rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--pv-mute);
  text-wrap: pretty;
}

@media (max-width: 640px) {
  .rt-disclaimer__card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 18px;
  }

  .rt-disclaimer__icon {
    width: 40px;
    height: 40px;
  }
}

/* Long words (EN/DE/FR crypto terms) never push the layout wider than the phone */
.rt-body .pv-title,
.rt-body .pv-hero__tag,
.rt-body .rt-card h3,
.rt-body .rt-phase h3,
.rt-body .rt-inc__text {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ========== UNFREEZE — exchange unblocking (copy + live status card) ========== */
.rt-unfreeze {
  overflow: hidden;
  background:
    radial-gradient(42% 60% at 82% 50%, rgba(239, 26, 51, 0.1), transparent 70%),
    #000;
}

.rt-unfreeze__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.rt-unfreeze__copy .pv-title {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.rt-unfreeze__sub,
.rt-unfreeze__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-dim);
}

.rt-unfreeze__sub {
  margin: 30px 0 14px;
}

.rt-unfreeze__label {
  margin: 26px 0 10px;
}

.rt-unfreeze__reasons {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rt-unfreeze__reasons li {
  position: relative;
  padding-left: 30px;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #e6e6ea;
}

.rt-unfreeze__reasons li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0.12em;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(239, 26, 51, 0.14);
  box-shadow: inset 0 0 0 1px rgba(239, 26, 51, 0.45);
  font-family: var(--pv-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--pv-red-hot);
}

.rt-unfreeze__ex {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rt-unfreeze__ex li {
  padding: 7px 14px;
  border: 1px solid var(--pv-line);
  border-radius: 980px;
  background: #0f0f0f;
  font-family: var(--pv-font);
  font-size: 14px;
  font-weight: 700;
  color: #f2f2f4;
}

.rt-unfreeze__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 30px;
}

.rt-unfreeze__cta p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--pv-dim);
}

/* Status card */
.rt-unf-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: linear-gradient(165deg, #151515 0%, #0b0b0b 60%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rt-unf-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.rt-unf-card__lock {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #3ddc97;
  background: rgba(61, 220, 151, 0.1);
  box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.45);
}

.rt-unf-card__lock .pd-icon {
  width: 22px;
  height: 22px;
}

.rt-unf-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-dim);
}

.rt-unf-card__status {
  display: grid;
  margin-bottom: 22px;
}

.rt-unf-card__pill {
  grid-area: 1 / 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 980px;
  font-family: var(--pv-font);
  font-size: 1.05rem;
  font-weight: 700;
}

.rt-unf-card__pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.rt-unf-card__pill--frozen {
  color: #ff4d61;
  background: rgba(239, 26, 51, 0.12);
  box-shadow: inset 0 0 0 1px rgba(239, 26, 51, 0.5);
  opacity: 0;
}

.rt-unf-card__pill--ok {
  color: #3ddc97;
  background: rgba(61, 220, 151, 0.1);
  box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.45);
}

.rt-unf-card__steps {
  display: grid;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.rt-unf-card__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #ececf0;
}

.rt-unf-card__step + .rt-unf-card__step {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Static end state below = reduced motion; the loop runs only when motion is allowed */
.rt-unf-card__check {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pv-red);
}

.rt-unf-card__check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(1);
}

.rt-unf-card__bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rt-unf-card__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pv-red), #ff5a6c);
  transform-origin: left;
}

/* Loop (9s), one shared timeline: frozen → step 1 → step 2 → step 3 → bar full → withdrawals restored */
@media (prefers-reduced-motion: no-preference) {
  .rt-unf-card__pill--frozen {
    animation: rt-unf-frozen 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__pill--ok {
    animation: rt-unf-ok 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__bar span {
    animation: rt-unf-bar 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__lock {
    animation: rt-unf-lock 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(1) {
    animation: rt-unf-step1 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(1) .rt-unf-card__check {
    animation: rt-unf-check1 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(1) .rt-unf-card__check::after {
    animation: rt-unf-tick1 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(2) {
    animation: rt-unf-step2 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(2) .rt-unf-card__check {
    animation: rt-unf-check2 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(2) .rt-unf-card__check::after {
    animation: rt-unf-tick2 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(3) {
    animation: rt-unf-step3 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(3) .rt-unf-card__check {
    animation: rt-unf-check3 9s var(--pv-ease) infinite;
  }

  .rt-unf-card__step:nth-child(3) .rt-unf-card__check::after {
    animation: rt-unf-tick3 9s var(--pv-ease) infinite;
  }
}

@keyframes rt-unf-check1 {
  0%,
  15% {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  }
  18%,
  92% {
    background: var(--pv-red);
    box-shadow: 0 0 0 5px rgba(239, 26, 51, 0.16);
  }
  97%,
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  }
}

@keyframes rt-unf-tick1 {
  0%,
  15% {
    transform: rotate(45deg) scale(0);
  }
  18%,
  92% {
    transform: rotate(45deg) scale(1);
  }
  97%,
  100% {
    transform: rotate(45deg) scale(0);
  }
}

@keyframes rt-unf-step1 {
  0%,
  15% {
    color: var(--pv-mute);
  }
  18%,
  92% {
    color: #fff;
  }
  97%,
  100% {
    color: var(--pv-mute);
  }
}

@keyframes rt-unf-check2 {
  0%,
  30% {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  }
  33%,
  92% {
    background: var(--pv-red);
    box-shadow: 0 0 0 5px rgba(239, 26, 51, 0.16);
  }
  97%,
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  }
}

@keyframes rt-unf-tick2 {
  0%,
  30% {
    transform: rotate(45deg) scale(0);
  }
  33%,
  92% {
    transform: rotate(45deg) scale(1);
  }
  97%,
  100% {
    transform: rotate(45deg) scale(0);
  }
}

@keyframes rt-unf-step2 {
  0%,
  30% {
    color: var(--pv-mute);
  }
  33%,
  92% {
    color: #fff;
  }
  97%,
  100% {
    color: var(--pv-mute);
  }
}

@keyframes rt-unf-check3 {
  0%,
  45% {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  }
  48%,
  92% {
    background: var(--pv-red);
    box-shadow: 0 0 0 5px rgba(239, 26, 51, 0.16);
  }
  97%,
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  }
}

@keyframes rt-unf-tick3 {
  0%,
  45% {
    transform: rotate(45deg) scale(0);
  }
  48%,
  92% {
    transform: rotate(45deg) scale(1);
  }
  97%,
  100% {
    transform: rotate(45deg) scale(0);
  }
}

@keyframes rt-unf-step3 {
  0%,
  45% {
    color: var(--pv-mute);
  }
  48%,
  92% {
    color: #fff;
  }
  97%,
  100% {
    color: var(--pv-mute);
  }
}

@keyframes rt-unf-bar {
  0%,
  8% {
    transform: scaleX(0);
  }
  56%,
  92% {
    transform: scaleX(1);
  }
  97%,
  100% {
    transform: scaleX(0);
  }
}

@keyframes rt-unf-frozen {
  0%,
  58% {
    opacity: 1;
    transform: none;
  }
  64%,
  92% {
    opacity: 0;
    transform: translateY(-6px);
  }
  97%,
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes rt-unf-ok {
  0%,
  60% {
    opacity: 0;
    transform: translateY(6px);
  }
  66%,
  92% {
    opacity: 1;
    transform: none;
  }
  97%,
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes rt-unf-lock {
  0%,
  58% {
    color: var(--pv-red-hot);
    background: rgba(239, 26, 51, 0.12);
    box-shadow: inset 0 0 0 1px rgba(239, 26, 51, 0.45);
  }
  64%,
  92% {
    color: #3ddc97;
    background: rgba(61, 220, 151, 0.1);
    box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.45);
  }
  97%,
  100% {
    color: var(--pv-red-hot);
    background: rgba(239, 26, 51, 0.12);
    box-shadow: inset 0 0 0 1px rgba(239, 26, 51, 0.45);
  }
}

@media (max-width: 960px) {
  .rt-unfreeze__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rt-unf-card {
    padding: 22px 18px 20px;
  }

  .rt-unfreeze__cta .pv-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================================
   MOTION — calm, expensive feel: staggered reveals, pointer light, icon life
   Everything below runs only when the visitor allows motion.
   ===================================================================== */

/* One transition list for items that both rise in (with --dl stagger delay) and react to hover */
.rt-card,
.rt-inc,
.rt-phase,
.rt-stat,
.rt-honest__col,
.rt-unfreeze__reasons > li,
.rt-unfreeze__ex > li {
  transition:
    opacity 0.75s var(--pv-ease) var(--dl, 0s),
    transform 0.85s cubic-bezier(0.2, 0.75, 0.25, 1) var(--dl, 0s),
    border-color 0.35s var(--pv-ease),
    background 0.35s var(--pv-ease),
    box-shadow 0.45s var(--pv-ease),
    color 0.3s var(--pv-ease);
}

/* Pointer spotlight (shared by cards, tiles, phases, stats, status card) */
.rt-card,
.rt-inc,
.rt-phase,
.rt-stat,
.rt-unf-card {
  --spot-x: 50%;
  --spot-y: 0%;
  isolation: isolate;
}

.rt-card::after,
.rt-inc::after,
.rt-phase::after,
.rt-stat::after,
.rt-unf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(380px 220px at var(--spot-x) var(--spot-y), rgba(239, 26, 51, 0.15), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s var(--pv-ease);
  pointer-events: none;
}

.rt-inc,
.rt-stat {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .rt-card:hover::after,
  .rt-inc:hover::after,
  .rt-phase:hover::after,
  .rt-stat:hover::after,
  .rt-unf-card:hover::after {
    opacity: 1;
  }

  .rt-card:hover,
  .rt-phase:hover,
  .rt-stat:hover {
    border-color: rgba(239, 26, 51, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 22px 50px -24px rgba(239, 26, 51, 0.45);
  }

  /* Icon tile wakes up */
  .rt-card .pv-dept__icon,
  .rt-inc__icon {
    transition:
      background 0.35s var(--pv-ease),
      border-color 0.35s var(--pv-ease),
      box-shadow 0.35s var(--pv-ease),
      transform 0.45s var(--pv-ease);
  }

  .rt-card:hover .pv-dept__icon,
  .rt-inc:hover .rt-inc__icon {
    background: linear-gradient(145deg, rgba(255, 24, 56, 0.22), rgba(255, 24, 56, 0.06));
    border-color: rgba(255, 24, 56, 0.75);
    box-shadow: 0 0 22px rgba(255, 24, 56, 0.28);
  }

  .rt-inc:hover {
    transform: translateY(-3px);
  }

  .rt-inc:hover .rt-inc__icon {
    transform: scale(1.08) rotate(-4deg);
  }

  /* Each service icon moves in its own way */
  .rt-card .pd-icon {
    transform-box: fill-box;
  }

  .rt-card:nth-child(1):hover .pd-icon {
    animation: rt-ic-rise 0.9s var(--pv-ease);
  }

  .rt-card:nth-child(2):hover .pd-icon {
    animation: rt-ic-pulse 0.9s var(--pv-ease);
  }

  .rt-card:nth-child(3):hover .pd-icon {
    transform-origin: 50% 18%;
    animation: rt-ic-swing 1.1s var(--pv-ease);
  }

  .rt-card:nth-child(4):hover .pd-icon {
    animation: rt-ic-lock 0.8s var(--pv-ease);
  }

  .rt-card:nth-child(5):hover .pd-icon {
    animation: rt-ic-scan 1.1s var(--pv-ease);
  }

  .rt-card:nth-child(6):hover .pd-icon {
    transform-origin: 50% 12%;
    animation: rt-ic-ring 0.9s var(--pv-ease);
  }

  /* Phase card: top accent line runs across */
  .rt-phase::before {
    transform-origin: left;
    transition: transform 0.6s var(--pv-ease), opacity 0.4s var(--pv-ease);
  }

  .rt-phase:hover::before {
    background: linear-gradient(90deg, var(--pv-red), var(--pv-red-hot) 60%, transparent);
  }

  .rt-phase__no {
    transition: text-shadow 0.4s var(--pv-ease);
  }

  .rt-phase:hover .rt-phase__no,
  .rt-stat:hover dt {
    text-shadow: 0 0 24px rgba(239, 26, 51, 0.55);
  }

  .rt-stat dt {
    transition: text-shadow 0.4s var(--pv-ease);
  }

  /* Exchange pills and incident chips: quiet lift */
  .rt-unfreeze__ex li:hover {
    border-color: rgba(239, 26, 51, 0.55);
    transform: translateY(-2px);
  }
}

@keyframes rt-ic-rise {
  0% { transform: none; }
  35% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, 1px); }
  100% { transform: none; }
}

@keyframes rt-ic-pulse {
  0% { transform: none; }
  30% { transform: scale(1.18); }
  55% { transform: scale(0.94); }
  100% { transform: none; }
}

@keyframes rt-ic-swing {
  0% { transform: none; }
  25% { transform: rotate(12deg); }
  50% { transform: rotate(-9deg); }
  75% { transform: rotate(4deg); }
  100% { transform: none; }
}

@keyframes rt-ic-lock {
  0% { transform: none; }
  30% { transform: translateY(-2.5px); }
  55% { transform: translateY(1px); }
  100% { transform: none; }
}

@keyframes rt-ic-scan {
  0% { transform: none; }
  25% { transform: translate(2px, -1px); }
  50% { transform: translate(-2px, -2px); }
  75% { transform: translate(-1px, 2px); }
  100% { transform: none; }
}

@keyframes rt-ic-ring {
  0% { transform: none; }
  20% { transform: rotate(16deg); }
  40% { transform: rotate(-14deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-4deg); }
  100% { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Staggered reveal: children rise in one after another.
     :where() keeps these rules weak, so hover lifts still win after the entrance. */
  :where(.pv.js-reveal [data-stagger]) > * {
    --dl: calc(var(--d, 0) * 80ms);
  }

  :where(.pv.js-reveal [data-stagger]:not(.is-in)) > * {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.98);
  }

  /* After the entrance, hover reacts without the stagger delay */
  :where(.pv.js-reveal [data-stagger].is-settled) > * {
    --dl: 0s;
  }

  /* Hero: the tracing diagram fades in after the headline */
  .rt-tx {
    animation: rt-fade-in 1.6s var(--pv-ease) 0.35s both;
  }

  /* Status card floats gently */
  .rt-unf-card {
    animation: rt-float 7s ease-in-out infinite;
  }
}

@keyframes rt-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rt-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .rt-tx {
    animation-name: rt-fade-in-dim;
  }

  .rt-unf-card {
    animation: none;
  }
}

@keyframes rt-fade-in-dim {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.7;
  }
}

/* Brand hex icons (ProAML style) for incidents and services: no red box, hex frame instead */
.rt-hexicon,
.rt-card .rt-hexicon,
.rt-inc .rt-hexicon {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.rt-inc__icon.rt-hexicon {
  width: 46px;
  height: 46px;
}

.pv-dept__icon.rt-hexicon {
  width: 56px;
  height: 56px;
}

.rt-hexicon .pd-hex {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform 0.45s var(--pv-ease);
}

@media (hover: hover) and (pointer: fine) {
  .rt-card:hover .rt-hexicon,
  .rt-inc:hover .rt-hexicon {
    background: none;
    border-color: transparent;
    box-shadow: none;
  }

  .rt-inc:hover .rt-inc__icon.rt-hexicon {
    transform: none;
  }

  .rt-card:hover .rt-hexicon .pd-hex,
  .rt-inc:hover .rt-hexicon .pd-hex {
    transform: rotate(-6deg) scale(1.06);
  }
}

@media (max-width: 640px) {
  .rt-inc__icon.rt-hexicon {
    width: 40px;
    height: 40px;
  }

  .pv-dept__icon.rt-hexicon {
    width: 46px;
    height: 46px;
  }
}
