.process-grid {
  counter-reset: process-step;
}

.process-card {
  position: relative;
  min-height: 230px;
  padding-top: 78px;
}

.process-number {
  position: absolute;
  top: 24px;
  left: 28px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 158, 229, 0.35);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 8px 8px 0 rgba(0, 158, 229, 0.14);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 82px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 158, 229, 0.45), rgba(0, 158, 229, 0));
}

.transfer-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 64px;
  align-items: center;
  margin-top: 46px;
  padding-top: 46px;
  border-top: 1px solid rgba(0, 78, 140, 0.14);
}

.transfer-proof-media {
  position: relative;
  margin: 0;
}

.transfer-proof-media::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44%;
  height: 42%;
  border: 2px solid rgba(0, 158, 229, 0.38);
  background: rgba(0, 158, 229, 0.08);
  transform: rotate(4deg);
}

.transfer-proof-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 620px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 8px;
  box-shadow: 18px 18px 0 rgba(0, 158, 229, 0.12), 0 18px 42px rgba(0, 28, 52, 0.18);
}

.transfer-proof-media figcaption {
  position: relative;
  z-index: 2;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.transfer-proof-copy h3 {
  max-width: 620px;
  margin: 12px 0 16px;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.transfer-proof-copy p {
  max-width: 600px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.home-links-section {
  position: relative;
  overflow: hidden;
  padding: 72px 5% 80px;
  background: #ffffff;
}

.home-links-section::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 420px;
  height: 240px;
  background: rgba(0, 158, 229, 0.06);
  transform: rotate(-12deg);
  pointer-events: none;
}

.home-links-section .section-inner {
  position: relative;
  z-index: 1;
}

body.night-mode .home-links-section {
  background: #0d1a29;
}

body.night-mode .process-number {
  color: #ffffff;
}

body.night-mode .transfer-proof {
  border-top-color: rgba(126, 211, 255, 0.16);
}

body.night-mode .transfer-proof-copy h3 {
  color: #ffffff;
}

body.night-mode .transfer-proof-copy p,
body.night-mode .transfer-proof-media figcaption {
  color: #b7d4eb;
}

@media (max-width: 760px) {
  .process-card {
    min-height: 0;
    padding-top: 74px;
  }

  .home-links-section {
    padding: 56px 5% 64px;
  }

  .transfer-proof {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 34px;
    padding-top: 34px;
  }

  .transfer-proof-media::before {
    top: -10px;
    right: -8px;
  }

  .transfer-proof-media img {
    height: 440px;
    aspect-ratio: 4 / 5;
    box-shadow: 10px 10px 0 rgba(0, 158, 229, 0.12), 0 14px 32px rgba(0, 28, 52, 0.16);
  }

  .transfer-proof-copy h3 {
    font-size: 2.4rem;
  }
}
