/* ProDefence Academy — shared blocks from Return (rt-*) and LAB (lb-*) + academy blocks (ac-*) at the end */

/* ========== HERO ========== */
.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;
}

/* 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%);
}

.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;
  }
}

/* =====================================================================
   PROLABS blocks
   ===================================================================== */

/* ---------- What you get: 3 cards + one wide ---------- */
.lb-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lb-result {
  --spot-x: 50%;
  --spot-y: 0%;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 26px 24px;
  border: 1px solid var(--pv-line);
  border-radius: 22px;
  background: #0c0c0c;
  overflow: hidden;
  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);
}

.lb-result::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  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);
}

.lb-result__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #ff1838;
  background: linear-gradient(145deg, rgba(255, 24, 56, 0.12), rgba(255, 24, 56, 0.03));
  border: 1px solid rgba(255, 24, 56, 0.4);
}

.lb-result__icon .pd-icon {
  width: 26px;
  height: 26px;
}

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

.lb-result p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--pv-mute);
}

.lb-result--wide {
  grid-column: 1 / -1;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border-color: rgba(239, 26, 51, 0.32);
  background: linear-gradient(120deg, rgba(239, 26, 51, 0.09), #0c0c0c 45%);
}

.lb-result--wide p {
  max-width: 52rem;
}


@media (max-width: 900px) {
  .lb-results {
    grid-template-columns: 1fr;
  }

  .lb-result--wide {
    grid-template-columns: 1fr;
  }
}

.rt-body .lb-tab__title,
.rt-body .lb-tile h4,
.rt-body .lb-result h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Phone: advantages and results as compact rows (icon beside the title) */
@media (max-width: 640px) {
  .ac-body #advantages .rt-card,
  .lb-body #advantages .rt-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
  }

  .ac-body #advantages .rt-card .pv-dept__icon,
  .lb-body #advantages .rt-card .pv-dept__icon {
    width: 36px;
    height: 36px;
    margin: 0;
  }

  .ac-body #advantages .rt-card h3,
  .lb-body #advantages .rt-card h3 {
    margin: 0;
    font-size: 1rem;
  }

  .ac-body #advantages .rt-card p,
  .lb-body #advantages .rt-card p {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .lb-body .lb-result {
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
    gap: 12px;
  }

  .lb-body .lb-result p {
    font-size: 0.88rem;
    line-height: 1.45;
  }
}

/* ---------- Expertise: segmented switch (clearly a control) + flat tile tray ---------- */
.lb-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #080808;
}

.lb-switch__thumb {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 9px);
  border: 1px solid rgba(239, 26, 51, 0.65);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(239, 26, 51, 0.24), rgba(239, 26, 51, 0.05) 70%);
  box-shadow:
    0 14px 34px -16px rgba(239, 26, 51, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.6s var(--pv-ease);
  pointer-events: none;
}

.lb-switch[data-active="1"] .lb-switch__thumb {
  transform: translateX(calc(100% + 6px));
}

.lb-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 14px 12px 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s var(--pv-ease);
}

.lb-tab:focus-visible {
  outline: 2px solid var(--pv-red-hot);
  outline-offset: 2px;
}

.lb-tab__no {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  font: 700 0.95rem/1 var(--pv-font);
  color: var(--pv-mute);
  transition: background 0.35s var(--pv-ease), border-color 0.35s var(--pv-ease), color 0.35s var(--pv-ease);
}

.lb-tab__title {
  flex: 1;
  min-width: 0;
  font-family: var(--pv-font);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #9d9da4;
  transition: color 0.35s var(--pv-ease);
}

.lb-tab__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #cfcfd4;
  transition: transform 0.45s var(--pv-ease), border-color 0.35s var(--pv-ease), background 0.35s var(--pv-ease);
}

.lb-tab__go svg {
  width: 16px;
  height: 16px;
}

.lb-tab.is-active .lb-tab__no {
  border-color: var(--pv-red);
  background: var(--pv-red);
  color: #fff;
}

.lb-tab.is-active .lb-tab__title {
  color: #fff;
}

