/* ==========================================================================
   Split heading (intro line under the page title)
   ========================================================================== */
.split-heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: clamp(22px, 5vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

/* ==========================================================================
   Hero heading + intro row
   ========================================================================== */
.split-heading {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 60px);
}

.wholesale-hero-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}

@media (min-width: 1200px) {
  .split-heading {
    margin-top: 150px;
  }

  /* both columns share the height: the pitch starts level with the
     numbers' label, the buttons end level with the last card */
  .wholesale-hero-row {
    flex-direction: row;
    align-items: stretch;
    gap: 60px;
  }

  .wholesale-hero-row__stats,
  .wholesale-hero-row__content {
    display: flex;
    flex-direction: column;
  }

  /* if the pitch runs taller, the cards grow with it so the bottoms meet */
  .wholesale-stats {
    flex: 1;
    grid-auto-rows: 1fr;
  }

  .wholesale-hero-row__content .hero__actions--stacked {
    margin-top: auto;
  }

  .wholesale-hero-row__stats,
  .wholesale-hero-row__content {
    flex: 1;
  }

  .wholesale-hero-row__content {
    margin-left: 10%;
  }
}

.hero__actions--stacked {
  flex-direction: column;
  align-items: stretch;
  max-width: 480px;
  margin-bottom: 0;
}

/* ==========================================================================
   Pitch beside the numbers: one line to read, audiences to scan
   ========================================================================== */
.wholesale-lead {
  max-width: 520px;
  margin-bottom: 28px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.wholesale-audience__title {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.wholesale-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.wholesale-audience li {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
}

/* Phones: eleven chips wrapped into seven rows and pushed the buttons off
   the screen. Here they are one swipeable row that runs to the screen's
   right edge; the fade on the right shows there is more. */
@media (max-width: 767px) {
  .wholesale-audience {
    flex-wrap: nowrap;
    margin-right: calc(var(--container-pad) * -1);
    /* room for the last chip to clear the fade once scrolled to the end */
    padding-right: 72px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
    mask-image: linear-gradient(to right, #000 82%, transparent);
  }

  .wholesale-audience::-webkit-scrollbar {
    display: none;
  }

  .wholesale-audience li {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* ==========================================================================
   In numbers — 2×2 cards in the hero row's left column
   ========================================================================== */
/* below desktop the pitch and buttons come first, the numbers after */
.wholesale-hero-row__stats {
  order: 2;
  margin-top: 40px;
}

.wholesale-stats__title {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.wholesale-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 150px;
  padding: 20px;
}

.stat-card__value {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-card__label {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

@media (min-width: 1200px) {
  .wholesale-hero-row__stats {
    order: 0;
    margin-top: 0;
  }

  .wholesale-stats {
    gap: 16px;
  }

  .stat-card {
    min-height: 190px;
    padding: 28px;
  }

  .stat-card__label {
    font-size: 14px;
  }
}

/* ==========================================================================
   Intro paragraph
   ========================================================================== */
/* Short two-tone statement, centred: the point in full colour, the detail
   muted — minimal, product-page style */
.wholesale-intro {
  max-width: 760px;
  margin: 80px auto;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--color-text-light);
}

.wholesale-intro span {
  color: var(--color-text-muted);
}

@media (min-width: 1200px) {
  .wholesale-intro {
    margin-block: 140px;
  }
}

/* ==========================================================================
   Benefits — same section rhythm as the homepage: heading left, cards below
   ========================================================================== */
.benefits__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.benefits__title {
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.benefits__subtitle {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.benefit-card__index {
  margin-bottom: 40px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-accent);
}

.benefit-card__title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.benefit-card__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .benefits__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 48px;
  }

  .benefits__head .btn {
    flex-shrink: 0;
  }

  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .benefit-card {
    min-height: 280px;
    padding: 28px;
  }

  .benefit-card__index {
    margin-bottom: auto;
  }

  .benefit-card__title {
    margin-top: 40px;
    font-size: 20px;
  }
}

/* ==========================================================================
   Content pack for resellers
   ========================================================================== */
/* Mobile: one column — body, chips, steps, button, note.
   Desktop: two columns on a shared grid, so the chips row and the button
   sit on the same row and stay aligned whatever the text length. */
.content-pack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-block: 80px;
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-elevated);
}

.content-pack__eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.content-pack__title {
  max-width: 620px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.content-pack__text {
  max-width: 520px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.content-pack__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.content-pack__list li {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
}

.content-pack__how {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.content-pack__how-title {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* request → contract → archive */
.content-pack__steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.content-pack__steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  counter-increment: step;
}

.content-pack__steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg-elevated);
  font-size: 13px;
  color: var(--color-accent);
}

/* connector between the step circles */
.content-pack__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 16px;
  width: 1px;
  height: 14px;
  background: var(--color-border);
}

.content-pack__btn {
  margin-top: 28px;
}

.content-pack__note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.content-pack__note a {
  color: var(--color-text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 1200px) {
  .content-pack {
    grid-template-columns: minmax(0, 1fr) 1px 296px;
    grid-template-areas:
      "body rule how"
      "list rule btn"
      ".    rule note";
    column-gap: 64px;
    align-items: center;
    margin-block: 110px;
    padding: 56px 64px;
  }

  /* one continuous divider down the full height of the grid */
  .content-pack::before {
    content: "";
    grid-area: rule;
    align-self: stretch;
    background: var(--color-border);
  }

  .content-pack__body {
    grid-area: body;
    align-self: start;
  }

  .content-pack__list {
    grid-area: list;
  }

  .content-pack__how {
    grid-area: how;
    align-self: start;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 28px;
    border-top: 0;
  }

  .content-pack__btn {
    grid-area: btn;
    margin-top: 0;
  }

  .content-pack__note {
    grid-area: note;
  }
}
