/* ==========================================================================
   Customers / Representative Workflows (pages/customers.css)
   ========================================================================== */

/* ---------- Hero ---------- */
.stories-hero {
  text-align: center;
  padding: 160px 0 80px;
}

.stories-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}

.stories-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--allybi-accent);
  margin-bottom: 20px;
}

.stories-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--allybi-text-strongest);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.stories-hero__support {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--allybi-text-secondary);
}

/* ---------- Story Cards ---------- */
.stories-cards {
  padding: 0 0 120px;
}

.stories-cards__stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.story-card {
  background: var(--allybi-bg-surface);
  border: 1px solid var(--allybi-border-default);
  border-radius: 24px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  padding: 48px 56px;
}

/* Card header */
.story-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.story-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--allybi-accent-subtle, rgba(37,99,235,0.06));
  border-radius: 12px;
  color: var(--allybi-accent);
  flex-shrink: 0;
}

.story-card__role {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--allybi-text-strongest);
  letter-spacing: -0.015em;
}

.story-card__timing {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--allybi-text-muted);
  margin-top: 2px;
}

/* Card sections */
.story-card__section {
  margin-bottom: 24px;
}

.story-card__section--highlight {
  background: var(--allybi-trust-subtle, rgba(5,150,105,0.06));
  border-left: 3px solid var(--allybi-trust, #059669);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-left: -8px;
}

.story-card__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--allybi-text-muted);
}

.story-card__label--pressure {
  color: #DC2626;
}

.story-card__label--allybi {
  color: var(--allybi-trust, #059669);
}

.story-card__section p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--allybi-text-secondary);
}

.story-card__section--highlight p {
  color: var(--allybi-text-primary);
}

/* Card outcome */
.story-card__outcome {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--allybi-border-default);
}

.story-card__outcome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--allybi-trust, #059669);
  flex-shrink: 0;
  margin-top: 5px;
}

.story-card__outcome p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--allybi-text-strongest);
}

/* ---------- Final CTA ---------- */
.stories-cta {
  background: var(--allybi-bg-dark, #0D0F12);
  color: var(--allybi-text-inverse, #fff);
  padding: 120px 0;
}

.stories-cta__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.stories-cta__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 40px;
}

.stories-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .stories-hero {
    padding: 120px 0 56px;
  }

  .stories-cards {
    padding: 0 0 80px;
  }

  .stories-cards__stack {
    gap: 32px;
  }

  .story-card {
    padding: 32px 28px;
    border-radius: 18px;
  }

  .story-card__header {
    margin-bottom: 24px;
  }

  .story-card__section--highlight {
    padding: 16px 20px;
    margin-left: -4px;
  }

  .stories-cta {
    padding: 80px 0;
  }

  .stories-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .stories-cta__buttons .allybi-btn {
    width: 100%;
    max-width: 320px;
    min-height: 44px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .stories-hero {
    padding: 110px 0 48px;
  }

  .stories-cards {
    padding: 0 0 64px;
  }

  .story-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .story-card__icon {
    width: 40px;
    height: 40px;
  }

  .story-card__section p {
    font-size: 14px;
  }

  .stories-cta {
    padding: 64px 0;
  }
}

@media (max-width: 390px) {
  .stories-hero {
    padding: 100px 0 40px;
  }

  .story-card {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .story-card__header {
    gap: 12px;
    margin-bottom: 20px;
  }

  .stories-cta {
    padding: 56px 0;
  }
}