.lb-tab.is-active .lb-tab__go {
  transform: rotate(90deg);
  border-color: rgba(255, 255, 255, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .lb-tab:not(.is-active):hover {
    background: rgba(255, 255, 255, 0.045);
  }

  .lb-tab:not(.is-active):hover .lb-tab__title {
    color: #fff;
  }

  .lb-tab:not(.is-active):hover .lb-tab__no,
  .lb-tab:not(.is-active):hover .lb-tab__go {
    border-color: rgba(239, 26, 51, 0.7);
    color: #fff;
  }

  .lb-tab:not(.is-active):hover .lb-tab__go {
    background: rgba(239, 26, 51, 0.16);
    transform: translateX(3px);
  }
}

.lb-panel {
  display: none;
}

.lb-panel.is-active {
  display: block;
  animation: lb-panel-in 0.55s var(--pv-ease) both;
}

@keyframes lb-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Visually hidden panel title: the tab already says it; kept for the outline and SEO */
.lb-panel__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lb-panel__lead {
  max-width: 52rem;
  margin: 0 0 18px 4px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--pv-mute);
}

/* Tiles are information, not buttons: one tray, hairline dividers, no hover */
.lb-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--pv-line);
  border-radius: 20px;
  background: var(--pv-line);
  overflow: hidden;
}

.lb-tile {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px 18px;
  background: #0b0b0b;
}

.lb-tile h4 {
  margin: 2px 0 6px;
  font-family: var(--pv-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
}

.lb-tile p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--pv-mute);
}

.lb-tile .rt-inc__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .lb-panel.is-active .lb-tile > * {
    animation: lb-tile-in 0.6s var(--pv-ease) both;
  }

  .lb-panel.is-active .lb-tile:nth-child(2) > * { animation-delay: 0.04s; }
  .lb-panel.is-active .lb-tile:nth-child(3) > * { animation-delay: 0.08s; }
  .lb-panel.is-active .lb-tile:nth-child(4) > * { animation-delay: 0.12s; }
  .lb-panel.is-active .lb-tile:nth-child(5) > * { animation-delay: 0.16s; }
  .lb-panel.is-active .lb-tile:nth-child(6) > * { animation-delay: 0.2s; }
  .lb-panel.is-active .lb-tile:nth-child(7) > * { animation-delay: 0.24s; }
  .lb-panel.is-active .lb-tile:nth-child(8) > * { animation-delay: 0.28s; }
  .lb-panel.is-active .lb-tile:nth-child(9) > * { animation-delay: 0.32s; }
}

@keyframes lb-tile-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .lb-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lb-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .lb-switch {
    gap: 4px;
    padding: 4px;
    border-radius: 16px;
  }

  .lb-switch__thumb {
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 6px);
    border-radius: 12px;
  }

  .lb-switch[data-active="1"] .lb-switch__thumb {
    transform: translateX(calc(100% + 4px));
  }

  .lb-tab {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 12px;
  }

  .lb-tab__no {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .lb-tab__title {
    font-size: 0.92rem;
  }

  .lb-tab__go {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
  }

  .lb-panel__lead {
    font-size: 0.92rem;
  }

  .lb-tiles {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .lb-tile {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 14px;
  }

  .lb-tile .rt-inc__icon {
    width: 32px;
    height: 32px;
  }

  .lb-tile h4 {
    margin: 0 0 3px;
    font-size: 0.95rem;
  }

  .lb-tile p {
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---------- Process: lab protocol — 7 steps on a rail, one open step below ---------- */
.lb-proto {
  --p: 0;
  max-width: 1120px;
  margin: 0 auto;
}

.lb-proto__phases {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-bottom: 16px;
}

.lb-proto__phase {
  position: relative;
  grid-column: span var(--n);
  padding: 0 10px 14px;
  font: 600 0.74rem/1.25 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  color: var(--pv-dim);
  transition: color 0.45s var(--pv-ease);
}

.lb-proto__phase::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 7px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  opacity: 0.55;
}

.lb-proto__phase.is-active {
  color: #ff5c6e;
}

.lb-proto__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-proto__track::before,
.lb-proto__track::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(100% / 14);
  width: calc(100% - 100% / 7);
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.lb-proto__track::after {
  top: 21.5px;
  height: 2px;
  background: linear-gradient(90deg, var(--pv-red), var(--pv-red-hot));
  box-shadow: 0 0 14px rgba(239, 26, 51, 0.6);
  transform: scaleX(var(--p));
  transform-origin: left;
  transition: transform 0.8s var(--pv-ease);
}

.lb-proto__node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 6px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.lb-proto__node:focus-visible {
  outline: none;
}

.lb-proto__node:focus-visible .lb-proto__dot {
  outline: 2px solid var(--pv-red-hot);
  outline-offset: 4px;
}

.lb-proto__dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #0b0b0b;
  font: 700 0.95rem/1 var(--pv-font);
  color: var(--pv-mute);
  transition:
    background 0.4s var(--pv-ease),
    border-color 0.4s var(--pv-ease),
    color 0.4s var(--pv-ease),
    box-shadow 0.4s var(--pv-ease),
    transform 0.5s var(--pv-ease);
}

.lb-proto__label {
  font-family: var(--pv-font);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  color: #85858c;
  transition: color 0.35s var(--pv-ease);
}

.lb-proto__node.is-done .lb-proto__dot {
  border-color: rgba(239, 26, 51, 0.55);
  color: #ff5c6e;
}

.lb-proto__node.is-active .lb-proto__dot {
  border-color: var(--pv-red);
  background: var(--pv-red);
  color: #fff;
  box-shadow:
    0 0 0 6px rgba(239, 26, 51, 0.14),
    0 0 30px rgba(239, 26, 51, 0.5);
  transform: scale(1.06);
}

.lb-proto__node.is-active .lb-proto__label {
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .lb-proto__node:not(.is-active):hover .lb-proto__dot {
    border-color: rgba(239, 26, 51, 0.8);
    color: #fff;
    transform: translateY(-2px);
  }

  .lb-proto__node:not(.is-active):hover .lb-proto__label {
    color: #fff;
  }
}

.lb-proto__stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
  padding: 28px 30px;
  border: 1px solid var(--pv-line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(239, 26, 51, 0.08), #0b0b0b 48%);
  overflow: hidden;
}

.lb-proto__big {
  min-width: 2.2ch;
  font: 700 clamp(3rem, 6vw, 4.6rem)/1 var(--pv-font);
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 45, 69, 0.75);
}

