/* ==========================================================================
   For Drivers page layout  (shared hero/components live in components.css)
   ========================================================================== */

/* ============================================================
   Hero — floating "Avg monthly earnings" card on the image
   ============================================================ */
.earn-float {
  background: var(--color-white);
  border-radius: var(--radius-icon);
  box-shadow: var(--shadow-card);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 9.5rem;
}

.earn-float__label {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-body);
}

.earn-float__value {
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-text-heading);
}

.earn-float__trend {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-green);
}

.hero__stat--earn { bottom: -1rem; right: -1rem; }

@media (min-width: 768px) {
  .hero__stat--earn { bottom: 1.5rem; right: -1.5rem; }
}

/* ============================================================
   How to join — steps (left) + requirements card (right)
   ============================================================ */
.join__layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

@media (min-width: 1200px) {
  .join__layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-6xl);
    align-items: start;
  }
}

.join__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.join__lead { max-width: 32rem; }

.join__steps { margin-top: var(--space-lg); }

/* Requirements card */
.req-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) { .req-card { padding: var(--space-2xl); } }

.req-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.req-card__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-heading);
}

.req-card__sub {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-body);
}

.req-card__cta { margin-top: var(--space-xs); align-self: flex-start; }

/* ============================================================
   Pricing — centered plan card
   ============================================================ */
.pricing__card {
  max-width: 34rem;
  margin: 0 auto;
  width: 100%;
}
