/* ========== ABOUT PAGE ========== */
.about-page {
  background-color: #FFFFFF;
}

.about-page .accent {
  color: #4F46E5;
}

/* ---------- HERO ---------- */
.about-hero {
  background-color: #FFFFFF;
  background-image: url('/images/backgrounds/line_bg.png');
  background-repeat: repeat;
  background-position: top left;
  padding: 120px 0 80px;
}

.about-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 48px 64px;
  align-items: end;
  margin-bottom: 62px;
}

.about-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.31px;
  text-transform: uppercase;
  color: #4F46E5;
}

.about-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4F46E5;
  flex-shrink: 0;
}

.about-hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  line-height: 73.58px;
  letter-spacing: -0.03em;
  color: #0B1020;
  margin: 0;
  max-width: 800px;
}

.about-hero__right {
  justify-self: end;
  align-self: end;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.about-hero__btn {
  padding: 14px 22px;
  border-radius: 14.6px;
  font-size: 15px;
  font-weight: 600;
}

.about-hero__btn--soft {
  background: #EEF2FF;
  color: #4F46E5;
  box-shadow: none;
}

.about-hero__btn--soft:hover {
  background: #E0E7FF;
  color: #4338CA;
}

.about-hero__btn--soft .btn__arrow {
  width: 18px;
  height: 18px;
}

.about-hero__sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #0B1020CC;
  max-width: 360px;
}

.about-hero__media {
  width: 100%;
  height: 600px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  background: #E2E8F0;
  aspect-ratio: 16 / 9;
}

.about-hero__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ---------- COMMITMENT / STATS ---------- */
.about-commit {
  background: #FFFAF2;
  padding: 60px 0;
  border-top: 5px solid rgba(139, 144, 167, 0.5);
  border-bottom: 5px solid rgba(139, 144, 167, 0.5);
}

.about-commit__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px 180px;
  align-items: start;
  margin-bottom: 96px;
}

.about-commit__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border-radius: 19.17px;
  border: 1px solid #FFC9504D;
  padding: 12px 20px 12px 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}

.about-commit__badge img {
  width: 78px;
  height: 15px;
  display: block;
}

.about-commit__badge span {
  font-size: 16px;
  font-weight: 600;
  color: #0B1020;
}

.about-commit__title {
  font-family: var(--font-heading);
  font-size: 46.67px;
  font-weight: 600;
  line-height: 66.67px;
  color: #0B1020;
  margin: 0;
  max-width: 1200px;
}

.about-commit__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}

.about-stat__value {
  font-family: var(--font-heading);
  font-size: 58.38px;
  font-weight: 800;
  line-height: 58.38px;
  color: #0B1020;
  margin: 0 0 12px;
}

.about-stat__label {
  font-family: var(--font-heading);
  font-size: 16.67px;
  font-weight: 700;
  color: #0B1020;
  margin: 0 0 10px;
}

.about-stat__desc {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: #64748B;
  max-width: 240px;
}

/* ---------- EMPOWERING ---------- */
.about-empower {
  background: #FFFBF2;
  padding: 80px 0 80px;
}

.about-empower__header {
  text-align: center;
  margin-bottom: 50px;
}

.about-empower__title {
  font-family: var(--font-heading);
  font-size: 42.56px;
  font-weight: 800;
  line-height: 51.04px;
  color: #0B1020;
  margin: 0 auto 12px;
  max-width: 700px;
}

.about-empower__sub {
  margin: 0 auto;
  font-size: 17.52px;
  line-height: 28.9px;
  color: #64748B;
  max-width: 560px;
}

.about-empower__card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  background: #FFFFFF;
  border-radius: 32px;
  padding: 40px;
  /* box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08); */
}

.about-empower__card-title {
  font-family: var(--font-heading);
  font-size: 26.67px;
  font-weight: 700;
  color: #0B1020;
  margin: 0 0 20px;
}

.about-empower__card-desc {
  margin: 0 0 40px;
  font-size: 15px;
  line-height: 1.7;
  color: #64748B;
  width: 100%;
  max-width: 380px;
}

.about-empower__cta {
  border-radius: 14.6px;
  padding: 14px 24px;
}

.about-empower__media {
  width: 679.17px;
  max-width: 100%;
  height: 380px;
  box-sizing: border-box;
  border-radius: 20px;
  border: 1px solid rgba(102, 102, 102, 0.05);
  background: #6666660D;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  justify-self: end;
}

.about-empower__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 30px;
}

/* ---------- WHAT SETS APART ---------- */
.about-apart {
  position: relative;
  background-color: #FFFFFF;
  background-image: url('/images/backgrounds/bld_aprt_bg.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  padding: 80px 0px;
  overflow: hidden;
}

.about-apart > .container {
  position: relative;
  z-index: 1;
}

.about-apart__header {
  text-align: center;
  margin-bottom: 76px;
}

.about-apart__title {
  font-family: var(--font-heading);
  font-size: 51.07px;
  font-weight: 800;
  line-height: 58.74px;
  letter-spacing: -0.02em;
  color: #0B1020;
  margin: 0 0 20px;
}

.about-apart__sub {
  margin: 0 auto;
  font-size: 17.52px;
  line-height: 28.9px;
  color: #64748B;
  max-width: 640px;
}

.about-apart__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 32px;
  align-items: center;
}