.lb-proto__panel {
  display: none;
}

.lb-proto__panel.is-active {
  display: block;
  animation: lb-panel-in 0.55s var(--pv-ease) both;
}

.lb-proto__meta {
  margin: 0 0 8px;
  font: 600 0.76rem/1.3 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff5c6e;
}

.lb-proto__panel h3 {
  margin: 0 0 8px;
  font-family: var(--pv-font);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.lb-proto__panel p {
  max-width: 44rem;
  margin: 0;
  line-height: 1.6;
  color: var(--pv-mute);
}

.lb-proto__nav {
  display: flex;
  gap: 8px;
}

.lb-proto__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.3s var(--pv-ease), background 0.3s var(--pv-ease), opacity 0.3s;
}

.lb-proto__arrow svg {
  width: 18px;
  height: 18px;
}

.lb-proto__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.lb-proto__arrow:focus-visible {
  outline: 2px solid var(--pv-red-hot);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .lb-proto__arrow:not(:disabled):hover {
    border-color: var(--pv-red);
    background: rgba(239, 26, 51, 0.14);
  }
}

/* Autoplay progress along the bottom edge of the open step */
.lb-proto__timer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(239, 26, 51, 0.2), var(--pv-red-hot));
  transform: scaleX(0);
  transform-origin: left;
}

.lb-proto__stage.is-playing .lb-proto__timer {
  animation: lb-timer 6s linear forwards;
}

@keyframes lb-timer {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 760px) {
  .lb-proto__phases {
    display: none;
  }

  .lb-proto__track::before,
  .lb-proto__track::after {
    top: 18px;
  }

  .lb-proto__track::after {
    top: 17.5px;
  }

  .lb-proto__node {
    padding: 0;
  }

  .lb-proto__dot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .lb-proto__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .lb-proto__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 22px;
    padding: 22px 20px;
  }

  .lb-proto__big {
    display: none;
  }
}

/* ---------- Not clickable = no hover reaction (advantages, results) ---------- */
@media (hover: hover) and (pointer: fine) {
  .lb-body .rt-card:hover {
    border-color: var(--pv-line);
    background: #0c0c0c;
    transform: none;
    box-shadow: none;
  }

  .lb-body .rt-card:hover::after {
    opacity: 0;
  }
}

/* ---------- LAB buttons: squared instrument buttons with viewfinder corners ---------- */
.lb-body .pv-btn {
  position: relative;
  gap: 12px;
  min-height: 50px;
  padding: 0 12px 0 22px;
  border-radius: 12px;
}

