.candidates-page .candidates-benefits {
  gap: 1rem;
}

.candidates-page .candidates-benefits__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.candidates-page .candidates-benefits__arrow {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(13, 15, 22, 0.86);
  color: #f4f6fb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  line-height: 1;
}

.candidates-page .candidates-benefits__arrow:hover {
  border-color: rgba(208, 42, 42, 0.48);
  background: rgba(208, 42, 42, 0.12);
}

.candidates-page .candidates-benefits__arrow:focus-visible {
  border-color: rgba(208, 42, 42, 0.72);
  background: rgba(208, 42, 42, 0.16);
}

.candidates-page .candidates-benefits-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  touch-action: pan-y;
}

.candidates-page .candidates-benefits-carousel.is-dragging {
  cursor: grabbing;
}

.candidates-page .candidates-benefits-carousel.is-dragging,
.candidates-page .candidates-benefits-carousel.is-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

body.cmn-carousel-dragging,
body.cmn-carousel-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

.candidates-page .candidates-benefits-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.95rem;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.candidates-page .candidates-benefits-carousel__card {
  flex: 0 0 clamp(20rem, 30vw, 24rem);
}

.candidates-page .candidates-benefits-carousel__card h3,
.candidates-page .candidates-benefits-carousel__card p {
  margin: 0;
}

.candidates-page .candidates-how-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "lead visual"
    "copy visual"
    "foot visual";
  column-gap: clamp(1rem, 2.4vw, 1.5rem);
  row-gap: clamp(1.6rem, 2.5vw, 2.2rem);
  align-items: start;
}

.candidates-page .candidates-how-layout::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(208, 42, 42, 0.28) 52%, rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

.candidates-page .candidates-how-layout__lead,
.candidates-page .candidates-how-layout__copy,
.candidates-page .candidates-how-layout__foot {
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.candidates-page .candidates-how-layout__lead {
  grid-area: lead;
  margin: 0;
}

.candidates-page .candidates-how-layout__lead p {
  margin: 0;
}

.candidates-page .candidates-how-layout__copy {
  grid-area: copy;
  min-width: 0;
  align-self: start;
}

.candidates-page .candidates-how-layout__copy p {
  margin: 0;
}

.candidates-page .candidates-how-layout__visual {
  grid-area: visual;
  min-width: 0;
  align-self: center;
  justify-self: center;
  width: min(100%, 30.5rem);
  max-width: 100%;
  transform: none;
  position: relative;
  z-index: 1;
}

.candidates-page .candidates-section3-carousel {
  margin: 0;
  padding: 0;
}

.candidates-page .candidates-section3-carousel__media {
  --hero-media-aspect: 4 / 3;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(12, 14, 20, 0.88);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.candidates-page .candidates-section3-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.candidates-page .candidates-section3-carousel__track .home-optb-hero__preview-image--carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 600ms ease;
}

.candidates-page .candidates-section3-carousel__track .home-optb-hero__preview-image--carousel.is-active {
  opacity: 1;
  z-index: 2;
}

.candidates-page .candidates-how-layout__foot {
  grid-area: foot;
  margin: 0;
  margin-top: 0;
}

.candidates-page .candidates-how-layout__foot p {
  margin: 0;
}

.candidates-page .candidates-how-layout__foot strong + p + strong {
  margin-top: 1.8rem;
}

.candidates-page .candidates-loyalty {
  gap: 1rem;
}

.candidates-page .candidates-loyalty__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.62rem;
}

.candidates-page .candidates-loyalty__timeline::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 1.1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(208, 42, 42, 0.2) 0%, rgba(208, 42, 42, 0.55) 58%, rgba(208, 42, 42, 0.76) 100%);
  box-shadow: 0 0 10px rgba(208, 42, 42, 0.2);
  pointer-events: none;
}