.about-apart__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.about-feature {
  background: #4F46E51A;
  border: 1px solid #4F46E533;
  border-radius: 16.68px;
  padding: 28px 24px;
}

.about-feature__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #4F46E5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.about-feature__icon {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.about-feature__title {
  font-family: var(--font-heading);
  font-size: 17.8px;
  font-weight: 700;
  color: #0B1020;
  margin: 0 0 10px;
}

.about-feature__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #64748B;
}

.about-apart__visual {
  width: 655px;
  max-width: 100%;
  height: 537.5px;
  box-sizing: border-box;
  border-radius: 16.68px;
  background: rgba(102, 102, 102, 0.06);
  border: 0.83px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 3.33px 49.25px 0 rgba(0, 0, 0, 0.1);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  justify-self: end;
}

.about-apart__visual img {
  width: 100%;
  height: 100%;
  border-radius: 16.68px;
  object-fit: contain;
  display: block;
}

/* ---------- DEPLOYMENT REUSE ---------- */
.about-deployment {
  background-color: #FFFFFF;
  /* background-image: url('/images/backgrounds/line_bg.png'); */
  background-repeat: repeat;
}

.about-deployment .pricing-hero {
  padding-top: 100px;
}

.about-deployment .pricing-hero__title {
  /* Keep visual weight as section title on About */
  font-size: clamp(28px, 3.6vw, 48px);
}

.about-deployment .pricing-plans {
  padding-bottom: 40px;
}

/* ---------- TESTIMONIAL ---------- */
.about-quote {
  background: #FFFFFF;
  padding: 90px 0 80px;
}

.about-quote__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 24px 0;
}

.about-quote__mark {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 206.9px;
  line-height: 300px;
  color: #868c93;
  pointer-events: none;
  user-select: none;
}

.about-quote__mark--open {
  top: -100px;
  left: -10px;
}

.about-quote__mark--close {
  right: 40px;
  bottom: -90px;
}

.about-quote__text {
  position: relative;
  z-index: 1;
  margin: 0 auto 40px;
  font-family: var(--font-heading);
  font-size: 33.33px;
  font-weight: 600;
  line-height: 48.33px;
  color: #0B1020;
  max-width: 1100px;
}

.about-quote__people {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.about-quote__person {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-quote__person:focus-visible {
  outline: 2px solid #4F46E5;
  outline-offset: 3px;
  border-radius: 50%;
}

.about-quote__person.is-active:focus-visible {
  border-radius: 50px;
}

.about-quote__person .about-quote__meta {
  display: none;
}

.about-quote__person.is-active {
  gap: 14px;
  background: #4F46E51A;
  border: 1px solid #4F46E51A;
  border-radius: 50px;
  padding: 10px 20px 10px 10px;
  margin-right: 20px;
  cursor: default;
}

.about-quote__person.is-active .about-quote__meta {
  display: flex;
}

.about-quote__person:not(.is-active) {
  margin-left: -14px;
  position: relative;
}

.about-quote__person.is-active + .about-quote__person:not(.is-active) {
  margin-left: 0;
}

.about-quote__person:not(.is-active):hover {
  transform: translateY(-2px);
  z-index: 5;
}

.about-quote__person:not(.is-active) .about-quote__avatar {
  border: 2px solid #FFFFFF;
}

.about-quote__avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-sizing: border-box;
  pointer-events: none;
}

.about-quote__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}

.about-quote__meta strong {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: #000000;
}

.about-quote__meta span {
  font-size: 13.33px;
  line-height: 1.3;
  color: #000000;
}

/* ---------- RESOURCES ---------- */
.about-resources {
  background: #FFFFFF;
  padding: 80px 0 120px;
}

.about-resources__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.about-resources__title {
  font-family: var(--font-heading);
  font-size: 51.07px;
  line-height: 58.74px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0B1020;
  margin: 0 0 20px;
}

.about-resources__sub {
  margin: 0;
  font-size: 17.52px;
  line-height: 28.9px;
  color: #64748B;
  max-width: 620px;
}

.about-resources__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 20px;
  border-radius: 14.6px;
  background: #4F46E533;
  border: 1px soild #4F46E51F;
  color: #4F46E5;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.about-resources__more:hover {
  background: #E0E7FF;
}

.about-resources__more img {
  width: 16px;
  height: 16px;
  display: block;
}

.about-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.about-resource-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 24px;
  /* background: #E2E8F0; */
}