.lb-body .pv-btn::before,
.lb-body .pv-btn::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 0 solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transition: transform 0.45s var(--pv-ease), border-color 0.35s var(--pv-ease);
}

.lb-body .pv-btn::before {
  top: -5px;
  left: -5px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}

.lb-body .pv-btn::after {
  right: -5px;
  bottom: -5px;
  border-right-width: 1.5px;
  border-bottom-width: 1.5px;
}

.lb-body .pv-btn--primary::before,
.lb-body .pv-btn--primary::after {
  border-color: rgba(255, 45, 69, 0.8);
}

.lb-btn__arr {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.45s var(--pv-ease), background 0.3s var(--pv-ease);
}

.pv-btn--ghost .lb-btn__arr {
  background: rgba(255, 255, 255, 0.09);
}

.lb-btn__arr svg {
  width: 16px;
  height: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .lb-body .pv-btn:hover {
    transform: none;
  }

  .lb-body .pv-btn:hover::before {
    transform: translate(-3px, -3px);
    border-color: var(--pv-red-hot);
  }

  .lb-body .pv-btn:hover::after {
    transform: translate(3px, 3px);
    border-color: var(--pv-red-hot);
  }

  .lb-body .pv-btn:hover .lb-btn__arr {
    transform: translateX(3px);
  }

  .lb-body .pv-btn--ghost:hover .lb-btn__arr--down {
    transform: translateY(3px);
  }
}

/* ---------- Hero: specimen readout (facts, not links) ---------- */
.lb-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 0.8rem/1.3 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.66);
}

.lb-specs li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
}

.lb-specs li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.lb-specs li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--pv-red);
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .lb-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    font-size: 0.74rem;
  }

  .lb-specs li {
    justify-content: center;
    padding: 0;
  }

  .lb-specs li + li {
    border: 0;
  }
}

/* ---------- Hero background: forensic loupe over a live hex dump (canvas) ---------- */
.lb-scope {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .lb-scope {
    opacity: 0.8;
  }
}

/* =====================================================================
   ProDefence Academy blocks (ac-*)
   ===================================================================== */

/* ---------- Hero: learning-platform widgets over a soft aurora ---------- */
.ac-hero .pv-hero__media {
  background: #030303;
  overflow: hidden;
}

.ac-aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.ac-aurora::before,
.ac-aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.ac-aurora::before {
  width: 46%;
  height: 52%;
  left: 12%;
  top: 18%;
  background: radial-gradient(closest-side, rgba(239, 26, 51, 0.55), rgba(239, 26, 51, 0));
}

.ac-aurora::after {
  width: 40%;
  height: 46%;
  right: 10%;
  bottom: 14%;
  background: radial-gradient(closest-side, rgba(150, 12, 34, 0.6), rgba(150, 12, 34, 0));
}

.ac-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
  opacity: 0.55;
}

@media (prefers-reduced-motion: no-preference) {
  .ac-aurora::before { animation: ac-drift-a 22s ease-in-out infinite alternate; }
  .ac-aurora::after { animation: ac-drift-b 26s ease-in-out infinite alternate; }
}

@keyframes ac-drift-a {
  to { transform: translate(28%, 14%) scale(1.15); }
}

@keyframes ac-drift-b {
  to { transform: translate(-30%, -18%) scale(1.1); }
}

.ac-learn {
  position: absolute;
  inset: 0;
}

.ac-w {
  position: absolute;
  width: 268px;
  padding: 16px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(26, 26, 28, 0.9), rgba(10, 10, 10, 0.9));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9);
  text-align: left;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

.ac-w--lesson { left: 4%; top: 15%; }
.ac-w--quiz { left: 5.5%; top: 55%; }
.ac-w--cert { right: 4%; top: 14%; }
.ac-w--skills { right: 5.5%; top: 56%; }

@media (prefers-reduced-motion: no-preference) {
  .ac-w { animation: ac-float 9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -2.3s); }
}

@keyframes ac-float {
  to { transform: translateY(-10px); }
}

.ac-w__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.ac-w__tag,
.ac-w__meta {
  font: 600 10px/1 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.42);
}