.candidates-page .candidates-loyalty__tier {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(13, 15, 22, 0.88);
  color: #d8deea;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.32rem;
  padding: 0.58rem 0.45rem 0.62rem;
  cursor: pointer;
  font: inherit;
  transition: border-color 200ms ease, box-shadow 220ms ease, background-color 200ms ease, color 200ms ease;
}

.candidates-page .candidates-loyalty__tier:hover {
  border-color: rgba(208, 42, 42, 0.4);
  background: rgba(17, 19, 27, 0.92);
}

.candidates-page .candidates-loyalty__tier:focus-visible {
  border-color: rgba(208, 42, 42, 0.72);
  background: rgba(18, 21, 29, 0.95);
}

.candidates-page .candidates-loyalty__tier.is-active {
  border-color: rgba(208, 42, 42, 0.7);
  box-shadow: 0 0 0 1px rgba(208, 42, 42, 0.2), 0 0 16px rgba(208, 42, 42, 0.2);
  color: #ffe5e5;
}

.candidates-page .candidates-loyalty__tier.is-elevated {
  box-shadow: 0 0 0 1px rgba(208, 42, 42, 0.14), 0 0 10px rgba(208, 42, 42, 0.16);
}

.candidates-page .candidates-loyalty__tier-label {
  color: #f5f7fb;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.candidates-page .candidates-loyalty__tier-range {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.candidates-page .candidates-loyalty__timeline-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.candidates-page .candidates-loyalty__summary {
  margin: 0;
  color: #f6f8ff;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
  transition: opacity 240ms ease, transform 240ms ease;
}

.candidates-page .candidates-loyalty__example {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  transition: opacity 240ms ease, transform 240ms ease;
}

.candidates-page .candidates-loyalty.is-transitioning .candidates-loyalty__summary {
  opacity: 0.22;
  transform: translateY(2px);
}

.candidates-page .candidates-loyalty.is-transitioning .candidates-loyalty__example {
  opacity: 0.22;
  transform: translateY(2px);
}

.candidates-page .candidates-loyalty__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.candidates-page .candidates-loyalty__card {
  min-height: 15.1rem;
}

.candidates-page .candidates-loyalty__card h3,
.candidates-page .candidates-loyalty__card p {
  margin: 0;
}

.candidates-page .candidates-loyalty__icon {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.6rem;
  background: rgba(10, 12, 18, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.candidates-page .candidates-loyalty__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.candidates-page .candidates-loyalty__icon path,
.candidates-page .candidates-loyalty__icon circle,
.candidates-page .candidates-loyalty__icon rect {
  fill: none;
  stroke: rgba(247, 250, 255, 0.9);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.candidates-page .candidates-loyalty__icon .candidates-loyalty__icon-accent {
  stroke: #d02a2a;
}

.candidates-page .candidates-loyalty__icon .candidates-loyalty__icon-accent-fill {
  fill: #d02a2a;
  stroke: #d02a2a;
}

.candidates-page .candidates-loyalty__metric {
  margin: 0;
  color: #fff2f2;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 0 10px rgba(208, 42, 42, 0.14);
  transition: opacity 240ms ease, transform 240ms ease;
}

.candidates-page .candidates-loyalty__copy {
  transition: opacity 240ms ease, transform 240ms ease;
}

.candidates-page .candidates-loyalty__card.is-transitioning .candidates-loyalty__metric,
.candidates-page .candidates-loyalty__card.is-transitioning .candidates-loyalty__copy {
  opacity: 0.22;
  transform: translateY(2px);
}

.candidates-page .candidates-loyalty__table-wrap {
  gap: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(17, 19, 27, 0.9), rgba(13, 15, 22, 0.88));
}

.candidates-page .candidates-loyalty__table-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f5f8ff;
}

.candidates-page .candidates-loyalty__table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.72rem;
  background: rgba(10, 12, 18, 0.62);
}