.about-resource-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-resource-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 28.33px;
  color: #0B1020;
  margin: 0 0 10px;
}

.about-resource-card__desc {
  margin: 0 0 14px;
  font-size: 13.33px;
  line-height: 24.17px;
  color: #64748B;
}

.about-resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.33px;
  font-weight: 600;
  color: #4F46E5;
  text-decoration: none;
}

.about-resource-card__link span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-resource-card__link:hover {
  color: #4338CA;
}

.about-resource-card__link img {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .about-apart__grid {
    grid-template-columns: 1fr;
  }

  .about-apart__visual {
    width: 100%;
    height: auto;
    aspect-ratio: 655 / 537.5;
    justify-self: stretch;
    min-height: 0;
    padding: 28px;
  }

  .about-resources__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-hero {
    padding: 48px 0;
  }

  .about-hero__top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
    align-items: start;
  }

  .about-hero__right {
    justify-self: start;
    align-self: start;
    max-width: none;
  }

  .about-hero__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
  }

  .about-hero__media {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .about-commit {
    padding: 48px 0;
  }

  .about-commit__top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .about-commit__badge {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    white-space: nowrap;
  }

  .about-commit__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
  }

  .about-commit__stats {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .about-empower {
    padding: 48px 0;
  }

  .about-empower__header,
  .about-apart__header {
    text-align: left;
  }

  .about-empower__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .about-empower__sub,
  .about-apart__sub {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .about-empower__card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .about-empower__card-desc {
    width: auto;
    max-width: 100%;
  }

  .about-empower__media {
    width: 100%;
    height: auto;
    aspect-ratio: 679.17 / 400.83;
    justify-self: stretch;
  }

  .about-apart {
    padding: 48px 0;
  }

  .about-apart__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
  }

  .about-quote {
    padding: 48px 0;
    overflow-x: hidden;
  }

  .about-quote__inner {
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }

  .about-quote__mark {
    font-size: clamp(64px, 16vw, 110px);
    line-height: 1;
  }

  .about-quote__mark--open {
    top: -24px;
    left: 0;
  }

  .about-quote__mark--close {
    bottom: 0;
    right: 8px;
  }

  .about-quote__people {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    column-gap: 8px;
    row-gap: 16px;
  }

  /* Force a line break after the active pill so other avatars sit on the next row */
  .about-quote__people::before {
    content: '';
    flex: 0 0 100%;
    width: 100%;
    height: 0;
    order: 0;
  }

  .about-quote__person.is-active {
    order: -1;
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
  }

  .about-quote__person:not(.is-active) {
    order: 1;
    margin-left: 0;
  }

  .about-quote__person.is-active + .about-quote__person:not(.is-active) {
    margin-left: 0;
  }

  .about-resources {
    padding: 48px 0;
  }

  .about-resources__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about-resources__intro {
    text-align: left;
    width: 100%;
  }

  .about-resources__sub {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    word-spacing: 0.04em;
  }

  .about-resources__more {
    align-self: flex-start;
  }

  .about-quote__text {
    font-size: clamp(22px, 4.5vw, 28px);
    line-height: 1.4;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .about-commit__stats,
  .about-resources__grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 40px 0;
  }

  .about-hero__media {
    border-radius: 18px;
  }

  .about-hero__ctas {
    width: 100%;
  }

  .about-hero__btn {
    flex: 1 1 auto;
  }

  .about-commit {
    padding: 40px 0;
  }

  .about-commit__badge {
    width: fit-content;
    white-space: nowrap;
  }

  .about-commit__title {
    line-height: var(--mobile-heading-line-height);
  }

  .about-commit__top {
    margin-bottom: 40px;
  }

  .about-stat__value {
    font-size: clamp(36px, 12vw, 48px);
  }

  .about-empower {
    padding: 40px 0;
  }

  .about-empower__card {
    border-radius: 20px;
    padding: 24px;
  }

  .about-apart {
    padding: 40px 0;
  }

  .about-apart__features {
    grid-template-columns: 1fr;
  }

  .about-quote {
    padding: 40px 0;
  }

  .about-quote__mark {
    font-size: 72px;
    line-height: 1;
  }

  .about-quote__mark--open {
    top: -24px;
  }

  .about-quote__mark--close {
    bottom: 40px;
    right: 8px;
  }

  .about-quote__people {
    column-gap: 8px;
    row-gap: 16px;
  }

  .about-quote__person.is-active {
    border-radius: 999px;
    margin-right: auto;
    margin-left: auto;
  }

  .about-quote__person:not(.is-active) {
    margin-left: 0;
  }

  .about-resources {
    padding: 40px 0;
  }

  .about-resources__more {
    align-self: flex-start;
  }

  .about-resources__sub {
    line-height: 1.65;
    word-spacing: 0.06em;
  }

  .about-resources__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
  }

  .about-deployment .pricing-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-deployment .pricing-plans {
    padding-bottom: 40px;
  }
}