.ac-w__title {
  font-family: var(--pv-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.ac-w__pill {
  padding: 4px 8px;
  border: 1px solid rgba(239, 26, 51, 0.7);
  border-radius: 999px;
  background: rgba(239, 26, 51, 0.16);
  font: 700 9.5px/1 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  color: #ff6b7a;
  opacity: 0;
}

/* lesson: bar fills, steps tick, then COMPLETED */
.ac-w__bar {
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ac-w__bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b3071e, var(--pv-red-hot));
  transform: scaleX(0.08);
  transform-origin: left;
}

.ac-w__steps {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.ac-w__steps b {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

/* quiz: the right answer gets picked */
.ac-w__q {
  margin-bottom: 10px;
  font-family: var(--pv-font);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.ac-w__opts {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-w__opts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font: 500 11.5px/1.2 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  color: rgba(255, 255, 255, 0.7);
}

.ac-w__opts li::after {
  content: "✓";
  font-weight: 700;
  color: #fff;
  opacity: 0;
}

/* certificate: seal stamps in */
.ac-w--cert .ac-w__title {
  margin-top: 2px;
}

.ac-w__lines {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  width: 70%;
}

.ac-w__lines i {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.ac-w__lines i:last-child {
  width: 60%;
}

.ac-w__seal {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--pv-red-hot);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(239, 26, 51, 0.25);
  color: var(--pv-red-hot);
  font-weight: 800;
  font-size: 18px;
  opacity: 0;
}

/* skills: bars grow */
.ac-sk {
  display: grid;
  grid-template-columns: 72px 1fr 34px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font: 500 11px/1 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  color: rgba(255, 255, 255, 0.65);
}

.ac-sk i {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ac-sk i::before {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--v) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #8f0618, var(--pv-red-hot));
  transform: scaleX(0.1);
  transform-origin: left;
}

.ac-sk b {
  text-align: right;
  font-weight: 600;
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .ac-w__bar i { animation: ac-bar 10s var(--pv-ease) infinite; }
  .ac-w__steps b { animation: ac-step 10s linear infinite; animation-delay: calc(var(--s) * 1.1s); }
  .ac-w--lesson .ac-w__pill { animation: ac-pill 10s linear infinite; }

  .ac-w__opts li:nth-child(1) { animation: ac-hover1 10s linear infinite; animation-delay: 1.5s; }
  .ac-w__opts li:nth-child(2) { animation: ac-right 10s linear infinite; animation-delay: 1.5s; }
  .ac-w__opts li:nth-child(2)::after { animation: ac-tick 10s linear infinite; animation-delay: 1.5s; }
  .ac-w--quiz .ac-w__pill { animation: ac-pill-q 10s linear infinite; animation-delay: 1.5s; }

  .ac-w__seal { animation: ac-seal 10s var(--pv-ease) infinite; animation-delay: 3s; }
  .ac-w__lines i { animation: ac-line 10s var(--pv-ease) infinite; animation-delay: 3s; transform-origin: left; }

  .ac-sk i::before { animation: ac-skill 10s var(--pv-ease) infinite; animation-delay: calc(4.5s + var(--s) * 0.25s); }
}

@media (prefers-reduced-motion: reduce) {
  .ac-w__bar i, .ac-sk i::before { transform: none; }
  .ac-w__steps b { background: var(--pv-red-hot); }
  .ac-w__pill, .ac-w__seal { opacity: 1; }
  .ac-w__opts li:nth-child(2) { border-color: rgba(255, 45, 69, 0.8); background: rgba(239, 26, 51, 0.16); color: #fff; }
  .ac-w__opts li:nth-child(2)::after { opacity: 1; }
}

@keyframes ac-bar {
  0% { transform: scaleX(0.08); }
  55%, 88% { transform: scaleX(1); }
  96%, 100% { transform: scaleX(0.08); }
}

@keyframes ac-step {
  0%, 2% { background: rgba(255, 255, 255, 0.1); }
  6%, 88% { background: var(--pv-red-hot); }
  96%, 100% { background: rgba(255, 255, 255, 0.1); }
}

@keyframes ac-pill {
  0%, 56% { opacity: 0; transform: scale(1.4); }
  60%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: none; }
}

@keyframes ac-hover1 {
  0%, 8% { border-color: rgba(255, 255, 255, 0.1); background: transparent; }
  12%, 22% { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.05); }
  26%, 100% { border-color: rgba(255, 255, 255, 0.1); background: transparent; }
}

@keyframes ac-right {
  0%, 26% { border-color: rgba(255, 255, 255, 0.1); background: transparent; color: rgba(255, 255, 255, 0.7); }
  30%, 36% { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.05); }
  40%, 86% { border-color: rgba(255, 45, 69, 0.85); background: rgba(239, 26, 51, 0.18); color: #fff; }
  94%, 100% { border-color: rgba(255, 255, 255, 0.1); background: transparent; color: rgba(255, 255, 255, 0.7); }
}

@keyframes ac-tick {
  0%, 39% { opacity: 0; }
  42%, 86% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

@keyframes ac-pill-q {
  0%, 41% { opacity: 0; transform: translateY(6px); }
  45%, 86% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: none; }
}

@keyframes ac-seal {
  0%, 30% { opacity: 0; transform: scale(2.2) rotate(-25deg); }
  34%, 86% { opacity: 1; transform: scale(1) rotate(-8deg); }
  94%, 100% { opacity: 0; transform: scale(1) rotate(-8deg); }
}

@keyframes ac-line {
  0% { transform: scaleX(0); }
  25%, 88% { transform: scaleX(1); }
  96%, 100% { transform: scaleX(0); }
}

@keyframes ac-skill {
  0% { transform: scaleX(0.1); }
  30%, 86% { transform: scaleX(1); }
  95%, 100% { transform: scaleX(0.1); }
}

@media (max-width: 1360px) {
  .ac-w { width: 240px; }
  .ac-w--lesson { left: 2.5%; }
  .ac-w--quiz { left: 3%; }
  .ac-w--cert { right: 2.5%; }
  .ac-w--skills { right: 3%; }
}

@media (max-width: 1180px) {
  .ac-w--quiz,
  .ac-w--skills { display: none; }
  .ac-w--lesson { top: 11%; }
  .ac-w--cert { top: 11%; }
}

@media (max-width: 1023px) {
  .ac-learn { display: none; }
}

.ac-specs { margin-top: 0; }

/* ---------- Academy buttons: rounded with a "progress" bar that fills on hover ---------- */
.ac-body .pv-btn {
  position: relative;
  gap: 12px;
  min-height: 50px;
  padding: 0 10px 0 22px;
  border-radius: 14px;
  overflow: hidden;
}

.ac-body .pv-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--pv-ease);
}

.ac-body .pv-btn--ghost::after {
  background: var(--pv-red-hot);
}

.ac-btn__arr {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.45s var(--pv-ease);
}

.pv-btn--ghost .ac-btn__arr {
  background: rgba(255, 255, 255, 0.09);
}

.ac-btn__arr svg {
  width: 16px;
  height: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .ac-body .pv-btn:hover {
    transform: none;
  }

  .ac-body .pv-btn:hover::after {
    transform: scaleX(1);
  }

  .ac-body .pv-btn:hover .ac-btn__arr {
    transform: translateX(3px);
  }

  .ac-body .pv-btn--ghost:hover .ac-btn__arr--down {
    transform: translateY(3px);
  }
}

/* ---------- Programs: directions on the left, module titles on the right, details on tap ---------- */
.ac-prog {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ac-prog__nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
}

.ac-dir {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 12px;
  border: 1px solid var(--pv-line);
  border-radius: 16px;
  background: #0b0b0b;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.35s var(--pv-ease), background 0.35s var(--pv-ease);
}

.ac-dir::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--pv-red-hot);
  transform: scaleY(0);
  transition: transform 0.4s var(--pv-ease);
}