.candidates-page .candidates-loyalty__table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.candidates-page .candidates-loyalty__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(18, 20, 28, 0.96);
  color: #f7f9ff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 0.82rem 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.candidates-page .candidates-loyalty__table tbody th,
.candidates-page .candidates-loyalty__table tbody td {
  padding: 0.78rem 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.35;
}

.candidates-page .candidates-loyalty__table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.candidates-page .candidates-loyalty__table tbody tr:hover {
  background: rgba(208, 42, 42, 0.08);
}

.candidates-page .candidates-loyalty__table tbody tr:last-child th,
.candidates-page .candidates-loyalty__table tbody tr:last-child td {
  border-bottom: 0;
}

.candidates-page .candidates-loyalty__table tbody th[scope="row"] {
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}

.candidates-page .candidates-loyalty__table th:nth-child(2),
.candidates-page .candidates-loyalty__table th:nth-child(4),
.candidates-page .candidates-loyalty__table td:nth-child(2),
.candidates-page .candidates-loyalty__table td:nth-child(4) {
  text-align: center;
  white-space: nowrap;
}

.candidates-page .candidates-loyalty__table td:nth-child(4) {
  color: #ffd9d9;
  font-weight: 700;
}

.candidates-page .candidates-loyalty__table tbody tr:last-child td:nth-child(4) {
  color: #ffe9e9;
  text-shadow: 0 0 8px rgba(208, 42, 42, 0.2);
}

.candidates-page .candidates-loyalty__table-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.candidates-page .candidates-loyalty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.candidates-page .candidates-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

@media (max-width: 920px) {
  .candidates-page .candidates-how-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "copy"
      "visual"
      "foot";
    row-gap: 1rem;
  }

  .candidates-page .candidates-how-layout::before {
    display: none;
  }

  .candidates-page .candidates-how-layout__visual {
    align-self: stretch;
    justify-self: stretch;
    transform: none;
  }

  .candidates-page .candidates-how-layout__lead,
  .candidates-page .candidates-how-layout__copy,
  .candidates-page .candidates-how-layout__foot {
    gap: 0.56rem;
  }

  .candidates-page .candidates-how-layout__foot strong + p + strong {
    margin-top: 1rem;
  }

  .candidates-page .candidates-loyalty__cards {
    grid-template-columns: 1fr;
  }

  .candidates-page .candidates-loyalty__card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .candidates-page .candidates-benefits-carousel__card {
    flex-basis: min(18.2rem, 88vw);
  }

  .candidates-page .candidates-section3-carousel__media {
    --hero-media-aspect: 16 / 10;
  }

  .candidates-page .candidates-how-layout {
    row-gap: 0.9rem;
  }

  .candidates-page .candidates-loyalty__timeline {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(9.6rem, 9.6rem);
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .candidates-page .candidates-loyalty__timeline::before {
    left: 0;
    right: 0;
  }

  .candidates-page .candidates-loyalty__tier {
    scroll-snap-align: start;
  }

  .candidates-page .candidates-loyalty__tier-label {
    font-size: 0.72rem;
  }

  .candidates-page .candidates-loyalty__actions .btn,
  .candidates-page .candidates-final-cta__actions .btn {
    width: 100%;
  }

  .candidates-page .candidates-loyalty__summary {
    font-size: 1rem;
  }

  .candidates-page .candidates-loyalty__metric {
    font-size: clamp(1.45rem, 7.6vw, 1.95rem);
  }

  .candidates-page .candidates-loyalty__table {
    min-width: 37.5rem;
  }

  .candidates-page .candidates-loyalty__table thead th,
  .candidates-page .candidates-loyalty__table tbody th,
  .candidates-page .candidates-loyalty__table tbody td {
    padding: 0.68rem 0.62rem;
    font-size: 0.83rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .candidates-page .candidates-benefits-carousel {
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .candidates-page .candidates-benefits-carousel__track {
    transform: none !important;
    will-change: auto;
  }
}
