/* ==========================================================================
   RankPay — O serwisie
   ========================================================================== */

.pagebody { padding: 38px 0 78px; }

.about-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 42px; align-items: start; }
/* W DOM kolumna boczna stoi po treści (czytniki ekranu zaczynają od treści),
   wizualnie trafia na lewo jak w makiecie. */
.about-side { grid-column: 1; grid-row: 1; }
.about-layout .content-main { grid-column: 2; grid-row: 1; }

.content-section { scroll-margin-top: 100px; }
.content-section + .content-section { margin-top: 50px; }
.content-section > h2 { margin: 0 0 14px; }
.content-section h3 { margin: 26px 0 10px; }
.content-section p { color: var(--lead); }
.content-section ul { padding-left: 22px; color: var(--lead); margin-bottom: 1em; }
.content-section li + li { margin-top: .4em; }
.content-section a:not(.btn) { color: var(--green); font-weight: 600; }

.method-grid,
.weights-grid,
.team-grid { margin: 20px 0; }

.method-grid h3 { margin: 10px 0 6px; }
.method-grid p,
.weights-grid p { font-size: 14px; margin: 0; }

.stepno {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 34px;
  height: 28px;
  border-radius: 999px;
  background: #e8eee7;
  color: #335543;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}

.aff-box { margin: 20px 0; font-size: 14px; }
.aff-box h4 { font-size: 15px; margin-bottom: 6px; color: #59462d; }
.aff-box p { color: #59462d; margin-bottom: .6em; }

.team-card .card-body { padding: 16px 20px 20px; }
.team-card h3 { margin: 10px 0 4px; }
.team-card .role { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.team-card .muted { font-size: 14px; }

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e3e9e2;
  font-size: 13px;
  font-weight: 700;
}
.avatar .rp-icon { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-side,
  .about-layout .content-main { grid-column: 1; grid-row: auto; }
}