.ac-dir:focus-visible {
  outline: 2px solid var(--pv-red-hot);
  outline-offset: 2px;
}

.ac-dir__no {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  font: 700 0.9rem/1 var(--pv-font);
  color: var(--pv-mute);
  transition: background 0.35s var(--pv-ease), border-color 0.35s var(--pv-ease), color 0.35s var(--pv-ease);
}

.ac-dir__t {
  font-family: var(--pv-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #a9a9b0;
  transition: color 0.35s var(--pv-ease);
}

.ac-dir__n {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font: 600 0.78rem/1 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  color: var(--pv-mute);
  transition: background 0.35s var(--pv-ease), color 0.35s var(--pv-ease);
}

.ac-dir.is-active {
  border-color: rgba(239, 26, 51, 0.55);
  background: linear-gradient(120deg, rgba(239, 26, 51, 0.14), #0d0d0d 70%);
}

.ac-dir.is-active::before {
  transform: scaleY(1);
}

.ac-dir.is-active .ac-dir__no {
  border-color: var(--pv-red);
  background: var(--pv-red);
  color: #fff;
}

.ac-dir.is-active .ac-dir__t {
  color: #fff;
}

.ac-dir.is-active .ac-dir__n {
  background: rgba(239, 26, 51, 0.22);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .ac-dir:not(.is-active):hover {
    border-color: rgba(239, 26, 51, 0.45);
    background: #101010;
  }

  .ac-dir:not(.is-active):hover .ac-dir__t {
    color: #fff;
  }
}

.ac-panel {
  display: none;
  padding: 22px;
  border: 1px solid var(--pv-line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(239, 26, 51, 0.06), #0b0b0b 40%);
}

.ac-panel.is-active {
  display: block;
  animation: lb-panel-in 0.5s var(--pv-ease) both;
}

.ac-panel__lead {
  margin: 0 0 16px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #cfcfd4;
}

.ac-rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-row {
  border: 1px solid var(--pv-line);
  border-radius: 16px;
  background: #0a0a0a;
  transition: border-color 0.35s var(--pv-ease), background 0.35s var(--pv-ease);
}

.ac-row.is-open {
  border-color: rgba(239, 26, 51, 0.4);
  background: #0e0e0e;
}

.ac-row__h {
  margin: 0;
  font: inherit;
}

.ac-row__head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px 12px 12px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ac-row__head:focus-visible {
  outline: 2px solid var(--pv-red-hot);
  outline-offset: -2px;
  border-radius: 16px;
}

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

.ac-row__icon svg {
  width: 19px;
  height: 19px;
}

.ac-row__t {
  font-family: var(--pv-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
}

.ac-row__code {
  font: 600 0.72rem/1 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  color: var(--pv-dim);
}

.ac-row__plus {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: background 0.35s var(--pv-ease), border-color 0.35s var(--pv-ease), transform 0.45s var(--pv-ease);
}

.ac-row__plus::before,
.ac-row__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.6px;
  border-radius: 1px;
  background: #e8e8ec;
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--pv-ease);
}

.ac-row__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ac-row.is-open .ac-row__plus {
  border-color: var(--pv-red);
  background: var(--pv-red);
  transform: rotate(180deg);
}

.ac-row.is-open .ac-row__plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

@media (hover: hover) and (pointer: fine) {
  .ac-row:not(.is-open) .ac-row__head:hover .ac-row__plus {
    border-color: rgba(239, 26, 51, 0.7);
  }

  .ac-row:not(.is-open):hover {
    border-color: rgba(255, 255, 255, 0.16);
  }
}

.ac-row__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--pv-ease);
}

.ac-row.is-open .ac-row__body {
  grid-template-rows: 1fr;
}

.ac-row__body > div {
  min-height: 0;
  overflow: hidden;
}

.ac-row__body p {
  margin: 0;
  padding: 0 18px 16px 60px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--pv-mute);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--pv-ease), transform 0.45s var(--pv-ease);
}

.ac-row.is-open .ac-row__body p {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

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

  .ac-prog__nav {
    position: static;
    display: flex;
    gap: 8px;
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .ac-prog__nav::-webkit-scrollbar {
    display: none;
  }

  .ac-dir {
    flex: none;
    width: auto;
    width: 216px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 12px 9px 9px;
    scroll-snap-align: start;
  }

  .ac-dir::before {
    display: none;
  }

  .ac-dir__no {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .ac-dir__t {
    font-size: 0.86rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ac-dir__n {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 0.72rem;
  }

  .ac-panel {
    padding: 16px;
    border-radius: 18px;
  }

  .ac-panel__lead {
    font-size: 0.94rem;
  }

  .ac-row__head {
    grid-template-columns: 32px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 11px 12px 11px 10px;
  }

  .ac-row__code {
    display: none;
  }

  .ac-row__icon {
    width: 32px;
    height: 32px;
  }

  .ac-row__plus {
    width: 28px;
    height: 28px;
  }

  .ac-row__t {
    font-size: 0.95rem;
  }

  .ac-row__body p {
    padding: 0 14px 14px 52px;
    font-size: 0.88rem;
  }
}

/* ---------- Audience + formats ---------- */
.ac-auds {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ac-aud {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid var(--pv-line);
  border-radius: 20px;
  background: #0c0c0c;
}

.ac-aud__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 24, 56, 0.34);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 24, 56, 0.1), rgba(255, 24, 56, 0.025));
  color: #ff1838;
}

.ac-aud__icon svg {
  width: 21px;
  height: 21px;
}

.ac-aud h3 {
  margin: 0;
  font-family: var(--pv-font);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
}

.ac-aud p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--pv-mute);
}

.ac-formats {
  margin-top: 30px;
  text-align: center;
}

.ac-formats__title {
  margin: 0 0 14px;
  font: 600 0.76rem/1 ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-dim);
}

.ac-formats ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-formats li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  border: 1px solid var(--pv-line);
  border-radius: 999px;
  background: #0b0b0b;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e2e2e6;
}

.ac-formats li span {
  display: grid;
  color: var(--pv-red-hot);
}

.ac-formats li svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 1100px) and (min-width: 641px) {
  .ac-auds {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ac-aud {
    flex: 0 1 calc((100% - 20px) / 3);
  }
}

@media (max-width: 800px) and (min-width: 641px) {
  .ac-aud {
    flex-basis: calc((100% - 10px) / 2);
  }
}

@media (max-width: 640px) {
  .ac-auds {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--pv-line);
    border-radius: 18px;
    background: #0c0c0c;
    overflow: hidden;
  }

  .ac-aud {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    padding: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .ac-aud + .ac-aud {
    border-top: 1px solid var(--pv-line);
  }

  .ac-aud__icon {
    grid-row: span 2;
    width: 36px;
    height: 36px;
    margin: 0;
  }

  .ac-aud p {
    grid-column: 2;
    font-size: 0.85rem;
  }

  .ac-formats li {
    font-size: 0.84rem;
    padding: 8px 12px 8px 10px;
  }
}

/* ---------- Not clickable = no hover reaction ---------- */
@media (hover: hover) and (pointer: fine) {
  .ac-body .rt-card:hover,
  .ac-body .rt-stat:hover {
    border-color: var(--pv-line);
    transform: none;
    box-shadow: none;
  }

  .ac-body .rt-card:hover {
    background: #0c0c0c;
  }

  .ac-body .rt-card:hover::after,
  .ac-body .rt-stat:hover::after {
    opacity: 0;
  }
}

/* ---------- Brand hex icons (ProAML style): grey top/left, red bottom/right, two-tone glyph ---------- */
.ac-body .ac-hexbox {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #f2f2f4;
}

.ac-hex {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ac-hex__a,
.ac-hex__b {
  stroke-width: 3.9;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.ac-hex__a {
  stroke: #cfd0d6;
}

.ac-hex__b {
  stroke: #ff1f3d;
}

.ac-hex__g {
  color: #f4f4f6;
}

.ac-hex__g * {
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

/* second part of a multi-part glyph becomes the red accent */
.ac-hex__g > :not(:only-child):last-child {
  color: var(--pv-red-hot);
}

.ac-body .ac-row__icon.ac-hexbox {
  width: 46px;
  height: 46px;
}

.ac-body .ac-aud__icon.ac-hexbox {
  width: 56px;
  height: 56px;
}

.ac-body .pv-dept__icon.ac-hexbox {
  width: 58px;
  height: 58px;
}

@media (hover: hover) and (pointer: fine) {
  .ac-row__head:hover .ac-hex,
  .ac-dir:hover .ac-hex {
    transform: rotate(-6deg) scale(1.05);
  }
}

.ac-hex {
  transition: transform 0.45s var(--pv-ease);
}

@media (max-width: 960px) {
  .ac-body .ac-row__icon.ac-hexbox {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  .ac-body .ac-aud__icon.ac-hexbox,
  .ac-body .pv-dept__icon.ac-hexbox {
    width: 42px;
    height: 42px;
  }
}

.ac-body .ac-hexbox .ac-hex {
  width: 100%;
  height: 100%;
}

.ac-w__tag,
.ac-w__meta {
  white-space: nowrap;
}

@media (max-width: 1360px) {
  .ac-w__meta {
    display: none;
  }
}

/* Hex icons on hover: no glow box, just the gentle turn (same as the other sites) */
@media (hover: hover) and (pointer: fine) {
  .ac-body .rt-card:hover .pv-dept__icon.ac-hexbox,
  .ac-body .ac-aud:hover .ac-hexbox {
    background: none;
    border-color: transparent;
    box-shadow: none;
    transform: none;
  }

  .ac-body .rt-card:hover .ac-hexbox .ac-hex,
  .ac-body .ac-aud:hover .ac-hexbox .ac-hex {
    transform: rotate(-6deg) scale(1.05);
  }
}
